planetj.dataengine.application
Class ApplicationSQLContext

java.lang.Object
  |
  +--planetj.dataengine.AbstractContext
        |
        +--planetj.database.SQLContext
              |
              +--planetj.dataengine.application.ApplicationSQLContext
All Implemented Interfaces:
Cloneable, IApplicationContext, IContext, INavigationObject, IOperationContext, Serializable

public class ApplicationSQLContext
extends SQLContext
implements IOperationContext

SQLContext used for queries which correspond to a specific Application or View

See Also:
Serialized Form

Field Summary
static String className
           
 
Fields inherited from class planetj.database.SQLContext
ALL_ROWS, CACHE_EXPIRATION_TIME_1_DAY, CACHE_EXPIRATION_TIME_1_HOUR, CACHE_EXPIRATION_TIME_1_WEEK, CACHE_EXPIRATION_TIME_15_MINUTES, CACHE_EXPIRATION_TIME_30_MINUTES, CACHE_EXPIRATION_TIME_NEVER, CACHING_CHECK, CACHING_CHECK_AND_STORE, CACHING_NONE, CACHING_STORE, LIBRARY_AS_SPECIFIED, LIBRARY_SYSTEM, LIBRARY_UNKNOWN, LIBRARY_USER
 
Fields inherited from class planetj.dataengine.AbstractContext
DEFAULT_TYPE, 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
 
Constructor Summary
ApplicationSQLContext()
          ListViewSQLContext constructor comment.
ApplicationSQLContext(String pSystemAlias)
          ListViewSQLContext constructor comment.
 
Method Summary
 boolean equals(Object o)
          Checks to see if given Object to see if it is the same as this ApplicationSQLContext.
 Application getApplication()
          Gets this SQLContext's corresponding Application
 int getApplicationId()
          Gets this SQLContext's corresponding Application
 Operation getOperation()
          Gets this SQLContext's corresponding SQLOperation
 int getOperationId()
          Gets this SQLContext's corresponding Application
 PropertyGroupList getPropertyGroups()
          Get all the property groups stored in this RowCollection's attributes.
 SQLOperation getSQLOperation()
          Gets this SQLContext's corresponding SQLOperation
 int hashCode()
          Creates the hash code for this ApplicationSQLContext.
 void setApplication(Application newApplication)
          Sets this SQLContext's corresponding Application
 void setApplicationId(int appId)
          Sets this SQLContext's corresponding Application
 void setMetaDataAlias(String alias)
          Set the alias for the system the operation and application reside.
 void setOperationId(int id)
          Sets this SQLContext's corresponding Application
 void setView(View newView)
          Sets this SQLContext's corresponding View
 void setViewId(int viewId)
          Sets this SQLContext's corresponding Application
 
Methods inherited from class planetj.database.SQLContext
addListener, addTable, clear, clearTables, clone, cloneContext, cloneContext, execute, getCachingLevel, getCachingTimeMillis, getConnection, getConnection, getConnectionAlias, getConnectionOwner, getFirstRowIndex, getKeyContext, getLogicalFieldNames, getMetaDataAlias, getNumberOfTables, getReportBreakCollection, getRowClass, getRowCollection, getRowCollectionClass, getRowCount, getRowCreator, getSafeSQL, getSourceRow, getSQL, getSQLDeleteStatement, getSQLInsertStatement, getSQLParameters, getSQLSelectStatement, getSQLStatement, getSQLUpdateStatement, getSystemAlias, getTable, getTable, getTables, getTimestamp, getTitle, getUsageIdRow, getUseWOWLibrary, hasListeners, isAlterTableStatement, isAssociatedJoinOperationPresent, isAutoRefresh, isBatch, isCacheResults, isCallStatement, isCheckCache, isCheckFieldDataFileForFDs, isDeleteStatement, isGroupByStatement, isInsertStatement, isResultSetRetained, isRowCollectionContext, isRunInBackground, isSelectStatement, isSourceRowPresent, isSystemAliasSpecified, isUnionStatement, isUpdateStatement, isUsePreparedStatement, parameterAltered, removeListener, removeTable, returnConnection, setAssociatedJoinOperationPresent, setAutoRefresh, setBatch, setCacheResults, setCachingLevel, setCachingTimeMillis, setCheckCache, setCheckFieldDataFileForFDs, setCode, setCode, setConnection, setFirstRowIndex, setParameterValue, setReportBreakCollection, setReportBreakCollection, setResultSetRetained, setRowClass, setRowCollection, setRowCollectionClass, setRowCount, setRowCreator, setRowValues, setRunInBackground, setSourceRow, setSQL, setSQL, setSystemAlias, setTables, setTables, setTitle, setUsageIdRow, setUsePreparedStatement, setUseWOWLibrary, toString
 
Methods inherited from class planetj.dataengine.AbstractContext
clearParameterValues, equals, getCode, getDataTimestamp, getDisplayParameters, getExecutingContext, getNavigationKey, getNavigationListKey, getOriginalCode, getParameter, getParameter, getParameterCollection, getParameterCount, getParameterCount, getParameterDisplayFields, getParameterDisplayFields, getParameters, getParameters, getParameterSource, getParameterValidationExceptions, getPropertyGroup, getPropertyGroups, getRowParameters, isCloneNeeded, isContainsDisplayParameters, isContainsParameters, isLocked, isParameterized, loadUserAndExecutingContextValues, loadUserValues, lock, removeNavigationKey, setDataTimestamp, setExecutingContext, setNavigationKey, setParameterCollection, setParameterDisplayValues, setParameterValue, setParameterValue, setParameterValues, setParameterValues
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface planetj.dataengine.operation.IOperationContext
getDataTimestamp, setDataTimestamp
 
Methods inherited from interface planetj.dataengine.application.IApplicationContext
getMetaDataAlias
 
Methods inherited from interface planetj.dataengine.IContext
clone, getDisplayParameters, getExecutingContext, getOriginalCode, getParameter, getParameter, getParameterCount, getParameterCount, getParameters, getParameters, getParameterValidationExceptions, getPropertyGroup, getPropertyGroups, parameterAltered, setExecutingContext, setParameterValues, setParameterValues
 

Field Detail

className

public static final String className
Constructor Detail

ApplicationSQLContext

public ApplicationSQLContext()
ListViewSQLContext constructor comment.


ApplicationSQLContext

public ApplicationSQLContext(String pSystemAlias)
ListViewSQLContext constructor comment.

Parameters:
pSystemAlias - java.lang.String
Method Detail

getApplication

public Application getApplication()
Gets this SQLContext's corresponding Application

Specified by:
getApplication in interface IApplicationContext

getApplicationId

public int getApplicationId()
Gets this SQLContext's corresponding Application

Specified by:
getApplicationId in interface IApplicationContext

getOperation

public Operation getOperation()
Gets this SQLContext's corresponding SQLOperation

Specified by:
getOperation in interface IOperationContext

getOperationId

public int getOperationId()
Gets this SQLContext's corresponding Application

Specified by:
getOperationId in interface IOperationContext

getPropertyGroups

public PropertyGroupList getPropertyGroups()
Get all the property groups stored in this RowCollection's attributes.

Specified by:
getPropertyGroups in interface IContext
Overrides:
getPropertyGroups in class SQLContext

getSQLOperation

public SQLOperation getSQLOperation()
Gets this SQLContext's corresponding SQLOperation


setApplication

public void setApplication(Application newApplication)
Sets this SQLContext's corresponding Application


setApplicationId

public void setApplicationId(int appId)
Sets this SQLContext's corresponding Application

Specified by:
setApplicationId in interface IApplicationContext

setMetaDataAlias

public void setMetaDataAlias(String alias)
Description copied from interface: IApplicationContext
Set the alias for the system the operation and application reside.

Specified by:
setMetaDataAlias in interface IApplicationContext

setOperationId

public void setOperationId(int id)
Sets this SQLContext's corresponding Application

Specified by:
setOperationId in interface IOperationContext

setView

public void setView(View newView)
Sets this SQLContext's corresponding View


setViewId

public void setViewId(int viewId)
Sets this SQLContext's corresponding Application


equals

public boolean equals(Object o)
Checks to see if given Object to see if it is the same as this ApplicationSQLContext.

Overrides:
equals in class SQLContext
Parameters:
o - Object to check for equality with
Returns:
true if the given Object is equal to this ApplicationSQLContext

hashCode

public int hashCode()
Creates the hash code for this ApplicationSQLContext.

Overrides:
hashCode in class SQLContext
Returns:
hash code for this context.