Interface ActionTakenDao
- All Known Implementing Classes:
ActionTakenDaoJpa
public interface ActionTakenDao
Data Access Object for
ActionTakenValues.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptiongetLastActionTakenDate(String documentId, ActionType actionType) Returns the Timestamp of the last action of the given type taken against the document.
-
Method Details
-
getLastActionTakenDate
Returns the Timestamp of the last action of the given type taken against the document.Both
documentIdandactionTypemust be supplied to this query. Otherwise anIllegalArgumentExceptionwill be thrown.- Parameters:
documentId- the id of the document to checkactionType- the type of the action to look for- Returns:
- the Timestamp of the last action of the given type taken against the document, or null if the document has no actions
- Throws:
IllegalArgumentException- if documentId is null or blank, or if actionType is null
-