org.kuali.kfs.module.ar.document.authorization
Class CashControlDocumentPresentationController
java.lang.Object
org.kuali.rice.kns.document.authorization.DocumentPresentationControllerBase
org.kuali.rice.kns.document.authorization.TransactionalDocumentPresentationControllerBase
org.kuali.kfs.sys.document.authorization.FinancialSystemTransactionalDocumentPresentationControllerBase
org.kuali.kfs.module.ar.document.authorization.CashControlDocumentPresentationController
- All Implemented Interfaces:
- FinancialSystemTransactionalDocumentPresentationController, org.kuali.rice.kns.document.authorization.DocumentPresentationController, org.kuali.rice.kns.document.authorization.TransactionalDocumentPresentationController
public class CashControlDocumentPresentationController
- extends FinancialSystemTransactionalDocumentPresentationControllerBase
Methods inherited from class org.kuali.rice.kns.document.authorization.DocumentPresentationControllerBase |
canAcknowledge, canAddAdhocRequests, canAnnotate, canClose, canCopy, canEdit, canEditDocumentOverview, canFyi, canInitiate, canPerformRouteReport, canReload, canRoute, canSave, canSendAdhocRequests, canSendNoteFyi, getParameterService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.kns.document.authorization.DocumentPresentationController |
canInitiate |
CashControlDocumentPresentationController
public CashControlDocumentPresentationController()
getEditModes
public Set<String> getEditModes(org.kuali.rice.kns.document.Document document)
- Specified by:
getEditModes
in interface org.kuali.rice.kns.document.authorization.TransactionalDocumentPresentationController
- Overrides:
getEditModes
in class FinancialSystemTransactionalDocumentPresentationControllerBase
- See Also:
TransactionalDocumentPresentationControllerBase.getEditModes(org.kuali.rice.kns.document.Document)
canBlanketApprove
public boolean canBlanketApprove(org.kuali.rice.kns.document.Document document)
- Overrides:
canBlanketApprove
in class org.kuali.rice.kns.document.authorization.DocumentPresentationControllerBase
canDisapprove
public boolean canDisapprove(org.kuali.rice.kns.document.Document document)
- Overrides:
canDisapprove
in class org.kuali.rice.kns.document.authorization.DocumentPresentationControllerBase
canApprove
public boolean canApprove(org.kuali.rice.kns.document.Document document)
- Overrides:
canApprove
in class org.kuali.rice.kns.document.authorization.DocumentPresentationControllerBase
canErrorCorrect
public boolean canErrorCorrect(FinancialSystemTransactionalDocument document)
- Description copied from class:
FinancialSystemTransactionalDocumentPresentationControllerBase
- Makes sure that the given document implements error correction, that error correction is turned on for the document in the
data dictionary, and that the document is in a workflow state that allows error correction.
- Specified by:
canErrorCorrect
in interface FinancialSystemTransactionalDocumentPresentationController
- Overrides:
canErrorCorrect
in class FinancialSystemTransactionalDocumentPresentationControllerBase
- Parameters:
document
- the document to error correct
- Returns:
- true if the document can be error corrected, false otherwise
- See Also:
FinancialSystemTransactionalDocumentPresentationController.canErrorCorrect(org.kuali.kfs.sys.document.FinancialSystemTransactionalDocument)
canCancel
public boolean canCancel(org.kuali.rice.kns.document.Document document)
- Overrides:
canCancel
in class org.kuali.rice.kns.document.authorization.DocumentPresentationControllerBase
containsGLPEs
protected boolean containsGLPEs(CashControlDocument document)
hasAtLeastOneAppDocApproved
protected boolean hasAtLeastOneAppDocApproved(CashControlDocument cashControlDocument)
- This method checks if the CashControlDocument has at least one application document that has been approved
- Parameters:
ccDoc
- the CashControlDocument
- Returns:
- true if it has at least one application document approved, false otherwise
hasAllAppDocsApproved
protected boolean hasAllAppDocsApproved(CashControlDocument cashControlDocument)
- This method chech if all application document have been approved
- Parameters:
cashControlDocument
- the CashControlDocument
- Returns:
- true if all application documents have been approved, false otherwise
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.