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

Method Detail

getLastActionTakenDate

Timestamp getLastActionTakenDate(String documentId,
                                 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


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.