org.alfresco.repo.forms.processor.action
Class ActionFormResult

java.lang.Object
  extended by org.alfresco.repo.forms.processor.action.ActionFormResult

public class ActionFormResult
extends java.lang.Object

Class used purely to represent the result of an action being executed via the ActionFormProcessor. This class holds the Action executed and any optional results stored by the action.


Constructor Summary
ActionFormResult(Action action, java.lang.Object result)
          Default constructor.
 
Method Summary
 Action getAction()
          Returns the action that was executed
 java.lang.Object getResult()
          Returns the result from the executed action
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionFormResult

public ActionFormResult(Action action,
                        java.lang.Object result)
Default constructor.

Parameters:
action - The action that was executed, can not be null
result - The result from the action, can be null
Method Detail

getAction

public Action getAction()
Returns the action that was executed

Returns:
The executed Action

getResult

public java.lang.Object getResult()
Returns the result from the executed action

Returns:
The result or null if there were no results

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.