|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.rpc.RemoteOperation
at.spardat.xma.rpc.RemoteReply
Models the answer the XMA server sends to the XMA client in a RemoteCall.
| Field Summary | |
static int |
PARAM_GLOBAL_EVENTS
|
| Method Summary | |
java.lang.Object |
getParameter(int id)
Retrieves a parameter for a given id. |
boolean |
getRollbackModelChanges()
Returns if model changes should be rolled back at the end of the execution of the server side event method. |
void |
rollbackModelChanges()
May be called if you want to undo all changes in widget models that have been done in the course of executing a server side event. |
void |
setParameter(int id,
java.lang.Object parameter)
Adds a parameter to this reply that is transferred to the client and may be accessed via getParameter there. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static int PARAM_GLOBAL_EVENTS
| Method Detail |
public void rollbackModelChanges()
public boolean getRollbackModelChanges()
public void setParameter(int id,
java.lang.Object parameter)
Note that this feature is usually not necessary with XMA since data is automatically transferred via widget models. You should ask yourself seriously if you are doing things right.
setParameter in class RemoteOperationid - a numeric id of the parameter. Must not be less than zero and greater than 127.parameter - the parameter data which has to implement java.io.Serializable
and must be successfully be serialized. It cannot be null.
java.lang.IllegalArgumentException - if any before mentioned condition is violated.public java.lang.Object getParameter(int id)
getParameter in class RemoteOperationid - the id that has been used in setParameter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||