|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.dse.base.DSEOperation
com.ibm.dse.base.DSEClientOperation
The DSEClientOperation Class derives from DSEOperation and implements the interface ClientOperation. This is an abstract class and it cannot be instantiated. A DSEClientOperation has two attributes : - a A serverOperation: contains the name of the operation that is executed on the server workstation through the client/server mechanism. - a A serverOperationParentContext: contains the name of the parent context of the operation that is executed on the server workstation through the client/server mechanism.
Field Summary |
---|
Fields inherited from class com.ibm.dse.base.DSEOperation |
---|
aOperationRepliedListener, externalizer |
Constructor Summary | |
---|---|
DSEClientOperation()
This constructor creates the DSEClientOperation object. |
|
DSEClientOperation(java.lang.String anOperationName)
This constructor creates a new instance of ClientOperation with its corresponding Context (obtained from the definition files through anOperationName). |
|
DSEClientOperation(java.lang.String anOperationName,
Context aParentContext)
This constructor creates a new instance of ClientOperation (obtained from the definition files through anOperationName) chained to aParentContext. |
|
DSEClientOperation(java.lang.String anOperationName,
java.lang.String aParentContext)
This constructor creates a new instance of ClientOperation (obtained from the definition files through anOperationName) chained to the Context Named aParentContextName. |
Method Summary | |
---|---|
void |
execute()
The execute method contains the operation logic. |
FormatElement |
getCSReplyFormat()
Returns the csReplyFormat formatElement of the formats Hashtable. |
FormatElement |
getCSRequestFormat()
Returns the csRequestFormat formatElement of the formats Hashtable. |
java.lang.String |
getServerOperation()
Returns the name of the operation to be run on the server. |
java.lang.String |
getServerOperationParentContext()
Returns the name of the operation parent context in the server. |
java.lang.Object |
initializeFrom(Tag aTag)
Returns the clientOperation implemented by the Tag aTag This method throws an IOException if the externalizer hasn't been initialized. |
void |
setCSReplyFormat(FormatElement aFormat)
Sets the csReplyFormat formatElement of the formats Hashtable to aFormat. |
void |
setCSRequestFormat(FormatElement aFormat)
Sets the csRequestFormat formatElement of the formats Hashtable to aFormat. |
void |
setServerOperation(java.lang.String aServerOperation)
Sets the name of the operation to be run on the server to aServerOperation. |
void |
setServerOperationParentContext(java.lang.String aContextName)
Sets the name of the operation context on the server. |
Vector |
toStrings()
Returns a visual representation of the clientOperation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.dse.base.Operation |
---|
addElement, addOperationRepliedListener, chainTo, chainToContextNamed, close, getApplicationId, getContext, getContextName, getElementAt, getFormat, getFormats, getKeyedCollection, getName, getParent, getService, getServiceByType, getType, getValueAt, hasServices, isChained, prune, removeAt, removeOperationRepliedListener, setApplicationId, setContext, setContextName, setKeyedCollection, setName, setType, setValueAt, unchain, xValidate |
Methods inherited from interface com.ibm.dse.base.Cacheable |
---|
isCacheable, reinitialize |
Constructor Detail |
public DSEClientOperation()
public DSEClientOperation(java.lang.String anOperationName) throws java.io.IOException
public DSEClientOperation(java.lang.String anOperationName, Context aParentContext) throws java.io.IOException, DSEInvalidRequestException
public DSEClientOperation(java.lang.String anOperationName, java.lang.String aParentContext) throws java.io.IOException, DSEInvalidRequestException, DSEObjectNotFoundException
Method Detail |
public void execute() throws java.lang.Exception
execute
in interface Operation
execute
in class DSEOperation
java.lang.Exception
public FormatElement getCSReplyFormat()
public FormatElement getCSRequestFormat()
getCSRequestFormat
in interface ClientOperation
public java.lang.String getServerOperation()
getServerOperation
in interface ClientOperation
public java.lang.String getServerOperationParentContext()
getServerOperationParentContext
in interface ClientOperation
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException, DSEException
initializeFrom
in interface Externalizable
initializeFrom
in class DSEOperation
aTag
- com.ibm.dse.base.Tag - An operation Tag
java.io.IOException
DSEException
public void setCSReplyFormat(FormatElement aFormat)
public void setCSRequestFormat(FormatElement aFormat)
setCSRequestFormat
in interface ClientOperation
public void setServerOperation(java.lang.String aServerOperation)
setServerOperation
in interface ClientOperation
public void setServerOperationParentContext(java.lang.String aContextName)
setServerOperationParentContext
in interface ClientOperation
public Vector toStrings()
toStrings
in interface Externalizable
toStrings
in class DSEOperation
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |