org.kuali.rice.krad.document
Class DocumentViewPresentationControllerBase

java.lang.Object
  extended by org.kuali.rice.krad.uif.view.ViewPresentationControllerBase
      extended by 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

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
DocumentViewPresentationControllerBase()
           
 
Method Summary
 boolean canAcknowledge(Document document)
           
 boolean canAddAdhocRequests(Document document)
           
 boolean canAnnotate(Document document)
           
 boolean canApprove(Document document)
           
 boolean canBlanketApprove(Document document)
           
 boolean canCancel(Document document)
           
 boolean canClose(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 canReload(Document document)
           
 boolean canRoute(Document document)
           
 boolean canSave(Document document)
           
 boolean canSendAdhocRequests(Document document)
           
 boolean canSendNoteFyi(Document document)
           
 Set<String> getActionFlags(View view, UifFormBase model)
           
protected  DocumentPresentationController getDocumentPresentationController()
           
 void setDocumentPresentationController(DocumentPresentationController documentPresentationController)
           
 void setDocumentPresentationControllerClass(Class<? extends DocumentPresentationController> documentPresentationControllerClass)
           
 
Methods inherited from class org.kuali.rice.krad.uif.view.ViewPresentationControllerBase
canEditField, canEditGroup, canEditLine, canEditLineField, canEditWidget, canTakeAction, canTakeLineAction, 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
 

Constructor Detail

DocumentViewPresentationControllerBase

public DocumentViewPresentationControllerBase()
Method Detail

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

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

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

getDocumentPresentationController

protected DocumentPresentationController getDocumentPresentationController()

setDocumentPresentationController

public void setDocumentPresentationController(DocumentPresentationController documentPresentationController)

setDocumentPresentationControllerClass

public void setDocumentPresentationControllerClass(Class<? extends DocumentPresentationController> documentPresentationControllerClass)


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.