|
||||||||||
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.eventaudit.data.StateEventAuditDO
Data core class, used to set and retrieve the StateEventAuditDO information.
Field Summary | |
static com.lutris.dods.builder.generator.query.RDBColumn |
ActivityDefinitionId
static final RDBColumn ActivityDefinitionId for use with QueryBuilder. |
static int |
ActivityDefinitionId_MaxLength
|
static com.lutris.dods.builder.generator.query.RDBColumn |
ActivityDefinitionName
static final RDBColumn ActivityDefinitionName for use with QueryBuilder. |
static int |
ActivityDefinitionName_MaxLength
|
static com.lutris.dods.builder.generator.query.RDBColumn |
ActivityDefinitionType
static final RDBColumn ActivityDefinitionType for use with QueryBuilder. |
static com.lutris.dods.builder.generator.query.RDBColumn |
ActivityId
static final RDBColumn ActivityId for use with QueryBuilder. |
static int |
ActivityId_MaxLength
|
static com.lutris.dods.builder.generator.query.RDBColumn |
ActivityName
static final RDBColumn ActivityName for use with QueryBuilder. |
static int |
ActivityName_MaxLength
|
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_ACTIVITYDEFINITIONID
Use for query caching. |
static int |
COLUMN_ACTIVITYDEFINITIONNAME
Use for query caching. |
static int |
COLUMN_ACTIVITYDEFINITIONTYPE
Use for query caching. |
static int |
COLUMN_ACTIVITYID
Use for query caching. |
static int |
COLUMN_ACTIVITYNAME
Use for query caching. |
static int |
COLUMN_CNT
Use for query caching. |
static int |
COLUMN_NEWACTIVITYSTATE
Use for query caching. |
static int |
COLUMN_NEWPROCESSSTATE
Use for query caching. |
static int |
COLUMN_OLDACTIVITYSTATE
Use for query caching. |
static int |
COLUMN_OLDPROCESSSTATE
Use for query caching. |
static int |
COLUMN_PACKAGEID
Use for query caching. |
static int |
COLUMN_PROCESSDEFINITIONID
Use for query caching. |
static int |
COLUMN_PROCESSDEFINITIONNAME
Use for query caching. |
static int |
COLUMN_PROCESSFACTORYNAME
Use for query caching. |
static int |
COLUMN_PROCESSFACTORYVERSION
Use for query caching. |
static int |
COLUMN_PROCESSID
Use for query caching. |
static int |
COLUMN_PROCESSNAME
Use for query caching. |
static int |
COLUMN_RECORDEDTIME
Use for query caching. |
static int |
COLUMN_RECORDEDTIMETZO
Use for query caching. |
static int |
COLUMN_THETYPE
Use for query caching. |
static int |
COLUMN_THEUSERNAME
Use for query caching. |
protected boolean |
deleted
|
protected static boolean |
isFullCacheNeeded
|
static com.lutris.dods.builder.generator.query.RDBColumn |
NewActivityState
static final RDBColumn NewActivityState for use with QueryBuilder. |
static com.lutris.dods.builder.generator.query.RDBColumn |
NewProcessState
static final RDBColumn NewProcessState for use with QueryBuilder. |
protected static boolean |
notUsingOId
|
static com.lutris.dods.builder.generator.query.RDBColumn |
OldActivityState
static final RDBColumn OldActivityState for use with QueryBuilder. |
static com.lutris.dods.builder.generator.query.RDBColumn |
OldProcessState
static final RDBColumn OldProcessState for use with QueryBuilder. |
static com.lutris.dods.builder.generator.query.RDBColumn |
PackageId
static final RDBColumn PackageId for use with QueryBuilder. |
static int |
PackageId_MaxLength
|
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 |
ProcessDefinitionId
static final RDBColumn ProcessDefinitionId for use with QueryBuilder. |
static int |
ProcessDefinitionId_MaxLength
|
static com.lutris.dods.builder.generator.query.RDBColumn |
ProcessDefinitionName
static final RDBColumn ProcessDefinitionName for use with QueryBuilder. |
static int |
ProcessDefinitionName_MaxLength
|
static com.lutris.dods.builder.generator.query.RDBColumn |
ProcessFactoryName
static final RDBColumn ProcessFactoryName for use with QueryBuilder. |
static int |
ProcessFactoryName_MaxLength
|
static com.lutris.dods.builder.generator.query.RDBColumn |
ProcessFactoryVersion
static final RDBColumn ProcessFactoryVersion for use with QueryBuilder. |
static int |
ProcessFactoryVersion_MaxLength
|
static com.lutris.dods.builder.generator.query.RDBColumn |
ProcessId
static final RDBColumn ProcessId for use with QueryBuilder. |
static int |
ProcessId_MaxLength
|
static com.lutris.dods.builder.generator.query.RDBColumn |
ProcessName
static final RDBColumn ProcessName for use with QueryBuilder. |
static int |
ProcessName_MaxLength
|
static com.lutris.dods.builder.generator.query.RDBColumn |
RecordedTime
static final RDBColumn RecordedTime for use with QueryBuilder. |
static com.lutris.dods.builder.generator.query.RDBColumn |
RecordedTimeTZO
static final RDBColumn RecordedTimeTZO 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 |
TheType
static final RDBColumn TheType for use with QueryBuilder. |
static com.lutris.dods.builder.generator.query.RDBColumn |
TheUsername
static final RDBColumn TheUsername for use with QueryBuilder. |
static int |
TheUsername_MaxLength
|
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 |
StateEventAuditDO()
Protected constructor. |
protected |
StateEventAuditDO(boolean is_view)
Protected constructor. |
protected |
StateEventAuditDO(boolean is_view,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
Protected constructor. |
protected |
StateEventAuditDO(com.lutris.appserver.server.sql.DBTransaction dbTrans)
Protected constructor. |
protected |
StateEventAuditDO(com.lutris.appserver.server.sql.ObjectId id)
Protected constructor used by createExisting(ObjectId) above. |
protected |
StateEventAuditDO(com.lutris.appserver.server.sql.ObjectId id,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
Protected constructor used by createExisting(ObjectId, DBTransaction) above. |
protected |
StateEventAuditDO(java.sql.ResultSet rs)
Protected constructor. |
protected |
StateEventAuditDO(java.sql.ResultSet rs,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
Protected constructor. |
Method Summary | |
protected void |
_setActivityDefinitionId(java.lang.String value)
_setActivityDefinitionId is a protected method that is called by setActivityDefinitionId if ActivityDefinitionId is not part of a multicolumn foreign key. |
protected void |
_setActivityDefinitionName(java.lang.String value)
_setActivityDefinitionName is a protected method that is called by setActivityDefinitionName if ActivityDefinitionName is not part of a multicolumn foreign key. |
protected void |
_setActivityDefinitionType(int value)
_setActivityDefinitionType is a protected method that is called by setActivityDefinitionType if ActivityDefinitionType is not part of a multicolumn foreign key. |
protected void |
_setActivityId(java.lang.String value)
_setActivityId is a protected method that is called by setActivityId if ActivityId is not part of a multicolumn foreign key. |
protected void |
_setActivityName(java.lang.String value)
_setActivityName is a protected method that is called by setActivityName if ActivityName is not part of a multicolumn foreign key. |
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 |
_setNewActivityState(ActivityStateEventAuditDO value)
_setNewActivityState is a protected method that is called by setNewActivityState if NewActivityState is not part of a multicolumn foreign key. |
protected void |
_setNewProcessState(ProcessStateEventAuditDO value)
_setNewProcessState is a protected method that is called by setNewProcessState if NewProcessState is not part of a multicolumn foreign key. |
protected void |
_setOldActivityState(ActivityStateEventAuditDO value)
_setOldActivityState is a protected method that is called by setOldActivityState if OldActivityState is not part of a multicolumn foreign key. |
protected void |
_setOldProcessState(ProcessStateEventAuditDO value)
_setOldProcessState is a protected method that is called by setOldProcessState if OldProcessState is not part of a multicolumn foreign key. |
protected void |
_setPackageId(java.lang.String value)
_setPackageId is a protected method that is called by setPackageId if PackageId is not part of a multicolumn foreign key. |
protected void |
_setProcessDefinitionId(java.lang.String value)
_setProcessDefinitionId is a protected method that is called by setProcessDefinitionId if ProcessDefinitionId is not part of a multicolumn foreign key. |
protected void |
_setProcessDefinitionName(java.lang.String value)
_setProcessDefinitionName is a protected method that is called by setProcessDefinitionName if ProcessDefinitionName is not part of a multicolumn foreign key. |
protected void |
_setProcessFactoryName(java.lang.String value)
_setProcessFactoryName is a protected method that is called by setProcessFactoryName if ProcessFactoryName is not part of a multicolumn foreign key. |
protected void |
_setProcessFactoryVersion(java.lang.String value)
_setProcessFactoryVersion is a protected method that is called by setProcessFactoryVersion if ProcessFactoryVersion is not part of a multicolumn foreign key. |
protected void |
_setProcessId(java.lang.String value)
_setProcessId is a protected method that is called by setProcessId if ProcessId is not part of a multicolumn foreign key. |
protected void |
_setProcessName(java.lang.String value)
_setProcessName is a protected method that is called by setProcessName if ProcessName is not part of a multicolumn foreign key. |
protected void |
_setRecordedTime(long value)
_setRecordedTime is a protected method that is called by setRecordedTime if RecordedTime is not part of a multicolumn foreign key. |
protected void |
_setRecordedTimeTZO(long value)
_setRecordedTimeTZO is a protected method that is called by setRecordedTimeTZO if RecordedTimeTZO is not part of a multicolumn foreign key. |
protected void |
_setTheType(EventTypeDO value)
_setTheType is a protected method that is called by setTheType if TheType is not part of a multicolumn foreign key. |
protected void |
_setTheUsername(java.lang.String value)
_setTheUsername is a protected method that is called by setTheUsername if TheUsername is not part of a multicolumn foreign key. |
void |
addToCache()
Add DO's original data object to cache. |
static void |
addToCache(StateEventAuditDataStruct newDS)
Add DataStruct object to cache. |
static StateEventAuditDO |
ceInternal(java.math.BigDecimal bd)
Method ceInternal is public, only to allow generated classes to instantiate one another. |
static StateEventAuditDO |
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 StateEventAuditDO |
ceInternal(com.lutris.appserver.server.sql.ObjectId id)
ceInternal( ObjectId ) Factory method creates a StateEventAuditDO object by searching for it in the database using the passed ObjectID value as the primary key. |
static StateEventAuditDO |
ceInternal(com.lutris.appserver.server.sql.ObjectId id,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
ceInternal(ObjectId, DBTransaction) Factory method creates a StateEventAuditDO object by searching for it in the database using the passed ObjectID value as the primary key. |
protected static StateEventAuditDO |
ceInternal(com.lutris.dods.builder.generator.query.RDBColumnValue pk)
ceInternal( RDBColumnValue ) Factory method creates a StateEventAuditDO object by searching for it in the database using the passed StateEventAuditDO.PrimaryKey. |
protected static StateEventAuditDO |
ceInternal(com.lutris.dods.builder.generator.query.RDBColumnValue pk,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
ceInternal( RDBColumnValue, DBTransaction ) Factory method creates a StateEventAuditDO object by searching for it in the database using the passed StateEventAuditDO.PrimaryKey. |
protected static StateEventAuditDO |
ceInternal(com.lutris.dods.builder.generator.query.RDBRow row)
ceInternal( RDBRow ) Factory method creates a StateEventAuditDO object by searching for it in the database using the StateEventAuditDO.PrimaryKey value in the passed RDBRow. |
protected static StateEventAuditDO |
ceInternal(com.lutris.dods.builder.generator.query.RDBRow row,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
ceInternal( RDBRow , DBTransaction) Factory method creates a StateEventAuditDO object by searching for it in the database using the StateEventAuditDO.PrimaryKey value in the passed RDBRow. |
protected static StateEventAuditDO |
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 StateEventAuditDO |
ceInternal(java.sql.ResultSet rs,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
ceInternal(ResultSet, DBTransaction) |
static StateEventAuditDO |
ceInternal(java.lang.String handle)
Method ceInternal is public, only to allow generated classes to instantiate one another. |
static StateEventAuditDO |
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 StateEventAuditDO |
createCopy(StateEventAuditDataStruct data)
Creates a DO that has no ObjectId but has a copy of an existing DO's data. |
static StateEventAuditDO |
createCopy(StateEventAuditDataStruct 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 StateEventAuditDO |
createCopy(StateEventAuditDO orig)
Creates a DO that has no ObjectId but has a copy of an existing DO's data. |
static StateEventAuditDO |
createCopy(StateEventAuditDO 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 StateEventAuditDO |
createExisting(java.math.BigDecimal bd)
createExisting( BigDecimal ) Factory method creates a StateEventAuditDO object by searching for it in the database using the passed BigDecimal value as the primary key. |
static StateEventAuditDO |
createExisting(java.math.BigDecimal bd,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
createExisting(BigDecimal, DBTransaction) |
static StateEventAuditDO |
createExisting(java.lang.String handle)
createExisting(String) The createExisting method is used to create a StateEventAuditDO
from a string handle. |
static StateEventAuditDO |
createExisting(java.lang.String handle,
com.lutris.appserver.server.sql.DBTransaction dbTrans)
createExisting(String, DBTransaction) The createExisting method is used to create a StateEventAuditDO
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 StateEventAuditDO |
createVirgin()
createVirgin() Creates a DO that has no ObjectId or data. |
static StateEventAuditDO |
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 StateEventAuditDataStruct |
deleteFromCache(StateEventAuditDataStruct 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(StateEventAuditDataStruct[] 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 StateEventAuditDataStruct |
findCachedObjectByHandle(java.lang.String cacheHandle)
Get DataStruct object with key cacheHandle from the cache. |
StateEventAuditDO |
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. |
StateEventAuditDataStruct |
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. |
java.lang.String |
getActivityDefinitionId()
Get ActivityDefinitionId of the SHKStateEventAudits. |
java.lang.String |
getActivityDefinitionName()
Get ActivityDefinitionName of the SHKStateEventAudits. |
int |
getActivityDefinitionType()
Get ActivityDefinitionType of the SHKStateEventAudits. |
java.lang.String |
getActivityId()
Get ActivityId of the SHKStateEventAudits. |
java.lang.String |
getActivityName()
Get ActivityName of the SHKStateEventAudits. |
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 SHKStateEventAudits. |
static org.enhydra.dods.cache.ConfigurationAdministration |
getConfigurationAdministration()
Returns SHKStateEventAudits table cache. |
StateEventAuditDataStruct |
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. |
ActivityStateEventAuditDO |
getNewActivityState()
Get NewActivityState of the SHKStateEventAudits. |
ProcessStateEventAuditDO |
getNewProcessState()
Get NewProcessState of the SHKStateEventAudits. |
ActivityStateEventAuditDO |
getOldActivityState()
Get OldActivityState of the SHKStateEventAudits. |
ProcessStateEventAuditDO |
getOldProcessState()
Get OldProcessState of the SHKStateEventAudits. |
java.lang.String |
getPackageId()
Get PackageId of the SHKStateEventAudits. |
java.lang.String |
getProcessDefinitionId()
Get ProcessDefinitionId of the SHKStateEventAudits. |
java.lang.String |
getProcessDefinitionName()
Get ProcessDefinitionName of the SHKStateEventAudits. |
java.lang.String |
getProcessFactoryName()
Get ProcessFactoryName of the SHKStateEventAudits. |
java.lang.String |
getProcessFactoryVersion()
Get ProcessFactoryVersion of the SHKStateEventAudits. |
java.lang.String |
getProcessId()
Get ProcessId of the SHKStateEventAudits. |
java.lang.String |
getProcessName()
Get ProcessName of the SHKStateEventAudits. |
long |
getRecordedTime()
Get RecordedTime of the SHKStateEventAudits. |
long |
getRecordedTimeTZO()
Get RecordedTimeTZO of the SHKStateEventAudits. |
java.lang.String |
getTableName()
Return SHKStateEventAudits as the name of the table in the database which contains StateEventAuditDO objects. |
EventTypeDO |
getTheType()
Get TheType of the SHKStateEventAudits. |
java.lang.String |
getTheUsername()
Get TheUsername of the SHKStateEventAudits. |
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() |
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. |
void |
loadData()
Load the fields for the DO from the database. |
protected void |
makeIdentical(StateEventAuditDO 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_getNewActivityState()
Get BigDecimal value of NewActivityState of the SHKStateEventAudits. |
com.lutris.appserver.server.sql.ObjectId |
objectId_getNewProcessState()
Get BigDecimal value of NewProcessState of the SHKStateEventAudits. |
com.lutris.appserver.server.sql.ObjectId |
objectId_getOldActivityState()
Get BigDecimal value of OldActivityState of the SHKStateEventAudits. |
com.lutris.appserver.server.sql.ObjectId |
objectId_getOldProcessState()
Get BigDecimal value of OldProcessState of the SHKStateEventAudits. |
com.lutris.appserver.server.sql.ObjectId |
objectId_getTheType()
Get BigDecimal value of TheType of the SHKStateEventAudits. |
int |
objectIdentityType()
Return the type of the identity column(s) of DOs that these objects represents. |
java.math.BigDecimal |
oid_getNewActivityState()
Get BigDecimal value of NewActivityState of the SHKStateEventAudits. |
java.math.BigDecimal |
oid_getNewProcessState()
Get BigDecimal value of NewProcessState of the SHKStateEventAudits. |
java.math.BigDecimal |
oid_getOldActivityState()
Get BigDecimal value of OldActivityState of the SHKStateEventAudits. |
java.math.BigDecimal |
oid_getOldProcessState()
Get BigDecimal value of OldProcessState of the SHKStateEventAudits. |
java.math.BigDecimal |
oid_getTheType()
Get BigDecimal value of TheType of the SHKStateEventAudits. |
void |
oid_setNewActivityState(java.math.BigDecimal value)
Set NewActivityState of the SHKStateEventAudits. |
void |
oid_setNewActivityState(com.lutris.appserver.server.sql.ObjectId value)
Set value for the NewActivityState of the SHKStateEventAudits. |
void |
oid_setNewActivityState(java.lang.String value)
Set NewActivityState of the SHKStateEventAudits. |
void |
oid_setNewProcessState(java.math.BigDecimal value)
Set NewProcessState of the SHKStateEventAudits. |
void |
oid_setNewProcessState(com.lutris.appserver.server.sql.ObjectId value)
Set value for the NewProcessState of the SHKStateEventAudits. |
void |
oid_setNewProcessState(java.lang.String value)
Set NewProcessState of the SHKStateEventAudits. |
void |
oid_setOldActivityState(java.math.BigDecimal value)
Set OldActivityState of the SHKStateEventAudits. |
void |
oid_setOldActivityState(com.lutris.appserver.server.sql.ObjectId value)
Set value for the OldActivityState of the SHKStateEventAudits. |
void |
oid_setOldActivityState(java.lang.String value)
Set OldActivityState of the SHKStateEventAudits. |
void |
oid_setOldProcessState(java.math.BigDecimal value)
Set OldProcessState of the SHKStateEventAudits. |
void |
oid_setOldProcessState(com.lutris.appserver.server.sql.ObjectId value)
Set value for the OldProcessState of the SHKStateEventAudits. |
void |
oid_setOldProcessState(java.lang.String value)
Set OldProcessState of the SHKStateEventAudits. |
void |
oid_setTheType(java.math.BigDecimal value)
Set TheType of the SHKStateEventAudits. |
void |
oid_setTheType(com.lutris.appserver.server.sql.ObjectId value)
Set value for the TheType of the SHKStateEventAudits. |
void |
oid_setTheType(java.lang.String value)
Set TheType of the SHKStateEventAudits. |
protected void |
okToCommit()
A stub method for implementing pre-commit assertions for this StateEventAuditDO. |
protected void |
okToCommitNewActivityState(ActivityStateEventAuditDO member)
A stub method for implementing pre-commit assertions for the NewActivityState data member. |
protected void |
okToCommitNewProcessState(ProcessStateEventAuditDO member)
A stub method for implementing pre-commit assertions for the NewProcessState data member. |
protected void |
okToCommitOldActivityState(ActivityStateEventAuditDO member)
A stub method for implementing pre-commit assertions for the OldActivityState data member. |
protected void |
okToCommitOldProcessState(ProcessStateEventAuditDO member)
A stub method for implementing pre-commit assertions for the OldProcessState data member. |
protected void |
okToCommitTheType(EventTypeDO member)
A stub method for implementing pre-commit assertions for the TheType data member. |
protected void |
okToDelete()
A stub method for implementing pre-delete assertions for this StateEventAuditDO. |
protected void |
okToDeleteNewActivityState(ActivityStateEventAuditDO member)
A stub method for implementing pre-delete assertions for the NewActivityState data member. |
protected void |
okToDeleteNewProcessState(ProcessStateEventAuditDO member)
A stub method for implementing pre-delete assertions for the NewProcessState data member. |
protected void |
okToDeleteOldActivityState(ActivityStateEventAuditDO member)
A stub method for implementing pre-delete assertions for the OldActivityState data member. |
protected void |
okToDeleteOldProcessState(ProcessStateEventAuditDO member)
A stub method for implementing pre-delete assertions for the OldProcessState data member. |
protected void |
okToDeleteTheType(EventTypeDO member)
A stub method for implementing pre-delete assertions for the TheType data member. |
java.lang.Object |
originalData_get()
Returns original DO's data. |
java.lang.String |
originalData_getActivityDefinitionId()
Get original value of ActivityDefinitionId from the SHKStateEventAudits. |
java.lang.String |
originalData_getActivityDefinitionName()
Get original value of ActivityDefinitionName from the SHKStateEventAudits. |
int |
originalData_getActivityDefinitionType()
Get original value of ActivityDefinitionType from the SHKStateEventAudits. |
java.lang.String |
originalData_getActivityId()
Get original value of ActivityId from the SHKStateEventAudits. |
java.lang.String |
originalData_getActivityName()
Get original value of ActivityName from the SHKStateEventAudits. |
java.math.BigDecimal |
originalData_getCNT()
Get original value of CNT from the SHKStateEventAudits. |
ActivityStateEventAuditDO |
originalData_getNewActivityState()
Get original value of NewActivityState from the SHKStateEventAudits. |
ProcessStateEventAuditDO |
originalData_getNewProcessState()
Get original value of NewProcessState from the SHKStateEventAudits. |
ActivityStateEventAuditDO |
originalData_getOldActivityState()
Get original value of OldActivityState from the SHKStateEventAudits. |
ProcessStateEventAuditDO |
originalData_getOldProcessState()
Get original value of OldProcessState from the SHKStateEventAudits. |
java.lang.String |
originalData_getPackageId()
Get original value of PackageId from the SHKStateEventAudits. |
java.lang.String |
originalData_getProcessDefinitionId()
Get original value of ProcessDefinitionId from the SHKStateEventAudits. |
java.lang.String |
originalData_getProcessDefinitionName()
Get original value of ProcessDefinitionName from the SHKStateEventAudits. |
java.lang.String |
originalData_getProcessFactoryName()
Get original value of ProcessFactoryName from the SHKStateEventAudits. |
java.lang.String |
originalData_getProcessFactoryVersion()
Get original value of ProcessFactoryVersion from the SHKStateEventAudits. |
java.lang.String |
originalData_getProcessId()
Get original value of ProcessId from the SHKStateEventAudits. |
java.lang.String |
originalData_getProcessName()
Get original value of ProcessName from the SHKStateEventAudits. |
long |
originalData_getRecordedTime()
Get original value of RecordedTime from the SHKStateEventAudits. |
long |
originalData_getRecordedTimeTZO()
Get original value of RecordedTimeTZO from the SHKStateEventAudits. |
EventTypeDO |
originalData_getTheType()
Get original value of TheType from the SHKStateEventAudits. |
java.lang.String |
originalData_getTheUsername()
Get original value of TheUsername from the SHKStateEventAudits. |
com.lutris.appserver.server.sql.ObjectId |
originalData_objectId_getNewActivityState()
Get BigDecimal value of NewActivityState of the SHKStateEventAudits. |
com.lutris.appserver.server.sql.ObjectId |
originalData_objectId_getNewProcessState()
Get BigDecimal value of NewProcessState of the SHKStateEventAudits. |
com.lutris.appserver.server.sql.ObjectId |
originalData_objectId_getOldActivityState()
Get BigDecimal value of OldActivityState of the SHKStateEventAudits. |
com.lutris.appserver.server.sql.ObjectId |
originalData_objectId_getOldProcessState()
Get BigDecimal value of OldProcessState of the SHKStateEventAudits. |
com.lutris.appserver.server.sql.ObjectId |
originalData_objectId_getTheType()
Get BigDecimal value of TheType of the SHKStateEventAudits. |
java.math.BigDecimal |
originalData_oid_getNewActivityState()
Get BigDecimal value of NewActivityState of the SHKStateEventAudits. |
java.math.BigDecimal |
originalData_oid_getNewProcessState()
Get BigDecimal value of NewProcessState of the SHKStateEventAudits. |
java.math.BigDecimal |
originalData_oid_getOldActivityState()
Get BigDecimal value of OldActivityState of the SHKStateEventAudits. |
java.math.BigDecimal |
originalData_oid_getOldProcessState()
Get BigDecimal value of OldProcessState of the SHKStateEventAudits. |
java.math.BigDecimal |
originalData_oid_getTheType()
Get BigDecimal value of TheType of the SHKStateEventAudits. |
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.eventaudit.data.SHKStateEventAudits table or default cache size. |
void |
refresh()
This method is invoked whenever object needs to be loaded from database. |
static void |
refresh(StateEventAuditDO[] 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 StateEventAuditDataStruct |
removeFromCache(StateEventAuditDataStruct data)
Remove DataStruct from cache. |
static void |
removeFromCache(java.lang.String dbName,
java.lang.String handle)
Remove DataStruct object from cache. |
static StateEventAuditDO |
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. |
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 |
setActivityDefinitionId(java.lang.String value)
Set ActivityDefinitionId of the SHKStateEventAudits. |
void |
setActivityDefinitionName(java.lang.String value)
Set ActivityDefinitionName of the SHKStateEventAudits. |
void |
setActivityDefinitionType(int value)
Set ActivityDefinitionType of the SHKStateEventAudits. |
void |
setActivityId(java.lang.String value)
Set ActivityId of the SHKStateEventAudits. |
void |
setActivityName(java.lang.String value)
Set ActivityName of the SHKStateEventAudits. |
void |
setCNT(java.math.BigDecimal value)
Set CNT of the SHKStateEventAudits. |
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 |
setNewActivityState(ActivityStateEventAuditDO value)
Set NewActivityState of the SHKStateEventAudits. |
void |
setNewProcessState(ProcessStateEventAuditDO value)
Set NewProcessState of the SHKStateEventAudits. |
void |
setOldActivityState(ActivityStateEventAuditDO value)
Set OldActivityState of the SHKStateEventAudits. |
void |
setOldProcessState(ProcessStateEventAuditDO value)
Set OldProcessState of the SHKStateEventAudits. |
void |
setPackageId(java.lang.String value)
Set PackageId of the SHKStateEventAudits. |
void |
setProcessDefinitionId(java.lang.String value)
Set ProcessDefinitionId of the SHKStateEventAudits. |
void |
setProcessDefinitionName(java.lang.String value)
Set ProcessDefinitionName of the SHKStateEventAudits. |
void |
setProcessFactoryName(java.lang.String value)
Set ProcessFactoryName of the SHKStateEventAudits. |
void |
setProcessFactoryVersion(java.lang.String value)
Set ProcessFactoryVersion of the SHKStateEventAudits. |
void |
setProcessId(java.lang.String value)
Set ProcessId of the SHKStateEventAudits. |
void |
setProcessName(java.lang.String value)
Set ProcessName of the SHKStateEventAudits. |
void |
setRecordedTime(long value)
Set RecordedTime of the SHKStateEventAudits. |
void |
setRecordedTimeTZO(long value)
Set RecordedTimeTZO of the SHKStateEventAudits. |
void |
setTheType(EventTypeDO value)
Set TheType of the SHKStateEventAudits. |
void |
setTheUsername(java.lang.String value)
Set TheUsername of the SHKStateEventAudits. |
protected boolean |
setTransaction(com.lutris.appserver.server.sql.DBTransaction trans)
Set Transaction to current DO. |
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 StateEventAuditDataStruct |
updateCache(StateEventAuditDataStruct 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 boolean deleted
public static final com.lutris.dods.builder.generator.query.RDBColumn RecordedTime
public static final int COLUMN_RECORDEDTIME
public static final com.lutris.dods.builder.generator.query.RDBColumn RecordedTimeTZO
public static final int COLUMN_RECORDEDTIMETZO
public static final com.lutris.dods.builder.generator.query.RDBColumn TheUsername
public static final int COLUMN_THEUSERNAME
public static final int TheUsername_MaxLength
public static final com.lutris.dods.builder.generator.query.RDBColumn TheType
public static final int COLUMN_THETYPE
public static final com.lutris.dods.builder.generator.query.RDBColumn ActivityId
public static final int COLUMN_ACTIVITYID
public static final int ActivityId_MaxLength
public static final com.lutris.dods.builder.generator.query.RDBColumn ActivityName
public static final int COLUMN_ACTIVITYNAME
public static final int ActivityName_MaxLength
public static final com.lutris.dods.builder.generator.query.RDBColumn ProcessId
public static final int COLUMN_PROCESSID
public static final int ProcessId_MaxLength
public static final com.lutris.dods.builder.generator.query.RDBColumn ProcessName
public static final int COLUMN_PROCESSNAME
public static final int ProcessName_MaxLength
public static final com.lutris.dods.builder.generator.query.RDBColumn ProcessFactoryName
public static final int COLUMN_PROCESSFACTORYNAME
public static final int ProcessFactoryName_MaxLength
public static final com.lutris.dods.builder.generator.query.RDBColumn ProcessFactoryVersion
public static final int COLUMN_PROCESSFACTORYVERSION
public static final int ProcessFactoryVersion_MaxLength
public static final com.lutris.dods.builder.generator.query.RDBColumn ActivityDefinitionId
public static final int COLUMN_ACTIVITYDEFINITIONID
public static final int ActivityDefinitionId_MaxLength
public static final com.lutris.dods.builder.generator.query.RDBColumn ActivityDefinitionName
public static final int COLUMN_ACTIVITYDEFINITIONNAME
public static final int ActivityDefinitionName_MaxLength
public static final com.lutris.dods.builder.generator.query.RDBColumn ActivityDefinitionType
public static final int COLUMN_ACTIVITYDEFINITIONTYPE
public static final com.lutris.dods.builder.generator.query.RDBColumn ProcessDefinitionId
public static final int COLUMN_PROCESSDEFINITIONID
public static final int ProcessDefinitionId_MaxLength
public static final com.lutris.dods.builder.generator.query.RDBColumn ProcessDefinitionName
public static final int COLUMN_PROCESSDEFINITIONNAME
public static final int ProcessDefinitionName_MaxLength
public static final com.lutris.dods.builder.generator.query.RDBColumn PackageId
public static final int COLUMN_PACKAGEID
public static final int PackageId_MaxLength
public static final com.lutris.dods.builder.generator.query.RDBColumn OldProcessState
public static final int COLUMN_OLDPROCESSSTATE
public static final com.lutris.dods.builder.generator.query.RDBColumn NewProcessState
public static final int COLUMN_NEWPROCESSSTATE
public static final com.lutris.dods.builder.generator.query.RDBColumn OldActivityState
public static final int COLUMN_OLDACTIVITYSTATE
public static final com.lutris.dods.builder.generator.query.RDBColumn NewActivityState
public static final int COLUMN_NEWACTIVITYSTATE
public static final com.lutris.dods.builder.generator.query.RDBColumn CNT
public static final int COLUMN_CNT
Constructor Detail |
protected StateEventAuditDO(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 StateEventAuditDO(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 StateEventAuditDO() 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 StateEventAuditDO(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 StateEventAuditDO(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 StateEventAuditDO(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 StateEventAuditDO(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 StateEventAuditDO(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()
public java.lang.String getTableName()
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()
CommonConstants.OBJECT_IDENTITY_TYPE
public void set_Data(java.lang.Object data)
data
- Data object.public void originalData_set(java.lang.Object value)
value
- Data object.public java.lang.Object get_Data()
public StateEventAuditDataStruct getDataStruct()
public StateEventAuditDataStruct get_DataStruct()
public java.lang.Object originalData_get()
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()
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 addToCache(StateEventAuditDataStruct newDS)
newDS
- DataStruct object that will be added to cache.
public void addToCache()
public static StateEventAuditDataStruct updateCache(StateEventAuditDataStruct updDS)
updDS
- DataStruct object
public void updateCache()
public static StateEventAuditDataStruct deleteFromCache(StateEventAuditDataStruct 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
StateEventAuditDataStruct object will be removed.handle
- Handle of DataStruct object which will be re moved.public void deleteFromCache()
public static StateEventAuditDataStruct removeFromCache(StateEventAuditDataStruct data)
data
- DataStruct object which will be removed.
public void evict()
public static void evict(StateEventAuditDataStruct[] 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
StateEventAuditDataStruct 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
com.lutris.dods.builder.generator.query.DataObjectException
- If a data access error occurs.public static void refresh(StateEventAuditDO[] 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 StateEventAuditDO 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 StateEventAuditDO 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 StateEventAuditDO 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 StateEventAuditDO 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 StateEventAuditDO 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 StateEventAuditDO 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 StateEventAuditDO createExisting(java.lang.String handle)
StateEventAuditDO
from a string handle.
handle
- String representation of the ObjectId for the object.
public static StateEventAuditDO ceInternal(java.lang.String handle)
handle
- String representation of the ObjectId for the object.
public static StateEventAuditDO createExisting(java.lang.String handle, com.lutris.appserver.server.sql.DBTransaction dbTrans)
StateEventAuditDO
from a string handle.
handle
- String representation of the ObjectId for the object.dbTrans
- The current database transaction.
public static StateEventAuditDO 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 StateEventAuditDO 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 StateEventAuditDO 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 StateEventAuditDO 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 StateEventAuditDO 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 StateEventAuditDO 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 StateEventAuditDO.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 StateEventAuditDO 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 StateEventAuditDO.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 StateEventAuditDO 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 StateEventAuditDO.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 StateEventAuditDO 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 StateEventAuditDO.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 StateEventAuditDO createCopy(StateEventAuditDataStruct 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 StateEventAuditDO createCopy(StateEventAuditDataStruct 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 StateEventAuditDO createCopy(StateEventAuditDO 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 StateEventAuditDO createCopy(StateEventAuditDO 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.
- 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
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 StateEventAuditDO 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.
StateEventAuditDO
Object if one is found in cache, otherwise null.get_Handle
public static StateEventAuditDataStruct 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.
StateEventAuditDataStruct
Object if one is found in cache, otherwise null.get_Handle
protected void makeIdentical(StateEventAuditDO orig)
orig
- The original DO.public int get_Version()
public int get_NewVersion()
public void set_Version(int _ver)
_ver
- DO's version.public void set_NewVersion(int _ver)
_ver
- Ignored.public void makeReadOnly()
public void makeReadWrite()
public static StateEventAuditDO 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()
protected void set_OId(com.lutris.appserver.server.sql.ObjectId _oId)
_oId
- this object's identifier.public java.lang.Object cloneUnique() throws com.lutris.appserver.server.sql.DatabaseManagerException, com.lutris.appserver.server.sql.ObjectIdException
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
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
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
success
- true if the transaction succeeded
and this object was successfully deleted from the
database.public boolean isVirgin()
public void makeVisible()
public void makeInvisible()
public void executeInsert(com.lutris.appserver.server.sql.DBConnection conn) throws java.sql.SQLException
executeInsert
in interface com.lutris.appserver.server.sql.Transaction
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
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)
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()
public void writeXML(java.io.Writer ow) throws com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.DataObjectException
public boolean equals(java.lang.Object obj)
public long getRecordedTime() throws com.lutris.dods.builder.generator.query.DataObjectException
getRecordedTime
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public long originalData_getRecordedTime() 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 setRecordedTime(long value) throws com.lutris.dods.builder.generator.query.DataObjectException
setRecordedTime
in interface StateEventAuditDOI
value
- for the RecordedTime of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setRecordedTime(long value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the RecordedTime of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public long getRecordedTimeTZO() throws com.lutris.dods.builder.generator.query.DataObjectException
getRecordedTimeTZO
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public long originalData_getRecordedTimeTZO() 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 setRecordedTimeTZO(long value) throws com.lutris.dods.builder.generator.query.DataObjectException
setRecordedTimeTZO
in interface StateEventAuditDOI
value
- for the RecordedTimeTZO of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setRecordedTimeTZO(long value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the RecordedTimeTZO of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String getTheUsername() throws com.lutris.dods.builder.generator.query.DataObjectException
getTheUsername
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String originalData_getTheUsername() 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 setTheUsername(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
setTheUsername
in interface StateEventAuditDOI
value
- for the TheUsername of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setTheUsername(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the TheUsername of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public EventTypeDO getTheType() throws com.lutris.dods.builder.generator.query.DataObjectException
getTheType
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public com.lutris.appserver.server.sql.ObjectId objectId_getTheType() 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_getTheType() 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 EventTypeDO originalData_getTheType() 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_getTheType() 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_getTheType() 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 setTheType(EventTypeDO value) throws com.lutris.dods.builder.generator.query.DataObjectException
setTheType
in interface StateEventAuditDOI
value
- for the TheType of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setTheType(EventTypeDO value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the TheType of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setTheType(com.lutris.appserver.server.sql.ObjectId value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of TheType of the SHKStateEventAudits as a ObjectId value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setTheType(java.math.BigDecimal value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of TheType of the SHKStateEventAudits as a BigDecimal value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setTheType(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of TheType of the SHKStateEventAudits as a String value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String getActivityId() throws com.lutris.dods.builder.generator.query.DataObjectException
getActivityId
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String originalData_getActivityId() 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 setActivityId(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
setActivityId
in interface StateEventAuditDOI
value
- for the ActivityId of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setActivityId(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the ActivityId of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String getActivityName() throws com.lutris.dods.builder.generator.query.DataObjectException
getActivityName
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String originalData_getActivityName() 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 setActivityName(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
setActivityName
in interface StateEventAuditDOI
value
- for the ActivityName of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setActivityName(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the ActivityName of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String getProcessId() throws com.lutris.dods.builder.generator.query.DataObjectException
getProcessId
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String originalData_getProcessId() 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 setProcessId(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
setProcessId
in interface StateEventAuditDOI
value
- for the ProcessId of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setProcessId(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the ProcessId of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String getProcessName() throws com.lutris.dods.builder.generator.query.DataObjectException
getProcessName
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String originalData_getProcessName() 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 setProcessName(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
setProcessName
in interface StateEventAuditDOI
value
- for the ProcessName of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setProcessName(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the ProcessName of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String getProcessFactoryName() throws com.lutris.dods.builder.generator.query.DataObjectException
getProcessFactoryName
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String originalData_getProcessFactoryName() 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 setProcessFactoryName(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
setProcessFactoryName
in interface StateEventAuditDOI
value
- for the ProcessFactoryName of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setProcessFactoryName(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the ProcessFactoryName of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String getProcessFactoryVersion() throws com.lutris.dods.builder.generator.query.DataObjectException
getProcessFactoryVersion
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String originalData_getProcessFactoryVersion() 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 setProcessFactoryVersion(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
setProcessFactoryVersion
in interface StateEventAuditDOI
value
- for the ProcessFactoryVersion of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setProcessFactoryVersion(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the ProcessFactoryVersion of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String getActivityDefinitionId() throws com.lutris.dods.builder.generator.query.DataObjectException
getActivityDefinitionId
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String originalData_getActivityDefinitionId() 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 setActivityDefinitionId(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
setActivityDefinitionId
in interface StateEventAuditDOI
value
- for the ActivityDefinitionId of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setActivityDefinitionId(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the ActivityDefinitionId of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String getActivityDefinitionName() throws com.lutris.dods.builder.generator.query.DataObjectException
getActivityDefinitionName
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String originalData_getActivityDefinitionName() 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 setActivityDefinitionName(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
setActivityDefinitionName
in interface StateEventAuditDOI
value
- for the ActivityDefinitionName of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setActivityDefinitionName(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the ActivityDefinitionName of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public int getActivityDefinitionType() throws com.lutris.dods.builder.generator.query.DataObjectException
getActivityDefinitionType
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public int originalData_getActivityDefinitionType() 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 setActivityDefinitionType(int value) throws com.lutris.dods.builder.generator.query.DataObjectException
setActivityDefinitionType
in interface StateEventAuditDOI
value
- for the ActivityDefinitionType of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setActivityDefinitionType(int value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the ActivityDefinitionType of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String getProcessDefinitionId() throws com.lutris.dods.builder.generator.query.DataObjectException
getProcessDefinitionId
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String originalData_getProcessDefinitionId() 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 setProcessDefinitionId(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
setProcessDefinitionId
in interface StateEventAuditDOI
value
- for the ProcessDefinitionId of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setProcessDefinitionId(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the ProcessDefinitionId of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String getProcessDefinitionName() throws com.lutris.dods.builder.generator.query.DataObjectException
getProcessDefinitionName
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String originalData_getProcessDefinitionName() 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 setProcessDefinitionName(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
setProcessDefinitionName
in interface StateEventAuditDOI
value
- for the ProcessDefinitionName of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setProcessDefinitionName(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the ProcessDefinitionName of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String getPackageId() throws com.lutris.dods.builder.generator.query.DataObjectException
getPackageId
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public java.lang.String originalData_getPackageId() 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 setPackageId(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
setPackageId
in interface StateEventAuditDOI
value
- for the PackageId of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setPackageId(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the PackageId of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public ProcessStateEventAuditDO getOldProcessState() throws com.lutris.dods.builder.generator.query.DataObjectException
getOldProcessState
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public com.lutris.appserver.server.sql.ObjectId objectId_getOldProcessState() 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_getOldProcessState() 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 ProcessStateEventAuditDO originalData_getOldProcessState() 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_getOldProcessState() 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_getOldProcessState() 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 setOldProcessState(ProcessStateEventAuditDO value) throws com.lutris.dods.builder.generator.query.DataObjectException
setOldProcessState
in interface StateEventAuditDOI
value
- for the OldProcessState of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setOldProcessState(ProcessStateEventAuditDO value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the OldProcessState of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setOldProcessState(com.lutris.appserver.server.sql.ObjectId value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of OldProcessState of the SHKStateEventAudits as a ObjectId value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setOldProcessState(java.math.BigDecimal value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of OldProcessState of the SHKStateEventAudits as a BigDecimal value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setOldProcessState(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of OldProcessState of the SHKStateEventAudits as a String value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public ProcessStateEventAuditDO getNewProcessState() throws com.lutris.dods.builder.generator.query.DataObjectException
getNewProcessState
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public com.lutris.appserver.server.sql.ObjectId objectId_getNewProcessState() 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_getNewProcessState() 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 ProcessStateEventAuditDO originalData_getNewProcessState() 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_getNewProcessState() 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_getNewProcessState() 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 setNewProcessState(ProcessStateEventAuditDO value) throws com.lutris.dods.builder.generator.query.DataObjectException
setNewProcessState
in interface StateEventAuditDOI
value
- for the NewProcessState of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setNewProcessState(ProcessStateEventAuditDO value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the NewProcessState of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setNewProcessState(com.lutris.appserver.server.sql.ObjectId value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of NewProcessState of the SHKStateEventAudits as a ObjectId value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setNewProcessState(java.math.BigDecimal value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of NewProcessState of the SHKStateEventAudits as a BigDecimal value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setNewProcessState(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of NewProcessState of the SHKStateEventAudits as a String value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public ActivityStateEventAuditDO getOldActivityState() throws com.lutris.dods.builder.generator.query.DataObjectException
getOldActivityState
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public com.lutris.appserver.server.sql.ObjectId objectId_getOldActivityState() 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_getOldActivityState() 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 ActivityStateEventAuditDO originalData_getOldActivityState() 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_getOldActivityState() 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_getOldActivityState() 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 setOldActivityState(ActivityStateEventAuditDO value) throws com.lutris.dods.builder.generator.query.DataObjectException
setOldActivityState
in interface StateEventAuditDOI
value
- for the OldActivityState of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setOldActivityState(ActivityStateEventAuditDO value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the OldActivityState of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setOldActivityState(com.lutris.appserver.server.sql.ObjectId value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of OldActivityState of the SHKStateEventAudits as a ObjectId value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setOldActivityState(java.math.BigDecimal value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of OldActivityState of the SHKStateEventAudits as a BigDecimal value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setOldActivityState(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of OldActivityState of the SHKStateEventAudits as a String value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public ActivityStateEventAuditDO getNewActivityState() throws com.lutris.dods.builder.generator.query.DataObjectException
getNewActivityState
in interface StateEventAuditDOI
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public com.lutris.appserver.server.sql.ObjectId objectId_getNewActivityState() 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_getNewActivityState() 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 ActivityStateEventAuditDO originalData_getNewActivityState() 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_getNewActivityState() 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_getNewActivityState() 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 setNewActivityState(ActivityStateEventAuditDO value) throws com.lutris.dods.builder.generator.query.DataObjectException
setNewActivityState
in interface StateEventAuditDOI
value
- for the NewActivityState of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.protected void _setNewActivityState(ActivityStateEventAuditDO value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- for the NewActivityState of the SHKStateEventAudits.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setNewActivityState(com.lutris.appserver.server.sql.ObjectId value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of NewActivityState of the SHKStateEventAudits as a ObjectId value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setNewActivityState(java.math.BigDecimal value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of NewActivityState of the SHKStateEventAudits as a BigDecimal value.
com.lutris.dods.builder.generator.query.DataObjectException
- If the object is not found in the database.public void oid_setNewActivityState(java.lang.String value) throws com.lutris.dods.builder.generator.query.DataObjectException
value
- of NewActivityState of the SHKStateEventAudits as a String value.
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 StateEventAuditDOI
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 StateEventAuditDOI
value
- for the CNT of the SHKStateEventAudits.
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 SHKStateEventAudits.
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)
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
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
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
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
conn
- The database connection
java.sql.SQLException
- if an error occurs.public java.lang.String toString()
public java.lang.String toString(int indentCount)
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 StateEventAuditDOI
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 StateEventAuditDOI
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 StateEventAuditDOI
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 StateEventAuditDOI
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 StateEventAuditDOI
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 StateEventAuditDOI
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 okToCommitTheType(EventTypeDO member) throws com.lutris.dods.builder.generator.query.RefAssertionException
member
- TheType data member.
com.lutris.dods.builder.generator.query.RefAssertionException
protected void okToDeleteTheType(EventTypeDO member) throws com.lutris.dods.builder.generator.query.RefAssertionException
member
- TheType data member
com.lutris.dods.builder.generator.query.RefAssertionException
protected void okToCommitOldProcessState(ProcessStateEventAuditDO member) throws com.lutris.dods.builder.generator.query.RefAssertionException
member
- OldProcessState data member.
com.lutris.dods.builder.generator.query.RefAssertionException
protected void okToDeleteOldProcessState(ProcessStateEventAuditDO member) throws com.lutris.dods.builder.generator.query.RefAssertionException
member
- OldProcessState data member
com.lutris.dods.builder.generator.query.RefAssertionException
protected void okToCommitNewProcessState(ProcessStateEventAuditDO member) throws com.lutris.dods.builder.generator.query.RefAssertionException
member
- NewProcessState data member.
com.lutris.dods.builder.generator.query.RefAssertionException
protected void okToDeleteNewProcessState(ProcessStateEventAuditDO member) throws com.lutris.dods.builder.generator.query.RefAssertionException
member
- NewProcessState data member
com.lutris.dods.builder.generator.query.RefAssertionException
protected void okToCommitOldActivityState(ActivityStateEventAuditDO member) throws com.lutris.dods.builder.generator.query.RefAssertionException
member
- OldActivityState data member.
com.lutris.dods.builder.generator.query.RefAssertionException
protected void okToDeleteOldActivityState(ActivityStateEventAuditDO member) throws com.lutris.dods.builder.generator.query.RefAssertionException
member
- OldActivityState data member
com.lutris.dods.builder.generator.query.RefAssertionException
protected void okToCommitNewActivityState(ActivityStateEventAuditDO member) throws com.lutris.dods.builder.generator.query.RefAssertionException
member
- NewActivityState data member.
com.lutris.dods.builder.generator.query.RefAssertionException
protected void okToDeleteNewActivityState(ActivityStateEventAuditDO member) throws com.lutris.dods.builder.generator.query.RefAssertionException
member
- NewActivityState 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 |