public class MaintenanceDocumentAuthorizerBase extends DocumentAuthorizerBase implements MaintenanceDocumentAuthorizer
MaintenanceDocumentAuthorizer that perform KIM permission checks to authorize
 the actionsMaintenanceDocumentAuthorizer, 
Serialized FormPRE_ROUTING_ROUTE_NAME| Constructor and Description | 
|---|
| MaintenanceDocumentAuthorizerBase() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | addPermissionDetails(Object dataObject,
                                        Map<String,String> attributes)Adds the namespace, component and maintenance actions to the permission details attributes | 
| protected void | addRoleQualification(Object dataObject,
                                        Map<String,String> attributes)Adds the namespace and component to the role qualification attributes | 
| 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 | 
| protected DocumentDictionaryService | getDocumentDictionaryService() | 
| void | setDocumentDictionaryService(DocumentDictionaryService documentDictionaryService) | 
addStandardAttributes, 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, isDocumentInitiatorgetPermissionDetailValues, getPermissionService, getPersonService, getRoleQualification, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate, permissionExistsByTemplate, permissionExistsByTemplate, permissionExistsByTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanAcknowledge, canAddNoteAttachment, canAnnotate, canApprove, canBlanketApprove, canCancel, canClose, canCopy, canDeleteNoteAttachment, canDisapprove, canEdit, canEditDocumentOverview, canFyi, canInitiate, canOpen, canPerformRouteReport, canRecall, canReceiveAdHoc, canReload, canRoute, canSave, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canSendNoteFyi, canTakeRequestedAction, canViewNoteAttachmentisAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplatepublic MaintenanceDocumentAuthorizerBase()
public boolean canCreate(Class boClass, Person user)
MaintenanceDocumentAuthorizerMaintenanceDocumentcanCreate in interface MaintenanceDocumentAuthorizerboClass - Class of the MaintenanceDocumentuser - Person instance of the current usertrue if the user is allowed to create a new MaintenanceDocument for
         the boClass, false otherwiseMaintenanceDocumentAuthorizer.canCreate(Class, org.kuali.rice.kim.api.identity.Person)public boolean canMaintain(Object dataObject, Person user)
MaintenanceDocumentAuthorizerMaintenanceDocumentcanMaintain in interface MaintenanceDocumentAuthorizerdataObject - Object of the MaintenanceDocumentuser - Person instance of the current usertrue if the user is allowed to maintain the dataObject, false otherwiseMaintenanceDocumentAuthorizer.canMaintain(Object, org.kuali.rice.kim.api.identity.Person)public boolean canCreateOrMaintain(MaintenanceDocument maintenanceDocument, Person user)
MaintenanceDocumentAuthorizerMaintenanceDocumentcanCreateOrMaintain in interface MaintenanceDocumentAuthorizermaintenanceDocument - the MaintenanceDocumentuser - Person instance of the current usertrue if the user is allowed to create or maintain the MaintenanceDocument,
         false otherwiseMaintenanceDocumentAuthorizer.canCreateOrMaintain(MaintenanceDocument, org.kuali.rice.kim.api.identity.Person)protected void addRoleQualification(Object dataObject, Map<String,String> attributes)
addRoleQualification in class DocumentAuthorizerBasedataObject - - the primary data object (i.e. the main object instance
 behind the lookup result row or inquiry) or the documentattributes - - role qualifiers will be added to this mapDocumentAuthorizerBase.addRoleQualification(Object, java.util.Map)protected void addPermissionDetails(Object dataObject, Map<String,String> attributes)
addPermissionDetails in class DocumentAuthorizerBasedataObject - - the primary data object (i.e. the main object instance
 behind the lookup result row or inquiry) or the documentattributes - - permission details will be added to this mapDocumentAuthorizerBase.addPermissionDetails(Object, java.util.Map)protected DocumentDictionaryService getDocumentDictionaryService()
public void setDocumentDictionaryService(DocumentDictionaryService documentDictionaryService)
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.