public class SecTransactionalDocumentAuthorizer extends Object implements org.kuali.rice.kns.document.authorization.TransactionalDocumentAuthorizer
Modifier and Type | Field and Description |
---|---|
protected org.kuali.rice.kns.document.authorization.TransactionalDocumentAuthorizer |
documentAuthorizer |
Constructor and Description |
---|
SecTransactionalDocumentAuthorizer() |
Modifier and Type | Method and Description |
---|---|
boolean |
canAcknowledge(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canAddNoteAttachment(org.kuali.rice.krad.document.Document document,
String attachmentTypeCode,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canAnnotate(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canApprove(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canBlanketApprove(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canCancel(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canClose(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canCopy(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canDeleteNoteAttachment(org.kuali.rice.krad.document.Document document,
String attachmentTypeCode,
String createdBySelfOnly,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canDisapprove(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canEdit(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canEditDocumentOverview(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canFyi(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canInitiate(String documentTypeName,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canOpen(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user)
If user has open permission then does further checks to verify there are no access security restriction setup that prevents the user from opening the document
|
boolean |
canPerformRouteReport(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canRecall(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canReceiveAdHoc(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user,
String actionRequestCode) |
boolean |
canReload(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canRoute(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canSave(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canSendAdHocRequests(org.kuali.rice.krad.document.Document document,
String actionRequestCd,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canSendAnyTypeAdHocRequests(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canSendNoteFyi(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canTakeRequestedAction(org.kuali.rice.krad.document.Document document,
String actionRequestCode,
org.kuali.rice.kim.api.identity.Person user) |
boolean |
canViewNoteAttachment(org.kuali.rice.krad.document.Document document,
String attachmentTypeCode,
org.kuali.rice.kim.api.identity.Person user)
If user has permission to view notes/attachments then does further checks to verify there are no access security restriction setup that prevents the user from viewing the
notes/attachments
|
boolean |
canViewNoteAttachment(org.kuali.rice.krad.document.Document document,
String attachmentTypeCode,
String authorUniversalIdentifier,
org.kuali.rice.kim.api.identity.Person user) |
protected AccessSecurityService |
getAccessSecurityService() |
Map<String,String> |
getCollectionItemPermissionDetails(org.kuali.rice.krad.bo.BusinessObject collectionItemBusinessObject) |
Map<String,String> |
getCollectionItemRoleQualifications(org.kuali.rice.krad.bo.BusinessObject collectionItemBusinessObject) |
Set<String> |
getDocumentActions(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user,
Set<String> documentActions)
If there are line restrictions and the initiator override flag is turned on, we need to disable the copy and error correct buttons since those would result in documents
displaying the restricted lines
|
Set<String> |
getEditModes(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user,
Set<String> editModes) |
boolean |
isAuthorized(org.kuali.rice.krad.bo.BusinessObject businessObject,
String namespaceCode,
String permissionName,
String principalId) |
boolean |
isAuthorized(org.kuali.rice.krad.bo.BusinessObject businessObject,
String namespaceCode,
String permissionName,
String principalId,
Map<String,String> additionalPermissionDetails,
Map<String,String> additionalRoleQualifiers) |
boolean |
isAuthorized(Object dataObject,
String namespaceCode,
String permissionName,
String principalId) |
boolean |
isAuthorized(Object dataObject,
String namespaceCode,
String permissionName,
String principalId,
Map<String,String> additionalPermissionDetails,
Map<String,String> additionalRoleQualifiers) |
boolean |
isAuthorizedByTemplate(org.kuali.rice.krad.bo.BusinessObject businessObject,
String namespaceCode,
String permissionTemplateName,
String principalId) |
boolean |
isAuthorizedByTemplate(org.kuali.rice.krad.bo.BusinessObject businessObject,
String namespaceCode,
String permissionTemplateName,
String principalId,
Map<String,String> additionalPermissionDetails,
Map<String,String> additionalRoleQualifiers) |
boolean |
isAuthorizedByTemplate(Object dataObject,
String namespaceCode,
String permissionTemplateName,
String principalId) |
boolean |
isAuthorizedByTemplate(Object dataObject,
String namespaceCode,
String permissionTemplateName,
String principalId,
Map<String,String> additionalPermissionDetails,
Map<String,String> additionalRoleQualifiers) |
void |
setDocumentAuthorizer(org.kuali.rice.kns.document.authorization.TransactionalDocumentAuthorizer documentAuthorizer) |
protected org.kuali.rice.kns.document.authorization.TransactionalDocumentAuthorizer documentAuthorizer
public SecTransactionalDocumentAuthorizer()
protected AccessSecurityService getAccessSecurityService()
public Set<String> getEditModes(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user, Set<String> editModes)
getEditModes
in interface org.kuali.rice.kns.document.authorization.TransactionalDocumentAuthorizer
public boolean canAddNoteAttachment(org.kuali.rice.krad.document.Document document, String attachmentTypeCode, org.kuali.rice.kim.api.identity.Person user)
canAddNoteAttachment
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canDeleteNoteAttachment(org.kuali.rice.krad.document.Document document, String attachmentTypeCode, String createdBySelfOnly, org.kuali.rice.kim.api.identity.Person user)
canDeleteNoteAttachment
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canInitiate(String documentTypeName, org.kuali.rice.kim.api.identity.Person user)
canInitiate
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canOpen(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canOpen
in interface org.kuali.rice.krad.document.DocumentAuthorizer
org.kuali.rice.krad.document.authorization.DocumentAuthorizer#canOpen(org.kuali.rice.krad.document.Document, org.kuali.rice.kim.api.identity.Person)
public boolean canReceiveAdHoc(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user, String actionRequestCode)
canReceiveAdHoc
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canSendAdHocRequests(org.kuali.rice.krad.document.Document document, String actionRequestCd, org.kuali.rice.kim.api.identity.Person user)
canSendAdHocRequests
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canViewNoteAttachment(org.kuali.rice.krad.document.Document document, String attachmentTypeCode, org.kuali.rice.kim.api.identity.Person user)
org.kuali.rice.krad.document.authorization.DocumentAuthorizer#canViewNoteAttachment(org.kuali.rice.krad.document.Document, java.lang.String, org.kuali.rice.kim.api.identity.Person)
public Set<String> getDocumentActions(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user, Set<String> documentActions)
org.kuali.rice.krad.document.authorization.DocumentAuthorizer#getDocumentActions(org.kuali.rice.krad.document.Document, org.kuali.rice.kim.api.identity.Person, java.util.Set)
public Map<String,String> getCollectionItemPermissionDetails(org.kuali.rice.krad.bo.BusinessObject collectionItemBusinessObject)
getCollectionItemPermissionDetails
in interface org.kuali.rice.kns.authorization.BusinessObjectAuthorizer
public Map<String,String> getCollectionItemRoleQualifications(org.kuali.rice.krad.bo.BusinessObject collectionItemBusinessObject)
getCollectionItemRoleQualifications
in interface org.kuali.rice.kns.authorization.BusinessObjectAuthorizer
public boolean isAuthorized(org.kuali.rice.krad.bo.BusinessObject businessObject, String namespaceCode, String permissionName, String principalId)
isAuthorized
in interface org.kuali.rice.kns.authorization.BusinessObjectAuthorizer
public boolean isAuthorized(org.kuali.rice.krad.bo.BusinessObject businessObject, String namespaceCode, String permissionName, String principalId, Map<String,String> additionalPermissionDetails, Map<String,String> additionalRoleQualifiers)
isAuthorized
in interface org.kuali.rice.kns.authorization.BusinessObjectAuthorizer
public boolean isAuthorizedByTemplate(org.kuali.rice.krad.bo.BusinessObject businessObject, String namespaceCode, String permissionTemplateName, String principalId)
isAuthorizedByTemplate
in interface org.kuali.rice.kns.authorization.BusinessObjectAuthorizer
public boolean isAuthorizedByTemplate(org.kuali.rice.krad.bo.BusinessObject businessObject, String namespaceCode, String permissionTemplateName, String principalId, Map<String,String> additionalPermissionDetails, Map<String,String> additionalRoleQualifiers)
public boolean isAuthorizedByTemplate(Object dataObject, String namespaceCode, String permissionTemplateName, String principalId, Map<String,String> additionalPermissionDetails, Map<String,String> additionalRoleQualifiers)
isAuthorizedByTemplate
in interface org.kuali.rice.kns.authorization.BusinessObjectAuthorizer
isAuthorizedByTemplate
in interface org.kuali.rice.krad.bo.DataObjectAuthorizer
public void setDocumentAuthorizer(org.kuali.rice.kns.document.authorization.TransactionalDocumentAuthorizer documentAuthorizer)
public boolean isAuthorized(Object dataObject, String namespaceCode, String permissionName, String principalId)
isAuthorized
in interface org.kuali.rice.krad.bo.DataObjectAuthorizer
public boolean isAuthorizedByTemplate(Object dataObject, String namespaceCode, String permissionTemplateName, String principalId)
isAuthorizedByTemplate
in interface org.kuali.rice.krad.bo.DataObjectAuthorizer
public boolean canEdit(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canEdit
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canAnnotate(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canAnnotate
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canReload(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canReload
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canClose(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canClose
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canSave(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canSave
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canRoute(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canRoute
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canCancel(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canCancel
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean isAuthorized(Object dataObject, String namespaceCode, String permissionName, String principalId, Map<String,String> additionalPermissionDetails, Map<String,String> additionalRoleQualifiers)
isAuthorized
in interface org.kuali.rice.krad.bo.DataObjectAuthorizer
public boolean canCopy(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canCopy
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canPerformRouteReport(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canPerformRouteReport
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canBlanketApprove(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canBlanketApprove
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canApprove(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canApprove
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canDisapprove(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canDisapprove
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canSendNoteFyi(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canSendNoteFyi
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canEditDocumentOverview(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canEditDocumentOverview
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canFyi(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canFyi
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canAcknowledge(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canAcknowledge
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canViewNoteAttachment(org.kuali.rice.krad.document.Document document, String attachmentTypeCode, String authorUniversalIdentifier, org.kuali.rice.kim.api.identity.Person user)
canViewNoteAttachment
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canSendAnyTypeAdHocRequests(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canSendAnyTypeAdHocRequests
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canTakeRequestedAction(org.kuali.rice.krad.document.Document document, String actionRequestCode, org.kuali.rice.kim.api.identity.Person user)
canTakeRequestedAction
in interface org.kuali.rice.krad.document.DocumentAuthorizer
public boolean canRecall(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
canRecall
in interface org.kuali.rice.krad.document.DocumentAuthorizer
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.