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)

Constructor Summary
ActionTakenServiceImpl()
           
 
Method Summary
 void delete(ActionTakenValue actionTaken)
           
 void deleteByDocumentId(String documentId)
           
 ActionTakenValue findByActionTakenId(String actionTakenId)
           
 Collection findByDocIdAndAction(String docId, String action)
           
 Collection<ActionTakenValue> findByDocumentId(String documentId)
           
 List findByDocumentIdIgnoreCurrentInd(String documentId)
           
 List<ActionTakenValue> findByDocumentIdWorkflowId(String documentId, String workflowId)
           
 Collection getActionsTaken(String documentId)
           
 ActionTakenDAO getActionTakenDAO()
           
 Timestamp getLastApprovedDate(String documentId)
           
 ActionTakenValue getPreviousAction(ActionRequestValue actionRequest)
           
 ActionTakenValue getPreviousAction(ActionRequestValue actionRequest, List<ActionTakenValue> simulatedActionsTaken)
           
 boolean hasUserTakenAction(String principalId, String documentId)
           
 ActionTakenValue load(String 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(String id)
Specified by:
load in interface ActionTakenService

findByActionTakenId

public ActionTakenValue findByActionTakenId(String 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(String docId,
                                       String action)
Specified by:
findByDocIdAndAction in interface ActionTakenService

findByDocumentId

public Collection<ActionTakenValue> findByDocumentId(String documentId)
Specified by:
findByDocumentId in interface ActionTakenService

findByDocumentIdWorkflowId

public List<ActionTakenValue> findByDocumentIdWorkflowId(String documentId,
                                                         String workflowId)
Specified by:
findByDocumentIdWorkflowId in interface ActionTakenService

getActionsTaken

public Collection getActionsTaken(String documentId)
Specified by:
getActionsTaken in interface ActionTakenService

findByDocumentIdIgnoreCurrentInd

public List findByDocumentIdIgnoreCurrentInd(String documentId)
Specified by:
findByDocumentIdIgnoreCurrentInd 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)

deleteByDocumentId

public void deleteByDocumentId(String documentId)
Specified by:
deleteByDocumentId in interface ActionTakenService

validateActionTaken

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

hasUserTakenAction

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

getLastApprovedDate

public Timestamp getLastApprovedDate(String documentId)
Specified by:
getLastApprovedDate in interface ActionTakenService


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.