@Deprecated public class DocumentAuthorizerBase extends BusinessObjectAuthorizerBase implements DocumentAuthorizer
| Modifier and Type | Field and Description |
|---|---|
static String |
EDIT_MODE_DEFAULT_TRUE_VALUE
Deprecated.
|
protected static org.apache.commons.logging.Log |
LOG
Deprecated.
|
static String |
PRE_ROUTING_ROUTE_NAME
Deprecated.
|
static String |
USER_SESSION_METHOD_TO_CALL_COMPLETE_MARKER
Deprecated.
|
static String |
USER_SESSION_METHOD_TO_CALL_COMPLETE_OBJECT_KEY
Deprecated.
|
static String |
USER_SESSION_METHOD_TO_CALL_OBJECT_KEY
Deprecated.
|
| Constructor and Description |
|---|
DocumentAuthorizerBase()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPermissionDetails(Object dataObject,
Map<String,String> attributes)
Deprecated.
Override this method to populate the permission details from the primary
data object or document.
|
protected void |
addRoleQualification(Object dataObject,
Map<String,String> attributes)
Deprecated.
Override this method to populate the role qualifier attributes from the
primary data object or document.
|
protected void |
addStandardAttributes(Document document,
Map<String,String> attributes)
Deprecated.
|
boolean |
canAcknowledge(Document document,
Person user)
Deprecated.
|
boolean |
canAddNoteAttachment(Document document,
String attachmentTypeCode,
Person user)
Deprecated.
|
boolean |
canAnnotate(Document document,
Person user)
Deprecated.
|
boolean |
canApprove(Document document,
Person user)
Deprecated.
|
boolean |
canBlanketApprove(Document document,
Person user)
Deprecated.
|
boolean |
canCancel(Document document,
Person user)
Deprecated.
Determines if the user has permission to cancel the document
|
boolean |
canClose(Document document,
Person user)
Deprecated.
|
boolean |
canCopy(Document document,
Person user)
Deprecated.
Determines if the user has permission to copy the document
|
boolean |
canDeleteNoteAttachment(Document document,
String attachmentTypeCode,
String createdBySelfOnly,
Person user)
Deprecated.
|
boolean |
canDisapprove(Document document,
Person user)
Deprecated.
|
boolean |
canEdit(Document document,
Person user)
Deprecated.
Determines if the document can be edited; if false is returned, then all fields are in a
read only state
|
boolean |
canEditDocumentOverview(Document document,
Person user)
Deprecated.
|
boolean |
canFyi(Document document,
Person user)
Deprecated.
|
boolean |
canInitiate(String documentTypeName,
Person user)
Deprecated.
Checks if a user has the permissions to initiate a document
|
boolean |
canOpen(Document document,
Person user)
Deprecated.
Checks if a user has the permissions to open a document
|
boolean |
canPerformRouteReport(Document document,
Person user)
Deprecated.
|
boolean |
canRecall(Document document,
Person user)
Deprecated.
|
boolean |
canReceiveAdHoc(Document document,
Person user,
String actionRequestCode)
Deprecated.
|
boolean |
canReload(Document document,
Person user)
Deprecated.
|
boolean |
canRoute(Document document,
Person user)
Deprecated.
Determines if the user has permission to route the document
|
boolean |
canSave(Document document,
Person user)
Deprecated.
|
boolean |
canSendAdHocRequests(Document document,
String actionRequestCd,
Person user)
Deprecated.
|
boolean |
canSendAnyTypeAdHocRequests(Document document,
Person user)
Deprecated.
|
boolean |
canSendNoteFyi(Document document,
Person user)
Deprecated.
|
boolean |
canSuperUserApprove(Document document,
Person user)
Deprecated.
Determines if the user has permission to approve a document as a super user.
|
boolean |
canSuperUserDisapprove(Document document,
Person user)
Deprecated.
Determines if the user has permission to disapprove a document as a super user.
|
boolean |
canSuperUserTakeAction(Document document,
Person user)
Deprecated.
Determines if the user has permission to take a super user action.
|
boolean |
canTakeRequestedAction(Document document,
String actionRequestCode,
Person user)
Deprecated.
|
boolean |
canViewNoteAttachment(Document document,
String attachmentTypeCode,
Person user)
Deprecated.
|
boolean |
canViewNoteAttachment(Document document,
String attachmentTypeCode,
String authorUniversalIdentifier,
Person user)
Deprecated.
|
Set<String> |
getDocumentActions(Document document,
Person user,
Set<String> documentActions)
Deprecated.
Individual document families will need to reimplement this according to
their own needs; this version should be good enough to be usable during
initial development.
|
protected boolean |
isDocumentInitiator(Document document,
Person user)
Deprecated.
|
void |
setDocumentRequestAuthorizationCache(DocumentRequestAuthorizationCache documentRequestAuthorizationCache)
Deprecated.
|
getCollectionItemPermissionDetails, getCollectionItemRoleQualifications, getDataDictionaryService, getKualiModuleService, getRoleQualification, isAuthorized, isAuthorized, isAuthorizedByTemplate, permissionExistsByTemplate, permissionExistsByTemplategetPermissionDetailValues, getPermissionService, getPersonService, getRoleQualification, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate, permissionExistsByTemplate, permissionExistsByTemplate, permissionExistsByTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCollectionItemPermissionDetails, getCollectionItemRoleQualifications, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplateisAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplateprotected static org.apache.commons.logging.Log LOG
public static final String PRE_ROUTING_ROUTE_NAME
public static final String EDIT_MODE_DEFAULT_TRUE_VALUE
public static final String USER_SESSION_METHOD_TO_CALL_OBJECT_KEY
public static final String USER_SESSION_METHOD_TO_CALL_COMPLETE_OBJECT_KEY
public static final String USER_SESSION_METHOD_TO_CALL_COMPLETE_MARKER
public DocumentAuthorizerBase()
public Set<String> getDocumentActions(Document document, Person user, Set<String> documentActions)
public boolean canInitiate(String documentTypeName, Person user)
DocumentAuthorizercanInitiate in interface DocumentAuthorizerdocumentTypeName - document type nameuser - current userpublic boolean canEdit(Document document, Person user)
DocumentAuthorizercanEdit in interface DocumentAuthorizerdocument - document to checkuser - current userpublic boolean canAnnotate(Document document, Person user)
canAnnotate in interface DocumentAuthorizerpublic boolean canReload(Document document, Person user)
canReload in interface DocumentAuthorizerpublic boolean canClose(Document document, Person user)
canClose in interface DocumentAuthorizerpublic boolean canSave(Document document, Person user)
canSave in interface DocumentAuthorizerpublic boolean canRoute(Document document, Person user)
DocumentAuthorizercanRoute in interface DocumentAuthorizerdocument - document to checkuser - current userpublic boolean canCancel(Document document, Person user)
DocumentAuthorizercanCancel in interface DocumentAuthorizerdocument - document to checkuser - current userpublic boolean canRecall(Document document, Person user)
canRecall in interface DocumentAuthorizerpublic boolean canCopy(Document document, Person user)
DocumentAuthorizercanCopy in interface DocumentAuthorizerdocument - document to checkuser - current userpublic boolean canPerformRouteReport(Document document, Person user)
canPerformRouteReport in interface DocumentAuthorizerpublic boolean canBlanketApprove(Document document, Person user)
canBlanketApprove in interface DocumentAuthorizerpublic boolean canApprove(Document document, Person user)
canApprove in interface DocumentAuthorizerpublic boolean canDisapprove(Document document, Person user)
canDisapprove in interface DocumentAuthorizerpublic boolean canSendNoteFyi(Document document, Person user)
canSendNoteFyi in interface DocumentAuthorizerpublic boolean canFyi(Document document, Person user)
canFyi in interface DocumentAuthorizerpublic boolean canAcknowledge(Document document, Person user)
canAcknowledge in interface DocumentAuthorizerpublic boolean canReceiveAdHoc(Document document, Person user, String actionRequestCode)
canReceiveAdHoc in interface DocumentAuthorizerpublic boolean canOpen(Document document, Person user)
DocumentAuthorizercanOpen in interface DocumentAuthorizerdocument - document to checkuser - current userpublic boolean canAddNoteAttachment(Document document, String attachmentTypeCode, Person user)
canAddNoteAttachment in interface DocumentAuthorizerpublic boolean canDeleteNoteAttachment(Document document, String attachmentTypeCode, String createdBySelfOnly, Person user)
canDeleteNoteAttachment in interface DocumentAuthorizerpublic boolean canViewNoteAttachment(Document document, String attachmentTypeCode, Person user)
canViewNoteAttachment in interface DocumentAuthorizerpublic boolean canViewNoteAttachment(Document document, String attachmentTypeCode, String authorUniversalIdentifier, Person user)
canViewNoteAttachment in interface DocumentAuthorizerpublic boolean canSendAdHocRequests(Document document, String actionRequestCd, Person user)
canSendAdHocRequests in interface DocumentAuthorizerpublic boolean canEditDocumentOverview(Document document, Person user)
canEditDocumentOverview in interface DocumentAuthorizerpublic boolean canSendAnyTypeAdHocRequests(Document document, Person user)
canSendAnyTypeAdHocRequests in interface DocumentAuthorizerpublic boolean canTakeRequestedAction(Document document, String actionRequestCode, Person user)
canTakeRequestedAction in interface DocumentAuthorizerpublic boolean canSuperUserTakeAction(Document document, Person user)
canSuperUserTakeAction in interface DocumentAuthorizerdocument - document to checkuser - current userpublic boolean canSuperUserApprove(Document document, Person user)
canSuperUserApprove in interface DocumentAuthorizerdocument - document to checkuser - current userpublic boolean canSuperUserDisapprove(Document document, Person user)
canSuperUserDisapprove in interface DocumentAuthorizerdocument - document to checkuser - current userprotected void addPermissionDetails(Object dataObject, Map<String,String> attributes)
DataObjectAuthorizerBaseaddPermissionDetails in class DataObjectAuthorizerBasedataObject - - 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 mapprotected void addRoleQualification(Object dataObject, Map<String,String> attributes)
DataObjectAuthorizerBaseaddRoleQualification in class DataObjectAuthorizerBasedataObject - - 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 mapprotected void addStandardAttributes(Document document, Map<String,String> attributes)
protected boolean isDocumentInitiator(Document document, Person user)
public void setDocumentRequestAuthorizationCache(DocumentRequestAuthorizationCache documentRequestAuthorizationCache)
setDocumentRequestAuthorizationCache in interface DocumentAuthorizerCopyright © 2005–2015 The Kuali Foundation. All rights reserved.