|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.spicefactory.pimento.transaction.TransactionRequest
public class TransactionRequest
Represents a transaction received from the client. Contains snapshots for new or modified entities as well as all operations to be executed within the transaction alongside their parameters which may include non-entity values not managed by Pimento.
| Constructor Summary | |
|---|---|
TransactionRequest()
|
|
| Method Summary | |
|---|---|
List<EntitySnapshot> |
getDetachedEntities()
Returns snapshots for all detached entities that should be updated (merged) in this request. |
List<EntitySnapshot> |
getModifiedEntities()
Returns snapshots for all entities that should be updated (merged) in this request. |
List<ServiceRequest> |
getOperations()
Returns the service operations that should be executed within this transaction. |
List<EntitySnapshot> |
getTransientEntities()
Returns snapshots for all entities that should be persisted in this request. |
void |
readExternal(DataInput input)
Restores the content of this object from the DataInput instance. |
void |
writeExternal(DataOutput output)
Saves the content of this object to the DataOutput instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionRequest()
| Method Detail |
|---|
public List<EntitySnapshot> getTransientEntities()
public List<EntitySnapshot> getDetachedEntities()
public List<EntitySnapshot> getModifiedEntities()
public List<ServiceRequest> getOperations()
public void readExternal(DataInput input)
Externalizable
readExternal in interface Externalizableinput - the AMF3 data to read frompublic void writeExternal(DataOutput output)
Externalizable
writeExternal in interface Externalizableoutput - the output to write to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||