org.kuali.rice.kns.document.authorization
Class DocumentPresentationControllerBase

java.lang.Object
  extended by org.kuali.rice.kns.document.authorization.DocumentPresentationControllerBase
All Implemented Interfaces:
DocumentPresentationController
Direct Known Subclasses:
MaintenanceDocumentPresentationControllerBase, TransactionalDocumentPresentationControllerBase

public class DocumentPresentationControllerBase
extends Object
implements DocumentPresentationController


Field Summary
private static ParameterService parameterService
           
 
Constructor Summary
DocumentPresentationControllerBase()
           
 
Method Summary
protected  boolean canAcknowledge(Document document)
           
protected  boolean canAddAdhocRequests(Document document)
           
protected  boolean canAnnotate(Document document)
           
protected  boolean canApprove(Document document)
           
protected  boolean canBlanketApprove(Document document)
          This method ...
protected  boolean canCancel(Document document)
           
protected  boolean canClose(Document document)
           
protected  boolean canCopy(Document document)
           
protected  boolean canDisapprove(Document document)
           
protected  boolean canEdit(Document document)
           
protected  boolean canEditDocumentOverview(Document document)
           
protected  boolean canFyi(Document document)
           
 boolean canInitiate(String documentTypeName)
           
protected  boolean canPerformRouteReport(Document document)
           
protected  boolean canReload(Document document)
           
protected  boolean canRoute(Document document)
           
protected  boolean canSave(Document document)
           
protected  boolean canSendAdhocRequests(Document document)
           
protected  boolean canSendNoteFyi(Document document)
           
 Set<String> getDocumentActions(Document document)
           
protected  ParameterService getParameterService()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parameterService

private static transient ParameterService parameterService
Constructor Detail

DocumentPresentationControllerBase

public DocumentPresentationControllerBase()
Method Detail

canInitiate

public boolean canInitiate(String documentTypeName)
Specified by:
canInitiate in interface DocumentPresentationController

canEdit

protected boolean canEdit(Document document)
Parameters:
document -
Returns:
boolean (true if can edit the document)

canAnnotate

protected boolean canAnnotate(Document document)
Parameters:
document -
Returns:
boolean (true if can add notes to the document)

canReload

protected boolean canReload(Document document)
Parameters:
document -
Returns:
boolean (true if can reload the document)

canClose

protected boolean canClose(Document document)
Parameters:
document -
Returns:
boolean (true if can close the document)

canSave

protected boolean canSave(Document document)
Parameters:
document -
Returns:
boolean (true if can save the document)

canRoute

protected boolean canRoute(Document document)
Parameters:
document -
Returns:
boolean (true if can route the document)

canCancel

protected boolean canCancel(Document document)
Parameters:
document -
Returns:
boolean (true if can cancel the document)

canCopy

protected boolean canCopy(Document document)
Parameters:
document -
Returns:
boolean (true if can copy the document)

canPerformRouteReport

protected boolean canPerformRouteReport(Document document)
Parameters:
document -
Returns:
boolean (true if can perform route report)

canAddAdhocRequests

protected boolean canAddAdhocRequests(Document document)
Parameters:
document -
Returns:
boolean (true if can do ad hoc route)

canBlanketApprove

protected boolean canBlanketApprove(Document document)
This method ...

Parameters:
document -
Returns:
boolean (true if can blanket approve the document)

canApprove

protected boolean canApprove(Document document)

canDisapprove

protected boolean canDisapprove(Document document)

canSendAdhocRequests

protected boolean canSendAdhocRequests(Document document)

canSendNoteFyi

protected boolean canSendNoteFyi(Document document)

canEditDocumentOverview

protected boolean canEditDocumentOverview(Document document)

canFyi

protected boolean canFyi(Document document)

canAcknowledge

protected boolean canAcknowledge(Document document)

getDocumentActions

public Set<String> getDocumentActions(Document document)
Specified by:
getDocumentActions in interface DocumentPresentationController
See Also:
DocumentPresentationController.getDocumentActions(org.kuali.rice.kns.document.Document)

getParameterService

protected ParameterService getParameterService()


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