org.kuali.rice.kew.api.action
Class ActionInvocation

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.kew.api.action.ActionInvocation
All Implemented Interfaces:
Serializable, ModelObjectBasic, ModelObjectComplete

public class ActionInvocation
extends AbstractDataTransferObject

Represents the definition of an Action invocation against an action item.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Method Summary
static ActionInvocation create(ActionType action, String actionItemId)
          Creates a new ActionInvocation which indicates that the specified action should be executed against the action item with the given id.
 ActionType getAction()
           
 String getActionItemId()
           
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static ActionInvocation create(ActionType action,
                                      String actionItemId)
Creates a new ActionInvocation which indicates that the specified action should be executed against the action item with the given id.

Parameters:
action - the action to execute against the action item
actionItemId - the id of the action item against which to execute the action
Returns:
a new ActionInvocation containing the provided values
Throws:
IllegalArgumentException - if action is null or actionItemId is a null or blank value

getAction

public ActionType getAction()

getActionItemId

public String getActionItemId()


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.