public class CashManagementDocumentPresentationControllerBase extends LedgerPostingDocumentPresentationControllerBase implements CashManagementDocumentPresentationController
Constructor and Description |
---|
CashManagementDocumentPresentationControllerBase() |
Modifier and Type | Method and Description |
---|---|
boolean |
canAddAdhocRequests(org.kuali.rice.krad.document.Document document) |
boolean |
canApprove(org.kuali.rice.krad.document.Document document) |
boolean |
canBlanketApprove(org.kuali.rice.krad.document.Document document) |
boolean |
canCancel(org.kuali.rice.krad.document.Document document) |
boolean |
canDisapprove(org.kuali.rice.krad.document.Document document) |
boolean |
canOpenCashDrawer(org.kuali.rice.krad.document.Document document)
Determines if the cash drawer can be opened by testing two things:
That the cash drawer is currently closed.
That no cash drawer maintenance documents have a lock on the cash drawer.
|
boolean |
canRoute(org.kuali.rice.krad.document.Document document) |
boolean |
canSave(org.kuali.rice.krad.document.Document document) |
protected org.kuali.rice.krad.maintenance.Maintainable |
createCashDrawerMaintainable(org.kuali.rice.krad.datadictionary.MaintenanceDocumentEntry cashDrawerMaintenanceDocumentEntry)
Builds an instance of the appropriate Maintainable implementation for the Cash Drawer Maintainable
|
Set<String> |
getDocumentActions(org.kuali.rice.krad.document.Document document) |
Set<String> |
getEditModes(org.kuali.rice.krad.document.Document document) |
protected boolean |
noExistCashDrawerMaintLocks(CashDrawer cashDrawer,
String documentNumber)
Determines that no maintenance documents have locks on the given cash drawer
|
protected CashDrawer |
retrieveCashDrawer(org.kuali.rice.krad.document.Document document)
Retrieves the cash drawer associated with the given cash management document
|
canErrorCorrect
canHaveBankEntry, getBankService, getDataDictionaryService, getParameterEvaluatorService, getUniversityDateService, isApprovalDateWithinFiscalYear
canAcknowledge, canAnnotate, canClose, canComplete, canCopy, canEdit, canEditDocumentOverview, canFyi, canInitiate, canPerformRouteReport, canRecall, canReload, canSendAdhocRequests, canSendNoteFyi, getParameterService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canErrorCorrect
public CashManagementDocumentPresentationControllerBase()
public Set<String> getEditModes(org.kuali.rice.krad.document.Document document)
getEditModes
in interface org.kuali.rice.kns.document.authorization.TransactionalDocumentPresentationController
getEditModes
in class FinancialSystemTransactionalDocumentPresentationControllerBase
FinancialSystemTransactionalDocumentPresentationControllerBase.getEditModes(org.kuali.rice.krad.document.Document)
public boolean canApprove(org.kuali.rice.krad.document.Document document)
canApprove
in interface org.kuali.rice.krad.document.DocumentPresentationController
canApprove
in class org.kuali.rice.krad.document.DocumentPresentationControllerBase
org.kuali.rice.krad.document.authorization.DocumentPresentationControllerBase#canApprove(org.kuali.rice.krad.document.Document)
public boolean canBlanketApprove(org.kuali.rice.krad.document.Document document)
canBlanketApprove
in interface org.kuali.rice.krad.document.DocumentPresentationController
canBlanketApprove
in class org.kuali.rice.krad.document.DocumentPresentationControllerBase
org.kuali.rice.krad.document.authorization.DocumentPresentationControllerBase#canBlanketApprove(org.kuali.rice.krad.document.Document)
public boolean canCancel(org.kuali.rice.krad.document.Document document)
canCancel
in interface org.kuali.rice.krad.document.DocumentPresentationController
canCancel
in class org.kuali.rice.krad.document.DocumentPresentationControllerBase
org.kuali.rice.krad.document.authorization.DocumentPresentationControllerBase#canCancel(org.kuali.rice.krad.document.Document)
public boolean canDisapprove(org.kuali.rice.krad.document.Document document)
canDisapprove
in interface org.kuali.rice.krad.document.DocumentPresentationController
canDisapprove
in class org.kuali.rice.krad.document.DocumentPresentationControllerBase
org.kuali.rice.krad.document.authorization.DocumentPresentationControllerBase#canDisapprove(org.kuali.rice.krad.document.Document)
public boolean canRoute(org.kuali.rice.krad.document.Document document)
canRoute
in interface org.kuali.rice.krad.document.DocumentPresentationController
canRoute
in class org.kuali.rice.krad.document.DocumentPresentationControllerBase
org.kuali.rice.krad.document.authorization.DocumentPresentationControllerBase#canRoute(org.kuali.rice.krad.document.Document)
public boolean canSave(org.kuali.rice.krad.document.Document document)
canSave
in interface org.kuali.rice.krad.document.DocumentPresentationController
canSave
in class org.kuali.rice.krad.document.DocumentPresentationControllerBase
org.kuali.rice.krad.document.authorization.DocumentPresentationControllerBase#canSave(org.kuali.rice.krad.document.Document)
public boolean canAddAdhocRequests(org.kuali.rice.krad.document.Document document)
canAddAdhocRequests
in interface org.kuali.rice.krad.document.DocumentPresentationController
canAddAdhocRequests
in class org.kuali.rice.krad.document.DocumentPresentationControllerBase
org.kuali.rice.krad.document.authorization.DocumentPresentationControllerBase#canAdHocRoute(org.kuali.rice.krad.document.Document)
public boolean canOpenCashDrawer(org.kuali.rice.krad.document.Document document)
canOpenCashDrawer
in interface CashManagementDocumentPresentationController
document
- the document that wishes to open the cash drawerprotected CashDrawer retrieveCashDrawer(org.kuali.rice.krad.document.Document document)
document
- a CashManagementDocument with an associated cash drawerprotected boolean noExistCashDrawerMaintLocks(CashDrawer cashDrawer, String documentNumber)
cashDrawer
- the cash drawer that may have locks on itprotected org.kuali.rice.krad.maintenance.Maintainable createCashDrawerMaintainable(org.kuali.rice.krad.datadictionary.MaintenanceDocumentEntry cashDrawerMaintenanceDocumentEntry)
cashDrawerMaintenanceDocumentEntry
- the data dictionary entry from the Cash Drawer's maintenance documentpublic Set<String> getDocumentActions(org.kuali.rice.krad.document.Document document)
getDocumentActions
in class FinancialSystemTransactionalDocumentPresentationControllerBase
org.kuali.rice.krad.document.authorization.DocumentPresentationControllerBase#getDocumentActions(org.kuali.rice.krad.document.Document)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.