Package org.kuali.rice.krad.maintenance
Interface MaintenanceDocumentAuthorizer
- All Superinterfaces:
DataObjectAuthorizer,DocumentAuthorizer
- All Known Implementing Classes:
MaintenanceDocumentAuthorizerBase
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:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether the user has the permission to create a newMaintenanceDocumentbooleancanCreateOrMaintain(MaintenanceDocument maintenanceDocument, org.kuali.rice.kim.api.identity.Person user) Determines whether the user has the permission to create or maintain aMaintenanceDocumentbooleancanMaintain(Object dataObject, org.kuali.rice.kim.api.identity.Person user) Determines whether the user has the permission to maintain aMaintenanceDocumentMethods inherited from interface org.kuali.rice.krad.bo.DataObjectAuthorizer
isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplateMethods 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, canSuperUserApprove, canSuperUserDisapprove, canSuperUserTakeAction, canTakeRequestedAction, canViewNoteAttachment, canViewNoteAttachment, setDocumentRequestAuthorizationCache
-
Method Details
-
canCreate
Determines whether the user has the permission to create a newMaintenanceDocument- Parameters:
boClass-Classof theMaintenanceDocumentuser-Personinstance of the current user- Returns:
trueif the user is allowed to create a newMaintenanceDocumentfor the boClass,falseotherwise
-
canMaintain
Determines whether the user has the permission to maintain aMaintenanceDocument- Parameters:
dataObject-Objectof theMaintenanceDocumentuser-Personinstance of the current user- Returns:
trueif the user is allowed to maintain the dataObject,falseotherwise
-
canCreateOrMaintain
boolean canCreateOrMaintain(MaintenanceDocument maintenanceDocument, org.kuali.rice.kim.api.identity.Person user) Determines whether the user has the permission to create or maintain aMaintenanceDocument- Parameters:
maintenanceDocument- theMaintenanceDocumentuser-Personinstance of the current user- Returns:
trueif the user is allowed to create or maintain theMaintenanceDocument,falseotherwise
-