|
WebObjects 5.4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.appserver.WOElement com.webobjects.appserver.WOComponent com.webobjects.webservices.generation.WOOperation com.webobjects.webservices.generation.WOBeginTransactionOperation
public class WOBeginTransactionOperation
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent |
---|
WOComponent.Event |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation |
---|
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Field Summary |
---|
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
KeyPathSeparator |
Constructor Summary | |
---|---|
WOBeginTransactionOperation(WOContext context)
|
Method Summary | |
---|---|
Object |
invoke()
Creates a session and configures it to handle transactions. |
static boolean |
requiresEntity()
|
Methods inherited from class com.webobjects.webservices.generation.WOOperation |
---|
aggregateValuesResult, attributeClassNames, classesForKeyPaths, comparisonKeys, d2wContext, editingContext, gidArgumentKey, inputPartKeyPaths, inputPartNames, inputPartValues, outputPartKeyPaths, outputPartNames, propertyNameForPartName, saveChangesInEditingContext, serializationStrategy, setD2wContext, unspecifiedArgumentKey |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WOBeginTransactionOperation(WOContext context)
Method Detail |
---|
public static boolean requiresEntity()
public Object invoke()
Creates a session and configures it to handle transactions. Once this operation is invoked, calls to saveChangesInEditingContext
will not result in changes to an operation's editing context being saved until an invocation of a WOCommitTransaction operation. A subsequent
invocation of a WORollbackTransaction operation will reset the editing context.
Between the invocation of a begin transaction and either a commit or roll back transaction operation, all other operations invoked by the same client (carrying the proper SOAP headers) share a WOSession and EOEditingContext.
invoke
in class WOOperation
WOCommitTransactionOperation
,
WORollbackTransactionOperation
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |