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 Type
    Method
    Description
    getLastActionTakenDate(String documentId, org.kuali.rice.kew.api.action.ActionType actionType)
    Returns the Timestamp of the last action of the given type taken against the document.
  • Method Details

    • getLastActionTakenDate

      Timestamp getLastActionTakenDate(String documentId, org.kuali.rice.kew.api.action.ActionType actionType)
      Returns the Timestamp of the last action of the given type taken against the document.

      Both documentId and actionType must be supplied to this query. Otherwise an IllegalArgumentException will be thrown.

      Parameters:
      documentId - the id of the document to check
      actionType - 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