org.kuali.rice.krad.document
Interface DocumentAuthorizer

All Superinterfaces:
DataObjectAuthorizer
All Known Subinterfaces:
DocumentAuthorizer, MaintenanceDocumentAuthorizer, MaintenanceDocumentAuthorizer, TransactionalDocumentAuthorizer
All Known Implementing Classes:
AgendaEditorAuthorizer, DocumentAuthorizerBase, DocumentAuthorizerBase, DocumentViewAuthorizerBase, IdentityManagementKimDocumentAuthorizer, MaintenanceDocumentAuthorizerBase, MaintenanceDocumentAuthorizerBase, MaintenanceViewAuthorizerBase, TransactionalDocumentAuthorizerBase, TravelDocumentAuthorizer

public interface DocumentAuthorizer
extends DataObjectAuthorizer

Authorizer class for Document instances

Authorizer provides user based authorization

The document authorizer is associated with a document type through its data dictionary DocumentEntry. This is then used by the framework to authorize certain actions and in addition used for view presentation logic

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 boolean canAcknowledge(Document document, Person user)
           
 boolean canAddNoteAttachment(Document document, String attachmentTypeCode, Person user)
           
 boolean canAnnotate(Document document, Person user)
           
 boolean canApprove(Document document, Person user)
           
 boolean canBlanketApprove(Document document, Person user)
           
 boolean canCancel(Document document, Person user)
           
 boolean canClose(Document document, Person user)
           
 boolean canCopy(Document document, Person user)
           
 boolean canDeleteNoteAttachment(Document document, String attachmentTypeCode, String authorUniversalIdentifier, Person user)
           
 boolean canDisapprove(Document document, Person user)
           
 boolean canEdit(Document document, Person user)
           
 boolean canEditDocumentOverview(Document document, Person user)
           
 boolean canFyi(Document document, Person user)
           
 boolean canInitiate(String documentTypeName, Person user)
           
 boolean canOpen(Document document, Person user)
           
 boolean canPerformRouteReport(Document document, Person user)
           
 boolean canReceiveAdHoc(Document document, Person user, String actionRequestCode)
           
 boolean canReload(Document document, Person user)
           
 boolean canRoute(Document document, Person user)
           
 boolean canSave(Document document, Person user)
           
 boolean canSendAdHocRequests(Document document, String actionRequestCd, Person user)
           
 boolean canSendAnyTypeAdHocRequests(Document document, Person user)
           
 boolean canSendNoteFyi(Document document, Person user)
           
 boolean canTakeRequestedAction(Document document, String actionRequestCode, Person user)
           
 boolean canViewNoteAttachment(Document document, String attachmentTypeCode, String authorUniversalIdentifier, Person user)
           
 
Methods inherited from interface org.kuali.rice.krad.bo.DataObjectAuthorizer
isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate
 

Method Detail

canInitiate

boolean canInitiate(String documentTypeName,
                    Person user)

canOpen

boolean canOpen(Document document,
                Person user)

canEdit

boolean canEdit(Document document,
                Person user)

canAnnotate

boolean canAnnotate(Document document,
                    Person user)

canReload

boolean canReload(Document document,
                  Person user)

canClose

boolean canClose(Document document,
                 Person user)

canSave

boolean canSave(Document document,
                Person user)

canRoute

boolean canRoute(Document document,
                 Person user)

canCancel

boolean canCancel(Document document,
                  Person user)

canCopy

boolean canCopy(Document document,
                Person user)

canPerformRouteReport

boolean canPerformRouteReport(Document document,
                              Person user)

canBlanketApprove

boolean canBlanketApprove(Document document,
                          Person user)

canApprove

boolean canApprove(Document document,
                   Person user)

canDisapprove

boolean canDisapprove(Document document,
                      Person user)

canSendNoteFyi

boolean canSendNoteFyi(Document document,
                       Person user)

canEditDocumentOverview

boolean canEditDocumentOverview(Document document,
                                Person user)

canFyi

boolean canFyi(Document document,
               Person user)

canAcknowledge

boolean canAcknowledge(Document document,
                       Person user)

canReceiveAdHoc

boolean canReceiveAdHoc(Document document,
                        Person user,
                        String actionRequestCode)

canAddNoteAttachment

boolean canAddNoteAttachment(Document document,
                             String attachmentTypeCode,
                             Person user)

canDeleteNoteAttachment

boolean canDeleteNoteAttachment(Document document,
                                String attachmentTypeCode,
                                String authorUniversalIdentifier,
                                Person user)

canViewNoteAttachment

boolean canViewNoteAttachment(Document document,
                              String attachmentTypeCode,
                              String authorUniversalIdentifier,
                              Person user)

canSendAdHocRequests

boolean canSendAdHocRequests(Document document,
                             String actionRequestCd,
                             Person user)

canSendAnyTypeAdHocRequests

boolean canSendAnyTypeAdHocRequests(Document document,
                                    Person user)

canTakeRequestedAction

boolean canTakeRequestedAction(Document document,
                               String actionRequestCode,
                               Person user)


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