org.kuali.kfs.module.purap.document.authorization
Class PaymentRequestDocumentPresentationController
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.purap.document.authorization.PurchasingAccountsPayableDocumentPresentationController
org.kuali.kfs.module.purap.document.authorization.PaymentRequestDocumentPresentationController
- All Implemented Interfaces:
- FinancialSystemTransactionalDocumentPresentationController, org.kuali.rice.kns.document.authorization.DocumentPresentationController, org.kuali.rice.kns.document.authorization.TransactionalDocumentPresentationController
public class PaymentRequestDocumentPresentationController
- extends PurchasingAccountsPayableDocumentPresentationController
Methods inherited from class org.kuali.rice.kns.document.authorization.DocumentPresentationControllerBase |
canAcknowledge, canAddAdhocRequests, canAnnotate, canBlanketApprove, canClose, canCopy, canFyi, canInitiate, canPerformRouteReport, canRoute, 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 |
PaymentRequestDocumentPresentationController
public PaymentRequestDocumentPresentationController()
canSave
protected boolean canSave(org.kuali.rice.kns.document.Document document)
- Overrides:
canSave
in class org.kuali.rice.kns.document.authorization.DocumentPresentationControllerBase
canReload
protected boolean canReload(org.kuali.rice.kns.document.Document document)
- Overrides:
canReload
in class org.kuali.rice.kns.document.authorization.DocumentPresentationControllerBase
canCancel
protected boolean canCancel(org.kuali.rice.kns.document.Document document)
- Overrides:
canCancel
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
canDisapprove
protected boolean canDisapprove(org.kuali.rice.kns.document.Document document)
- Overrides:
canDisapprove
in class org.kuali.rice.kns.document.authorization.DocumentPresentationControllerBase
canEdit
protected boolean canEdit(org.kuali.rice.kns.document.Document document)
- Description copied from class:
PurchasingAccountsPayableDocumentPresentationController
- None of the PURAP documents allowing editing by adhoc requests
- Overrides:
canEdit
in class PurchasingAccountsPayableDocumentPresentationController
- See Also:
DocumentPresentationControllerBase.canEdit(org.kuali.rice.kns.document.Document)
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)
canProcessorCancel
protected boolean canProcessorCancel(PaymentRequestDocument paymentRequestDocument)
canManagerCancel
protected boolean canManagerCancel(PaymentRequestDocument paymentRequestDocument)
canHold
protected boolean canHold(PaymentRequestDocument paymentRequestDocument)
- Determines whether the PaymentRequest Hold button shall be available. Conditions:
- Payment Request is not already on hold, and
- Payment Request is not already being requested to be canceled, and
- Payment Request has not already been extracted to PDP, and
- Payment Request status is not in the list of "STATUSES_DISALLOWING_HOLD" or document is being adhoc routed; and
- Returns:
- True if the document state allows placing the Payment Request on hold.
canRequestCancel
protected boolean canRequestCancel(PaymentRequestDocument paymentRequestDocument)
- Determines whether the Request Cancel PaymentRequest button shall be available. Conditions:
- Payment Request is not already on hold, and
- Payment Request is not already being requested to be canceled, and
- Payment Request has not already been extracted to PDP, and
- Payment Request status is not in the list of "STATUSES_DISALLOWING_REQUEST_CANCEL" or document is being adhoc routed; and
- Returns:
- True if the document state allows placing the request that the Payment Request be canceled.
canRemoveHold
protected boolean canRemoveHold(PaymentRequestDocument paymentRequestDocument)
- Determines whether the Remove Hold button shall be available. Conditions:
- the hold indicator is set to true
Because the state of the Payment Request cannot be changed while the document is on hold,
we should not have to check the state of the document to remove the hold.
For example, the document should not be allowed to be approved or extracted while on hold.
- Returns:
- True if the document state allows removing the Payment Request from hold.
canRemoveRequestCancel
protected boolean canRemoveRequestCancel(PaymentRequestDocument paymentRequestDocument)
- Determines whether the Remove Request Cancel button shall be available. Conditions:
- the request cancel indicator is set to true; and
Because the state of the Payment Request cannot be changed while the document is set to request cancel,
we should not have to check the state of the document to remove the request cancel.
For example, the document should not be allowed to be approved or extracted while set to request cancel.
- Returns:
- True if the document state allows removing a request that the Payment Request be canceled.
canEditPreExtraction
protected boolean canEditPreExtraction(PaymentRequestDocument paymentRequestDocument)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.