|
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.WODeleteOperation
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 | |
WODeleteOperation(WOContext context)
|
Method Summary | |
protected void |
delete(Object value,
EOEditingContext ec)
Deletes the object value from EOEditingContext ec . |
Object |
invoke()
Deletes one or more EOEnterpriseObject's identified by global ID in the argument values. |
Methods inherited from class com.webobjects.webservices.generation.WOOperation |
aggregateValuesResult, attributeClassNames, classesForKeyPaths, comparisonKeys, d2wContext, editingContext, gidArgumentKey, inputPartKeyPaths, inputPartNames, inputPartValues, outputPartKeyPaths, outputPartNames, propertyNameForPartName, requiresEntity, saveChangesInEditingContext, serializationStrategy, setD2wContext, unspecifiedArgumentKey |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WODeleteOperation(WOContext context)
Method Detail |
protected void delete(Object value, EOEditingContext ec)
value
from EOEditingContext ec
.
Value must either be an Object[] of EOGlobalIDs, an NSArray of EOGlobalIDs,
an NSDictionary representing an EO primary key, an EOGlobalID, or an EOEnterpriseObject.value
- object(s) to deleteec
- EOEditingContext to delete objects frompublic Object invoke()
Deletes one or more EOEnterpriseObject's identified by global ID
in the argument values. All argument values are expected to be EOGlobalID's.
For each global ID, a corresponding fault is created in the operation's
editing context. The EO is then deleted using the delete
method.
If WOServiceUtilities.commitOperationImmediately() is true, then the changes to the editing context are saved before this method returns.
invoke
in class WOOperation
|
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 |