|
WebObjects 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | 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
Inner classes inherited from class com.webobjects.appserver.WOComponent |
WOComponent.Event |
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions |
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Inner classes inherited from class com.webobjects.foundation.NSValidation |
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NullValue |
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()
Returns true if this operation must work with an entity. |
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 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
public static boolean requiresEntity()
WOOperation
true
if this operation must work with an entity.
Subclasses should override this method to return false
ONLY
if the operation will never return, or accept as input, an EOEnterpriseObject.com.webobjects.webservices.generation.WOOperation
true
if this operation needs an entity name to be
defined in its D2WContext, false
otherwiseWOServiceUtilities.RuleSystemConstants.EntityNameKey
|
Last updated Fri Feb 21 13:15:00 PST 2003. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |