|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.time.authorization.TkMaintenanceDocumentAuthorizerBase
public abstract class TkMaintenanceDocumentAuthorizerBase
Base class for the implementation of Authorization in KPME Time and Attendance. Role Security Grid Documentation: https://wiki.kuali.org/display/KPME/Role+Security+Grid
Constructor Summary | |
---|---|
TkMaintenanceDocumentAuthorizerBase()
|
Method Summary | |
---|---|
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 |
canCreate(Class boClass,
org.kuali.rice.kim.api.identity.Person user)
|
boolean |
canCreateOrMaintain(org.kuali.rice.krad.maintenance.MaintenanceDocument maintenanceDocument,
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 |
canMaintain(Object dataObject,
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)
|
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)
|
boolean |
canViewNoteAttachment(org.kuali.rice.krad.document.Document document,
String attachmentTypeCode,
String authorUniversalIdentifier,
org.kuali.rice.kim.api.identity.Person user)
|
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)
Copied from DocumentAuthorizerBase |
UserRoles |
getRoles()
Returns the UserRoles object for the CURRENT user. |
Set<String> |
getSecurePotentiallyHiddenSectionIds()
|
Set<String> |
getSecurePotentiallyReadOnlySectionIds()
|
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(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)
|
abstract boolean |
rolesIndicateGeneralReadAccess()
Method to indicate whether or not the Context current user can read objects if the current maintenance type. |
abstract boolean |
rolesIndicateGeneralWriteAccess()
Method to indicate whether or not the Context current user can create/edit objects if the current maintenance type. |
abstract boolean |
rolesIndicateReadAccess(org.kuali.rice.krad.bo.BusinessObject bo)
Indicates whether or not the current Context user has view rights to the provided BusinessObject. |
abstract boolean |
rolesIndicateWriteAccess(org.kuali.rice.krad.bo.BusinessObject bo)
Indicates whether or not the current Context user has create/edit rights to the provided BusinessObject. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TkMaintenanceDocumentAuthorizerBase()
Method Detail |
---|
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 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 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(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 Map<String,String> getCollectionItemRoleQualifications(org.kuali.rice.krad.bo.BusinessObject collectionItemBusinessObject)
getCollectionItemRoleQualifications
in interface org.kuali.rice.kns.authorization.BusinessObjectAuthorizer
public Map<String,String> getCollectionItemPermissionDetails(org.kuali.rice.krad.bo.BusinessObject collectionItemBusinessObject)
getCollectionItemPermissionDetails
in interface org.kuali.rice.kns.authorization.BusinessObjectAuthorizer
public boolean canCreate(Class boClass, org.kuali.rice.kim.api.identity.Person user)
canCreate
in interface org.kuali.rice.krad.maintenance.MaintenanceDocumentAuthorizer
public boolean canMaintain(Object dataObject, org.kuali.rice.kim.api.identity.Person user)
canMaintain
in interface org.kuali.rice.krad.maintenance.MaintenanceDocumentAuthorizer
public boolean canCreateOrMaintain(org.kuali.rice.krad.maintenance.MaintenanceDocument maintenanceDocument, org.kuali.rice.kim.api.identity.Person user)
canCreateOrMaintain
in interface org.kuali.rice.krad.maintenance.MaintenanceDocumentAuthorizer
public Set<String> getSecurePotentiallyReadOnlySectionIds()
public Set<String> getDocumentActions(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user, Set<String> documentActions)
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
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 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 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 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 canViewNoteAttachment(org.kuali.rice.krad.document.Document document, String attachmentTypeCode, org.kuali.rice.kim.api.identity.Person user)
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 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 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
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 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 Set<String> getSecurePotentiallyHiddenSectionIds()
getSecurePotentiallyHiddenSectionIds
in interface org.kuali.rice.kns.bo.authorization.InquiryOrMaintenanceDocumentAuthorizer
public UserRoles getRoles()
public abstract boolean rolesIndicateGeneralReadAccess()
public abstract boolean rolesIndicateGeneralWriteAccess()
public abstract boolean rolesIndicateWriteAccess(org.kuali.rice.krad.bo.BusinessObject bo)
bo
- The BusinessObject under investigation.
public abstract boolean rolesIndicateReadAccess(org.kuali.rice.krad.bo.BusinessObject bo)
bo
- The BusinessObject under investigation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |