org.kuali.rice.kew.actiontaken.service.impl
Class ActionTakenServiceImpl

java.lang.Object
  extended by org.kuali.rice.kew.actiontaken.service.impl.ActionTakenServiceImpl
All Implemented Interfaces:
ActionTakenService

public class ActionTakenServiceImpl
extends java.lang.Object
implements ActionTakenService

Default implementation of the ActionTakenService.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
ActionTakenServiceImpl()
           
 
Method Summary
 void delete(ActionTakenValue actionTaken)
           
 void deleteByRouteHeaderId(java.lang.Long routeHeaderId)
           
 ActionTakenValue findByActionTakenId(java.lang.Long actionTakenId)
           
 java.util.Collection findByDocIdAndAction(java.lang.Long docId, java.lang.String action)
           
 java.util.Collection<ActionTakenValue> findByRouteHeaderId(java.lang.Long routeHeaderId)
           
 java.util.List findByRouteHeaderIdIgnoreCurrentInd(java.lang.Long routeHeaderId)
           
 java.util.List findByRouteHeaderIdWorkflowId(java.lang.Long routeHeaderId, java.lang.String workflowId)
           
 java.util.Collection getActionsTaken(java.lang.Long routeHeaderId)
           
 ActionTakenDAO getActionTakenDAO()
           
 java.sql.Timestamp getLastApprovedDate(java.lang.Long routeHeaderId)
           
 ActionTakenValue getPreviousAction(ActionRequestValue actionRequest)
           
 ActionTakenValue getPreviousAction(ActionRequestValue actionRequest, java.util.List<ActionTakenValue> simulatedActionsTaken)
           
 boolean hasUserTakenAction(java.lang.String principalId, java.lang.Long documentId)
           
 ActionTakenValue load(java.lang.Long id)
           
 void saveActionTaken(ActionTakenValue actionTaken)
           
 void setActionTakenDAO(ActionTakenDAO actionTakenDAO)
           
 void validateActionTaken(ActionTakenValue actionTaken)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionTakenServiceImpl

public ActionTakenServiceImpl()
Method Detail

load

public ActionTakenValue load(java.lang.Long id)
Specified by:
load in interface ActionTakenService

findByActionTakenId

public ActionTakenValue findByActionTakenId(java.lang.Long actionTakenId)
Specified by:
findByActionTakenId in interface ActionTakenService

getPreviousAction

public ActionTakenValue getPreviousAction(ActionRequestValue actionRequest)
Specified by:
getPreviousAction in interface ActionTakenService

getPreviousAction

public ActionTakenValue getPreviousAction(ActionRequestValue actionRequest,
                                          java.util.List<ActionTakenValue> simulatedActionsTaken)
Specified by:
getPreviousAction in interface ActionTakenService

findByDocIdAndAction

public java.util.Collection findByDocIdAndAction(java.lang.Long docId,
                                                 java.lang.String action)
Specified by:
findByDocIdAndAction in interface ActionTakenService

findByRouteHeaderId

public java.util.Collection<ActionTakenValue> findByRouteHeaderId(java.lang.Long routeHeaderId)
Specified by:
findByRouteHeaderId in interface ActionTakenService

findByRouteHeaderIdWorkflowId

public java.util.List findByRouteHeaderIdWorkflowId(java.lang.Long routeHeaderId,
                                                    java.lang.String workflowId)
Specified by:
findByRouteHeaderIdWorkflowId in interface ActionTakenService

getActionsTaken

public java.util.Collection getActionsTaken(java.lang.Long routeHeaderId)
Specified by:
getActionsTaken in interface ActionTakenService

findByRouteHeaderIdIgnoreCurrentInd

public java.util.List findByRouteHeaderIdIgnoreCurrentInd(java.lang.Long routeHeaderId)
Specified by:
findByRouteHeaderIdIgnoreCurrentInd in interface ActionTakenService

saveActionTaken

public void saveActionTaken(ActionTakenValue actionTaken)
Specified by:
saveActionTaken in interface ActionTakenService

delete

public void delete(ActionTakenValue actionTaken)
Specified by:
delete in interface ActionTakenService

getActionTakenDAO

public ActionTakenDAO getActionTakenDAO()

setActionTakenDAO

public void setActionTakenDAO(ActionTakenDAO actionTakenDAO)

deleteByRouteHeaderId

public void deleteByRouteHeaderId(java.lang.Long routeHeaderId)
Specified by:
deleteByRouteHeaderId in interface ActionTakenService

validateActionTaken

public void validateActionTaken(ActionTakenValue actionTaken)
Specified by:
validateActionTaken in interface ActionTakenService

hasUserTakenAction

public boolean hasUserTakenAction(java.lang.String principalId,
                                  java.lang.Long documentId)
Specified by:
hasUserTakenAction in interface ActionTakenService

getLastApprovedDate

public java.sql.Timestamp getLastApprovedDate(java.lang.Long routeHeaderId)
Specified by:
getLastApprovedDate in interface ActionTakenService


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