planetj.dataengine.operation
Interface IOperationContext

All Superinterfaces:
IApplicationContext, IContext
All Known Implementing Classes:
ApplicationSQLContext, HTMLOperationContext, JavaOperationContext, URLOperationContext

public interface IOperationContext
extends IApplicationContext

Author:
PlanetJ Corporation

Method Summary
 long getDataTimestamp()
          Gets the time when the data in this context was read from its source Long.MIN_VALUE is returned if the value is not known.
 Operation getOperation()
          Get this context's operation.
 int getOperationId()
          Get this context's operation's id.
 void setDataTimestamp(long timestamp)
          Sets the time when the data in this context was read from its source.
 void setOperationId(int id)
          Set this context's operation's id.
 
Methods inherited from interface planetj.dataengine.application.IApplicationContext
getApplication, getApplicationId, getMetaDataAlias, setApplicationId, setMetaDataAlias
 
Methods inherited from interface planetj.dataengine.IContext
clone, getDisplayParameters, getExecutingContext, getOriginalCode, getParameter, getParameter, getParameterCount, getParameterCount, getParameters, getParameters, getParameterValidationExceptions, getPropertyGroup, getPropertyGroups, getPropertyGroups, parameterAltered, setExecutingContext, setParameterValues, setParameterValues
 

Method Detail

getDataTimestamp

public long getDataTimestamp()
Gets the time when the data in this context was read from its source Long.MIN_VALUE is returned if the value is not known.


getOperation

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

CMException

getOperationId

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


setDataTimestamp

public void setDataTimestamp(long timestamp)
Sets the time when the data in this context was read from its source. This is an internal DataEngine method and should not be invoked by other applications


setOperationId

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