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 Details

    • entityManager

      protected javax.persistence.EntityManager entityManager
  • Constructor Details

    • ActionListDAOJpaImpl

      public ActionListDAOJpaImpl()
  • Method Details

    • 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