public class ActionTakenDaoJpa extends Object implements ActionTakenDao
ActionTakenDao.| Modifier and Type | Field and Description |
|---|---|
static String |
GET_LAST_ACTION_TAKEN_DATE_NAME |
static String |
GET_LAST_ACTION_TAKEN_DATE_QUERY |
| Constructor and Description |
|---|
ActionTakenDaoJpa() |
| Modifier and Type | Method and Description |
|---|---|
javax.persistence.EntityManager |
getEntityManager() |
Timestamp |
getLastActionTakenDate(String documentId,
ActionType actionType)
Returns the Timestamp of the last action of the given type taken against the document.
|
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
public static final String GET_LAST_ACTION_TAKEN_DATE_NAME
public static final String GET_LAST_ACTION_TAKEN_DATE_QUERY
public ActionTakenDaoJpa()
public Timestamp getLastActionTakenDate(String documentId, ActionType actionType)
ActionTakenDaoBoth documentId and actionType must be supplied to this query. Otherwise an
IllegalArgumentException will be thrown.
getLastActionTakenDate in interface ActionTakenDaodocumentId - the id of the document to checkactionType - the type of the action to look forpublic javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.