org.kuali.rice.kew.actionlist.dao.impl
Class ActionListDAOJpaImpl
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entityManager
protected javax.persistence.EntityManager entityManager
ActionListDAOJpaImpl
public ActionListDAOJpaImpl()
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.