com.ibm.dse.services.appltables
Class ApplicationTablesClientOp

java.lang.Object
  |
  +--com.ibm.dse.base.DSEOperation
        |
        +--com.ibm.dse.base.DSEClientOperation
              |
              +--com.ibm.dse.services.appltables.ApplicationTablesClientOp

public class ApplicationTablesClientOp
extends DSEClientOperation

The ApplicationTablesClientOp is the client operation that will be automatically executed when the application requests to get the static data from a remote location if it is not locally available ( by setting the ApplicationTables service searchRemotelly attribute to true). The proper definitions must be set in the XML files.

See Also:
Serialized Form

Fields inherited from class com.ibm.dse.base.DSEOperation
aOperationRepliedListener, externalizer
 
Constructor Summary
ApplicationTablesClientOp()
          This constructor creates an instance of ApplicationTablesClientOp.
ApplicationTablesClientOp(java.lang.String arg1)
          This constructor creates an instance of ApplicationTablesClientOp and sets its name attribute as arg1.
ApplicationTablesClientOp(java.lang.String anOperationName, Context aParentContext)
          This constructor creates an instance of ApplicationTablesClientOp and sets its name attribute as anOperationName.
ApplicationTablesClientOp(java.lang.String arg1, java.lang.String arg2)
          This constructor creates an instance of ApplicationTablesClientOp and sets its name attribute as arg1.
 
Method Summary
 void execute()
          The execute method will check for the table existence in memory.
protected  void setApplicationTables(ApplicationTables applicationTablesService)
          Sets the applicationTables attribute value to the instance of ApplicationTables that has started the operation execution.
protected  void setTableEnterprise(java.lang.String newTableEnterprise)
          Sets the tableEnterprise attribute value to newTableEnterprise.
protected  void setTableLanguage(java.lang.String newTableLanguage)
          Sets the tableLanguage attribute value to newTableLanguage.
protected  void setTableName(java.lang.String newValue)
          Sets the tableName attribute value to newValue.
 
Methods inherited from class com.ibm.dse.base.DSEClientOperation
getCSReplyFormat, getCSRequestFormat, getServerOperation, getServerOperationParentContext, initializeFrom, setCSReplyFormat, setCSRequestFormat, setServerOperation, setServerOperationParentContext, toStrings
 
Methods inherited from class com.ibm.dse.base.DSEOperation
addElement, addOperationRepliedListener, chainTo, chainToContextNamed, chainToCurrentContext, close, externalizer, fireHandleOperationRepliedEvent, getApplicationId, getContext, getContextByType, getContextName, getContextNamed, getElementAt, getExternalizer, getFormat, getFormats, getHostReceiveFormat, getHostSendFormat, getInstanceOfOperationStep, getKeyedCollection, getName, getOperationStep, getOperationStepRC, getOperationSteps, getParent, getSelfDefinedOpTagInputStream, getService, getServiceByType, getSessionId, getSgmlSelfDefinedOpFileName, getType, getValueAt, hasServices, initializeFormatFrom, initializeKeyedCollectionValueFrom, initializeOpStep, initializeOpStepsFrom, isCacheable, isChained, isContext, occurrencesNamed, prune, readExternal, readExternal, readObject, reinitialize, removeAt, removeExternal, removeOperationRepliedListener, setApplicationId, setContext, setContextName, setExternalizer, setHostReceiveFormat, setHostSendFormat, setKeyedCollection, setName, setSessionId, setType, setValueAt, toString, toTags, unchain, writeExternal, writeExternal, xValidate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationTablesClientOp

public ApplicationTablesClientOp()
This constructor creates an instance of ApplicationTablesClientOp.

ApplicationTablesClientOp

public ApplicationTablesClientOp(java.lang.String arg1)
                          throws java.io.IOException
This constructor creates an instance of ApplicationTablesClientOp and sets its name attribute as arg1. It reads the external information for the operation from the operations external definition file.
Parameters:
arg1 - java.lang.String, the operation name
Throws:
java.io.IOException -  

ApplicationTablesClientOp

public ApplicationTablesClientOp(java.lang.String anOperationName,
                                 Context aParentContext)
                          throws java.io.IOException,
                                 DSEInvalidRequestException
This constructor creates an instance of ApplicationTablesClientOp and sets its name attribute as anOperationName. It reads the external information for the operation from the operations external definition file and chains the operation context to aParentContext.
Parameters:
anOperationName - java.lang.String
aParentContext - com.ibm.dse.base.Context
Throws:
java.io.IOException -  
DSEInvalidRequestException -  

ApplicationTablesClientOp

public ApplicationTablesClientOp(java.lang.String arg1,
                                 java.lang.String arg2)
                          throws java.io.IOException,
                                 DSEObjectNotFoundException,
                                 DSEInvalidRequestException
This constructor creates an instance of ApplicationTablesClientOp and sets its name attribute as arg1. It reads the external information for the operation from the operations external definition file and chains the operation context to the context named arg2.
Parameters:
arg1 - java.lang.String, the operation name
arg2 - java.lang.String, the operation parent context name
Throws:
java.io.IOException -  
DSEObjectNotFoundException -  
DSEInvalidRequestException -  
Method Detail

execute

public void execute()
             throws DSECSTimeoutException,
                    DSECSInvalidRequestException,
                    DSECSRemoteOperationException,
                    DSESQLException,
                    DSEInvalidArgumentException,
                    DSEException
The execute method will check for the table existence in memory. If it does not exist, it will send the request to the server.
Overrides:
execute in class DSEClientOperation

setApplicationTables

protected void setApplicationTables(ApplicationTables applicationTablesService)
Sets the applicationTables attribute value to the instance of ApplicationTables that has started the operation execution.
Parameters:
applicationTablesService - com.ibm.dse.services.appltables.ApplicationTables

setTableEnterprise

protected void setTableEnterprise(java.lang.String newTableEnterprise)
Sets the tableEnterprise attribute value to newTableEnterprise.
Parameters:
newTableEnterprise - java.lang.String

setTableLanguage

protected void setTableLanguage(java.lang.String newTableLanguage)
Sets the tableLanguage attribute value to newTableLanguage.
Parameters:
newTableLanguage - java.lang.String

setTableName

protected void setTableName(java.lang.String newValue)
Sets the tableName attribute value to newValue.
Parameters:
newValue - java.lang.String