org.kuali.rice.krad.maintenance
Interface MaintenanceDocumentAuthorizer

All Superinterfaces:
DataObjectAuthorizer, DocumentAuthorizer
All Known Subinterfaces:
MaintenanceDocumentAuthorizer
All Known Implementing Classes:
AgendaEditorAuthorizer, MaintenanceDocumentAuthorizerBase, MaintenanceDocumentAuthorizerBase

public interface MaintenanceDocumentAuthorizer
extends DocumentAuthorizer

Authorizer class for MaintenanceDocument instances

The MaintenanceDocumentAuthorizer extends the available actions of DocumentAuthorizer for MaintenanceDocuments.

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

Method Summary
 boolean canCreate(Class boClass, Person user)
          Determines whether the user has the permission to create a new MaintenanceDocument
 boolean canCreateOrMaintain(MaintenanceDocument maintenanceDocument, Person user)
          Determines whether the user has the permission to create or maintain a MaintenanceDocument
 boolean canMaintain(Object dataObject, Person user)
          Determines whether the user has the permission to maintain a MaintenanceDocument
 
Methods inherited from interface org.kuali.rice.krad.document.DocumentAuthorizer
canAcknowledge, canAddNoteAttachment, canAnnotate, canApprove, canBlanketApprove, canCancel, canClose, canCopy, canDeleteNoteAttachment, canDisapprove, canEdit, canEditDocumentOverview, canFyi, canInitiate, canOpen, canPerformRouteReport, canRecall, canReceiveAdHoc, canReload, canRoute, canSave, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canSendNoteFyi, canTakeRequestedAction, canViewNoteAttachment
 
Methods inherited from interface org.kuali.rice.krad.bo.DataObjectAuthorizer
isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate
 

Method Detail

canCreate

boolean canCreate(Class boClass,
                  Person user)
Determines whether the user has the permission to create a new MaintenanceDocument

Parameters:
boClass - Class of the MaintenanceDocument
user - Person instance of the current user
Returns:
true if the user is allowed to create a new MaintenanceDocument for the boClass, false otherwise

canMaintain

boolean canMaintain(Object dataObject,
                    Person user)
Determines whether the user has the permission to maintain a MaintenanceDocument

Parameters:
dataObject - Object of the MaintenanceDocument
user - Person instance of the current user
Returns:
true if the user is allowed to maintain the dataObject, false otherwise

canCreateOrMaintain

boolean canCreateOrMaintain(MaintenanceDocument maintenanceDocument,
                            Person user)
Determines whether the user has the permission to create or maintain a MaintenanceDocument

Parameters:
maintenanceDocument - the MaintenanceDocument
user - Person instance of the current user
Returns:
true if the user is allowed to create or maintain the MaintenanceDocument, false otherwise


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