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 Object
implements ActionTakenService

Default implementation of the ActionTakenService.

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

Field Summary
private  ActionTakenDAO actionTakenDAO
           
private static org.apache.log4j.Logger LOG
           
 
Constructor Summary
ActionTakenServiceImpl()
           
 
Method Summary
 void delete(ActionTakenValue actionTaken)
           
 void deleteByRouteHeaderId(Long routeHeaderId)
           
 ActionTakenValue findByActionTakenId(Long actionTakenId)
           
 Collection findByDocIdAndAction(Long docId, String action)
           
 Collection<ActionTakenValue> findByRouteHeaderId(Long routeHeaderId)
           
 List findByRouteHeaderIdIgnoreCurrentInd(Long routeHeaderId)
           
 List findByRouteHeaderIdWorkflowId(Long routeHeaderId, String workflowId)
           
 Collection getActionsTaken(Long routeHeaderId)
           
 ActionTakenDAO getActionTakenDAO()
           
 Timestamp getLastApprovedDate(Long routeHeaderId)
           
 ActionTakenValue getPreviousAction(ActionRequestValue actionRequest)
           
 ActionTakenValue getPreviousAction(ActionRequestValue actionRequest, List<ActionTakenValue> simulatedActionsTaken)
           
private  RouteHeaderService getRouteHeaderService()
           
 boolean hasUserTakenAction(String principalId, Long documentId)
           
 ActionTakenValue load(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
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG

actionTakenDAO

private ActionTakenDAO actionTakenDAO
Constructor Detail

ActionTakenServiceImpl

public ActionTakenServiceImpl()
Method Detail

load

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

findByActionTakenId

public ActionTakenValue findByActionTakenId(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,
                                          List<ActionTakenValue> simulatedActionsTaken)
Specified by:
getPreviousAction in interface ActionTakenService

findByDocIdAndAction

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

findByRouteHeaderId

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

findByRouteHeaderIdWorkflowId

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

getActionsTaken

public Collection getActionsTaken(Long routeHeaderId)
Specified by:
getActionsTaken in interface ActionTakenService

findByRouteHeaderIdIgnoreCurrentInd

public List findByRouteHeaderIdIgnoreCurrentInd(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(Long routeHeaderId)
Specified by:
deleteByRouteHeaderId in interface ActionTakenService

validateActionTaken

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

hasUserTakenAction

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

getRouteHeaderService

private RouteHeaderService getRouteHeaderService()

getLastApprovedDate

public Timestamp getLastApprovedDate(Long routeHeaderId)
Specified by:
getLastApprovedDate in interface ActionTakenService


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