public class KsMaintenanceViewAuthorizerBase extends MaintenanceViewAuthorizerBase
Modifier and Type | Field and Description |
---|---|
protected MessageService |
messageService |
LOG, PRE_ROUTING_ROUTE_NAME
Constructor and Description |
---|
KsMaintenanceViewAuthorizerBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPermissionDetails(Object primaryDataObjectOrDocument,
Map<String,String> attributes) |
protected void |
addRoleQualification(Object primaryDataObjectOrDocument,
Map<String,String> attributes) |
boolean |
canEditView(View view,
ViewModel model,
Person user) |
boolean |
canOpenView(View view,
ViewModel model,
Person user) |
boolean |
canViewGroup(View view,
ViewModel model,
Group group,
String groupId,
Person user) |
MessageService |
getMessageService() |
protected boolean |
isAuthorizedByTemplate(View view,
Component component,
ViewModel model,
String permissionTemplateName,
Person user,
Map<String,String> additionalPermissionDetails,
Map<String,String> additionalRoleQualifications,
boolean checkPermissionExistence) |
void |
setMessageService(MessageService messageService) |
canCreate, canCreateOrMaintain, canMaintain
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, canUnmaskField, canViewNoteAttachment, getActionFlags, getDocumentAuthorizer, isDocumentInitiator, isInitiator, setDocumentAuthorizer, setDocumentAuthorizerClass
canEditField, canEditGroup, canEditLine, canEditLineField, canEditWidget, canPartialUnmaskField, canPerformAction, canPerformLineAction, canViewField, canViewLine, canViewLineField, canViewWidget, getActionPermissionDetails, getConfigurationService, getDataObjectContext, getEditModes, getFieldPermissionDetails, getGroupPermissionDetails, getWidgetPermissionDetails, setConfigurationService
getPermissionDetailValues, getPermissionService, getPersonService, getRoleQualification, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate, permissionExistsByTemplate, permissionExistsByTemplate, permissionExistsByTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate
protected MessageService messageService
public KsMaintenanceViewAuthorizerBase()
protected void addRoleQualification(Object primaryDataObjectOrDocument, Map<String,String> attributes)
addRoleQualification
in class MaintenanceViewAuthorizerBase
protected void addPermissionDetails(Object primaryDataObjectOrDocument, Map<String,String> attributes)
addPermissionDetails
in class MaintenanceViewAuthorizerBase
protected boolean isAuthorizedByTemplate(View view, Component component, ViewModel model, String permissionTemplateName, Person user, Map<String,String> additionalPermissionDetails, Map<String,String> additionalRoleQualifications, boolean checkPermissionExistence)
isAuthorizedByTemplate
in class ViewAuthorizerBase
public boolean canOpenView(View view, ViewModel model, Person user)
canOpenView
in interface ViewAuthorizer
canOpenView
in class DocumentViewAuthorizerBase
public boolean canEditView(View view, ViewModel model, Person user)
canEditView
in interface ViewAuthorizer
canEditView
in class DocumentViewAuthorizerBase
public boolean canViewGroup(View view, ViewModel model, Group group, String groupId, Person user)
canViewGroup
in interface ViewAuthorizer
canViewGroup
in class ViewAuthorizerBase
public MessageService getMessageService()
public void setMessageService(MessageService messageService)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.