public class DocumentPresentationControllerBase extends Object implements DocumentPresentationController, Serializable
| Constructor and Description |
|---|
DocumentPresentationControllerBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAcknowledge(Document document) |
boolean |
canAddAdhocRequests(Document document) |
boolean |
canAnnotate(Document document) |
boolean |
canApprove(Document document) |
protected boolean |
canApproveOrDisapprove(Document document)
Returns whether a super user approve or disapprove action can be taken on the
document. |
boolean |
canBlanketApprove(Document document) |
boolean |
canCancel(Document document) |
boolean |
canClose(Document document) |
boolean |
canComplete(Document document) |
boolean |
canCopy(Document document) |
boolean |
canDisapprove(Document document) |
boolean |
canEdit(Document document) |
boolean |
canEditDocumentOverview(Document document) |
boolean |
canFyi(Document document) |
boolean |
canInitiate(String documentTypeName) |
boolean |
canPerformRouteReport(Document document) |
boolean |
canRecall(Document document) |
boolean |
canReload(Document document) |
boolean |
canRoute(Document document) |
boolean |
canSave(Document document) |
boolean |
canSendAdhocRequests(Document document) |
boolean |
canSendNoteFyi(Document document) |
boolean |
canSuperUserApprove(Document document)
Determines if the document state should allow a super user approving the document.
|
boolean |
canSuperUserDisapprove(Document document)
Determines if the document state should allow a super user disapproving the document.
|
boolean |
canSuperUserTakeAction(Document document)
Determines if the document state should allow a super user taking an action.
|
protected boolean |
canTakeAction(Document document)
Returns whether a super user action can be taken on the
document. |
protected DocumentRequestAuthorizationCache |
getDocumentRequestAuthorizationCache(Document document) |
protected ParameterService |
getParameterService() |
protected boolean |
hasActionRequests(Document document)
Returns whether the
document has any APPROVE or COMPLETE action requests. |
protected boolean |
isStateInitiatedFinalCancelled(DocumentStatus status)
Returns whether the
document is in a INITIATED, FINAL, or CANCELLED state. |
protected boolean |
isStateProcessedOrDisapproved(DocumentStatus status)
Returns whether the
document is in a PROCESSED or DISAPPROVED state. |
protected boolean |
isStateSaved(DocumentStatus status)
Returns whether the
document is in a SAVED state. |
void |
setDocumentRequestAuthorizationCache(DocumentRequestAuthorizationCache documentRequestAuthorizationCache) |
public DocumentPresentationControllerBase()
public boolean canInitiate(String documentTypeName)
canInitiate in interface DocumentPresentationControllerpublic boolean canEdit(Document document)
canEdit in interface DocumentPresentationControllerpublic boolean canAnnotate(Document document)
canAnnotate in interface DocumentPresentationControllerpublic boolean canReload(Document document)
canReload in interface DocumentPresentationControllerpublic boolean canClose(Document document)
canClose in interface DocumentPresentationControllerpublic boolean canSave(Document document)
canSave in interface DocumentPresentationControllerpublic boolean canRoute(Document document)
canRoute in interface DocumentPresentationControllerpublic boolean canCancel(Document document)
canCancel in interface DocumentPresentationControllerpublic boolean canRecall(Document document)
canRecall in interface DocumentPresentationControllerpublic boolean canCopy(Document document)
canCopy in interface DocumentPresentationControllerpublic boolean canPerformRouteReport(Document document)
canPerformRouteReport in interface DocumentPresentationControllerpublic boolean canAddAdhocRequests(Document document)
canAddAdhocRequests in interface DocumentPresentationControllerpublic boolean canBlanketApprove(Document document)
canBlanketApprove in interface DocumentPresentationControllerpublic boolean canApprove(Document document)
canApprove in interface DocumentPresentationControllerpublic boolean canDisapprove(Document document)
canDisapprove in interface DocumentPresentationControllerpublic boolean canSendAdhocRequests(Document document)
canSendAdhocRequests in interface DocumentPresentationControllerpublic boolean canSendNoteFyi(Document document)
canSendNoteFyi in interface DocumentPresentationControllerpublic boolean canEditDocumentOverview(Document document)
canEditDocumentOverview in interface DocumentPresentationControllerpublic boolean canFyi(Document document)
canFyi in interface DocumentPresentationControllerpublic boolean canAcknowledge(Document document)
canAcknowledge in interface DocumentPresentationControllerpublic boolean canComplete(Document document)
canComplete in interface DocumentPresentationControllerpublic boolean canSuperUserTakeAction(Document document)
canSuperUserTakeAction in interface DocumentPresentationControllerdocument - document to checkpublic boolean canSuperUserApprove(Document document)
canSuperUserApprove in interface DocumentPresentationControllerdocument - document to checkpublic boolean canSuperUserDisapprove(Document document)
canSuperUserDisapprove in interface DocumentPresentationControllerdocument - document to checkprotected boolean hasActionRequests(Document document)
document has any APPROVE or COMPLETE action requests.document - the document to checkdocument has any APPROVE or COMPLETE action requests, false otherwiseprotected boolean canTakeAction(Document document)
document.
Typically, actions can only be taken on a document not in INITIATED, FINAL, or CANCELLED status.
document - the document to checkdocument, false otherwiseprotected boolean canApproveOrDisapprove(Document document)
document.
Typically, actions can only be taken on a document not in INITIATED, SAVED, PROCESSED, DISAPPROVED, FINAL, or CANCELLED status.
document - the document to checkdocument, false otherwiseprotected boolean isStateInitiatedFinalCancelled(DocumentStatus status)
document is in a INITIATED, FINAL, or CANCELLED state.status - the document statusdocument is in a INITIATED, FINAL, or CANCELLED state, false otherwiseprotected boolean isStateSaved(DocumentStatus status)
document is in a SAVED state.status - the document statusdocument is in a SAVED state, false otherwiseprotected boolean isStateProcessedOrDisapproved(DocumentStatus status)
document is in a PROCESSED or DISAPPROVED state.status - the document statusdocument is in a PROCESSED or DISAPPROVED state, false otherwiseprotected ParameterService getParameterService()
protected DocumentRequestAuthorizationCache getDocumentRequestAuthorizationCache(Document document)
public void setDocumentRequestAuthorizationCache(DocumentRequestAuthorizationCache documentRequestAuthorizationCache)
setDocumentRequestAuthorizationCache in interface DocumentPresentationControllerCopyright © 2005–2016 The Kuali Foundation. All rights reserved.