org.kuali.rice.krad.document
Class DocumentViewPresentationControllerBase
java.lang.Object
   org.kuali.rice.krad.uif.view.ViewPresentationControllerBase
org.kuali.rice.krad.uif.view.ViewPresentationControllerBase
       org.kuali.rice.krad.document.DocumentViewPresentationControllerBase
org.kuali.rice.krad.document.DocumentViewPresentationControllerBase
- All Implemented Interfaces: 
- Serializable, DocumentPresentationController, ViewPresentationController
- Direct Known Subclasses: 
- MaintenanceViewPresentationControllerBase
- 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:
- getActionFlagsin interface- ViewPresentationController
- Overrides:
- getActionFlagsin 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:
- canInitiatein interface- DocumentPresentationController
 
- 
 
canEdit
public boolean canEdit(Document document)
- 
- Specified by:
- canEditin interface- DocumentPresentationController
 
- 
 
canEditView
public boolean canEditView(View view,
                           ViewModel model)
- Verify the document can be edited in addition to the view
 
- 
- Specified by:
- canEditViewin interface- ViewPresentationController
- Overrides:
- canEditViewin class- ViewPresentationControllerBase
 
- 
- Parameters:
- view- - view instance to check whether editing is allowed
- model- - 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:
- canAnnotatein interface- DocumentPresentationController
 
- 
 
canReload
public boolean canReload(Document document)
- 
- Specified by:
- canReloadin interface- DocumentPresentationController
 
- 
 
canClose
public boolean canClose(Document document)
- 
- Specified by:
- canClosein interface- DocumentPresentationController
 
- 
 
canSave
public boolean canSave(Document document)
- 
- Specified by:
- canSavein interface- DocumentPresentationController
 
- 
 
canRoute
public boolean canRoute(Document document)
- 
- Specified by:
- canRoutein interface- DocumentPresentationController
 
- 
 
canCancel
public boolean canCancel(Document document)
- 
- Specified by:
- canCancelin interface- DocumentPresentationController
 
- 
 
canRecall
public boolean canRecall(Document document)
- 
- Specified by:
- canRecallin interface- DocumentPresentationController
 
- 
 
canCopy
public boolean canCopy(Document document)
- 
- Specified by:
- canCopyin interface- DocumentPresentationController
 
- 
 
canPerformRouteReport
public boolean canPerformRouteReport(Document document)
- 
- Specified by:
- canPerformRouteReportin interface- DocumentPresentationController
 
- 
 
canAddAdhocRequests
public boolean canAddAdhocRequests(Document document)
- 
- Specified by:
- canAddAdhocRequestsin interface- DocumentPresentationController
 
- 
 
canBlanketApprove
public boolean canBlanketApprove(Document document)
- 
- Specified by:
- canBlanketApprovein interface- DocumentPresentationController
 
- 
 
canApprove
public boolean canApprove(Document document)
- 
- Specified by:
- canApprovein interface- DocumentPresentationController
 
- 
 
canDisapprove
public boolean canDisapprove(Document document)
- 
- Specified by:
- canDisapprovein interface- DocumentPresentationController
 
- 
 
canSendAdhocRequests
public boolean canSendAdhocRequests(Document document)
- 
- Specified by:
- canSendAdhocRequestsin interface- DocumentPresentationController
 
- 
 
canSendNoteFyi
public boolean canSendNoteFyi(Document document)
- 
- Specified by:
- canSendNoteFyiin interface- DocumentPresentationController
 
- 
 
canEditDocumentOverview
public boolean canEditDocumentOverview(Document document)
- 
- Specified by:
- canEditDocumentOverviewin interface- DocumentPresentationController
 
- 
 
canFyi
public boolean canFyi(Document document)
- 
- Specified by:
- canFyiin interface- DocumentPresentationController
 
- 
 
canAcknowledge
public boolean canAcknowledge(Document document)
- 
- Specified by:
- canAcknowledgein interface- DocumentPresentationController
 
- 
 
canComplete
public boolean canComplete(Document document)
- 
- Specified by:
- canCompletein interface- DocumentPresentationController
 
- 
 
getDocumentPresentationController
public DocumentPresentationController getDocumentPresentationController()
- 
 
- 
 
setDocumentPresentationController
public void setDocumentPresentationController(DocumentPresentationController documentPresentationController)
- 
 
- 
 
setDocumentPresentationControllerClass
public void setDocumentPresentationControllerClass(Class<? extends DocumentPresentationController> documentPresentationControllerClass)
- 
 
- 
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.