public class DocumentViewPresentationControllerBase extends ViewPresentationControllerBase implements DocumentPresentationController
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
Constructor and Description |
---|
DocumentViewPresentationControllerBase() |
canEditField, canEditGroup, canEditLine, canEditLineField, canEditWidget, canPerformAction, canPerformLineAction, canViewField, canViewGroup, canViewLine, canViewLineField, canViewWidget, fieldIsRequired, getEditModes
public DocumentViewPresentationControllerBase()
public Set<String> getActionFlags(View view, UifFormBase model)
getActionFlags
in interface ViewPresentationController
getActionFlags
in class ViewPresentationControllerBase
ViewPresentationController.getActionFlags(org.kuali.rice.krad.uif.view.View,
org.kuali.rice.krad.web.form.UifFormBase)
public boolean canInitiate(String documentTypeName)
canInitiate
in interface DocumentPresentationController
public boolean canEdit(Document document)
canEdit
in interface DocumentPresentationController
public boolean canEditView(View view, ViewModel model)
canEditView
in interface ViewPresentationController
canEditView
in class ViewPresentationControllerBase
view
- - view instance to check whether editing is allowedmodel
- - object containing the view dataViewPresentationController.canEditView(org.kuali.rice.krad.uif.view.View, org.kuali.rice.krad.uif.view.ViewModel)
public boolean canAnnotate(Document document)
canAnnotate
in interface DocumentPresentationController
public boolean canReload(Document document)
canReload
in interface DocumentPresentationController
public boolean canClose(Document document)
canClose
in interface DocumentPresentationController
public boolean canSave(Document document)
canSave
in interface DocumentPresentationController
public boolean canRoute(Document document)
canRoute
in interface DocumentPresentationController
public boolean canCancel(Document document)
canCancel
in interface DocumentPresentationController
public boolean canRecall(Document document)
canRecall
in interface DocumentPresentationController
public boolean canCopy(Document document)
canCopy
in interface DocumentPresentationController
public boolean canPerformRouteReport(Document document)
canPerformRouteReport
in interface DocumentPresentationController
public boolean canAddAdhocRequests(Document document)
canAddAdhocRequests
in interface DocumentPresentationController
public boolean canBlanketApprove(Document document)
canBlanketApprove
in interface DocumentPresentationController
public boolean canApprove(Document document)
canApprove
in interface DocumentPresentationController
public boolean canDisapprove(Document document)
canDisapprove
in interface DocumentPresentationController
public boolean canSendAdhocRequests(Document document)
canSendAdhocRequests
in interface DocumentPresentationController
public boolean canSendNoteFyi(Document document)
canSendNoteFyi
in interface DocumentPresentationController
public boolean canEditDocumentOverview(Document document)
canEditDocumentOverview
in interface DocumentPresentationController
public boolean canFyi(Document document)
canFyi
in interface DocumentPresentationController
public boolean canAcknowledge(Document document)
canAcknowledge
in interface DocumentPresentationController
public boolean canComplete(Document document)
canComplete
in interface DocumentPresentationController
public DocumentPresentationController getDocumentPresentationController()
public void setDocumentPresentationController(DocumentPresentationController documentPresentationController)
public void setDocumentPresentationControllerClass(Class<? extends DocumentPresentationController> documentPresentationControllerClass)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.