|
WebObjects 5.4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
com.webobjects.webservices.generation.WOOperation
public class WOOperation
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 | |
---|---|
WOOperation(WOContext context)
Constructor for WOOperation. |
Method Summary | |
---|---|
NSArray |
aggregateValuesResult(NSArray resultArray)
|
NSArray |
attributeClassNames()
Returns the class name for each input part key path. |
NSArray |
classesForKeyPaths()
Returns the representative class for each output key path. |
NSArray |
comparisonKeys()
Returns the String keys used for building key value qualifiers for attributes. |
D2WContext |
d2wContext()
Returns this operation's D2WContext |
EOEditingContext |
editingContext()
Returns this operation's EOEditingContext |
String |
gidArgumentKey()
Returns the String key used at the end of a key path to represent that the EO at that key path should be serialized as its EOGenericRecord. |
NSArray |
inputPartKeyPaths()
Returns the EOProperty keys/key paths associated with the public names of the operation's input message parts. |
NSArray |
inputPartNames()
Returns the names of the operation's SOAP input message parts. |
NSArray |
inputPartValues()
Returns the objects this operation was invoked with. |
Object |
invoke()
Invokes the operation and returns the invocation's result. |
NSArray |
outputPartKeyPaths()
Returns the EOProperty keys/key paths associated with the public names of the operation's output message parts. |
NSArray |
outputPartNames()
Returns the names of the operation's SOAP output message parts. |
String |
propertyNameForPartName(String name)
Translates the public name of an argument or result key to the EOProperty key path defined in the rule system |
static boolean |
requiresEntity()
Returns true if this operation must work with an entity. |
void |
saveChangesInEditingContext()
Saves changes to the operation's EOEditingContext if the operation should save its changes immediately as specified by WOServiceUtilities.commitOperationImmediately |
WOEnterpriseObjectSerializationStrategy |
serializationStrategy()
Returns the serialization strategy to use when serializing and deserializing objects for this operation. |
void |
setD2wContext(D2WContext context)
Sets this operations D2WContext |
String |
unspecifiedArgumentKey()
Returns the String key to represent that the client did not specify a value for an input part. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WOOperation(WOContext context)
context
- WOContext this operation was created inMethod Detail |
---|
public D2WContext d2wContext()
public void setD2wContext(D2WContext context)
context
- the new D2WContext for this operationpublic EOEditingContext editingContext()
public static boolean requiresEntity()
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.
true
if this operation needs an entity name to be defined in its D2WContext, false
otherwiseWOServiceUtilities.RuleSystemConstants.EntityNameKey
public String unspecifiedArgumentKey()
WOServiceUtilities.RuleSystemConstants.UnspecifiedArgumentKeyKey
public String gidArgumentKey()
WOServiceUtilities.RuleSystemConstants.GidArgumentKeyKey
public void saveChangesInEditingContext()
WOServiceUtilities.commitOperationImmediately
WOServiceUtilities#commitOperationImmediately
public WOEnterpriseObjectSerializationStrategy serializationStrategy()
public NSArray aggregateValuesResult(NSArray resultArray)
public String propertyNameForPartName(String name)
name
- public name of the message part to translate
name
public NSArray inputPartKeyPaths()
WOOperation.inputPartNames()
public NSArray inputPartNames()
inputPartKeyPaths()
during the operation's incovation as EO arguments are deserialized. The result array is ordered so that the index of each input part name
matches that of its associated input part key path. This ordering is also used to define the parameterOrdering of the operation's WSDL.
WOOperation.inputPartKeyPaths()
public NSArray inputPartValues()
inputPartNames
.
WOOperation.inputPartNames()
public NSArray comparisonKeys()
inputPartKeyPaths
defined in the rule system.
WOOperation.inputPartKeyPaths()
public NSArray attributeClassNames()
NSArray
class name for toMany relationships, and
EOGlobalID
for toOne relationships.inputPartKeyPaths
.
WOOperation.inputPartKeyPaths()
public Object invoke()
The default implementation returns null.
public NSArray classesForKeyPaths()
NSArray
class for toMany relationships, and
EOGlobalID
for toOne relationships.outputPartKeyPaths
.
WOOperation.outputPartKeyPaths()
public NSArray outputPartNames()
outputPartKeyPaths()
during the operation's incovation as EO result are serialized. The result array is ordered so that the index of each output part name
matches that of its associated result key path.
WOOperation.outputPartKeyPaths()
public NSArray outputPartKeyPaths()
WOOperation.outputPartNames()
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |