|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.actionlist.dao.impl.ActionListDAOJpaImpl
public class ActionListDAOJpaImpl
OJB implementation of the ActionListDAO
.
Field Summary | |
---|---|
private static String |
ACTION_LIST_COUNT_QUERY
|
private javax.persistence.EntityManager |
entityManager
|
private static org.apache.log4j.Logger |
LOG
|
Constructor Summary | |
---|---|
ActionListDAOJpaImpl()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final org.apache.log4j.Logger LOG
private javax.persistence.EntityManager entityManager
private static final String ACTION_LIST_COUNT_QUERY
Constructor Detail |
---|
public ActionListDAOJpaImpl()
Method Detail |
---|
public Collection<ActionItem> getActionList(String principalId, ActionListFilter filter)
getActionList
in interface ActionListDAO
private Collection<ActionItem> toActionItemActionListExtensions(Collection<ActionItem> actionItems)
actionItems
-
private ActionItemActionListExtension toActionItemActionListExtension(ActionItem actionItem)
actionItem
-
private DocumentRouteHeaderValueActionListExtension toDocumentRouteHeaderValueActionListExtension(DocumentRouteHeaderValue routeHeader)
routeHeader
-
public Collection<ActionItem> getActionListForSingleDocument(Long routeHeaderId)
getActionListForSingleDocument
in interface ActionListDAO
private Criteria setUpActionListCriteria(Class objectsToRetrieve, String principalId, ActionListFilter filter)
private void constructDocumentTypeCriteria(String entityName, Criteria criteria, DocumentType documentType)
private void addToFilterDescription(String filterDescription, String labelToAdd)
public int getCount(String workflowId)
getCount
in interface ActionListDAO
private <T extends ActionItem> Collection<T> createActionListForUser(Collection<T> actionItems)
private Collection<ActionItem> createActionListForRouteHeader(Collection<ActionItem> actionItems)
private <T extends ActionItem> Collection<ActionItem> getActionItemsInActionList(Class<T> objectsToRetrieve, String principalId, ActionListFilter filter)
public Collection<ActionItem> getOutbox(String principalId, ActionListFilter filter)
ActionListDAO
OutboxItemActionListExtension
items for the given user
getOutbox
in interface ActionListDAO
public void removeOutboxItems(String principalId, List<String> outboxItems)
removeOutboxItems
in interface ActionListDAO
ActionListDAO.removeOutboxItems(String, java.util.List)
public void saveOutboxItem(OutboxItemActionListExtension outboxItem)
saveOutboxItem
in interface ActionListDAO
ActionListDAO.saveOutboxItem(org.kuali.rice.kew.actionitem.OutboxItemActionListExtension)
public OutboxItemActionListExtension getOutboxByDocumentId(Long documentId)
getOutboxByDocumentId
in interface ActionListDAO
ActionListDAO.getOutboxByDocumentId(java.lang.Long)
public OutboxItemActionListExtension getOutboxByDocumentIdUserId(Long documentId, String userId)
getOutboxByDocumentIdUserId
in interface ActionListDAO
ActionListDAO.getOutboxByDocumentIdUserId(Long, String)
private Date beginningOfDay(Date date)
private Date endOfDay(Date date)
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |