planetj.dataengine.operation
Class JavaOperationContext

java.lang.Object
  extended byplanetj.dataengine.AbstractContext
      extended byplanetj.dataengine.JavaContext
          extended byplanetj.dataengine.operation.JavaOperationContext
All Implemented Interfaces:
java.lang.Cloneable, IApplicationContext, IContext, INavigationObject, IOperationContext, java.io.Serializable

public class JavaOperationContext
extends JavaContext
implements IOperationContext

See Also:
Serialized Form

Field Summary
static java.lang.String className
          Class name.
 
Fields inherited from class planetj.dataengine.AbstractContext
DEFAULT_TYPE, mCode, mLocked, mParameterized, mParameterNames, mParameterSource, mParameterValues, PARAM_ESCAPE_NUMBERED, PARAM_ESCAPE_TABLE, PARAM_ESCAPE_USAGE_ID, PARAM_ESCAPE_USER, PARAM_ESCAPE_USER_USAGE_ID, PARAM_NUMBERED, PARAM_TABLE, PARAM_USAGE_ID, PARAM_USER, PARAM_USER_USAGE_ID, TYPE_TABLE_PARAMETER
 
Constructor Summary
JavaOperationContext()
           
 
Method Summary
 Application getApplication()
          Get this context's application.
 int getApplicationId()
          Get this context's appplication's id.
 java.lang.String getCreationSource()
          Gets this context's source of where it was created.
 java.lang.String getMetaDataAlias()
          Get the alias for the system the operation and application reside.
 Operation getOperation()
          Get this context's operation.
 int getOperationId()
          Get this context's operation's id.
 void setApplicationId(int id)
          Set this context's appplication's id.
 void setMetaDataAlias(java.lang.String alias)
          Set the alias for the system the operation and application reside.
 void setOperationId(int id)
          Set this context's operation's id.
 
Methods inherited from class planetj.dataengine.JavaContext
appendProperties, execute, getPropertyGroups, isParameterTokenEnd, rectifyCode
 
Methods inherited from class planetj.dataengine.AbstractContext
appendParameters, clear, clearParameterValues, clone, createParameter, equals, getCode, getDataTimestamp, getDisplayParameters, getExecutingContext, getFirstDisplayParameter, getFirstParameterForInput, getNavigationKey, getNavigationListKey, getOriginalCode, getParameter, getParameter, getParameterClass, getParameterCollection, getParameterCount, getParameterCount, getParameterDisplayFields, getParameterDisplayFields, getParameterRow, getParameters, getParameters, getParameterSource, getParameterValidationExceptions, getParameterValuesType, getPrimaryContext, getPropertyGroup, getPropertyGroups, getRowParameters, handleParameter, initializeAndStore, isCloneNeeded, isContainsDisplayParameters, isContainsParameters, isLocked, isParameterized, isParameterTokenEnd, isRefreshing, isSecondaryContext, loadGlobalValues, loadParameterRequestAndSessionValues, loadSQLTextReplacementValues, loadUserAndExecutingContextValues, lock, parameterAltered, prepareForExecution, removeNavigationKey, setCode, setCode, setCodeInternal, setCreationSource, setDataTimestamp, setExecutingContext, setNavigationKey, setParameterCollection, setParameterDisplayValues, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setParameterValuesType, setPrimaryContext, setRefreshing, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface planetj.dataengine.operation.IOperationContext
getDataTimestamp, setDataTimestamp
 
Methods inherited from interface planetj.dataengine.IContext
clone, getDisplayParameters, getExecutingContext, getOriginalCode, getParameter, getParameter, getParameterCount, getParameterCount, getParameters, getParameters, getParameterValidationExceptions, getParameterValuesType, getPropertyGroup, getPropertyGroups, getPropertyGroups, isContainsDisplayParameters, isParameterized, isSecondaryContext, parameterAltered, setExecutingContext, setParameterValues, setParameterValues
 

Field Detail

className

public static final java.lang.String className
Class name.

Constructor Detail

JavaOperationContext

public JavaOperationContext()
Method Detail

getApplication

public Application getApplication()
                           throws CMException
Get this context's application.

Specified by:
getApplication in interface IApplicationContext
Throws:
CMException

getApplicationId

public int getApplicationId()
Get this context's appplication's id.

Specified by:
getApplicationId in interface IApplicationContext

getCreationSource

public java.lang.String getCreationSource()
Description copied from class: AbstractContext
Gets this context's source of where it was created. Can be used logging purposes.

Overrides:
getCreationSource in class AbstractContext

getMetaDataAlias

public java.lang.String getMetaDataAlias()
Get the alias for the system the operation and application reside.

Specified by:
getMetaDataAlias in interface IApplicationContext

getOperation

public Operation getOperation()
                       throws CMException
Get this context's operation.

Specified by:
getOperation in interface IOperationContext
Throws:
CMException

getOperationId

public int getOperationId()
Get this context's operation's id.

Specified by:
getOperationId in interface IOperationContext

setApplicationId

public void setApplicationId(int id)
Set this context's appplication's id.

Specified by:
setApplicationId in interface IApplicationContext

setMetaDataAlias

public void setMetaDataAlias(java.lang.String alias)
Set the alias for the system the operation and application reside.

Specified by:
setMetaDataAlias in interface IApplicationContext

setOperationId

public void setOperationId(int id)
Set this context's operation's id.

Specified by:
setOperationId in interface IOperationContext