org.kuali.rice.krad.document
Class DocumentViewPresentationControllerBase
java.lang.Object
org.kuali.rice.krad.uif.view.ViewPresentationControllerBase
org.kuali.rice.krad.document.DocumentViewPresentationControllerBase
- All Implemented Interfaces:
- Serializable, DocumentPresentationController, ViewPresentationController
- Direct Known Subclasses:
- MaintenanceViewPresentationControllerBase, TransactionalDocumentViewPresentationControllerBase
public class DocumentViewPresentationControllerBase
- extends ViewPresentationControllerBase
- implements DocumentPresentationController
Implementation of ViewPresentationController
for
DocumentView
instances
Adds flags for various document actions like save, route, cancel
By default delegates to the DocumentPresentationController
configured for the document in the data dictionary
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Methods inherited from class org.kuali.rice.krad.uif.view.ViewPresentationControllerBase |
canEditField, canEditGroup, canEditLine, canEditLineField, canEditWidget, canPerformAction, canPerformLineAction, canViewField, canViewGroup, canViewLine, canViewLineField, canViewWidget, fieldIsRequired, getEditModes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentViewPresentationControllerBase
public DocumentViewPresentationControllerBase()
getActionFlags
public Set<String> getActionFlags(View view,
UifFormBase model)
- Specified by:
getActionFlags
in interface ViewPresentationController
- Overrides:
getActionFlags
in class ViewPresentationControllerBase
- See Also:
ViewPresentationController.getActionFlags(org.kuali.rice.krad.uif.view.View,
org.kuali.rice.krad.web.form.UifFormBase)
canInitiate
public boolean canInitiate(String documentTypeName)
- Specified by:
canInitiate
in interface DocumentPresentationController
canEdit
public boolean canEdit(Document document)
- Specified by:
canEdit
in interface DocumentPresentationController
canEditView
public boolean canEditView(View view,
ViewModel model)
- Verify the document can be edited in addition to the view
- Specified by:
canEditView
in interface ViewPresentationController
- Overrides:
canEditView
in class ViewPresentationControllerBase
- Parameters:
view
- - view instance to check whether editing is allowedmodel
- - object containing the view data
- Returns:
- boolean true if editing on the view is allowed, false otherwise
- See Also:
ViewPresentationController.canEditView(org.kuali.rice.krad.uif.view.View, org.kuali.rice.krad.uif.view.ViewModel)
canAnnotate
public boolean canAnnotate(Document document)
- Specified by:
canAnnotate
in interface DocumentPresentationController
canReload
public boolean canReload(Document document)
- Specified by:
canReload
in interface DocumentPresentationController
canClose
public boolean canClose(Document document)
- Specified by:
canClose
in interface DocumentPresentationController
canSave
public boolean canSave(Document document)
- Specified by:
canSave
in interface DocumentPresentationController
canRoute
public boolean canRoute(Document document)
- Specified by:
canRoute
in interface DocumentPresentationController
canCancel
public boolean canCancel(Document document)
- Specified by:
canCancel
in interface DocumentPresentationController
canRecall
public boolean canRecall(Document document)
- Specified by:
canRecall
in interface DocumentPresentationController
canCopy
public boolean canCopy(Document document)
- Specified by:
canCopy
in interface DocumentPresentationController
canPerformRouteReport
public boolean canPerformRouteReport(Document document)
- Specified by:
canPerformRouteReport
in interface DocumentPresentationController
canAddAdhocRequests
public boolean canAddAdhocRequests(Document document)
- Specified by:
canAddAdhocRequests
in interface DocumentPresentationController
canBlanketApprove
public boolean canBlanketApprove(Document document)
- Specified by:
canBlanketApprove
in interface DocumentPresentationController
canApprove
public boolean canApprove(Document document)
- Specified by:
canApprove
in interface DocumentPresentationController
canDisapprove
public boolean canDisapprove(Document document)
- Specified by:
canDisapprove
in interface DocumentPresentationController
canSendAdhocRequests
public boolean canSendAdhocRequests(Document document)
- Specified by:
canSendAdhocRequests
in interface DocumentPresentationController
canSendNoteFyi
public boolean canSendNoteFyi(Document document)
- Specified by:
canSendNoteFyi
in interface DocumentPresentationController
canEditDocumentOverview
public boolean canEditDocumentOverview(Document document)
- Specified by:
canEditDocumentOverview
in interface DocumentPresentationController
canFyi
public boolean canFyi(Document document)
- Specified by:
canFyi
in interface DocumentPresentationController
canAcknowledge
public boolean canAcknowledge(Document document)
- Specified by:
canAcknowledge
in interface DocumentPresentationController
canComplete
public boolean canComplete(Document document)
- Specified by:
canComplete
in interface DocumentPresentationController
getDocumentPresentationController
public DocumentPresentationController getDocumentPresentationController()
setDocumentPresentationController
public void setDocumentPresentationController(DocumentPresentationController documentPresentationController)
setDocumentPresentationControllerClass
public void setDocumentPresentationControllerClass(Class<? extends DocumentPresentationController> documentPresentationControllerClass)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.