org.nakedobjects.remoting.exchange
Class ExecuteServerActionResponse

java.lang.Object
  extended by org.nakedobjects.remoting.exchange.ExecuteServerActionResponse
All Implemented Interfaces:
java.io.Serializable, Encodable

public class ExecuteServerActionResponse
extends java.lang.Object
implements Encodable, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ExecuteServerActionResponse(DataInputExtended input)
           
ExecuteServerActionResponse(Data result, ObjectData[] updatesData, ReferenceData[] disposed, ObjectData persistedTarget, ObjectData[] persistedParameters, java.lang.String[] messages, java.lang.String[] warnings)
           
 
Method Summary
 void encode(DataOutputExtended output)
           
 ReferenceData[] getDisposed()
           
 java.lang.String[] getMessages()
          Return all messages created by the action.
 ObjectData[] getPersistedParameters()
          Return the ObjectDatas for any of the parameters (in the same seqence as passed to the server) if they were was persisited by the server.
 ObjectData getPersistedTarget()
          Return the ObjectData for the target if it was persisited by the server.
 Data getReturn()
          Return the Data for the result from executing the action.
 ObjectData[] getUpdates()
          Return the set of ObjectData for any objects that where changed by the server while executing the action.
 java.lang.String[] getWarnings()
          Return all warnings created by the action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecuteServerActionResponse

public ExecuteServerActionResponse(Data result,
                                   ObjectData[] updatesData,
                                   ReferenceData[] disposed,
                                   ObjectData persistedTarget,
                                   ObjectData[] persistedParameters,
                                   java.lang.String[] messages,
                                   java.lang.String[] warnings)

ExecuteServerActionResponse

public ExecuteServerActionResponse(DataInputExtended input)
                            throws java.io.IOException
Throws:
java.io.IOException
Method Detail

encode

public void encode(DataOutputExtended output)
            throws java.io.IOException
Specified by:
encode in interface Encodable
Throws:
java.io.IOException

getReturn

public Data getReturn()
Return the Data for the result from executing the action.


getPersistedTarget

public ObjectData getPersistedTarget()
Return the ObjectData for the target if it was persisited by the server.


getPersistedParameters

public ObjectData[] getPersistedParameters()
Return the ObjectDatas for any of the parameters (in the same seqence as passed to the server) if they were was persisited by the server.


getUpdates

public ObjectData[] getUpdates()
Return the set of ObjectData for any objects that where changed by the server while executing the action.


getDisposed

public ReferenceData[] getDisposed()

getMessages

public java.lang.String[] getMessages()
Return all messages created by the action.


getWarnings

public java.lang.String[] getWarnings()
Return all warnings created by the action.



Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.