org.kuali.rice.kew.actionlist.dao.impl
Class ActionListDAOJpaImpl

java.lang.Object
  extended by org.kuali.rice.kew.actionlist.dao.impl.ActionListDAOJpaImpl
All Implemented Interfaces:
ActionListDAO

public class ActionListDAOJpaImpl
extends Object
implements ActionListDAO

JPA implementation of the action list DAO for functions not easily handled by the data layer.

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

Field Summary
protected  javax.persistence.EntityManager entityManager
           
 
Constructor Summary
ActionListDAOJpaImpl()
           
 
Method Summary
 int getCount(String principalId)
          Get the total count of items in the given person's action list.
 List<Object> getMaxActionItemDateAssignedAndCountForUser(String principalId)
          Get the maximum last action taken date and total count for items in the person's action list.
 DocumentRouteHeaderValue getMinimalRouteHeader(String documentId)
          Pulls a proxied version of the document route header with only the properties needed by the action list display.
 void setEntityManager(javax.persistence.EntityManager entityManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityManager

protected javax.persistence.EntityManager entityManager
Constructor Detail

ActionListDAOJpaImpl

public ActionListDAOJpaImpl()
Method Detail

setEntityManager

public void setEntityManager(javax.persistence.EntityManager entityManager)

getCount

public int getCount(String principalId)
Get the total count of items in the given person's action list.

Specified by:
getCount in interface ActionListDAO

getMaxActionItemDateAssignedAndCountForUser

public List<Object> getMaxActionItemDateAssignedAndCountForUser(String principalId)
Get the maximum last action taken date and total count for items in the person's action list. This is used to help with the action list caching and detection of changes.

Specified by:
getMaxActionItemDateAssignedAndCountForUser in interface ActionListDAO

getMinimalRouteHeader

public DocumentRouteHeaderValue getMinimalRouteHeader(String documentId)
Pulls a proxied version of the document route header with only the properties needed by the action list display.

Specified by:
getMinimalRouteHeader in interface ActionListDAO


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.