public interface DocumentTypePermissionService
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAddRouteLogMessage(String principalId,
DocumentRouteHeaderValue documentRouteHeaderValue)
Determines if the given principal can add route log messages for documents of the given DocumentRouteHeaderValue.
|
boolean |
canAdministerRouting(String principalId,
DocumentType documentType)
Determines if the given principal can administer routing for the given
DocumentType.
|
boolean |
canBlanketApprove(String principalId,
DocumentRouteHeaderValue document)
Determines if the given principal can blanket approve documents of the given DocumentType.
|
boolean |
canCancel(String principalId,
DocumentRouteHeaderValue document)
Determines if the given principal can cancel documents of the given DocumentType.
|
boolean |
canGroupReceiveAdHocRequest(String groupId,
DocumentRouteHeaderValue document,
String actionRequestCode)
Determines if the given group is authorized to receive ad hoc requests of the
specified action request code for the given DocumentType and action request type.
|
boolean |
canInitiate(String principalId,
DocumentType documentType)
Determines if the given principal can initiate documents of the given DocumentType.
|
boolean |
canRecall(String principalId,
DocumentRouteHeaderValue document)
Determines if the given principal can recall the specified document given the permission details.
|
boolean |
canReceiveAdHocRequest(String principalId,
DocumentRouteHeaderValue document,
String actionRequestCode)
Determines if the given principal is authorized to receive ad hoc requests
for the given DocumentType and action request type.
|
boolean |
canRoute(String principalId,
DocumentRouteHeaderValue documentRouteHeaderValue)
Determines if the given principal can route documents of the given DocumentRouteHeaderValue.
|
boolean |
canSave(String principalId,
DocumentRouteHeaderValue document)
Determines if the given principal can save documents of the given DocumentType.
|
boolean |
canSuperUserApproveDocument(String principalId,
DocumentType documentType,
List<RouteNodeInstance> routeNodeInstances,
String routeStatusCode)
Determines if the given principal can super user approve a document
for a given DocumentType, route node, and routeStatusCode
|
boolean |
canSuperUserApproveSingleActionRequest(String principalId,
DocumentType documentType,
List<RouteNodeInstance> routeNodeInstances,
String routeStatusCode)
Determines if the given principal can super user approve a single action
request for a given DocumentType, route node, and routeStatusCode
|
boolean |
canSuperUserDisapproveDocument(String principalId,
DocumentType documentType,
List<RouteNodeInstance> routeNodeInstances,
String routeStatusCode)
Determines if the given principal can super user disapprove a document
for a given DocumentType, route node, and routeStatusCode
|
boolean canReceiveAdHocRequest(String principalId, DocumentRouteHeaderValue document, String actionRequestCode)
boolean canGroupReceiveAdHocRequest(String groupId, DocumentRouteHeaderValue document, String actionRequestCode)
boolean canAdministerRouting(String principalId, DocumentType documentType)
boolean canSuperUserApproveSingleActionRequest(String principalId, DocumentType documentType, List<RouteNodeInstance> routeNodeInstances, String routeStatusCode)
boolean canSuperUserApproveDocument(String principalId, DocumentType documentType, List<RouteNodeInstance> routeNodeInstances, String routeStatusCode)
boolean canSuperUserDisapproveDocument(String principalId, DocumentType documentType, List<RouteNodeInstance> routeNodeInstances, String routeStatusCode)
boolean canInitiate(String principalId, DocumentType documentType)
boolean canRoute(String principalId, DocumentRouteHeaderValue documentRouteHeaderValue)
boolean canSave(String principalId, DocumentRouteHeaderValue document)
It is intended the only one of the given route nodes will need to satisfy the permission check. For example, if the save permission is defined for node 1 but not for node 2, then a document which is at both node 1 and node 2 should satisfy the permission check.
boolean canBlanketApprove(String principalId, DocumentRouteHeaderValue document)
boolean canCancel(String principalId, DocumentRouteHeaderValue document)
It is intended the only one of the given route nodes will need to satisfy the permission check. For example, if the cancel permission is defined for node 1 but not for node 2, then a document which is at both node 1 and node 2 should satisfy the permission check.
boolean canAddRouteLogMessage(String principalId, DocumentRouteHeaderValue documentRouteHeaderValue)
boolean canRecall(String principalId, DocumentRouteHeaderValue document)
Copyright © 2005–2017 The Kuali Foundation. All rights reserved.