|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lutris.appserver.server.sql.CoreDO
com.lutris.appserver.server.sql.CloneableDO
com.lutris.dods.builder.generator.dataobject.GenericDO
org.enhydra.shark.instancepersistence.data.ProcessDataDO
public class ProcessDataDO
Data core class, used to set and retrieve the ProcessDataDO information.
Field Summary | |
---|---|
protected static java.lang.String |
__tmln
|
protected static org.enhydra.dods.cache.DataStructCache |
cache
|
static com.lutris.dods.builder.generator.query.RDBColumn |
CNT
static final RDBColumn CNT for use with QueryBuilder. |
static int |
COLUMN_CNT
Use for query caching. |
static int |
COLUMN_ORDNO
Use for query caching. |
static int |
COLUMN_PROCESS
Use for query caching. |
static int |
COLUMN_VARIABLEDEFINITIONID
Use for query caching. |
static int |
COLUMN_VARIABLETYPE
Use for query caching. |
static int |
COLUMN_VARIABLEVALUE
Use for query caching. |
static int |
COLUMN_VARIABLEVALUEBOOL
Use for query caching. |
static int |
COLUMN_VARIABLEVALUEDATE
Use for query caching. |
static int |
COLUMN_VARIABLEVALUEDBL
Use for query caching. |
static int |
COLUMN_VARIABLEVALUELONG
Use for query caching. |
static int |
COLUMN_VARIABLEVALUEVCHAR
Use for query caching. |
static int |
COLUMN_VARIABLEVALUEXML
Use for query caching. |
protected boolean |
deleted
|
protected static boolean |
isFullCacheNeeded
|
protected static boolean |
notUsingOId
|
static com.lutris.dods.builder.generator.query.RDBColumn |
OrdNo
static final RDBColumn OrdNo for use with QueryBuilder. |
static com.lutris.dods.builder.generator.query.RDBColumn |
PrimaryKey
static final RDBColumn PrimaryKey for use with QueryBuilder. |
static com.lutris.dods.builder.generator.query.RDBColumn |
Process
static final RDBColumn Process for use with QueryBuilder. |
protected static org.enhydra.dods.statistics.Statistics |
statistics
Represents table and cache (if there is caching) statistics. |
static com.lutris.dods.builder.generator.query.RDBTable |
table
|
static java.lang.String |
tableName
Static final data members name the table and columns for this DO. |
static com.lutris.dods.builder.generator.query.RDBColumn |
VariableDefinitionId
static final RDBColumn VariableDefinitionId for use with QueryBuilder. |
static int |
VariableDefinitionId_MaxLength
|
static com.lutris.dods.builder.generator.query.RDBColumn |
VariableType
static final RDBColumn VariableType for use with QueryBuilder. |
static com.lutris.dods.builder.generator.query.RDBColumn |
VariableValue
static final RDBColumn VariableValue for use with QueryBuilder. |
static com.lutris.dods.builder.generator.query.RDBColumn |
VariableValueBOOL
static final RDBColumn VariableValueBOOL for use with QueryBuilder. |
static com.lutris.dods.builder.generator.query.RDBColumn |
VariableValueDATE
static final RDBColumn VariableValueDATE for use with QueryBuilder. |
static com.lutris.dods.builder.generator.query.RDBColumn |
VariableValueDBL
static final RDBColumn VariableValueDBL for use with QueryBuilder. |
static com.lutris.dods.builder.generator.query.RDBColumn |
VariableValueLONG
static final RDBColumn VariableValueLONG for use with QueryBuilder. |
static com.lutris.dods.builder.generator.query.RDBColumn |
VariableValueVCHAR
static final RDBColumn VariableValueVCHAR for use with QueryBuilder. |
static int |
VariableValueVCHAR_MaxLength
|
static com.lutris.dods.builder.generator.query.RDBColumn |
VariableValueXML
static final RDBColumn VariableValueXML for use with QueryBuilder. |
Fields inherited from class com.lutris.dods.builder.generator.dataobject.GenericDO |
---|
colChanged, dirty |
Fields inherited from class com.lutris.appserver.server.sql.CoreDO |
---|
originalData, persistent, versioning |
Constructor Summary | |
---|---|
protected |
ProcessDataDO()
Protected constructor. |
protected |
ProcessDataDO(boolean is_view)
Protected constructor. |
protected |
ProcessDataDO(boolean is_view,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
Protected constructor. |
protected |
ProcessDataDO(com.lutris.appserver.server.sql.DBTransaction dbTrans)
Protected constructor. |
protected |
ProcessDataDO(com.lutris.appserver.server.sql.ObjectId id)
Protected constructor used by createExisting(ObjectId) above. |
protected |
ProcessDataDO(com.lutris.appserver.server.sql.ObjectId id,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
Protected constructor used by createExisting(ObjectId, DBTransaction) above. |
protected |
ProcessDataDO(java.sql.ResultSet rs)
Protected constructor. |
protected |
ProcessDataDO(java.sql.ResultSet rs,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
Protected constructor. |
Method Summary | |
---|---|
protected static boolean |
__beginTx(java.lang.String ldb)
|
static void |
__enableCaching()
|
protected static void |
__endTx()
|
protected void |
_setCNT(java.math.BigDecimal value)
_setCNT is a protected method that is called by setCNT if CNT is not part of a multicolumn foreign key. |
protected void |
_setOrdNo(int value)
_setOrdNo is a protected method that is called by setOrdNo if OrdNo is not part of a multicolumn foreign key. |
protected void |
_setProcess(ProcessDO value)
_setProcess is a protected method that is called by setProcess if Process is not part of a multicolumn foreign key. |
protected void |
_setVariableDefinitionId(java.lang.String value)
_setVariableDefinitionId is a protected method that is called by setVariableDefinitionId if VariableDefinitionId is not part of a multicolumn foreign key. |
protected void |
_setVariableType(short value)
_setVariableType is a protected method that is called by setVariableType if VariableType is not part of a multicolumn foreign key. |
protected void |
_setVariableValue(byte[] value)
_setVariableValue is a protected method that is called by setVariableValue if VariableValue is not part of a multicolumn foreign key. |
protected void |
_setVariableValueBOOL(boolean value)
_setVariableValueBOOL is a protected method that is called by setVariableValueBOOL if VariableValueBOOL is not part of a multicolumn foreign key. |
protected void |
_setVariableValueDATE(java.sql.Timestamp value)
_setVariableValueDATE is a protected method that is called by setVariableValueDATE if VariableValueDATE is not part of a multicolumn foreign key. |
protected void |
_setVariableValueDBL(double value)
_setVariableValueDBL is a protected method that is called by setVariableValueDBL if VariableValueDBL is not part of a multicolumn foreign key. |
protected void |
_setVariableValueLONG(long value)
_setVariableValueLONG is a protected method that is called by setVariableValueLONG if VariableValueLONG is not part of a multicolumn foreign key. |
protected void |
_setVariableValueVCHAR(java.lang.String value)
_setVariableValueVCHAR is a protected method that is called by setVariableValueVCHAR if VariableValueVCHAR is not part of a multicolumn foreign key. |
protected void |
_setVariableValueXML(org.w3c.dom.Node value)
_setVariableValueXML is a protected method that is called by setVariableValueXML if VariableValueXML is not part of a multicolumn foreign key. |
void |
addToCache()
Add DO's original data object to cache. |
static void |
addToCache(ProcessDataDataStruct newDS)
Add DataStruct object to cache. |
static ProcessDataDO |
ceInternal(java.math.BigDecimal bd)
Method ceInternal is public, only to allow generated classes to instantiate one another. |
static ProcessDataDO |
ceInternal(java.math.BigDecimal bd,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
Method ceInternal is public, only to allow generated classes to instantiate one another. |
protected static ProcessDataDO |
ceInternal(com.lutris.appserver.server.sql.ObjectId id)
ceInternal( ObjectId ) Factory method creates a ProcessDataDO object by searching for it in the database using the passed ObjectID value as the primary key. |
static ProcessDataDO |
ceInternal(com.lutris.appserver.server.sql.ObjectId id,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
ceInternal(ObjectId, DBTransaction) Factory method creates a ProcessDataDO object by searching for it in the database using the passed ObjectID value as the primary key. |
protected static ProcessDataDO |
ceInternal(com.lutris.dods.builder.generator.query.RDBColumnValue pk)
ceInternal( RDBColumnValue ) Factory method creates a ProcessDataDO object by searching for it in the database using the passed ProcessDataDO.PrimaryKey. |
protected static ProcessDataDO |
ceInternal(com.lutris.dods.builder.generator.query.RDBColumnValue pk,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
ceInternal( RDBColumnValue, DBTransaction ) Factory method creates a ProcessDataDO object by searching for it in the database using the passed ProcessDataDO.PrimaryKey. |
protected static ProcessDataDO |
ceInternal(com.lutris.dods.builder.generator.query.RDBRow row)
ceInternal( RDBRow ) Factory method creates a ProcessDataDO object by searching for it in the database using the ProcessDataDO.PrimaryKey value in the passed RDBRow. |
protected static ProcessDataDO |
ceInternal(com.lutris.dods.builder.generator.query.RDBRow row,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
ceInternal( RDBRow , DBTransaction) Factory method creates a ProcessDataDO object by searching for it in the database using the ProcessDataDO.PrimaryKey value in the passed RDBRow. |
protected static ProcessDataDO |
ceInternal(java.sql.ResultSet rs)
ceInternal( ResultSet , HashMap) Factory method used to create an instance of this class to represent a Data Object already existing in the database. |
protected static ProcessDataDO |
ceInternal(java.sql.ResultSet rs,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
ceInternal(ResultSet, DBTransaction) |
static ProcessDataDO |
ceInternal(java.lang.String handle)
Method ceInternal is public, only to allow generated classes to instantiate one another. |
static ProcessDataDO |
ceInternal(java.lang.String handle,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
Method ceInternal is public, only to allow generated classes to instantiate one another. |
protected void |
checkLoad()
Load the actual DO data if necessary. |
java.lang.Object |
cloneUnique()
Creates a clone of the object, but ensures that a new and unique object id is created for the object and that the version number is set to zero. |
void |
commit()
Deprecated. Use save() instead. |
void |
commit(com.lutris.appserver.server.sql.DBTransaction dbt)
Deprecated. Use save() instead. |
boolean |
compareCond(org.enhydra.dods.cache.Condition cond)
Compares whether this DO satisfies condition cond. |
static ProcessDataDO |
createCopy(ProcessDataDataStruct data)
Creates a DO that has no ObjectId but has a copy of an existing DO's data. |
static ProcessDataDO |
createCopy(ProcessDataDataStruct data,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
Creates a DO that has no ObjectId but has a copy of an existing DO's data. |
static ProcessDataDO |
createCopy(ProcessDataDO orig)
Creates a DO that has no ObjectId but has a copy of an existing DO's data. |
static ProcessDataDO |
createCopy(ProcessDataDO orig,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
|
static com.lutris.dods.builder.generator.dataobject.GenericDO |
createDO(com.lutris.appserver.server.sql.ObjectId oid)
Created DO with specified OID. |
static com.lutris.dods.builder.generator.dataobject.GenericDO |
createDO(com.lutris.appserver.server.sql.ObjectId oid,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
Created DO with specified OID. |
static ProcessDataDO |
createExisting(java.math.BigDecimal bd)
createExisting( BigDecimal ) Factory method creates a ProcessDataDO object by searching for it in the database using the passed BigDecimal value as the primary key. |
static ProcessDataDO |
createExisting(java.math.BigDecimal bd,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
createExisting(BigDecimal, DBTransaction) |
static ProcessDataDO |
createExisting(java.lang.String handle)
createExisting(String) The createExisting method is used to create a ProcessDataDO
from a string handle. |
static ProcessDataDO |
createExisting(java.lang.String handle,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
createExisting(String, DBTransaction) The createExisting method is used to create a ProcessDataDO
from a string handle. |
static com.lutris.appserver.server.sql.DBQuery |
createQuery()
createQuery() creates a new DBQuery. |
static com.lutris.appserver.server.sql.DBQuery |
createQuery(com.lutris.appserver.server.sql.DBTransaction trans)
createQuery() creates a new DBQuery. |
static com.lutris.appserver.server.sql.DBTransaction |
createTransaction()
createTransaction() creates a new DBTransaction. |
static ProcessDataDO |
createVirgin()
createVirgin() Creates a DO that has no ObjectId or data. |
static ProcessDataDO |
createVirgin(com.lutris.appserver.server.sql.DBTransaction dbTrans)
createVirgin(DBTransaction) |
void |
delete()
Deletes the DO from its table. |
void |
delete(com.lutris.appserver.server.sql.DBTransaction dbt)
Deletes the DO from its table. |
void |
delete(com.lutris.appserver.server.sql.DBTransaction dbt,
boolean rootDO)
Deletes the DO from its table. |
void |
deleteFromCache()
Delete object from cache |
static ProcessDataDataStruct |
deleteFromCache(ProcessDataDataStruct data)
Delete DataStruct object from cache |
static void |
disableCaching()
Disable caching. |
void |
doCheck(boolean value)
Specifies whether to lock this DO (row) in database just before commit. |
void |
doLock()
Locks this DO in database by performing "update set version=OLD_ONE where OID=X and version=OLD_ONE". |
void |
doTouch()
Locks this DO in database by performing "update set version=INCREMENTED where OID=X and version=OLD_ONE". |
void |
dumpData(boolean incrementVersion)
dumpData action. |
static void |
enableCaching()
Enable caching. |
boolean |
equals(java.lang.Object obj)
|
void |
evict()
Remove DataStruct from cache. |
static void |
evict(ProcessDataDataStruct[] DSs)
Remove DataStruct objects from cache. |
static void |
evict(java.lang.String dbName,
java.lang.String[] handles)
Remove DataStruct objects from cache. |
void |
executeInsert(com.lutris.appserver.server.sql.DBConnection conn)
Inserts this object into the database. |
void |
executeLockingStatement(com.lutris.appserver.server.sql.DBConnection conn)
Prepares and executes the statement used to lock this object in the database. |
void |
executeUpdate(com.lutris.appserver.server.sql.DBConnection conn)
|
void |
finalizeDelete(boolean success)
Currently does nothing. |
void |
finalizeInsert(boolean success)
If transaction succeeded marks this object as clean. |
void |
finalizeUpdate(boolean success)
If transaction succeeded marks this object as clean. |
static ProcessDataDataStruct |
findCachedObjectByHandle(java.lang.String cacheHandle)
Get DataStruct object with key cacheHandle from the cache. |
ProcessDataDO |
findTransactionCachedObjectByHandle(java.lang.String cacheHandle)
Get data object with key cacheHandle from the cache. |
java.lang.String |
get_CacheHandle()
Returns cache handle. |
java.lang.Object |
get_Data()
Returns DO's data. |
ProcessDataDataStruct |
get_DataStruct()
Returns dataStruct. |
java.lang.String |
get_Handle()
The methods
get_Handle
hasMatchingHandle
findCachedObjectByHandle
are used by Presentation Objects that need to populate
HTML select lists with Data Objects as options. |
static java.lang.String |
get_logicalDBName()
get_logicalDBName retrieves the logical database name set by setLogicalDBName(). |
int |
get_NewVersion()
get_NewVersion overloaded |
com.lutris.appserver.server.sql.ObjectId |
get_OId()
Returns this object's identifier. |
java.lang.String |
get_OriginDatabase()
Return the name of the logical database for which DO object was created. |
static org.enhydra.dods.statistics.Statistics |
get_statistics()
Get table statistics. |
com.lutris.appserver.server.sql.DBTransaction |
get_transaction()
Return transaction which DO belongs. |
static java.lang.String[] |
get_UsedLogicalDatabases()
Get all used logical databases. |
int |
get_Version()
get_Version makes the protected method public in CoreDO. |
static int |
getAsynchLoadPriority()
Returns priority for asynchronous cache initialization. |
static java.lang.String |
getCacheDodsTableName()
Get name of the table that is cached. |
java.math.BigDecimal |
getCNT()
Get CNT of the SHKProcessData. |
static org.enhydra.dods.cache.ConfigurationAdministration |
getConfigurationAdministration()
Returns SHKProcessData table cache. |
ProcessDataDataStruct |
getDataStruct()
Deprecated. Use get_DataStruct() |
java.sql.PreparedStatement |
getDeleteStatement(com.lutris.appserver.server.sql.DBConnection conn)
Prepares the statement used to delete this object from the database. |
java.sql.PreparedStatement |
getInsertStatement(com.lutris.appserver.server.sql.DBConnection conn)
Prepares the statement used to insert this object into the database. |
int |
getOrdNo()
Get OrdNo of the SHKProcessData. |
ProcessDO |
getProcess()
Get Process of the SHKProcessData. |
java.lang.String |
getStringVariableValueXML()
getStringVariableValueXML |
java.lang.String |
getTableName()
Return SHKProcessData as the name of the table in the database which contains ProcessDataDO objects. |
java.sql.PreparedStatement |
getUpdateStatement(com.lutris.appserver.server.sql.DBConnection conn)
Prepares the statement used to update this object in the database. |
static java.lang.String[] |
getUsedLogicalDatabases()
Deprecated. Use get_UsedLogicalDatabases() |
java.lang.String |
getVariableDefinitionId()
Get VariableDefinitionId of the SHKProcessData. |
short |
getVariableType()
Get VariableType of the SHKProcessData. |
byte[] |
getVariableValue()
Get VariableValue of the SHKProcessData. |
boolean |
getVariableValueBOOL()
Get VariableValueBOOL of the SHKProcessData. |
java.sql.Timestamp |
getVariableValueDATE()
Get VariableValueDATE of the SHKProcessData. |
double |
getVariableValueDBL()
Get VariableValueDBL of the SHKProcessData. |
long |
getVariableValueLONG()
Get VariableValueLONG of the SHKProcessData. |
java.lang.String |
getVariableValueVCHAR()
Get VariableValueVCHAR of the SHKProcessData. |
org.w3c.dom.Node |
getVariableValueXML()
Get VariableValueXML of the SHKProcessData. |
int |
hashCode()
|
boolean |
hasMatchingHandle(java.lang.String handle)
Compare string version of the id of this DO and handle. |
protected static boolean |
isAllReadOnly()
Returns value for AllReadOnly. |
static boolean |
isAsynchCacheLoadNeeded()
Returns information if asynchronous cache initialization is needed or not. |
protected boolean |
isAutoSave()
Returns value for AutoSave. |
protected boolean |
isAutoSaveCreateVirgin()
Returns value for AutoSaveCreateVirgin. |
protected boolean |
isDeleteCheckVersion()
Returns value for DeleteCheckVersion. |
boolean |
isDeleted()
Returns the value of delete tag. |
boolean |
isLoaded()
isLoaded() Returns information whether object's data is loaded from database. |
boolean |
isReadOnly()
Return information whether the data for this object has been marked read-only. |
static boolean |
isSimpleCacheUsed()
Returns information if simple cache is used or not. |
protected boolean |
isTransactionCaches()
Returns value for TransactionCaches. |
protected boolean |
isTransactionCheck()
Returns value for TransactionCheck. |
boolean |
isVirgin()
Returns information whether the DO is created virgin and hasn't been commited yet. |
static void |
loadCaches()
WARNING! |
void |
loadData()
Load the fields for the DO from the database. |
protected void |
makeIdentical(ProcessDataDO orig)
Assigns the DataStruct of an existing DO to this DO. |
void |
makeInvisible()
Make DO's data from cache Invisible. |
void |
makeReadOnly()
Mark the object as read-only. |
void |
makeReadWrite()
Mark the object as read-write. |
void |
makeVisible()
Make DO's data from cache visible. |
protected void |
modifyDO(com.lutris.appserver.server.sql.DBTransaction dbt,
boolean delete)
Modifies the DO within its table. |
protected void |
modifyDO(com.lutris.appserver.server.sql.DBTransaction dbt,
boolean delete,
boolean references)
Modifies the DO within its table. |
com.lutris.appserver.server.sql.ObjectId |
objectId_getProcess()
Get BigDecimal value of Process of the SHKProcessData. |
int |
objectIdentityType()
Return the type of the identity column(s) of DOs that these objects represents. |
java.math.BigDecimal |
oid_getProcess()
Get BigDecimal value of Process of the SHKProcessData. |
void |
oid_setProcess(java.math.BigDecimal value)
Set Process of the SHKProcessData. |
void |
oid_setProcess(com.lutris.appserver.server.sql.ObjectId value)
Set value for the Process of the SHKProcessData. |
void |
oid_setProcess(java.lang.String value)
Set Process of the SHKProcessData. |
protected void |
okToCommit()
A stub method for implementing pre-commit assertions for this ProcessDataDO. |
protected void |
okToCommitProcess(ProcessDO member)
A stub method for implementing pre-commit assertions for the Process data member. |
protected void |
okToDelete()
A stub method for implementing pre-delete assertions for this ProcessDataDO. |
protected void |
okToDeleteProcess(ProcessDO member)
A stub method for implementing pre-delete assertions for the Process data member. |
java.lang.Object |
originalData_get()
Returns original DO's data. |
java.math.BigDecimal |
originalData_getCNT()
Get original value of CNT from the SHKProcessData. |
int |
originalData_getOrdNo()
Get original value of OrdNo from the SHKProcessData. |
ProcessDO |
originalData_getProcess()
Get original value of Process from the SHKProcessData. |
java.lang.String |
originalData_getVariableDefinitionId()
Get original value of VariableDefinitionId from the SHKProcessData. |
short |
originalData_getVariableType()
Get original value of VariableType from the SHKProcessData. |
byte[] |
originalData_getVariableValue()
Get original value of VariableValue from the SHKProcessData. |
boolean |
originalData_getVariableValueBOOL()
Get original value of VariableValueBOOL from the SHKProcessData. |
java.sql.Timestamp |
originalData_getVariableValueDATE()
Get original value of VariableValueDATE from the SHKProcessData. |
double |
originalData_getVariableValueDBL()
Get original value of VariableValueDBL from the SHKProcessData. |
long |
originalData_getVariableValueLONG()
Get original value of VariableValueLONG from the SHKProcessData. |
java.lang.String |
originalData_getVariableValueVCHAR()
Get original value of VariableValueVCHAR from the SHKProcessData. |
org.w3c.dom.Node |
originalData_getVariableValueXML()
Get original value of VariableValueXML from the SHKProcessData. |
com.lutris.appserver.server.sql.ObjectId |
originalData_objectId_getProcess()
Get BigDecimal value of Process of the SHKProcessData. |
java.math.BigDecimal |
originalData_oid_getProcess()
Get BigDecimal value of Process of the SHKProcessData. |
void |
originalData_set(java.lang.Object value)
Sets original DO's data. |
static void |
readCacheConfiguration(java.lang.String database)
Read cache configuration from application configuration file: cache size for org.enhydra.shark.instancepersistence.data.SHKProcessData table or default cache size. |
void |
refresh()
This method is invoked whenever object needs to be loaded from database. |
static void |
refresh(ProcessDataDO[] DOs)
This method is invoked whenever objects needs to be loaded from database. |
static void |
refresh(java.lang.String querySnt)
Refresh cache by removing from the cache results of the query querySnt |
static void |
refreshCache()
Queries all rows in table, and for each row creates a DO instance in the cache. |
static void |
refreshStatistics()
Refresh table statistics. |
void |
reload()
Causes the DO to refresh itself from the database the next time a set or get method is called. |
void |
reloadData()
reloadData discards all changes application made to this object, and goes into database to fetch contents there. |
static ProcessDataDataStruct |
removeFromCache(ProcessDataDataStruct data)
Remove DataStruct from cache. |
static void |
removeFromCache(java.lang.String dbName,
java.lang.String handle)
Remove DataStruct object from cache. |
static ProcessDataDO |
retrieveFromTxCache(com.lutris.appserver.server.sql.CachedDBTransaction cbt,
java.lang.Object handle)
Return Object with the handle key from reference objects HashMap. |
void |
save()
Inserts/Updates the DO into its table. |
void |
save(boolean references)
Inserts/Updates the DO into its table. |
void |
save(com.lutris.appserver.server.sql.DBTransaction dbt)
Inserts/Updates the DO into its table. |
void |
save(com.lutris.appserver.server.sql.DBTransaction dbt,
boolean references)
Inserts/Updates the DO into its table. |
static void |
saveCaches()
WARNING! |
void |
set_Data(java.lang.Object data)
Sets DO's data. |
void |
set_NewVersion(int _ver)
set_NewVersion overloaded. |
protected void |
set_OId(com.lutris.appserver.server.sql.ObjectId _oId)
Sets this object's identifier. |
void |
set_Version(int _ver)
set_Version overloaded. |
void |
setCNT(java.math.BigDecimal value)
Set CNT of the SHKProcessData. |
void |
setDeleted(boolean flag)
Sets the value of delete tag. |
static void |
setLogicalDBName(java.lang.String logicalDbNameInConfFile)
Deprecated. It is dangeruous to use this method in multiuser environment because, this setings are applied to all users (sets logical database to all users) |
void |
setOrdNo(int value)
Set OrdNo of the SHKProcessData. |
void |
setProcess(ProcessDO value)
Set Process of the SHKProcessData. |
void |
setStringVariableValueXML(java.lang.String value)
setStringVariableValueXML if VariableValueXML |
protected boolean |
setTransaction(com.lutris.appserver.server.sql.DBTransaction trans)
Set Transaction to current DO. |
void |
setVariableDefinitionId(java.lang.String value)
Set VariableDefinitionId of the SHKProcessData. |
void |
setVariableType(short value)
Set VariableType of the SHKProcessData. |
void |
setVariableValue(byte[] value)
Set VariableValue of the SHKProcessData. |
void |
setVariableValueBOOL(boolean value)
Set VariableValueBOOL of the SHKProcessData. |
void |
setVariableValueDATE(java.sql.Timestamp value)
Set VariableValueDATE of the SHKProcessData. |
void |
setVariableValueDBL(double value)
Set VariableValueDBL of the SHKProcessData. |
void |
setVariableValueLONG(long value)
Set VariableValueLONG of the SHKProcessData. |
void |
setVariableValueVCHAR(java.lang.String value)
Set VariableValueVCHAR of the SHKProcessData. |
void |
setVariableValueXML(org.w3c.dom.Node value)
Set VariableValueXML of the SHKProcessData. |
java.lang.String |
toString()
|
java.lang.String |
toString(int indentCount)
|
void |
unDelete()
UnDeletes the DO and inserts to the table. |
void |
unDelete(com.lutris.appserver.server.sql.DBTransaction dbt)
UnDeletes the DO and inserts to the table. |
void |
undo()
Undo action. |
void |
updateCache()
Update Cache. |
static ProcessDataDataStruct |
updateCache(ProcessDataDataStruct updDS)
UpdateCache for given DataStruct object. |
void |
writeXML(java.io.Writer ow)
|
Methods inherited from class com.lutris.dods.builder.generator.dataobject.GenericDO |
---|
_tr_, addToTransactionCache, copyBigDecimal, copyByteArray, copyDate, copyObjectId, copyString, copyTime, copyTimestamp, createDO, executeDelete, get_primaryKeyName, getData, getHandle, getOriginDatabase, getPrimaryKeyName, isDirty, isExecutePartially, isNewDataDifferent_BigDecimal, isNewDataDifferent_boolean, isNewDataDifferent_byte, isNewDataDifferent_bytes, isNewDataDifferent_DO, isNewDataDifferent_double, isNewDataDifferent_float, isNewDataDifferent_int, isNewDataDifferent_java_math_BigDecimal, isNewDataDifferent_java_sql_Date, isNewDataDifferent_java_sql_Time, isNewDataDifferent_java_sql_Timestamp, isNewDataDifferent_long, isNewDataDifferent_short, isNewDataDifferent_String, makeIdentical, markClean, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, printMsg, setData, setExecutePartially, setPrepStmtParam_BigDecimal, setPrepStmtParam_boolean, setPrepStmtParam_byte, setPrepStmtParam_bytes, setPrepStmtParam_DO, setPrepStmtParam_double, setPrepStmtParam_float, setPrepStmtParam_int, setPrepStmtParam_java_math_BigDecimal, setPrepStmtParam_java_sql_Date, setPrepStmtParam_java_sql_Time, setPrepStmtParam_java_sql_Timestamp, setPrepStmtParam_long, setPrepStmtParam_ObjectId, setPrepStmtParam_short, setPrepStmtParam_String |
Methods inherited from class com.lutris.appserver.server.sql.CloneableDO |
---|
clone |
Methods inherited from class com.lutris.appserver.server.sql.CoreDO |
---|
disableVersioning, get_OIdColumnName, get_versionColumnName, getNewVersion, getOId, getOIdColumnName, getOriginalVersion, getVersion, getVersionColumnName, isPersistent, set_OIdColumnName, set_versionColumnName, setNewVersion, setOId, setOIdColumnName, setPersistent, setVersion, setVersionColumnName |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String tableName
public static final com.lutris.dods.builder.generator.query.RDBTable table
public static final com.lutris.dods.builder.generator.query.RDBColumn PrimaryKey
protected static final boolean notUsingOId
protected static org.enhydra.dods.statistics.Statistics statistics
protected static org.enhydra.dods.cache.DataStructCache cache
protected static boolean isFullCacheNeeded
protected static java.lang.String __tmln
protected boolean deleted
public static final com.lutris.dods.builder.generator.query.RDBColumn Process
public static final int COLUMN_PROCESS
public static final com.lutris.dods.builder.generator.query.RDBColumn VariableDefinitionId
public static final int COLUMN_VARIABLEDEFINITIONID
public static final int VariableDefinitionId_MaxLength
public static final com.lutris.dods.builder.generator.query.RDBColumn VariableType
public static final int COLUMN_VARIABLETYPE
public static final com.lutris.dods.builder.generator.query.RDBColumn VariableValue
public static final int COLUMN_VARIABLEVALUE
public static final com.lutris.dods.builder.generator.query.RDBColumn VariableValueXML
public static final int COLUMN_VARIABLEVALUEXML
public static final com.lutris.dods.builder.generator.query.RDBColumn VariableValueVCHAR
public static final int COLUMN_VARIABLEVALUEVCHAR
public static final int VariableValueVCHAR_MaxLength
public static final com.lutris.dods.builder.generator.query.RDBColumn VariableValueDBL
public static final int COLUMN_VARIABLEVALUEDBL
public static final com.lutris.dods.builder.generator.query.RDBColumn VariableValueLONG
public static final int COLUMN_VARIABLEVALUELONG
public static final com.lutris.dods.builder.generator.query.RDBColumn VariableValueDATE
public static final int COLUMN_VARIABLEVALUEDATE
public static final com.lutris.dods.builder.generator.query.RDBColumn VariableValueBOOL
public static final int COLUMN_VARIABLEVALUEBOOL
public static final com.lutris.dods.builder.generator.query.RDBColumn OrdNo
public static final int COLUMN_ORDNO
public static final com.lutris.dods.builder.generator.query.RDBColumn CNT
public static final int COLUMN_CNT
Constructor Detail |
---|
protected ProcessDataDO(boolean is_view) throws com.lutris.appserver.server.sql.ObjectIdException, com.lutris.appserver.server.sql.DatabaseManagerException
is_view
- Is this view or not.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.protected ProcessDataDO(boolean is_view, com.lutris.appserver.server.sql.DBTransaction dbTrans) throws com.lutris.appserver.server.sql.ObjectIdException, com.lutris.appserver.server.sql.DatabaseManagerException
is_view
- Is this view or not.dbTrans
- Database transaction.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.protected ProcessDataDO() throws com.lutris.appserver.server.sql.ObjectIdException, com.lutris.appserver.server.sql.DatabaseManagerException
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.protected ProcessDataDO(com.lutris.appserver.server.sql.DBTransaction dbTrans) throws com.lutris.appserver.server.sql.ObjectIdException, com.lutris.appserver.server.sql.DatabaseManagerException
dbTrans
- The current database transaction.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.protected ProcessDataDO(com.lutris.appserver.server.sql.ObjectId id) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
id
- The ObjectId for the object.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- Should never see this exception since GenericDO.ctor(ObjectId)
never accesses the database.protected ProcessDataDO(com.lutris.appserver.server.sql.ObjectId id, com.lutris.appserver.server.sql.DBTransaction dbTrans) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
id
- The ObjectId for the object.dbTrans
- The current database transaction
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- Should never see this exception since GenericDO.ctor(ObjectId)
never accesses the database.protected ProcessDataDO(java.sql.ResultSet rs) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
rs
- Result set from which to obtain product data.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.protected ProcessDataDO(java.sql.ResultSet rs, com.lutris.appserver.server.sql.DBTransaction dbTrans) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
rs
- Result set from which to obtain product data.dbTrans
- DBTransaction object.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.Method Detail |
---|
public java.lang.String get_OriginDatabase()
get_OriginDatabase
in class com.lutris.dods.builder.generator.dataobject.GenericDO
public java.lang.String getTableName()
getTableName
in class com.lutris.appserver.server.sql.CoreDO
CoreDO
author Jay Gunter
public com.lutris.appserver.server.sql.DBTransaction get_transaction()
protected boolean setTransaction(com.lutris.appserver.server.sql.DBTransaction trans)
trans
- The transaction.
public boolean isReadOnly()
public int objectIdentityType()
objectIdentityType
in class com.lutris.appserver.server.sql.CoreDO
CommonConstants.OBJECT_IDENTITY_TYPE
public void set_Data(java.lang.Object data)
set_Data
in class com.lutris.dods.builder.generator.dataobject.GenericDO
data
- Data object.public void originalData_set(java.lang.Object value)
originalData_set
in class com.lutris.dods.builder.generator.dataobject.GenericDO
value
- Data object.public java.lang.Object get_Data()
get_Data
in class com.lutris.dods.builder.generator.dataobject.GenericDO
public ProcessDataDataStruct getDataStruct()
public ProcessDataDataStruct get_DataStruct()
public java.lang.Object originalData_get()
originalData_get
in class com.lutris.appserver.server.sql.CoreDO
public boolean isLoaded()
public void loadData() throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.public static org.enhydra.dods.statistics.Statistics get_statistics()
public static void refreshStatistics()
public static java.lang.String[] getUsedLogicalDatabases()
public static java.lang.String[] get_UsedLogicalDatabases()
public static void readCacheConfiguration(java.lang.String database) throws org.enhydra.dods.exceptions.CacheObjectException
database
- DO's database.
org.enhydra.dods.exceptions.CacheObjectException
public static boolean isAsynchCacheLoadNeeded()
public static int getAsynchLoadPriority()
public static boolean isSimpleCacheUsed()
public static java.lang.String getCacheDodsTableName()
public static org.enhydra.dods.cache.ConfigurationAdministration getConfigurationAdministration()
protected static boolean __beginTx(java.lang.String ldb)
protected static void __endTx()
public static void saveCaches()
public static void loadCaches() throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException
java.sql.SQLException
com.lutris.appserver.server.sql.DatabaseManagerException
com.lutris.appserver.server.sql.ObjectIdException
com.lutris.dods.builder.generator.query.DataObjectException
public static void refreshCache() throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.public static void disableCaching() throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException
java.sql.SQLException
com.lutris.appserver.server.sql.DatabaseManagerException
com.lutris.appserver.server.sql.ObjectIdException
com.lutris.dods.builder.generator.query.DataObjectException
public static void enableCaching() throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException
java.sql.SQLException
com.lutris.appserver.server.sql.DatabaseManagerException
com.lutris.appserver.server.sql.ObjectIdException
com.lutris.dods.builder.generator.query.DataObjectException
public static void __enableCaching() throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException
java.sql.SQLException
com.lutris.appserver.server.sql.DatabaseManagerException
com.lutris.appserver.server.sql.ObjectIdException
com.lutris.dods.builder.generator.query.DataObjectException
public static void addToCache(ProcessDataDataStruct newDS)
newDS
- DataStruct object that will be added to cache.public void addToCache()
addToCache
in class com.lutris.appserver.server.sql.CoreDO
public static ProcessDataDataStruct updateCache(ProcessDataDataStruct updDS)
updDS
- DataStruct object
public void updateCache()
updateCache
in class com.lutris.appserver.server.sql.CoreDO
public static ProcessDataDataStruct deleteFromCache(ProcessDataDataStruct data)
data
- DataStruct object for deleting
public static void removeFromCache(java.lang.String dbName, java.lang.String handle)
dbName
- Logical name of the database from which
ProcessDataDataStruct object will be removed.handle
- Handle of DataStruct object which will be re moved.public void deleteFromCache()
deleteFromCache
in class com.lutris.appserver.server.sql.CoreDO
public static ProcessDataDataStruct removeFromCache(ProcessDataDataStruct data)
data
- DataStruct object which will be removed.
public void evict()
evict
in class com.lutris.appserver.server.sql.CoreDO
public static void evict(ProcessDataDataStruct[] DSs)
DSs
- Array of DataStruct objects which will be removed from cache.public static void evict(java.lang.String dbName, java.lang.String[] handles)
dbName
- Logical name of the database from which
ProcessDataDataStruct object will be removed.handles
- array of DataStruct object handles that will be removed
from cache.public void refresh() throws com.lutris.dods.builder.generator.query.DataObjectException
refresh
in class com.lutris.appserver.server.sql.CoreDO
com.lutris.dods.builder.generator.query.DataObjectException
- If a data access error occurs.public static void refresh(ProcessDataDO[] DOs) throws com.lutris.dods.builder.generator.query.DataObjectException
DOs
- Array of DOs which will be red from database.
com.lutris.dods.builder.generator.query.DataObjectException
- If a data access error occurs.public static void refresh(java.lang.String querySnt) throws com.lutris.dods.builder.generator.query.QueryException
querySnt
- query used in this
com.lutris.dods.builder.generator.query.QueryException
- If a data access error occurs.public static ProcessDataDO createVirgin() throws com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.appserver.server.sql.ObjectIdException
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.public static ProcessDataDO createVirgin(com.lutris.appserver.server.sql.DBTransaction dbTrans) throws com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.appserver.server.sql.ObjectIdException
dbTrans
- The current database transaction
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.public static ProcessDataDO createExisting(java.math.BigDecimal bd) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
bd
- The BigDecimal representation of the ObjectId for the object.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.public static ProcessDataDO ceInternal(java.math.BigDecimal bd) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
bd
- The BigDecimal representation of the ObjectId for the object.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.public static ProcessDataDO ceInternal(java.math.BigDecimal bd, com.lutris.appserver.server.sql.DBTransaction dbTrans) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
bd
- The BigDecimal representation of the ObjectId for the object.dbTrans
- The current database transaction.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.public static ProcessDataDO createExisting(java.math.BigDecimal bd, com.lutris.appserver.server.sql.DBTransaction dbTrans) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
bd
- The BigDecimal representation of the ObjectId for the object.dbTrans
- The current database transaction.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.public static ProcessDataDO createExisting(java.lang.String handle)
ProcessDataDO
from a string handle.
handle
- String representation of the ObjectId for the object.
public static ProcessDataDO ceInternal(java.lang.String handle)
handle
- String representation of the ObjectId for the object.
public static ProcessDataDO createExisting(java.lang.String handle, com.lutris.appserver.server.sql.DBTransaction dbTrans)
ProcessDataDO
from a string handle.
handle
- String representation of the ObjectId for the object.dbTrans
- The current database transaction.
public static ProcessDataDO ceInternal(java.lang.String handle, com.lutris.appserver.server.sql.DBTransaction dbTrans)
handle
- String representation of the ObjectId for the object.dbTrans
- The current database transaction.
public static ProcessDataDO ceInternal(com.lutris.appserver.server.sql.ObjectId id, com.lutris.appserver.server.sql.DBTransaction dbTrans) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
id
- The ObjectId for the object.dbTrans
- The current database transaction.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.protected static ProcessDataDO ceInternal(com.lutris.appserver.server.sql.ObjectId id) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
id
- The ObjectId for the object.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.protected static ProcessDataDO ceInternal(java.sql.ResultSet rs) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
rs
- The ResultSet returned by the Query class for
an existing Data Object stored in the database.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.protected static ProcessDataDO ceInternal(java.sql.ResultSet rs, com.lutris.appserver.server.sql.DBTransaction dbTrans) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
rs
- The ResultSet returned by the Query class for
an existing Data Object stored in the database.dbTrans
- The current database transaction
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.protected static ProcessDataDO ceInternal(com.lutris.dods.builder.generator.query.RDBRow row) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
row
- A row returned by QueryBuilder.getNextRow().
com.lutris.dods.builder.generator.query.DataObjectException
- If the RDBRow does not contain a ProcessDataDO.PrimaryKey.
If the object is not found in the database.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.protected static ProcessDataDO ceInternal(com.lutris.dods.builder.generator.query.RDBRow row, com.lutris.appserver.server.sql.DBTransaction dbTrans) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
row
- A row returned by QueryBuilder.getNextRow().dbTrans
- The current database transaction.
com.lutris.dods.builder.generator.query.DataObjectException
- If the RDBRow does not contain a ProcessDataDO.PrimaryKey.
If the object is not found in the database.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.protected static ProcessDataDO ceInternal(com.lutris.dods.builder.generator.query.RDBColumnValue pk) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
pk
- a PrimaryKey column value from a row that was returned by
QueryBuilder.getNextRow().
com.lutris.dods.builder.generator.query.DataObjectException
- If the RDBColumnValue does not contain a ProcessDataDO.PrimaryKey.
If the object is not found in the database.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.protected static ProcessDataDO ceInternal(com.lutris.dods.builder.generator.query.RDBColumnValue pk, com.lutris.appserver.server.sql.DBTransaction dbTrans) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
pk
- a PrimaryKey column value from a row that was returned by
QueryBuilder.getNextRow().dbTrans
- The current database transaction.
com.lutris.dods.builder.generator.query.DataObjectException
- If the RDBColumnValue does not contain a ProcessDataDO.PrimaryKey.
If the object is not found in the database.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.public static ProcessDataDO createCopy(ProcessDataDataStruct data) throws com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.appserver.server.sql.ObjectIdException
data
- The data struct to copy values from.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.public static ProcessDataDO createCopy(ProcessDataDataStruct data, com.lutris.appserver.server.sql.DBTransaction dbTrans) throws com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.appserver.server.sql.ObjectIdException
data
- The data struct to copy values from.dbTrans
- The current database transaction
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.public static ProcessDataDO createCopy(ProcessDataDO orig) throws com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.appserver.server.sql.ObjectIdException
orig
- The original DO to copy.
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.public static ProcessDataDO createCopy(ProcessDataDO orig, com.lutris.appserver.server.sql.DBTransaction dbTrans) throws com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.appserver.server.sql.ObjectIdException
orig
- The original DO to copy.dbTrans
- The current database transaction
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.public void reload()
public java.lang.String get_Handle() throws com.lutris.appserver.server.sql.DatabaseManagerException
get_Handle
hasMatchingHandle
findCachedObjectByHandle
are used by Presentation Objects that need to populate
HTML select lists with Data Objects as options.
The get_Handle()
method is used
to set the value for each option,
and the hasMatchingHandle()
methods are used to lookup the Data Object when the selection has
been made.
- Overrides:
get_Handle
in class com.lutris.dods.builder.generator.dataobject.GenericDO
- Returns:
- id of this DO as a string
If an object's id can't be allocated for this object.
- Throws:
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
public java.lang.String get_CacheHandle() throws com.lutris.appserver.server.sql.DatabaseManagerException
get_CacheHandle
in class com.lutris.dods.builder.generator.dataobject.GenericDO
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.public static com.lutris.dods.builder.generator.dataobject.GenericDO createDO(com.lutris.appserver.server.sql.ObjectId oid) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
oid
- DO's oid.
java.sql.SQLException
com.lutris.appserver.server.sql.ObjectIdException
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.public static com.lutris.dods.builder.generator.dataobject.GenericDO createDO(com.lutris.appserver.server.sql.ObjectId oid, com.lutris.appserver.server.sql.DBTransaction dbTrans) throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.appserver.server.sql.DatabaseManagerException
oid
- DO's oid.dbTrans
- The current database transaction.
java.sql.SQLException
com.lutris.appserver.server.sql.ObjectIdException
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.public boolean hasMatchingHandle(java.lang.String handle)
handle
- String
version of DO id.
get_Handle
public ProcessDataDO findTransactionCachedObjectByHandle(java.lang.String cacheHandle)
cacheHandle
- String
version of concatenation of:
name of the data object's database, followed by '.', followed by
data object's id.
ProcessDataDO
Object if one is found in cache, otherwise null.get_Handle
public static ProcessDataDataStruct findCachedObjectByHandle(java.lang.String cacheHandle)
cacheHandle
- String
version of concatenation of:
name of the data object's database, followed by '.', followed by
data object's id.
ProcessDataDataStruct
Object if one is found in cache, otherwise null.get_Handle
protected void makeIdentical(ProcessDataDO orig)
orig
- The original DO.public int get_Version()
get_Version
in class com.lutris.appserver.server.sql.CoreDO
public int get_NewVersion()
get_NewVersion
in class com.lutris.appserver.server.sql.CoreDO
public void set_Version(int _ver)
set_Version
in class com.lutris.appserver.server.sql.CoreDO
_ver
- DO's version.public void set_NewVersion(int _ver)
set_NewVersion
in class com.lutris.appserver.server.sql.CoreDO
_ver
- Ignored.public void makeReadOnly()
public void makeReadWrite()
public static ProcessDataDO retrieveFromTxCache(com.lutris.appserver.server.sql.CachedDBTransaction cbt, java.lang.Object handle)
handle
- DO's handle.cbt
- CachedDBTransaction
public com.lutris.appserver.server.sql.ObjectId get_OId()
get_OId
in class com.lutris.appserver.server.sql.CoreDO
protected void set_OId(com.lutris.appserver.server.sql.ObjectId _oId)
set_OId
in class com.lutris.dods.builder.generator.dataobject.GenericDO
_oId
- this object's identifier.public java.lang.Object cloneUnique() throws com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.appserver.server.sql.ObjectIdException
cloneUnique
in class com.lutris.dods.builder.generator.dataobject.GenericDO
com.lutris.appserver.server.sql.DatabaseManagerException
- if an error occurs while
allocation a new object id from the default logical database.
com.lutris.appserver.server.sql.ObjectIdException
- if a new object id could not be
allocated.public boolean isDeleted()
public void setDeleted(boolean flag)
flag
- true if DO has been deleted, but not commited yet.public void finalizeInsert(boolean success)
finalizeInsert
in interface com.lutris.appserver.server.sql.Transaction
finalizeInsert
in class com.lutris.dods.builder.generator.dataobject.GenericDO
success
- true if the transaction succeeded
and this object was successfully inserted into the database.public void finalizeUpdate(boolean success)
finalizeUpdate
in interface com.lutris.appserver.server.sql.Transaction
finalizeUpdate
in class com.lutris.dods.builder.generator.dataobject.GenericDO
success
- true if the transaction succeeded
and this object was successfully updated in the database.public void finalizeDelete(boolean success)
finalizeDelete
in interface com.lutris.appserver.server.sql.Transaction
finalizeDelete
in class com.lutris.appserver.server.sql.CoreDO
success
- true if the transaction succeeded
and this object was successfully deleted from the
database.public boolean isVirgin()
public void makeVisible()
makeVisible
in class com.lutris.appserver.server.sql.CoreDO
public void makeInvisible()
makeInvisible
in class com.lutris.appserver.server.sql.CoreDO
public void executeInsert(com.lutris.appserver.server.sql.DBConnection conn) throws java.sql.SQLException
executeInsert
in interface com.lutris.appserver.server.sql.Transaction
executeInsert
in class com.lutris.dods.builder.generator.dataobject.GenericDO
conn
- the database connection.
java.sql.SQLException
- if a database access error occurs.
com.lutris.appserver.server.sql.DBRowUpdateException
- If a version error occurs.public void executeUpdate(com.lutris.appserver.server.sql.DBConnection conn) throws java.sql.SQLException
executeUpdate
in interface com.lutris.appserver.server.sql.Transaction
executeUpdate
in class com.lutris.dods.builder.generator.dataobject.GenericDO
java.sql.SQLException
protected boolean isAutoSave()
protected boolean isAutoSaveCreateVirgin()
protected boolean isTransactionCheck()
protected boolean isTransactionCaches()
protected boolean isDeleteCheckVersion()
protected static boolean isAllReadOnly()
protected void checkLoad() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If a data access error occurs.public void undo() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
public void dumpData(boolean incrementVersion)
dumpData
in class com.lutris.appserver.server.sql.CoreDO
incrementVersion
- Increment version.public void reloadData() throws java.sql.SQLException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.ObjectIdException
- If an object's id can't be allocated for this object.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.public int hashCode()
hashCode
in class java.lang.Object
public void writeXML(java.io.Writer ow) throws com.lutris.dods.builder.generator.query.DataObjectException
writeXML
in class com.lutris.dods.builder.generator.dataobject.GenericDO
com.lutris.dods.builder.generator.query.DataObjectException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public ProcessDO getProcess() throws com.lutris.dods.builder.generator.query.DataObjectException
getProcess
in interface ProcessDataDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public com.lutris.appserver.server.sql.ObjectId objectId_getProcess() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.math.BigDecimal oid_getProcess() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public ProcessDO originalData_getProcess() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public com.lutris.appserver.server.sql.ObjectId originalData_objectId_getProcess() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.math.BigDecimal originalData_oid_getProcess() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void setProcess(ProcessDO value) throws com.lutris.dods.builder.generator.query.DataObjectException
setProcess
in interface ProcessDataDOI
value
- for the Process of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setProcess(ProcessDO value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the Process of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setProcess(com.lutris.appserver.server.sql.ObjectId value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of Process of the SHKProcessData as a ObjectId value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setProcess(java.math.BigDecimal value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of Process of the SHKProcessData as a BigDecimal value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setProcess(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of Process of the SHKProcessData as a String value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String getVariableDefinitionId() throws com.lutris.dods.builder.generator.query.DataObjectException
getVariableDefinitionId
in interface ProcessDataDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String originalData_getVariableDefinitionId() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void setVariableDefinitionId(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
setVariableDefinitionId
in interface ProcessDataDOI
value
- for the VariableDefinitionId of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setVariableDefinitionId(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the VariableDefinitionId of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public short getVariableType() throws com.lutris.dods.builder.generator.query.DataObjectException
getVariableType
in interface ProcessDataDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public short originalData_getVariableType() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void setVariableType(short value) throws com.lutris.dods.builder.generator.query.DataObjectException
setVariableType
in interface ProcessDataDOI
value
- for the VariableType of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setVariableType(short value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the VariableType of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public byte[] getVariableValue() throws com.lutris.dods.builder.generator.query.DataObjectException
getVariableValue
in interface ProcessDataDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public byte[] originalData_getVariableValue() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void setVariableValue(byte[] value) throws com.lutris.dods.builder.generator.query.DataObjectException
setVariableValue
in interface ProcessDataDOI
value
- for the VariableValue of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setVariableValue(byte[] value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the VariableValue of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public org.w3c.dom.Node getVariableValueXML() throws com.lutris.dods.builder.generator.query.DataObjectException
getVariableValueXML
in interface ProcessDataDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public org.w3c.dom.Node originalData_getVariableValueXML() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void setVariableValueXML(org.w3c.dom.Node value) throws com.lutris.dods.builder.generator.query.DataObjectException
setVariableValueXML
in interface ProcessDataDOI
value
- for the VariableValueXML of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void setStringVariableValueXML(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the VariableValueXML of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String getStringVariableValueXML() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setVariableValueXML(org.w3c.dom.Node value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the VariableValueXML of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String getVariableValueVCHAR() throws com.lutris.dods.builder.generator.query.DataObjectException
getVariableValueVCHAR
in interface ProcessDataDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String originalData_getVariableValueVCHAR() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void setVariableValueVCHAR(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
setVariableValueVCHAR
in interface ProcessDataDOI
value
- for the VariableValueVCHAR of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setVariableValueVCHAR(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the VariableValueVCHAR of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public double getVariableValueDBL() throws com.lutris.dods.builder.generator.query.DataObjectException
getVariableValueDBL
in interface ProcessDataDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public double originalData_getVariableValueDBL() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void setVariableValueDBL(double value) throws com.lutris.dods.builder.generator.query.DataObjectException
setVariableValueDBL
in interface ProcessDataDOI
value
- for the VariableValueDBL of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setVariableValueDBL(double value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the VariableValueDBL of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public long getVariableValueLONG() throws com.lutris.dods.builder.generator.query.DataObjectException
getVariableValueLONG
in interface ProcessDataDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public long originalData_getVariableValueLONG() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void setVariableValueLONG(long value) throws com.lutris.dods.builder.generator.query.DataObjectException
setVariableValueLONG
in interface ProcessDataDOI
value
- for the VariableValueLONG of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setVariableValueLONG(long value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the VariableValueLONG of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.sql.Timestamp getVariableValueDATE() throws com.lutris.dods.builder.generator.query.DataObjectException
getVariableValueDATE
in interface ProcessDataDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.sql.Timestamp originalData_getVariableValueDATE() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void setVariableValueDATE(java.sql.Timestamp value) throws com.lutris.dods.builder.generator.query.DataObjectException
setVariableValueDATE
in interface ProcessDataDOI
value
- for the VariableValueDATE of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setVariableValueDATE(java.sql.Timestamp value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the VariableValueDATE of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public boolean getVariableValueBOOL() throws com.lutris.dods.builder.generator.query.DataObjectException
getVariableValueBOOL
in interface ProcessDataDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public boolean originalData_getVariableValueBOOL() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void setVariableValueBOOL(boolean value) throws com.lutris.dods.builder.generator.query.DataObjectException
setVariableValueBOOL
in interface ProcessDataDOI
value
- for the VariableValueBOOL of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setVariableValueBOOL(boolean value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the VariableValueBOOL of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public int getOrdNo() throws com.lutris.dods.builder.generator.query.DataObjectException
getOrdNo
in interface ProcessDataDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public int originalData_getOrdNo() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void setOrdNo(int value) throws com.lutris.dods.builder.generator.query.DataObjectException
setOrdNo
in interface ProcessDataDOI
value
- for the OrdNo of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setOrdNo(int value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the OrdNo of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.math.BigDecimal getCNT() throws com.lutris.dods.builder.generator.query.DataObjectException
getCNT
in interface ProcessDataDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.math.BigDecimal originalData_getCNT() throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void setCNT(java.math.BigDecimal value) throws com.lutris.dods.builder.generator.query.DataObjectException
setCNT
in interface ProcessDataDOI
value
- for the CNT of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setCNT(java.math.BigDecimal value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the CNT of the SHKProcessData.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public boolean compareCond(org.enhydra.dods.cache.Condition cond)
compareCond
in class com.lutris.dods.builder.generator.dataobject.GenericDO
cond
- condition.
public static void setLogicalDBName(java.lang.String logicalDbNameInConfFile)
logicalDbNameInConfFile
- The logical database specified in the
application's .conf file.public static java.lang.String get_logicalDBName()
public static com.lutris.appserver.server.sql.DBTransaction createTransaction() throws com.lutris.appserver.server.sql.DatabaseManagerException, java.sql.SQLException
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.public static com.lutris.appserver.server.sql.DBQuery createQuery() throws com.lutris.appserver.server.sql.DatabaseManagerException, java.sql.SQLException
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.public static com.lutris.appserver.server.sql.DBQuery createQuery(com.lutris.appserver.server.sql.DBTransaction trans) throws com.lutris.appserver.server.sql.DatabaseManagerException, java.sql.SQLException
trans
- DBTransaction
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.public java.sql.PreparedStatement getInsertStatement(com.lutris.appserver.server.sql.DBConnection conn) throws java.sql.SQLException
getInsertStatement
in class com.lutris.appserver.server.sql.CoreDO
conn
- The database connection.
java.sql.SQLException
- if an error occurs.public void doCheck(boolean value)
value
- true for locking, false otherwisepublic void doLock() throws java.sql.SQLException
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.public void doTouch() throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.appserver.server.sql.ObjectIdException, com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.
com.lutris.appserver.server.sql.ObjectIdException
com.lutris.dods.builder.generator.query.DataObjectException
public void executeLockingStatement(com.lutris.appserver.server.sql.DBConnection conn) throws java.sql.SQLException
executeLockingStatement
in class com.lutris.appserver.server.sql.CoreDO
conn
- The database connection
java.sql.SQLException
- if an error occurs.public java.sql.PreparedStatement getUpdateStatement(com.lutris.appserver.server.sql.DBConnection conn) throws java.sql.SQLException
getUpdateStatement
in class com.lutris.appserver.server.sql.CoreDO
conn
- The database connection
java.sql.SQLException
- if an error occurs.public java.sql.PreparedStatement getDeleteStatement(com.lutris.appserver.server.sql.DBConnection conn) throws java.sql.SQLException
getDeleteStatement
in class com.lutris.appserver.server.sql.CoreDO
conn
- The database connection
java.sql.SQLException
- if an error occurs.public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(int indentCount)
toString
in class com.lutris.dods.builder.generator.dataobject.GenericDO
protected void okToCommit() throws com.lutris.dods.builder.generator.query.RefAssertionException
com.lutris.dods.builder.generator.query.RefAssertionException
protected void okToDelete() throws com.lutris.dods.builder.generator.query.RefAssertionException
com.lutris.dods.builder.generator.query.RefAssertionException
public void commit() throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.dods.builder.generator.query.RefAssertionException, com.lutris.appserver.server.sql.DBRowUpdateException, com.lutris.dods.builder.generator.query.QueryException
commit
in interface ProcessDataDOI
com.lutris.appserver.server.sql.DatabaseManagerException
- If a Transaction can not be created.
com.lutris.dods.builder.generator.query.RefAssertionException
- Thrown by okTo method.
java.sql.SQLException
- If any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException
public void commit(com.lutris.appserver.server.sql.DBTransaction dbt) throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.dods.builder.generator.query.RefAssertionException, com.lutris.appserver.server.sql.DBRowUpdateException, com.lutris.dods.builder.generator.query.QueryException
commit
in interface ProcessDataDOI
dbt
- The transaction object used for this operation.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a Transaction can not be created.
com.lutris.dods.builder.generator.query.RefAssertionException
- Thrown by okTo method.
java.sql.SQLException
- If any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException
public void save() throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.dods.builder.generator.query.RefAssertionException, com.lutris.appserver.server.sql.DBRowUpdateException, com.lutris.dods.builder.generator.query.QueryException
save
in interface ProcessDataDOI
com.lutris.appserver.server.sql.DatabaseManagerException
- If a Transaction can not be created.
com.lutris.dods.builder.generator.query.RefAssertionException
- Thrown by okTo method.
java.sql.SQLException
- If any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException
- WebDocWf extensionpublic void save(boolean references) throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.dods.builder.generator.query.RefAssertionException, com.lutris.appserver.server.sql.DBRowUpdateException, com.lutris.dods.builder.generator.query.QueryException
references
- True if references should be saved with this DO.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a Transaction can not be created.
com.lutris.dods.builder.generator.query.RefAssertionException
- Thrown by okTo method.
java.sql.SQLException
- If any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException
- WebDocWf extensionpublic void save(com.lutris.appserver.server.sql.DBTransaction dbt) throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.dods.builder.generator.query.RefAssertionException, com.lutris.appserver.server.sql.DBRowUpdateException, com.lutris.dods.builder.generator.query.QueryException
save
in interface ProcessDataDOI
dbt
- The transaction object used for this operation.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a Transaction can not be created.
com.lutris.dods.builder.generator.query.RefAssertionException
- Thrown by okTo method.
java.sql.SQLException
- If any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException
- WebDocWf extensionpublic void save(com.lutris.appserver.server.sql.DBTransaction dbt, boolean references) throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.dods.builder.generator.query.RefAssertionException, com.lutris.appserver.server.sql.DBRowUpdateException, com.lutris.dods.builder.generator.query.QueryException
dbt
- The transaction object used for this operation.references
- True if references of this DO should be saved.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a Transaction can not be created.
com.lutris.dods.builder.generator.query.RefAssertionException
- Thrown by okTo method.
java.sql.SQLException
- If any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException
- WebDocWf extensionpublic void delete() throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.dods.builder.generator.query.RefAssertionException, com.lutris.appserver.server.sql.DBRowUpdateException, com.lutris.dods.builder.generator.query.QueryException
delete
in interface ProcessDataDOI
delete
in class com.lutris.dods.builder.generator.dataobject.GenericDO
com.lutris.appserver.server.sql.DatabaseManagerException
- If a Transaction can not be created.
com.lutris.dods.builder.generator.query.RefAssertionException
- Thrown by okTo method.
java.sql.SQLException
- If any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException
public void delete(com.lutris.appserver.server.sql.DBTransaction dbt) throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.dods.builder.generator.query.RefAssertionException, com.lutris.appserver.server.sql.DBRowUpdateException, com.lutris.dods.builder.generator.query.QueryException
delete
in interface ProcessDataDOI
dbt
- The transaction object used for this operation.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a Transaction can not be created.
com.lutris.dods.builder.generator.query.RefAssertionException
- Thrown by okTo method.
java.sql.SQLException
- If any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException
public void unDelete() throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.dods.builder.generator.query.RefAssertionException, com.lutris.appserver.server.sql.DBRowUpdateException, com.lutris.dods.builder.generator.query.QueryException
com.lutris.appserver.server.sql.DatabaseManagerException
- If a Transaction can not be created.
com.lutris.dods.builder.generator.query.RefAssertionException
- Thrown by okTo method.
java.sql.SQLException
- If any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException
public void delete(com.lutris.appserver.server.sql.DBTransaction dbt, boolean rootDO) throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.dods.builder.generator.query.RefAssertionException, com.lutris.appserver.server.sql.DBRowUpdateException, com.lutris.dods.builder.generator.query.QueryException
dbt
- The transaction object used for this operation.rootDO
- Is DO root in DELETE CASCADE sekvence
com.lutris.appserver.server.sql.DatabaseManagerException
- If a Transaction can not be created.
com.lutris.dods.builder.generator.query.RefAssertionException
- Thrown by okTo method.
java.sql.SQLException
- If any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException
public void unDelete(com.lutris.appserver.server.sql.DBTransaction dbt) throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.dods.builder.generator.query.RefAssertionException, com.lutris.appserver.server.sql.DBRowUpdateException, com.lutris.dods.builder.generator.query.QueryException
dbt
- The transaction object used for this operation.
com.lutris.appserver.server.sql.DatabaseManagerException
- If a Transaction can not be created.
com.lutris.dods.builder.generator.query.RefAssertionException
- Thrown by okTo method.
java.sql.SQLException
- If any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException
protected void okToCommitProcess(ProcessDO member) throws com.lutris.dods.builder.generator.query.RefAssertionException
member
- Process data member.
com.lutris.dods.builder.generator.query.RefAssertionException
protected void okToDeleteProcess(ProcessDO member) throws com.lutris.dods.builder.generator.query.RefAssertionException
member
- Process data member
com.lutris.dods.builder.generator.query.RefAssertionException
protected void modifyDO(com.lutris.appserver.server.sql.DBTransaction dbt, boolean delete) throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.dods.builder.generator.query.RefAssertionException, com.lutris.appserver.server.sql.DBRowUpdateException, com.lutris.dods.builder.generator.query.QueryException
dbt
- The transaction object used for this operation.delete
- True if doing a delete, otherwise false (for insert/update).
com.lutris.appserver.server.sql.DatabaseManagerException
- If a Transaction can not be created.
com.lutris.dods.builder.generator.query.RefAssertionException
- Thrown by okTo method.
java.sql.SQLException
- If any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException
- WebDocWf extensionprotected void modifyDO(com.lutris.appserver.server.sql.DBTransaction dbt, boolean delete, boolean references) throws java.sql.SQLException, com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.dods.builder.generator.query.DataObjectException, com.lutris.dods.builder.generator.query.RefAssertionException, com.lutris.appserver.server.sql.DBRowUpdateException, com.lutris.dods.builder.generator.query.QueryException
dbt
- The transaction object used for this operation.delete
- True if doing a delete, otherwise false (for insert/update).references
- True if references should be saved
com.lutris.appserver.server.sql.DatabaseManagerException
- If a Transaction can not be created.
com.lutris.dods.builder.generator.query.RefAssertionException
- Thrown by okTo method.
java.sql.SQLException
- If any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException
- WebDocWf extension
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |