|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.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 :
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. |
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 |
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
public FormatElement getCSReplyFormat()
public FormatElement getCSRequestFormat()
public java.lang.String getServerOperation()
If it is not initialized, it defaults to its self name, removes ClientOp and adds ServerOp instead.
public java.lang.String getServerOperationParentContext()
If it is not initialized, the client/server mechanism chains the operation on the server to the context for the current session.
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException, DSEException
This method throws an IOException if the externalizer hasn't been initialized.
aTag
- com.ibm.dse.base.Tag an operation Tagpublic void setCSReplyFormat(FormatElement aFormat)
public void setCSRequestFormat(FormatElement aFormat)
public void setServerOperation(java.lang.String aServerOperation)
public void setServerOperationParentContext(java.lang.String aContextName)
public Vector toStrings()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |