org.kuali.rice.kew.service.impl
Class WorkflowUtilityWebServiceImpl

java.lang.Object
  extended by org.kuali.rice.kew.service.impl.WorkflowUtilityWebServiceImpl
All Implemented Interfaces:
WorkflowUtility

public class WorkflowUtilityWebServiceImpl
extends Object
implements WorkflowUtility


Field Summary
private static org.apache.log4j.Logger LOG
           
 
Constructor Summary
WorkflowUtilityWebServiceImpl()
           
 
Method Summary
private  boolean actionRequestListHasPrincipal(KimPrincipal principal, List actionRequests)
           
private  boolean actionRequestMatches(ActionRequestValue actionRequest, String nodeName, String principalId)
           
 void addDocumentLink(DocumentLinkDTO docLinkVO)
          This overridden method ...
private  RouteNodeInstanceDTO[] convertRouteNodeInstances(List nodeInstances)
           
 void deleteDocumentLink(DocumentLinkDTO docLink)
           
 void deleteDocumentLinksByDocId(Long id)
          This overridden method ...
 boolean documentWillHaveAtLeastOneActionRequest(ReportCriteriaDTO reportCriteriaDTO, String[] actionRequestedCodes, boolean ignoreCurrentActionRequests)
           
 ActionItemDTO[] getActionItems(Long routeHeaderId, String[] actionRequestedCodes)
           
 ActionItemDTO[] getActionItemsForPrincipal(String principalId)
           
 ActionRequestDTO[] getActionRequests(Long routeHeaderId, String nodeName, String principalId)
          Returns a flattened list of ActionRequests which match the given criteria.
 AttributeSet getActionsRequested(String principalId, Long documentId)
           
 ActionTakenDTO[] getActionsTaken(Long routeHeaderId)
           
 RouteNodeInstanceDTO[] getActiveNodeInstances(Long documentId)
           
 ActionItemDTO[] getAllActionItems(Long routeHeaderId)
           
 ActionRequestDTO[] getAllActionRequests(Long routeHeaderId)
           
 String getAppDocId(Long documentId)
           
 String getClearFutureRequestsValue()
           
 RouteNodeInstanceDTO[] getCurrentNodeInstances(Long documentId)
           
 DocumentContentDTO getDocumentContent(Long routeHeaderId)
           
 DocumentDetailDTO getDocumentDetail(Long documentId)
           
 DocumentDetailDTO getDocumentDetailFromAppId(String documentTypeName, String appId)
           
 String getDocumentInitiatorPrincipalId(Long routeHeaderId)
          Returns the principal ID of the initiator of the given document.
 String getDocumentRoutedByPrincipalId(Long routeHeaderId)
          Returns the principal ID of the user who routed the given document.
 RouteNodeInstanceDTO[] getDocumentRouteNodeInstances(Long documentId)
           
 String getDocumentStatus(Long documentId)
           
 DocumentStatusTransitionDTO[] getDocumentStatusTransitionHistory(Long documentId)
           
 DocumentTypeDTO getDocumentType(Long documentTypeId)
           
 DocumentTypeDTO getDocumentTypeByName(String documentTypeName)
           
 String getDoNotReceiveFutureRequestsValue()
           
 String getFutureRequestsKey(String principalId)
           
 DocumentLinkDTO getLinkedDocument(DocumentLinkDTO docLinkVO)
          This overridden method ...
 List<DocumentLinkDTO> getLinkedDocumentsByDocId(Long id)
          This overridden method ...
 Long getNewResponsibilityId()
           
 RouteNodeInstanceDTO getNodeInstance(Long nodeInstanceId)
           
 String[] getPreviousRouteNodeNames(Long documentId)
           
private  List<String> getPrincipalIdsForActionRequest(ActionRequestValue actionRequest)
          This method gets all of the principalIds for the given ActionRequestValue.
 String[] getPrincipalIdsInRouteLog(Long routeHeaderId, boolean lookFuture)
          This method gets a list of ids of all principals in the route log - - initiators, - people who have taken action, - people with a pending action request, - people who will receive an action request for the document in question
 String[] getPrincipalIdsWithPendingActionRequestByActionRequestedAndDocId(String actionRequestedCd, Long routeHeaderId)
          This method gets a list of ids of all principals who have a pending action request for a document.
 String getReceiveFutureRequestsValue()
           
 RouteHeaderDTO getRouteHeader(Long documentId)
           
 RouteHeaderDTO getRouteHeaderWithPrincipal(String principalId, Long documentId)
           
 Timestamp[] getSearchableAttributeDateTimeValuesByKey(Long documentId, String key)
          This method does a direct search for the searchableAttribute without going through the doc search.
 BigDecimal[] getSearchableAttributeFloatValuesByKey(Long documentId, String key)
          This method does a direct search for the searchableAttribute without going through the doc search.
 Long[] getSearchableAttributeLongValuesByKey(Long documentId, String key)
          This method does a direct search for the searchableAttribute without going through the doc search.
 String[] getSearchableAttributeStringValuesByKey(Long documentId, String key)
          This method does a direct search for the searchableAttribute without going through the doc search.
 RouteNodeInstanceDTO[] getTerminalNodeInstances(Long documentId)
           
 Integer getUserActionItemCount(String principalId)
           
 boolean hasRouteNode(String documentTypeName, String routeNodeName)
           
private  void incomingParamCheck(Object object, String name)
           
private  DocumentLink initDocLink(DocumentLinkDTO docLinkVO)
           
 boolean isCurrentActiveDocumentType(String documentTypeName)
           
 boolean isFinalApprover(Long routeHeaderId, String principalId)
           
 boolean isLastApproverAtNode(Long routeHeaderId, String principalId, String nodeName)
           
 boolean isLastApproverInRouteLevel(Long routeHeaderId, String principalId, Integer routeLevel)
           
private  boolean isRecipientRoutedRequest(ActionRequestValue actionRequest, List<Recipient> recipients)
           
 boolean isSuperUserForDocumentType(String principalId, Long documentTypeId)
           
 boolean isUserInRouteLog(Long routeHeaderId, String principalId, boolean lookFuture)
           
 boolean isUserInRouteLogWithOptionalFlattening(Long routeHeaderId, String principalId, boolean lookFuture, boolean flattenNodes)
           
private  DocumentRouteHeaderValue loadDocument(Long documentId)
           
 DocumentSearchResultDTO performDocumentSearch(DocumentSearchCriteriaDTO criteriaVO)
           
 DocumentSearchResultDTO performDocumentSearchWithPrincipal(String principalId, DocumentSearchCriteriaDTO criteriaVO)
           
 void reResolveRole(String documentTypeName, String roleName, String qualifiedRoleNameLabel)
           
 void reResolveRoleByDocumentId(Long documentId, String roleName, String qualifiedRoleNameLabel)
           
 boolean routeLevelHasApproverActionRequest(String documentTypeName, String docContent, Integer routeLevel)
          Deprecated. use routeNodeHasApproverActionRequest instead
private  boolean routeNodeHasApproverActionRequest(DocumentType documentType, String docContent, RouteNode node, Integer routeLevel)
          Really this method needs to be implemented using the routingReport functionality (the SimulationEngine).
 boolean routeNodeHasApproverActionRequest(String documentTypeName, String docContent, String nodeName)
           
 DocumentDetailDTO routingReport(ReportCriteriaDTO reportCriteria)
           
 RuleDTO[] ruleReport(RuleReportCriteriaDTO ruleReportCriteria)
           
 WorkflowAttributeValidationErrorDTO[] validateWorkflowAttributeDefinitionVO(WorkflowAttributeDefinitionDTO definition)
          This work is also being done in the bowels of convertDocumentContentVO in DTOConverter so some code could be reduced.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG
Constructor Detail

WorkflowUtilityWebServiceImpl

public WorkflowUtilityWebServiceImpl()
Method Detail

getRouteHeaderWithPrincipal

public RouteHeaderDTO getRouteHeaderWithPrincipal(String principalId,
                                                  Long documentId)
                                           throws WorkflowException
Specified by:
getRouteHeaderWithPrincipal in interface WorkflowUtility
Throws:
WorkflowException

getActionsRequested

public AttributeSet getActionsRequested(String principalId,
                                        Long documentId)
Specified by:
getActionsRequested in interface WorkflowUtility

getRouteHeader

public RouteHeaderDTO getRouteHeader(Long documentId)
                              throws WorkflowException
Specified by:
getRouteHeader in interface WorkflowUtility
Throws:
WorkflowException

getDocumentStatus

public String getDocumentStatus(Long documentId)
                         throws WorkflowException
Specified by:
getDocumentStatus in interface WorkflowUtility
Throws:
WorkflowException

getDocumentDetail

public DocumentDetailDTO getDocumentDetail(Long documentId)
                                    throws WorkflowException
Specified by:
getDocumentDetail in interface WorkflowUtility
Throws:
WorkflowException

getNodeInstance

public RouteNodeInstanceDTO getNodeInstance(Long nodeInstanceId)
                                     throws WorkflowException
Specified by:
getNodeInstance in interface WorkflowUtility
Throws:
WorkflowException

getDocumentType

public DocumentTypeDTO getDocumentType(Long documentTypeId)
                                throws WorkflowException
Specified by:
getDocumentType in interface WorkflowUtility
Throws:
WorkflowException

getDocumentTypeByName

public DocumentTypeDTO getDocumentTypeByName(String documentTypeName)
                                      throws WorkflowException
Specified by:
getDocumentTypeByName in interface WorkflowUtility
Throws:
WorkflowException

getNewResponsibilityId

public Long getNewResponsibilityId()
Specified by:
getNewResponsibilityId in interface WorkflowUtility

getUserActionItemCount

public Integer getUserActionItemCount(String principalId)
                               throws WorkflowException
Specified by:
getUserActionItemCount in interface WorkflowUtility
Throws:
WorkflowException

getActionItemsForPrincipal

public ActionItemDTO[] getActionItemsForPrincipal(String principalId)
                                           throws WorkflowException
Specified by:
getActionItemsForPrincipal in interface WorkflowUtility
Throws:
WorkflowException

getAllActionItems

public ActionItemDTO[] getAllActionItems(Long routeHeaderId)
                                  throws WorkflowException
Specified by:
getAllActionItems in interface WorkflowUtility
Throws:
WorkflowException

getActionItems

public ActionItemDTO[] getActionItems(Long routeHeaderId,
                                      String[] actionRequestedCodes)
                               throws WorkflowException
Specified by:
getActionItems in interface WorkflowUtility
Throws:
WorkflowException

getAllActionRequests

public ActionRequestDTO[] getAllActionRequests(Long routeHeaderId)
                                        throws WorkflowException
Specified by:
getAllActionRequests in interface WorkflowUtility
Throws:
WorkflowException

getActionRequests

public ActionRequestDTO[] getActionRequests(Long routeHeaderId,
                                            String nodeName,
                                            String principalId)
                                     throws WorkflowException
Returns a flattened list of ActionRequests which match the given criteria. Because the list is flattened, that means that all children requests from all graphs are returned in the top-level list.

Specified by:
getActionRequests in interface WorkflowUtility
Throws:
WorkflowException

actionRequestMatches

private boolean actionRequestMatches(ActionRequestValue actionRequest,
                                     String nodeName,
                                     String principalId)
                              throws WorkflowException
Throws:
WorkflowException

getActionsTaken

public ActionTakenDTO[] getActionsTaken(Long routeHeaderId)
                                 throws WorkflowException
Specified by:
getActionsTaken in interface WorkflowUtility
Throws:
WorkflowException

validateWorkflowAttributeDefinitionVO

public WorkflowAttributeValidationErrorDTO[] validateWorkflowAttributeDefinitionVO(WorkflowAttributeDefinitionDTO definition)
                                                                            throws WorkflowException
This work is also being done in the bowels of convertDocumentContentVO in DTOConverter so some code could be reduced.

Specified by:
validateWorkflowAttributeDefinitionVO in interface WorkflowUtility
Parameters:
definition -
Returns:
WorkflowAttributeValidationErrorVO[] errors from client input into attribute
Throws:
WorkflowException

getDocumentRouteNodeInstances

public RouteNodeInstanceDTO[] getDocumentRouteNodeInstances(Long documentId)
                                                     throws WorkflowException
Specified by:
getDocumentRouteNodeInstances in interface WorkflowUtility
Throws:
WorkflowException

getActiveNodeInstances

public RouteNodeInstanceDTO[] getActiveNodeInstances(Long documentId)
                                              throws WorkflowException
Specified by:
getActiveNodeInstances in interface WorkflowUtility
Throws:
WorkflowException

getTerminalNodeInstances

public RouteNodeInstanceDTO[] getTerminalNodeInstances(Long documentId)
                                                throws WorkflowException
Specified by:
getTerminalNodeInstances in interface WorkflowUtility
Throws:
WorkflowException

getCurrentNodeInstances

public RouteNodeInstanceDTO[] getCurrentNodeInstances(Long documentId)
                                               throws WorkflowException
Specified by:
getCurrentNodeInstances in interface WorkflowUtility
Throws:
WorkflowException

convertRouteNodeInstances

private RouteNodeInstanceDTO[] convertRouteNodeInstances(List nodeInstances)
                                                  throws WorkflowException
Throws:
WorkflowException

isUserInRouteLog

public boolean isUserInRouteLog(Long routeHeaderId,
                                String principalId,
                                boolean lookFuture)
                         throws WorkflowException
Specified by:
isUserInRouteLog in interface WorkflowUtility
Throws:
WorkflowException

isUserInRouteLogWithOptionalFlattening

public boolean isUserInRouteLogWithOptionalFlattening(Long routeHeaderId,
                                                      String principalId,
                                                      boolean lookFuture,
                                                      boolean flattenNodes)
                                               throws WorkflowException
Specified by:
isUserInRouteLogWithOptionalFlattening in interface WorkflowUtility
Throws:
WorkflowException

getPrincipalIdsInRouteLog

public String[] getPrincipalIdsInRouteLog(Long routeHeaderId,
                                          boolean lookFuture)
                                   throws WorkflowException
Description copied from interface: WorkflowUtility
This method gets a list of ids of all principals in the route log - - initiators, - people who have taken action, - people with a pending action request, - people who will receive an action request for the document in question

Specified by:
getPrincipalIdsInRouteLog in interface WorkflowUtility
Returns:
Throws:
WorkflowException
See Also:
WorkflowUtility.getPrincipalIdsInRouteLog(java.lang.Long, boolean)

getPrincipalIdsForActionRequest

private List<String> getPrincipalIdsForActionRequest(ActionRequestValue actionRequest)
This method gets all of the principalIds for the given ActionRequestValue. It drills down into groups if need be.

Parameters:
actionRequest -

getPrincipalIdsWithPendingActionRequestByActionRequestedAndDocId

public String[] getPrincipalIdsWithPendingActionRequestByActionRequestedAndDocId(String actionRequestedCd,
                                                                                 Long routeHeaderId)
Description copied from interface: WorkflowUtility
This method gets a list of ids of all principals who have a pending action request for a document.

Specified by:
getPrincipalIdsWithPendingActionRequestByActionRequestedAndDocId in interface WorkflowUtility
Returns:
See Also:
WorkflowUtility.getPrincipalIdsWithPendingActionRequestByActionRequestedAndDocId(java.lang.String, java.lang.Long)

actionRequestListHasPrincipal

private boolean actionRequestListHasPrincipal(KimPrincipal principal,
                                              List actionRequests)
                                       throws WorkflowException
Throws:
WorkflowException

isRecipientRoutedRequest

private boolean isRecipientRoutedRequest(ActionRequestValue actionRequest,
                                         List<Recipient> recipients)
                                  throws WorkflowException
Throws:
WorkflowException

documentWillHaveAtLeastOneActionRequest

public boolean documentWillHaveAtLeastOneActionRequest(ReportCriteriaDTO reportCriteriaDTO,
                                                       String[] actionRequestedCodes,
                                                       boolean ignoreCurrentActionRequests)
Specified by:
documentWillHaveAtLeastOneActionRequest in interface WorkflowUtility
See Also:
WorkflowUtility.documentWillHaveAtLeastOneActionRequest(org.kuali.rice.kew.dto.ReportCriteriaDTO, java.lang.String[], boolean)

isLastApproverInRouteLevel

public boolean isLastApproverInRouteLevel(Long routeHeaderId,
                                          String principalId,
                                          Integer routeLevel)
                                   throws WorkflowException
Specified by:
isLastApproverInRouteLevel in interface WorkflowUtility
Throws:
WorkflowException

isLastApproverAtNode

public boolean isLastApproverAtNode(Long routeHeaderId,
                                    String principalId,
                                    String nodeName)
                             throws WorkflowException
Specified by:
isLastApproverAtNode in interface WorkflowUtility
Throws:
WorkflowException

routeLevelHasApproverActionRequest

public boolean routeLevelHasApproverActionRequest(String documentTypeName,
                                                  String docContent,
                                                  Integer routeLevel)
                                           throws WorkflowException
Deprecated. use routeNodeHasApproverActionRequest instead

Used to determine if a given route level will produce Approve Action Requests.

Specified by:
routeLevelHasApproverActionRequest in interface WorkflowUtility
Throws:
WorkflowException

routeNodeHasApproverActionRequest

public boolean routeNodeHasApproverActionRequest(String documentTypeName,
                                                 String docContent,
                                                 String nodeName)
                                          throws WorkflowException
Specified by:
routeNodeHasApproverActionRequest in interface WorkflowUtility
Throws:
WorkflowException

routeNodeHasApproverActionRequest

private boolean routeNodeHasApproverActionRequest(DocumentType documentType,
                                                  String docContent,
                                                  RouteNode node,
                                                  Integer routeLevel)
                                           throws WorkflowException
Really this method needs to be implemented using the routingReport functionality (the SimulationEngine). This would get rid of the needs for us to call to FlexRM directly.

Throws:
WorkflowException

incomingParamCheck

private void incomingParamCheck(Object object,
                                String name)

reResolveRole

public void reResolveRole(String documentTypeName,
                          String roleName,
                          String qualifiedRoleNameLabel)
                   throws WorkflowException
Specified by:
reResolveRole in interface WorkflowUtility
Throws:
WorkflowException

reResolveRoleByDocumentId

public void reResolveRoleByDocumentId(Long documentId,
                                      String roleName,
                                      String qualifiedRoleNameLabel)
                               throws WorkflowException
Specified by:
reResolveRoleByDocumentId in interface WorkflowUtility
Throws:
WorkflowException

routingReport

public DocumentDetailDTO routingReport(ReportCriteriaDTO reportCriteria)
                                throws WorkflowException
Specified by:
routingReport in interface WorkflowUtility
Throws:
WorkflowException

isFinalApprover

public boolean isFinalApprover(Long routeHeaderId,
                               String principalId)
                        throws WorkflowException
Specified by:
isFinalApprover in interface WorkflowUtility
Throws:
WorkflowException

isSuperUserForDocumentType

public boolean isSuperUserForDocumentType(String principalId,
                                          Long documentTypeId)
                                   throws WorkflowException
Specified by:
isSuperUserForDocumentType in interface WorkflowUtility
Throws:
WorkflowException

loadDocument

private DocumentRouteHeaderValue loadDocument(Long documentId)

getDocumentContent

public DocumentContentDTO getDocumentContent(Long routeHeaderId)
                                      throws WorkflowException
Specified by:
getDocumentContent in interface WorkflowUtility
Throws:
WorkflowException

getPreviousRouteNodeNames

public String[] getPreviousRouteNodeNames(Long documentId)
                                   throws WorkflowException
Specified by:
getPreviousRouteNodeNames in interface WorkflowUtility
Throws:
WorkflowException

ruleReport

public RuleDTO[] ruleReport(RuleReportCriteriaDTO ruleReportCriteria)
                     throws WorkflowException
Specified by:
ruleReport in interface WorkflowUtility
Throws:
WorkflowException

performDocumentSearch

public DocumentSearchResultDTO performDocumentSearch(DocumentSearchCriteriaDTO criteriaVO)
                                              throws WorkflowException
Specified by:
performDocumentSearch in interface WorkflowUtility
Throws:
WorkflowException

performDocumentSearchWithPrincipal

public DocumentSearchResultDTO performDocumentSearchWithPrincipal(String principalId,
                                                                  DocumentSearchCriteriaDTO criteriaVO)
                                                           throws WorkflowException
Specified by:
performDocumentSearchWithPrincipal in interface WorkflowUtility
Throws:
WorkflowException

getDocumentInitiatorPrincipalId

public String getDocumentInitiatorPrincipalId(Long routeHeaderId)
                                       throws WorkflowException
Description copied from interface: WorkflowUtility
Returns the principal ID of the initiator of the given document. null if the document can not be found.

Specified by:
getDocumentInitiatorPrincipalId in interface WorkflowUtility
Throws:
WorkflowException
See Also:
WorkflowUtility.getDocumentInitiatorPrincipalId(java.lang.Long)

getDocumentRoutedByPrincipalId

public String getDocumentRoutedByPrincipalId(Long routeHeaderId)
                                      throws WorkflowException
Description copied from interface: WorkflowUtility
Returns the principal ID of the user who routed the given document. null if the document can not be found.

Specified by:
getDocumentRoutedByPrincipalId in interface WorkflowUtility
Throws:
WorkflowException
See Also:
WorkflowUtility.getDocumentRoutedByPrincipalId(java.lang.Long)

getSearchableAttributeDateTimeValuesByKey

public Timestamp[] getSearchableAttributeDateTimeValuesByKey(Long documentId,
                                                             String key)
Description copied from interface: WorkflowUtility
This method does a direct search for the searchableAttribute without going through the doc search.

Specified by:
getSearchableAttributeDateTimeValuesByKey in interface WorkflowUtility
Returns:
See Also:
WorkflowUtility.getSearchableAttributeDateTimeValuesByKey(java.lang.Long, java.lang.String)

getSearchableAttributeFloatValuesByKey

public BigDecimal[] getSearchableAttributeFloatValuesByKey(Long documentId,
                                                           String key)
Description copied from interface: WorkflowUtility
This method does a direct search for the searchableAttribute without going through the doc search.

Specified by:
getSearchableAttributeFloatValuesByKey in interface WorkflowUtility
Returns:
See Also:
WorkflowUtility.getSearchableAttributeFloatValuesByKey(java.lang.Long, java.lang.String)

getSearchableAttributeLongValuesByKey

public Long[] getSearchableAttributeLongValuesByKey(Long documentId,
                                                    String key)
Description copied from interface: WorkflowUtility
This method does a direct search for the searchableAttribute without going through the doc search.

Specified by:
getSearchableAttributeLongValuesByKey in interface WorkflowUtility
Returns:
See Also:
WorkflowUtility.getSearchableAttributeLongValuesByKey(java.lang.Long, java.lang.String)

getSearchableAttributeStringValuesByKey

public String[] getSearchableAttributeStringValuesByKey(Long documentId,
                                                        String key)
Description copied from interface: WorkflowUtility
This method does a direct search for the searchableAttribute without going through the doc search.

Specified by:
getSearchableAttributeStringValuesByKey in interface WorkflowUtility
Returns:
See Also:
WorkflowUtility.getSearchableAttributeStringValuesByKey(java.lang.Long, java.lang.String)

getFutureRequestsKey

public String getFutureRequestsKey(String principalId)
Specified by:
getFutureRequestsKey in interface WorkflowUtility

getReceiveFutureRequestsValue

public String getReceiveFutureRequestsValue()
Specified by:
getReceiveFutureRequestsValue in interface WorkflowUtility

getDoNotReceiveFutureRequestsValue

public String getDoNotReceiveFutureRequestsValue()
Specified by:
getDoNotReceiveFutureRequestsValue in interface WorkflowUtility

getClearFutureRequestsValue

public String getClearFutureRequestsValue()
Specified by:
getClearFutureRequestsValue in interface WorkflowUtility

hasRouteNode

public boolean hasRouteNode(String documentTypeName,
                            String routeNodeName)
                     throws WorkflowException
Specified by:
hasRouteNode in interface WorkflowUtility
Throws:
WorkflowException

isCurrentActiveDocumentType

public boolean isCurrentActiveDocumentType(String documentTypeName)
                                    throws WorkflowException
Specified by:
isCurrentActiveDocumentType in interface WorkflowUtility
Throws:
WorkflowException

getDocumentDetailFromAppId

public DocumentDetailDTO getDocumentDetailFromAppId(String documentTypeName,
                                                    String appId)
                                             throws WorkflowException
Specified by:
getDocumentDetailFromAppId in interface WorkflowUtility
Throws:
WorkflowException

getAppDocId

public String getAppDocId(Long documentId)
Specified by:
getAppDocId in interface WorkflowUtility

getDocumentStatusTransitionHistory

public DocumentStatusTransitionDTO[] getDocumentStatusTransitionHistory(Long documentId)
                                                                 throws WorkflowException
Specified by:
getDocumentStatusTransitionHistory in interface WorkflowUtility
Throws:
WorkflowException

deleteDocumentLink

public void deleteDocumentLink(DocumentLinkDTO docLink)
                        throws WorkflowException
Specified by:
deleteDocumentLink in interface WorkflowUtility
Throws:
WorkflowException

addDocumentLink

public void addDocumentLink(DocumentLinkDTO docLinkVO)
                     throws WorkflowException
This overridden method ...

Specified by:
addDocumentLink in interface WorkflowUtility
Throws:
WorkflowException
See Also:
org.kuali.rice.kew.routeheader.service.WorkflowDocumentService#addDocumentLink(org.kuali.rice.kew.documentlink.DocumentLink)

getLinkedDocumentsByDocId

public List<DocumentLinkDTO> getLinkedDocumentsByDocId(Long id)
                                                throws WorkflowException
This overridden method ...

Specified by:
getLinkedDocumentsByDocId in interface WorkflowUtility
Throws:
WorkflowException
See Also:
org.kuali.rice.kew.routeheader.service.WorkflowDocumentService#getgetLinkedDocumentsByDocId(java.lang.Long)

getLinkedDocument

public DocumentLinkDTO getLinkedDocument(DocumentLinkDTO docLinkVO)
                                  throws WorkflowException
This overridden method ...

Specified by:
getLinkedDocument in interface WorkflowUtility
Throws:
WorkflowException
See Also:
org.kuali.rice.kew.routeheader.service.WorkflowDocumentService#getDocumentLink(org.kuali.rice.kew.documentlink.DocumentLink)

deleteDocumentLinksByDocId

public void deleteDocumentLinksByDocId(Long id)
                                throws WorkflowException
This overridden method ...

Specified by:
deleteDocumentLinksByDocId in interface WorkflowUtility
Throws:
WorkflowException
See Also:
org.kuali.rice.kew.routeheader.service.WorkflowDocumentService#deleteDocumentLinkByDocId(java.lang.Long)

initDocLink

private DocumentLink initDocLink(DocumentLinkDTO docLinkVO)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.