Package org.kuali.rice.krad.maintenance
Class MaintenanceViewAuthorizerBase
java.lang.Object
org.kuali.rice.krad.bo.DataObjectAuthorizerBase
org.kuali.rice.krad.uif.view.ViewAuthorizerBase
org.kuali.rice.krad.document.DocumentViewAuthorizerBase
org.kuali.rice.krad.maintenance.MaintenanceViewAuthorizerBase
- All Implemented Interfaces:
Serializable,DataObjectAuthorizer,DocumentAuthorizer,ViewAuthorizer
Implementation of
ViewAuthorizer for
MaintenanceDocumentView instances- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
Fields inherited from class org.kuali.rice.krad.document.DocumentViewAuthorizerBase
LOG, PRE_ROUTING_ROUTE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddPermissionDetails(Object dataObject, Map<String, String> attributes) Override this method to populate the permission details from the primary data object or document.protected voidaddRoleQualification(Object dataObject, Map<String, String> attributes) Override this method to populate the role qualifier attributes from the primary data object or document.final booleanfinal booleancanCreateOrMaintain(MaintenanceDocument maintenanceDocument, Person user) final booleancanMaintain(Object dataObject, Person user) Methods inherited from class org.kuali.rice.krad.document.DocumentViewAuthorizerBase
addStandardAttributes, canAcknowledge, canAddNoteAttachment, canAnnotate, canApprove, canBlanketApprove, canCancel, canClose, canCopy, canDeleteNoteAttachment, canDisapprove, canEdit, canEditDocumentOverview, canEditView, canFyi, canInitiate, canOpen, canOpenView, canPerformRouteReport, canRecall, canReceiveAdHoc, canReload, canRoute, canSave, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canSendNoteFyi, canSuperUserApprove, canSuperUserDisapprove, canSuperUserTakeAction, canTakeRequestedAction, canUnmaskField, canViewNoteAttachment, canViewNoteAttachment, getActionFlags, getDocumentAuthorizer, getDocumentDictionaryService, getDocumentRequestAuthorizationCache, initializeDocumentAuthorizerIfNecessary, initializeDocumentAuthorizerIfNecessary, isDocumentInitiator, isInitiator, setDocumentAuthorizer, setDocumentAuthorizerClass, setDocumentDictionaryService, setDocumentRequestAuthorizationCache, setRequestAuthorizationCacheMethods inherited from class org.kuali.rice.krad.uif.view.ViewAuthorizerBase
canEditField, canEditGroup, canEditLine, canEditLineField, canEditWidget, canPartialUnmaskField, canPerformAction, canPerformLineAction, canViewField, canViewGroup, canViewLine, canViewLineField, canViewWidget, getActionPermissionDetails, getConfigurationService, getDataObjectContext, getEditModes, getFieldPermissionDetails, getGroupPermissionDetails, getRequestAuthorizationCache, getWidgetPermissionDetails, isAuthorizedByTemplate, setConfigurationServiceMethods inherited from class org.kuali.rice.krad.bo.DataObjectAuthorizerBase
getPermissionDetailValues, getPermissionService, getPersonService, getRoleQualification, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate, permissionExistsByTemplate, permissionExistsByTemplate, permissionExistsByTemplateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.bo.DataObjectAuthorizer
isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate
-
Constructor Details
-
MaintenanceViewAuthorizerBase
public MaintenanceViewAuthorizerBase()
-
-
Method Details
-
canCreate
-
canMaintain
-
canCreateOrMaintain
-
addRoleQualification
Description copied from class:DocumentViewAuthorizerBaseOverride this method to populate the role qualifier attributes from the primary data object or document. This will only be called once per request.- Overrides:
addRoleQualificationin classDocumentViewAuthorizerBase- Parameters:
dataObject- - 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 map
-
addPermissionDetails
Description copied from class:DocumentViewAuthorizerBaseOverride this method to populate the permission details from the primary data object or document. This will only be called once per request.- Overrides:
addPermissionDetailsin classDocumentViewAuthorizerBase- Parameters:
dataObject- - 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 map
-