|
WebObjects 5.2.3 | ||||||||||
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
Nested Class Summary |
Nested classes inherited from class com.webobjects.appserver.WOComponent |
WOComponent.Event |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions |
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Nested classes inherited from class com.webobjects.foundation.NSValidation |
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Field Summary |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NullValue |
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.shouldCommitChangesImmediately . |
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 NSArray aggregateValuesResult(NSArray resultArray)
public NSArray attributeClassNames()
NSArray
class name for toMany relationships, and EOGlobalID
for toOne relationships.inputPartKeyPaths
.
inputPartKeyPaths()
public NSArray classesForKeyPaths()
NSArray
class for toMany relationships, and EOGlobalID
for toOne relationships.outputPartKeyPaths
.
outputPartKeyPaths()
public NSArray comparisonKeys()
inputPartKeyPaths
defined in the rule system.
inputPartKeyPaths()
public D2WContext d2wContext()
public EOEditingContext editingContext()
public String gidArgumentKey()
WOServiceUtilities.RuleSystemConstants.GidArgumentKeyKey
public NSArray inputPartKeyPaths()
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.
inputPartKeyPaths()
public NSArray inputPartValues()
inputPartNames
.
inputPartNames()
public Object invoke()
The default implementation returns null.
public NSArray outputPartKeyPaths()
outputPartNames()
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.
outputPartKeyPaths()
public String propertyNameForPartName(String name)
name
- public name of the message part to translate
name
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 void saveChangesInEditingContext()
WOServiceUtilities.shouldCommitChangesImmediately
.
WOServiceUtilities.shouldCommitChangesImmediately(WOContext context)
public WOEnterpriseObjectSerializationStrategy serializationStrategy()
public void setD2wContext(D2WContext context)
context
- the new D2WContext for this operationpublic String unspecifiedArgumentKey()
WOServiceUtilities.RuleSystemConstants.UnspecifiedArgumentKeyKey
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |