public class ActionRequestDAOJpaImpl extends Object implements ActionRequestDAO
Constructor and Description |
---|
ActionRequestDAOJpaImpl() |
public ActionRequestDAOJpaImpl()
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
entityManager
- the entityManager to setpublic void delete(String actionRequestId)
delete
in interface ActionRequestDAO
public void deleteByDocumentId(String documentId)
deleteByDocumentId
in interface ActionRequestDAO
public boolean doesDocumentHaveUserRequest(String principalId, String documentId)
doesDocumentHaveUserRequest
in interface ActionRequestDAO
public List<?> findActivatedByGroup(Group group)
public List<ActionRequestValue> findAllByDocId(String documentId)
findAllByDocId
in interface ActionRequestDAO
public List<ActionRequestValue> findAllPendingByDocId(String documentId)
findAllPendingByDocId
in interface ActionRequestDAO
public List<ActionRequestValue> findAllRootByDocId(String documentId)
findAllRootByDocId
in interface ActionRequestDAO
public List<ActionRequestValue> findByDocumentIdIgnoreCurrentInd(String documentId)
findByDocumentIdIgnoreCurrentInd
in interface ActionRequestDAO
public List<ActionRequestValue> findByStatusAndDocId(String statusCd, String documentId)
findByStatusAndDocId
in interface ActionRequestDAO
public List<ActionRequestValue> findPendingByActionRequestedAndDocId(String actionRequestedCd, String documentId)
findPendingByActionRequestedAndDocId
in interface ActionRequestDAO
public List<ActionRequestValue> findPendingByDocIdAtOrBelowRouteLevel(String documentId, Integer routeLevel)
findPendingByDocIdAtOrBelowRouteLevel
in interface ActionRequestDAO
public List<ActionRequestValue> findPendingByResponsibilityIds(Collection responsibilityIds)
findPendingByResponsibilityIds
in interface ActionRequestDAO
public List<ActionRequestValue> findPendingRootRequestsByDocIdAtOrBelowRouteLevel(String documentId, Integer routeLevel)
findPendingRootRequestsByDocIdAtOrBelowRouteLevel
in interface ActionRequestDAO
public List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteLevel(String documentId, Integer routeLevel)
findPendingRootRequestsByDocIdAtRouteLevel
in interface ActionRequestDAO
public List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteNode(String documentId, String nodeInstanceId)
findPendingRootRequestsByDocIdAtRouteNode
in interface ActionRequestDAO
public List<ActionRequestValue> findPendingRootRequestsByDocumentType(String documentTypeId)
findPendingRootRequestsByDocumentType
in interface ActionRequestDAO
public List<ActionRequestValue> findRootRequestsByDocIdAtRouteNode(String documentId, String nodeInstanceId)
findRootRequestsByDocIdAtRouteNode
in interface ActionRequestDAO
public ActionRequestValue getActionRequestByActionRequestId(String actionRequestId)
getActionRequestByActionRequestId
in interface ActionRequestDAO
public List<String> getRequestGroupIds(String documentId)
getRequestGroupIds
in interface ActionRequestDAO
public void saveActionRequest(ActionRequestValue actionRequest)
saveActionRequest
in interface ActionRequestDAO
public List<ActionRequestValue> findActivatedByGroup(String groupId)
findActivatedByGroup
in interface ActionRequestDAO
public ActionRequestValue getRoleActionRequestByActionTakenId(String actionTakenId)
getRoleActionRequestByActionTakenId
in interface ActionRequestDAO
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.