org.kuali.rice.kew.role.service.impl
Class RoleServiceImpl
java.lang.Object
org.kuali.rice.kew.role.service.impl.RoleServiceImpl
- All Implemented Interfaces:
- RoleService
public class RoleServiceImpl
- extends Object
- implements RoleService
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Field Summary |
private static org.apache.log4j.Logger |
LOG
|
Method Summary |
private void |
deletePendingRoleRequests(String documentId,
String roleName,
String qualifiedRoleNameLabel)
|
private void |
findAffectedDocuments(DocumentType documentType,
String roleName,
String qualifiedRoleNameLabel,
Set documentIds)
|
private List |
findNodeInstances(DocumentRouteHeaderValue routeHeader,
String roleName)
|
protected void |
requeueDocument(DocumentRouteHeaderValue document)
|
void |
reResolveQualifiedRole(DocumentRouteHeaderValue routeHeader,
String roleName,
String qualifiedRoleNameLabel)
route level and then filters in the approriate ones. |
void |
reResolveQualifiedRole(DocumentType documentType,
String roleName,
String qualifiedRoleNameLabel)
Re-resolves the given qualified role for all documents for the given document type (including children). |
void |
reResolveRole(DocumentRouteHeaderValue routeHeader,
String roleName)
Re-resolves the given role on the given document. |
void |
reResolveRole(DocumentType documentType,
String roleName)
Re-resolves the given qualified role for all documents for the given document type (including children). |
private boolean |
templateHasRole(RuleTemplate template,
String roleName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
private static final org.apache.log4j.Logger LOG
RoleServiceImpl
public RoleServiceImpl()
reResolveRole
public void reResolveRole(DocumentType documentType,
String roleName)
throws WorkflowException
- Description copied from interface:
RoleService
- Re-resolves the given qualified role for all documents for the given document type (including children).
This methods executes asynchronously.
- Specified by:
reResolveRole
in interface RoleService
- Throws:
WorkflowException
reResolveQualifiedRole
public void reResolveQualifiedRole(DocumentType documentType,
String roleName,
String qualifiedRoleNameLabel)
throws WorkflowException
- Description copied from interface:
RoleService
- Re-resolves the given qualified role for all documents for the given document type (including children).
This methods executes asynchronously.
- Specified by:
reResolveQualifiedRole
in interface RoleService
- Throws:
WorkflowException
reResolveQualifiedRole
public void reResolveQualifiedRole(DocumentRouteHeaderValue routeHeader,
String roleName,
String qualifiedRoleNameLabel)
throws WorkflowException
- route level and then filters in the approriate ones.
- Specified by:
reResolveQualifiedRole
in interface RoleService
- Throws:
WorkflowException
reResolveRole
public void reResolveRole(DocumentRouteHeaderValue routeHeader,
String roleName)
throws WorkflowException
- Description copied from interface:
RoleService
- Re-resolves the given role on the given document. This method executes synchronously.
- Specified by:
reResolveRole
in interface RoleService
- Throws:
WorkflowException
findAffectedDocuments
private void findAffectedDocuments(DocumentType documentType,
String roleName,
String qualifiedRoleNameLabel,
Set documentIds)
deletePendingRoleRequests
private void deletePendingRoleRequests(String documentId,
String roleName,
String qualifiedRoleNameLabel)
findNodeInstances
private List findNodeInstances(DocumentRouteHeaderValue routeHeader,
String roleName)
throws WorkflowException
- Throws:
WorkflowException
templateHasRole
private boolean templateHasRole(RuleTemplate template,
String roleName)
throws WorkflowException
- Throws:
WorkflowException
requeueDocument
protected void requeueDocument(DocumentRouteHeaderValue document)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.