org.enhydra.shark.eventaudit.data
Class CreateProcessEventAuditDO

java.lang.Object
  extended bycom.lutris.appserver.server.sql.CoreDO
      extended bycom.lutris.appserver.server.sql.CloneableDO
          extended bycom.lutris.dods.builder.generator.dataobject.GenericDO
              extended byorg.enhydra.shark.eventaudit.data.CreateProcessEventAuditDO
All Implemented Interfaces:
java.lang.Cloneable, CreateProcessEventAuditDOI, java.io.Serializable, com.lutris.appserver.server.sql.Transaction

public class CreateProcessEventAuditDO
extends com.lutris.dods.builder.generator.dataobject.GenericDO
implements CreateProcessEventAuditDOI, java.io.Serializable

Data core class, used to set and retrieve the CreateProcessEventAuditDO information.

Since:
DODS Project
Version:
$Revision: 1.47 $
Author:
NN
See Also:
Serialized Form

Field Summary
protected static org.enhydra.dods.cache.DataStructCache cache
           
static com.lutris.dods.builder.generator.query.RDBColumn CNT
          static final RDBColumn CNT for use with QueryBuilder.
static int COLUMN_CNT
          Use for query caching.
static int COLUMN_PACKAGEID
          Use for query caching.
static int COLUMN_PACTIVITYDEFINITIONID
          Use for query caching.
static int COLUMN_PACTIVITYDEFINITIONNAME
          Use for query caching.
static int COLUMN_PACTIVITYID
          Use for query caching.
static int COLUMN_PPACKAGEID
          Use for query caching.
static int COLUMN_PPROCESSDEFINITIONID
          Use for query caching.
static int COLUMN_PPROCESSDEFINITIONNAME
          Use for query caching.
static int COLUMN_PPROCESSFACTORYNAME
          Use for query caching.
static int COLUMN_PPROCESSFACTORYVERSION
          Use for query caching.
static int COLUMN_PPROCESSID
          Use for query caching.
static int COLUMN_PPROCESSNAME
          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
           
protected static boolean notUsingOId
           
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 PActivityDefinitionId
          static final RDBColumn PActivityDefinitionId for use with QueryBuilder.
static int PActivityDefinitionId_MaxLength
           
static com.lutris.dods.builder.generator.query.RDBColumn PActivityDefinitionName
          static final RDBColumn PActivityDefinitionName for use with QueryBuilder.
static int PActivityDefinitionName_MaxLength
           
static com.lutris.dods.builder.generator.query.RDBColumn PActivityId
          static final RDBColumn PActivityId for use with QueryBuilder.
static int PActivityId_MaxLength
           
static com.lutris.dods.builder.generator.query.RDBColumn PPackageId
          static final RDBColumn PPackageId for use with QueryBuilder.
static int PPackageId_MaxLength
           
static com.lutris.dods.builder.generator.query.RDBColumn PProcessDefinitionId
          static final RDBColumn PProcessDefinitionId for use with QueryBuilder.
static int PProcessDefinitionId_MaxLength
           
static com.lutris.dods.builder.generator.query.RDBColumn PProcessDefinitionName
          static final RDBColumn PProcessDefinitionName for use with QueryBuilder.
static int PProcessDefinitionName_MaxLength
           
static com.lutris.dods.builder.generator.query.RDBColumn PProcessFactoryName
          static final RDBColumn PProcessFactoryName for use with QueryBuilder.
static int PProcessFactoryName_MaxLength
           
static com.lutris.dods.builder.generator.query.RDBColumn PProcessFactoryVersion
          static final RDBColumn PProcessFactoryVersion for use with QueryBuilder.
static int PProcessFactoryVersion_MaxLength
           
static com.lutris.dods.builder.generator.query.RDBColumn PProcessId
          static final RDBColumn PProcessId for use with QueryBuilder.
static int PProcessId_MaxLength
           
static com.lutris.dods.builder.generator.query.RDBColumn PProcessName
          static final RDBColumn PProcessName for use with QueryBuilder.
static int PProcessName_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 CreateProcessEventAuditDO()
          Protected constructor.
protected CreateProcessEventAuditDO(boolean is_view)
          Protected constructor.
protected CreateProcessEventAuditDO(boolean is_view, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          Protected constructor.
protected CreateProcessEventAuditDO(com.lutris.appserver.server.sql.DBTransaction dbTrans)
          Protected constructor.
protected CreateProcessEventAuditDO(com.lutris.appserver.server.sql.ObjectId id)
          Protected constructor used by createExisting(ObjectId) above.
protected CreateProcessEventAuditDO(com.lutris.appserver.server.sql.ObjectId id, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          Protected constructor used by createExisting(ObjectId, DBTransaction) above.
protected CreateProcessEventAuditDO(java.sql.ResultSet rs)
          Protected constructor.
protected CreateProcessEventAuditDO(java.sql.ResultSet rs, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          Protected constructor.
 
Method Summary
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 _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 _setPActivityDefinitionId(java.lang.String value)
          _setPActivityDefinitionId is a protected method that is called by setPActivityDefinitionId if PActivityDefinitionId is not part of a multicolumn foreign key.
protected  void _setPActivityDefinitionName(java.lang.String value)
          _setPActivityDefinitionName is a protected method that is called by setPActivityDefinitionName if PActivityDefinitionName is not part of a multicolumn foreign key.
protected  void _setPActivityId(java.lang.String value)
          _setPActivityId is a protected method that is called by setPActivityId if PActivityId is not part of a multicolumn foreign key.
protected  void _setPPackageId(java.lang.String value)
          _setPPackageId is a protected method that is called by setPPackageId if PPackageId is not part of a multicolumn foreign key.
protected  void _setPProcessDefinitionId(java.lang.String value)
          _setPProcessDefinitionId is a protected method that is called by setPProcessDefinitionId if PProcessDefinitionId is not part of a multicolumn foreign key.
protected  void _setPProcessDefinitionName(java.lang.String value)
          _setPProcessDefinitionName is a protected method that is called by setPProcessDefinitionName if PProcessDefinitionName is not part of a multicolumn foreign key.
protected  void _setPProcessFactoryName(java.lang.String value)
          _setPProcessFactoryName is a protected method that is called by setPProcessFactoryName if PProcessFactoryName is not part of a multicolumn foreign key.
protected  void _setPProcessFactoryVersion(java.lang.String value)
          _setPProcessFactoryVersion is a protected method that is called by setPProcessFactoryVersion if PProcessFactoryVersion is not part of a multicolumn foreign key.
protected  void _setPProcessId(java.lang.String value)
          _setPProcessId is a protected method that is called by setPProcessId if PProcessId is not part of a multicolumn foreign key.
protected  void _setPProcessName(java.lang.String value)
          _setPProcessName is a protected method that is called by setPProcessName if PProcessName 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(CreateProcessEventAuditDataStruct newDS)
          Add DataStruct object to cache.
static CreateProcessEventAuditDO ceInternal(java.math.BigDecimal bd)
          Method ceInternal is public, only to allow generated classes to instantiate one another.
static CreateProcessEventAuditDO 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 CreateProcessEventAuditDO ceInternal(com.lutris.appserver.server.sql.ObjectId id)
          ceInternal( ObjectId ) Factory method creates a CreateProcessEventAuditDO object by searching for it in the database using the passed ObjectID value as the primary key.
static CreateProcessEventAuditDO ceInternal(com.lutris.appserver.server.sql.ObjectId id, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          ceInternal(ObjectId, DBTransaction) Factory method creates a CreateProcessEventAuditDO object by searching for it in the database using the passed ObjectID value as the primary key.
protected static CreateProcessEventAuditDO ceInternal(com.lutris.dods.builder.generator.query.RDBColumnValue pk)
          ceInternal( RDBColumnValue ) Factory method creates a CreateProcessEventAuditDO object by searching for it in the database using the passed CreateProcessEventAuditDO.PrimaryKey.
protected static CreateProcessEventAuditDO ceInternal(com.lutris.dods.builder.generator.query.RDBColumnValue pk, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          ceInternal( RDBColumnValue, DBTransaction ) Factory method creates a CreateProcessEventAuditDO object by searching for it in the database using the passed CreateProcessEventAuditDO.PrimaryKey.
protected static CreateProcessEventAuditDO ceInternal(com.lutris.dods.builder.generator.query.RDBRow row)
          ceInternal( RDBRow ) Factory method creates a CreateProcessEventAuditDO object by searching for it in the database using the CreateProcessEventAuditDO.PrimaryKey value in the passed RDBRow.
protected static CreateProcessEventAuditDO ceInternal(com.lutris.dods.builder.generator.query.RDBRow row, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          ceInternal( RDBRow , DBTransaction) Factory method creates a CreateProcessEventAuditDO object by searching for it in the database using the CreateProcessEventAuditDO.PrimaryKey value in the passed RDBRow.
protected static CreateProcessEventAuditDO 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 CreateProcessEventAuditDO ceInternal(java.sql.ResultSet rs, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          ceInternal(ResultSet, DBTransaction)
static CreateProcessEventAuditDO ceInternal(java.lang.String handle)
          Method ceInternal is public, only to allow generated classes to instantiate one another.
static CreateProcessEventAuditDO 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 CreateProcessEventAuditDO createCopy(CreateProcessEventAuditDataStruct data)
          Creates a DO that has no ObjectId but has a copy of an existing DO's data.
static CreateProcessEventAuditDO createCopy(CreateProcessEventAuditDataStruct 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 CreateProcessEventAuditDO createCopy(CreateProcessEventAuditDO orig)
          Creates a DO that has no ObjectId but has a copy of an existing DO's data.
static CreateProcessEventAuditDO createCopy(CreateProcessEventAuditDO 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 CreateProcessEventAuditDO createExisting(java.math.BigDecimal bd)
          createExisting( BigDecimal ) Factory method creates a CreateProcessEventAuditDO object by searching for it in the database using the passed BigDecimal value as the primary key.
static CreateProcessEventAuditDO createExisting(java.math.BigDecimal bd, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          createExisting(BigDecimal, DBTransaction)
static CreateProcessEventAuditDO createExisting(java.lang.String handle)
          createExisting(String) The createExisting method is used to create a CreateProcessEventAuditDO from a string handle.
static CreateProcessEventAuditDO createExisting(java.lang.String handle, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          createExisting(String, DBTransaction) The createExisting method is used to create a CreateProcessEventAuditDO 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 CreateProcessEventAuditDO createVirgin()
          createVirgin() Creates a DO that has no ObjectId or data.
static CreateProcessEventAuditDO 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 CreateProcessEventAuditDataStruct deleteFromCache(CreateProcessEventAuditDataStruct 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(CreateProcessEventAuditDataStruct[] 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 CreateProcessEventAuditDataStruct findCachedObjectByHandle(java.lang.String cacheHandle)
          Get DataStruct object with key cacheHandle from the cache.
 CreateProcessEventAuditDO 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.
 CreateProcessEventAuditDataStruct get_DataStruct()
          Returns dataStruct.
 java.lang.String get_Handle()
          The methods get_Handle hasMatchingHandle findCachedObjectByHandle are used by Presentation Objects that need to populate HTML select lists with Data Objects as options.
static java.lang.String get_logicalDBName()
          get_logicalDBName retrieves the logical database name set by setLogicalDBName().
 int get_NewVersion()
          get_NewVersion overloaded
 com.lutris.appserver.server.sql.ObjectId get_OId()
          Returns this object's identifier.
 java.lang.String get_OriginDatabase()
          Return the name of the logical database for which DO object was created.
static org.enhydra.dods.statistics.Statistics get_statistics()
          Get table statistics.
 com.lutris.appserver.server.sql.DBTransaction get_transaction()
          Return transaction which DO belongs.
static java.lang.String[] get_UsedLogicalDatabases()
          Get all used logical databases.
 int get_Version()
          get_Version makes the protected method public in CoreDO.
static int getAsynchLoadPriority()
          Returns priority for asynchronous cache initialization.
static java.lang.String getCacheDodsTableName()
          Get name of the table that is cached.
 java.math.BigDecimal getCNT()
          Get CNT of the SHKCreateProcessEventAudits.
static org.enhydra.dods.cache.ConfigurationAdministration getConfigurationAdministration()
          Returns SHKCreateProcessEventAudits table cache.
 CreateProcessEventAuditDataStruct 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.
 java.lang.String getPackageId()
          Get PackageId of the SHKCreateProcessEventAudits.
 java.lang.String getPActivityDefinitionId()
          Get PActivityDefinitionId of the SHKCreateProcessEventAudits.
 java.lang.String getPActivityDefinitionName()
          Get PActivityDefinitionName of the SHKCreateProcessEventAudits.
 java.lang.String getPActivityId()
          Get PActivityId of the SHKCreateProcessEventAudits.
 java.lang.String getPPackageId()
          Get PPackageId of the SHKCreateProcessEventAudits.
 java.lang.String getPProcessDefinitionId()
          Get PProcessDefinitionId of the SHKCreateProcessEventAudits.
 java.lang.String getPProcessDefinitionName()
          Get PProcessDefinitionName of the SHKCreateProcessEventAudits.
 java.lang.String getPProcessFactoryName()
          Get PProcessFactoryName of the SHKCreateProcessEventAudits.
 java.lang.String getPProcessFactoryVersion()
          Get PProcessFactoryVersion of the SHKCreateProcessEventAudits.
 java.lang.String getPProcessId()
          Get PProcessId of the SHKCreateProcessEventAudits.
 java.lang.String getPProcessName()
          Get PProcessName of the SHKCreateProcessEventAudits.
 java.lang.String getProcessDefinitionId()
          Get ProcessDefinitionId of the SHKCreateProcessEventAudits.
 java.lang.String getProcessDefinitionName()
          Get ProcessDefinitionName of the SHKCreateProcessEventAudits.
 java.lang.String getProcessFactoryName()
          Get ProcessFactoryName of the SHKCreateProcessEventAudits.
 java.lang.String getProcessFactoryVersion()
          Get ProcessFactoryVersion of the SHKCreateProcessEventAudits.
 java.lang.String getProcessId()
          Get ProcessId of the SHKCreateProcessEventAudits.
 java.lang.String getProcessName()
          Get ProcessName of the SHKCreateProcessEventAudits.
 long getRecordedTime()
          Get RecordedTime of the SHKCreateProcessEventAudits.
 long getRecordedTimeTZO()
          Get RecordedTimeTZO of the SHKCreateProcessEventAudits.
 java.lang.String getTableName()
          Return SHKCreateProcessEventAudits as the name of the table in the database which contains CreateProcessEventAuditDO objects.
 EventTypeDO getTheType()
          Get TheType of the SHKCreateProcessEventAudits.
 java.lang.String getTheUsername()
          Get TheUsername of the SHKCreateProcessEventAudits.
 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(CreateProcessEventAuditDO 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_getTheType()
          Get BigDecimal value of TheType of the SHKCreateProcessEventAudits.
 int objectIdentityType()
          Return the type of the identity column(s) of DOs that these objects represents.
 java.math.BigDecimal oid_getTheType()
          Get BigDecimal value of TheType of the SHKCreateProcessEventAudits.
 void oid_setTheType(java.math.BigDecimal value)
          Set TheType of the SHKCreateProcessEventAudits.
 void oid_setTheType(com.lutris.appserver.server.sql.ObjectId value)
          Set value for the TheType of the SHKCreateProcessEventAudits.
 void oid_setTheType(java.lang.String value)
          Set TheType of the SHKCreateProcessEventAudits.
protected  void okToCommit()
          A stub method for implementing pre-commit assertions for this CreateProcessEventAuditDO.
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 CreateProcessEventAuditDO.
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.math.BigDecimal originalData_getCNT()
          Get original value of CNT from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getPackageId()
          Get original value of PackageId from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getPActivityDefinitionId()
          Get original value of PActivityDefinitionId from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getPActivityDefinitionName()
          Get original value of PActivityDefinitionName from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getPActivityId()
          Get original value of PActivityId from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getPPackageId()
          Get original value of PPackageId from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getPProcessDefinitionId()
          Get original value of PProcessDefinitionId from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getPProcessDefinitionName()
          Get original value of PProcessDefinitionName from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getPProcessFactoryName()
          Get original value of PProcessFactoryName from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getPProcessFactoryVersion()
          Get original value of PProcessFactoryVersion from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getPProcessId()
          Get original value of PProcessId from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getPProcessName()
          Get original value of PProcessName from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getProcessDefinitionId()
          Get original value of ProcessDefinitionId from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getProcessDefinitionName()
          Get original value of ProcessDefinitionName from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getProcessFactoryName()
          Get original value of ProcessFactoryName from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getProcessFactoryVersion()
          Get original value of ProcessFactoryVersion from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getProcessId()
          Get original value of ProcessId from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getProcessName()
          Get original value of ProcessName from the SHKCreateProcessEventAudits.
 long originalData_getRecordedTime()
          Get original value of RecordedTime from the SHKCreateProcessEventAudits.
 long originalData_getRecordedTimeTZO()
          Get original value of RecordedTimeTZO from the SHKCreateProcessEventAudits.
 EventTypeDO originalData_getTheType()
          Get original value of TheType from the SHKCreateProcessEventAudits.
 java.lang.String originalData_getTheUsername()
          Get original value of TheUsername from the SHKCreateProcessEventAudits.
 com.lutris.appserver.server.sql.ObjectId originalData_objectId_getTheType()
          Get BigDecimal value of TheType of the SHKCreateProcessEventAudits.
 java.math.BigDecimal originalData_oid_getTheType()
          Get BigDecimal value of TheType of the SHKCreateProcessEventAudits.
 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.SHKCreateProcessEventAudits table or default cache size.
 void refresh()
          This method is invoked whenever object needs to be loaded from database.
static void refresh(CreateProcessEventAuditDO[] 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 CreateProcessEventAuditDataStruct removeFromCache(CreateProcessEventAuditDataStruct data)
          Remove DataStruct from cache.
static void removeFromCache(java.lang.String dbName, java.lang.String handle)
          Remove DataStruct object from cache.
static CreateProcessEventAuditDO 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 setCNT(java.math.BigDecimal value)
          Set CNT of the SHKCreateProcessEventAudits.
 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 setPackageId(java.lang.String value)
          Set PackageId of the SHKCreateProcessEventAudits.
 void setPActivityDefinitionId(java.lang.String value)
          Set PActivityDefinitionId of the SHKCreateProcessEventAudits.
 void setPActivityDefinitionName(java.lang.String value)
          Set PActivityDefinitionName of the SHKCreateProcessEventAudits.
 void setPActivityId(java.lang.String value)
          Set PActivityId of the SHKCreateProcessEventAudits.
 void setPPackageId(java.lang.String value)
          Set PPackageId of the SHKCreateProcessEventAudits.
 void setPProcessDefinitionId(java.lang.String value)
          Set PProcessDefinitionId of the SHKCreateProcessEventAudits.
 void setPProcessDefinitionName(java.lang.String value)
          Set PProcessDefinitionName of the SHKCreateProcessEventAudits.
 void setPProcessFactoryName(java.lang.String value)
          Set PProcessFactoryName of the SHKCreateProcessEventAudits.
 void setPProcessFactoryVersion(java.lang.String value)
          Set PProcessFactoryVersion of the SHKCreateProcessEventAudits.
 void setPProcessId(java.lang.String value)
          Set PProcessId of the SHKCreateProcessEventAudits.
 void setPProcessName(java.lang.String value)
          Set PProcessName of the SHKCreateProcessEventAudits.
 void setProcessDefinitionId(java.lang.String value)
          Set ProcessDefinitionId of the SHKCreateProcessEventAudits.
 void setProcessDefinitionName(java.lang.String value)
          Set ProcessDefinitionName of the SHKCreateProcessEventAudits.
 void setProcessFactoryName(java.lang.String value)
          Set ProcessFactoryName of the SHKCreateProcessEventAudits.
 void setProcessFactoryVersion(java.lang.String value)
          Set ProcessFactoryVersion of the SHKCreateProcessEventAudits.
 void setProcessId(java.lang.String value)
          Set ProcessId of the SHKCreateProcessEventAudits.
 void setProcessName(java.lang.String value)
          Set ProcessName of the SHKCreateProcessEventAudits.
 void setRecordedTime(long value)
          Set RecordedTime of the SHKCreateProcessEventAudits.
 void setRecordedTimeTZO(long value)
          Set RecordedTimeTZO of the SHKCreateProcessEventAudits.
 void setTheType(EventTypeDO value)
          Set TheType of the SHKCreateProcessEventAudits.
 void setTheUsername(java.lang.String value)
          Set TheUsername of the SHKCreateProcessEventAudits.
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 CreateProcessEventAuditDataStruct updateCache(CreateProcessEventAuditDataStruct 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

tableName

public static final java.lang.String tableName
Static final data members name the table and columns for this DO. By using these members with an instance of the QueryBuilder class, an application can perform straight SQL queries while retaining compile-time checking of table and column usage. Example: List the Cities containing Persons named Bob: Using straight SQL with QueryBuilder: Pro: code runs faster because you create fewer objects Con: code is less clear Vector fields = new Vector(); fields.addElement( AddressDO.City ); QueryBuilder qb = new QueryBuilder( fields ); qb.addWhere( PersonDO.FirstName, "Bob" ); qb.addWhere( PersonDO.PrimaryKey, AddressDO.Person ); RDBRow row; while ( null != ( row = qb.getNextRow() ) ) { String city = row.get( AddressDO.City ).getString(); } Using Query/DO classes: Pro: code is (often) clearer Con: code runs slower because you create more objects PersonQuery pq = new PersonQuery(); pq.setQueryFirstName( "Bob" ); PersonDO[] bobs = pq.getDOArray(); for ( int i = 0; i < bobs.length; i++ ) { AddressQuery aq = new AddressQuery(); aq.setQueryPerson( bobs[i] ); AddressDO addr = aq.getNextDO(); String city = addr.getCity(); }

See Also:
Constant Field Values

table

public static final com.lutris.dods.builder.generator.query.RDBTable table

PrimaryKey

public static final com.lutris.dods.builder.generator.query.RDBColumn PrimaryKey
static final RDBColumn PrimaryKey for use with QueryBuilder. See example above.


notUsingOId

protected static final boolean notUsingOId
See Also:
Constant Field Values

statistics

protected static org.enhydra.dods.statistics.Statistics statistics
Represents table and cache (if there is caching) statistics.


cache

protected static org.enhydra.dods.cache.DataStructCache cache

isFullCacheNeeded

protected static boolean isFullCacheNeeded

deleted

protected boolean deleted

RecordedTime

public static final com.lutris.dods.builder.generator.query.RDBColumn RecordedTime
static final RDBColumn RecordedTime for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_RECORDEDTIME

public static final int COLUMN_RECORDEDTIME
Use for query caching.

See Also:
Constant Field Values

RecordedTimeTZO

public static final com.lutris.dods.builder.generator.query.RDBColumn RecordedTimeTZO
static final RDBColumn RecordedTimeTZO for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_RECORDEDTIMETZO

public static final int COLUMN_RECORDEDTIMETZO
Use for query caching.

See Also:
Constant Field Values

TheUsername

public static final com.lutris.dods.builder.generator.query.RDBColumn TheUsername
static final RDBColumn TheUsername for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_THEUSERNAME

public static final int COLUMN_THEUSERNAME
Use for query caching.

See Also:
Constant Field Values

TheUsername_MaxLength

public static final int TheUsername_MaxLength
See Also:
Constant Field Values

TheType

public static final com.lutris.dods.builder.generator.query.RDBColumn TheType
static final RDBColumn TheType for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_THETYPE

public static final int COLUMN_THETYPE
Use for query caching.

See Also:
Constant Field Values

ProcessId

public static final com.lutris.dods.builder.generator.query.RDBColumn ProcessId
static final RDBColumn ProcessId for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PROCESSID

public static final int COLUMN_PROCESSID
Use for query caching.

See Also:
Constant Field Values

ProcessId_MaxLength

public static final int ProcessId_MaxLength
See Also:
Constant Field Values

ProcessName

public static final com.lutris.dods.builder.generator.query.RDBColumn ProcessName
static final RDBColumn ProcessName for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PROCESSNAME

public static final int COLUMN_PROCESSNAME
Use for query caching.

See Also:
Constant Field Values

ProcessName_MaxLength

public static final int ProcessName_MaxLength
See Also:
Constant Field Values

ProcessFactoryName

public static final com.lutris.dods.builder.generator.query.RDBColumn ProcessFactoryName
static final RDBColumn ProcessFactoryName for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PROCESSFACTORYNAME

public static final int COLUMN_PROCESSFACTORYNAME
Use for query caching.

See Also:
Constant Field Values

ProcessFactoryName_MaxLength

public static final int ProcessFactoryName_MaxLength
See Also:
Constant Field Values

ProcessFactoryVersion

public static final com.lutris.dods.builder.generator.query.RDBColumn ProcessFactoryVersion
static final RDBColumn ProcessFactoryVersion for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PROCESSFACTORYVERSION

public static final int COLUMN_PROCESSFACTORYVERSION
Use for query caching.

See Also:
Constant Field Values

ProcessFactoryVersion_MaxLength

public static final int ProcessFactoryVersion_MaxLength
See Also:
Constant Field Values

ProcessDefinitionId

public static final com.lutris.dods.builder.generator.query.RDBColumn ProcessDefinitionId
static final RDBColumn ProcessDefinitionId for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PROCESSDEFINITIONID

public static final int COLUMN_PROCESSDEFINITIONID
Use for query caching.

See Also:
Constant Field Values

ProcessDefinitionId_MaxLength

public static final int ProcessDefinitionId_MaxLength
See Also:
Constant Field Values

ProcessDefinitionName

public static final com.lutris.dods.builder.generator.query.RDBColumn ProcessDefinitionName
static final RDBColumn ProcessDefinitionName for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PROCESSDEFINITIONNAME

public static final int COLUMN_PROCESSDEFINITIONNAME
Use for query caching.

See Also:
Constant Field Values

ProcessDefinitionName_MaxLength

public static final int ProcessDefinitionName_MaxLength
See Also:
Constant Field Values

PackageId

public static final com.lutris.dods.builder.generator.query.RDBColumn PackageId
static final RDBColumn PackageId for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PACKAGEID

public static final int COLUMN_PACKAGEID
Use for query caching.

See Also:
Constant Field Values

PackageId_MaxLength

public static final int PackageId_MaxLength
See Also:
Constant Field Values

PActivityId

public static final com.lutris.dods.builder.generator.query.RDBColumn PActivityId
static final RDBColumn PActivityId for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PACTIVITYID

public static final int COLUMN_PACTIVITYID
Use for query caching.

See Also:
Constant Field Values

PActivityId_MaxLength

public static final int PActivityId_MaxLength
See Also:
Constant Field Values

PProcessId

public static final com.lutris.dods.builder.generator.query.RDBColumn PProcessId
static final RDBColumn PProcessId for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PPROCESSID

public static final int COLUMN_PPROCESSID
Use for query caching.

See Also:
Constant Field Values

PProcessId_MaxLength

public static final int PProcessId_MaxLength
See Also:
Constant Field Values

PProcessName

public static final com.lutris.dods.builder.generator.query.RDBColumn PProcessName
static final RDBColumn PProcessName for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PPROCESSNAME

public static final int COLUMN_PPROCESSNAME
Use for query caching.

See Also:
Constant Field Values

PProcessName_MaxLength

public static final int PProcessName_MaxLength
See Also:
Constant Field Values

PProcessFactoryName

public static final com.lutris.dods.builder.generator.query.RDBColumn PProcessFactoryName
static final RDBColumn PProcessFactoryName for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PPROCESSFACTORYNAME

public static final int COLUMN_PPROCESSFACTORYNAME
Use for query caching.

See Also:
Constant Field Values

PProcessFactoryName_MaxLength

public static final int PProcessFactoryName_MaxLength
See Also:
Constant Field Values

PProcessFactoryVersion

public static final com.lutris.dods.builder.generator.query.RDBColumn PProcessFactoryVersion
static final RDBColumn PProcessFactoryVersion for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PPROCESSFACTORYVERSION

public static final int COLUMN_PPROCESSFACTORYVERSION
Use for query caching.

See Also:
Constant Field Values

PProcessFactoryVersion_MaxLength

public static final int PProcessFactoryVersion_MaxLength
See Also:
Constant Field Values

PActivityDefinitionId

public static final com.lutris.dods.builder.generator.query.RDBColumn PActivityDefinitionId
static final RDBColumn PActivityDefinitionId for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PACTIVITYDEFINITIONID

public static final int COLUMN_PACTIVITYDEFINITIONID
Use for query caching.

See Also:
Constant Field Values

PActivityDefinitionId_MaxLength

public static final int PActivityDefinitionId_MaxLength
See Also:
Constant Field Values

PActivityDefinitionName

public static final com.lutris.dods.builder.generator.query.RDBColumn PActivityDefinitionName
static final RDBColumn PActivityDefinitionName for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PACTIVITYDEFINITIONNAME

public static final int COLUMN_PACTIVITYDEFINITIONNAME
Use for query caching.

See Also:
Constant Field Values

PActivityDefinitionName_MaxLength

public static final int PActivityDefinitionName_MaxLength
See Also:
Constant Field Values

PProcessDefinitionId

public static final com.lutris.dods.builder.generator.query.RDBColumn PProcessDefinitionId
static final RDBColumn PProcessDefinitionId for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PPROCESSDEFINITIONID

public static final int COLUMN_PPROCESSDEFINITIONID
Use for query caching.

See Also:
Constant Field Values

PProcessDefinitionId_MaxLength

public static final int PProcessDefinitionId_MaxLength
See Also:
Constant Field Values

PProcessDefinitionName

public static final com.lutris.dods.builder.generator.query.RDBColumn PProcessDefinitionName
static final RDBColumn PProcessDefinitionName for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PPROCESSDEFINITIONNAME

public static final int COLUMN_PPROCESSDEFINITIONNAME
Use for query caching.

See Also:
Constant Field Values

PProcessDefinitionName_MaxLength

public static final int PProcessDefinitionName_MaxLength
See Also:
Constant Field Values

PPackageId

public static final com.lutris.dods.builder.generator.query.RDBColumn PPackageId
static final RDBColumn PPackageId for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_PPACKAGEID

public static final int COLUMN_PPACKAGEID
Use for query caching.

See Also:
Constant Field Values

PPackageId_MaxLength

public static final int PPackageId_MaxLength
See Also:
Constant Field Values

CNT

public static final com.lutris.dods.builder.generator.query.RDBColumn CNT
static final RDBColumn CNT for use with QueryBuilder. See RDBColumn PrimaryKey at the top of this file for usage example.


COLUMN_CNT

public static final int COLUMN_CNT
Use for query caching.

See Also:
Constant Field Values
Constructor Detail

CreateProcessEventAuditDO

protected CreateProcessEventAuditDO(boolean is_view)
                             throws com.lutris.appserver.server.sql.ObjectIdException,
                                    com.lutris.appserver.server.sql.DatabaseManagerException
Protected constructor. Only derived classes should call it.

Parameters:
is_view - Is this view or not.
Throws:
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.

CreateProcessEventAuditDO

protected CreateProcessEventAuditDO(boolean is_view,
                                    com.lutris.appserver.server.sql.DBTransaction dbTrans)
                             throws com.lutris.appserver.server.sql.ObjectIdException,
                                    com.lutris.appserver.server.sql.DatabaseManagerException
Protected constructor. Only derived classes should call it.

Parameters:
is_view - Is this view or not.
dbTrans - Database transaction.
Throws:
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.

CreateProcessEventAuditDO

protected CreateProcessEventAuditDO()
                             throws com.lutris.appserver.server.sql.ObjectIdException,
                                    com.lutris.appserver.server.sql.DatabaseManagerException
Protected constructor. Only derived classes should call it.

Throws:
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.

CreateProcessEventAuditDO

protected CreateProcessEventAuditDO(com.lutris.appserver.server.sql.DBTransaction dbTrans)
                             throws com.lutris.appserver.server.sql.ObjectIdException,
                                    com.lutris.appserver.server.sql.DatabaseManagerException
Protected constructor. Only derived classes should call it.

Parameters:
dbTrans - The current database transaction.
Throws:
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.

CreateProcessEventAuditDO

protected CreateProcessEventAuditDO(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
Protected constructor used by createExisting(ObjectId) above.

Parameters:
id - The ObjectId for the object.
Throws:
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.

CreateProcessEventAuditDO

protected CreateProcessEventAuditDO(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
Protected constructor used by createExisting(ObjectId, DBTransaction) above.

Parameters:
id - The ObjectId for the object.
dbTrans - The current database transaction
Throws:
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.

CreateProcessEventAuditDO

protected CreateProcessEventAuditDO(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
Protected constructor.

Parameters:
rs - Result set from which to obtain product data.
Throws:
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.

CreateProcessEventAuditDO

protected CreateProcessEventAuditDO(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
Protected constructor.

Parameters:
rs - Result set from which to obtain product data.
dbTrans - DBTransaction object.
Throws:
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

get_OriginDatabase

public java.lang.String get_OriginDatabase()
Return the name of the logical database for which DO object was created.

Returns:
origin logical database name.

getTableName

public java.lang.String getTableName()
Return SHKCreateProcessEventAudits as the name of the table in the database which contains CreateProcessEventAuditDO objects. This method overrides CoreDO.getTableName() and is used by CoreDO.executeUpdate() during error handling.

Returns:
The database table name.
See Also:
CoreDO author Jay Gunter

get_transaction

public com.lutris.appserver.server.sql.DBTransaction get_transaction()
Return transaction which DO belongs.

Returns:
DBTransaction or null if not specified.

setTransaction

protected boolean setTransaction(com.lutris.appserver.server.sql.DBTransaction trans)
Set Transaction to current DO.

Parameters:
trans - The transaction.
Returns:
true if the operation was successfully performed, otherwise false.

isReadOnly

public boolean isReadOnly()
Return information whether the data for this object has been marked read-only.

Returns:
True if the data for this object has been marked read-only.

objectIdentityType

public int objectIdentityType()
Return the type of the identity column(s) of DOs that these objects represents. This method should be overridden by derived classes.

Returns:
the identity type of DOs
See Also:
CommonConstants.OBJECT_IDENTITY_TYPE

set_Data

public void set_Data(java.lang.Object data)
Sets DO's data.

Parameters:
data - Data object.

originalData_set

public void originalData_set(java.lang.Object value)
Sets original DO's data.

Parameters:
value - Data object.

get_Data

public java.lang.Object get_Data()
Returns DO's data.

Returns:
DO's data.

getDataStruct

public CreateProcessEventAuditDataStruct getDataStruct()
Deprecated. Use get_DataStruct()

Returns dataStruct.

Returns:
Data Struct object.

get_DataStruct

public CreateProcessEventAuditDataStruct get_DataStruct()
Returns dataStruct.

Returns:
Data Struct object.

originalData_get

public java.lang.Object originalData_get()
Returns original DO's data.

Returns:
Original DO's data.

isLoaded

public boolean isLoaded()
isLoaded() Returns information whether object's data is loaded from database.

Returns:
true if the data for this object has been retrieved from the database.

loadData

public void loadData()
              throws java.sql.SQLException,
                     com.lutris.appserver.server.sql.ObjectIdException,
                     com.lutris.dods.builder.generator.query.DataObjectException
Load the fields for the DO from the database.

Throws:
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.

get_statistics

public static org.enhydra.dods.statistics.Statistics get_statistics()
Get table statistics.

Returns:
Table statistics.

refreshStatistics

public static void refreshStatistics()
Refresh table statistics.


getUsedLogicalDatabases

public static java.lang.String[] getUsedLogicalDatabases()
Deprecated. Use get_UsedLogicalDatabases()

Get all used logical databases.

Returns:
Array that contains names of all used logical databases.

get_UsedLogicalDatabases

public static java.lang.String[] get_UsedLogicalDatabases()
Get all used logical databases.

Returns:
Array that contains names of all used logical databases.

readCacheConfiguration

public static void readCacheConfiguration(java.lang.String database)
                                   throws org.enhydra.dods.exceptions.CacheObjectException
Read cache configuration from application configuration file: cache size for org.enhydra.shark.eventaudit.data.SHKCreateProcessEventAudits table or default cache size.

Parameters:
database - DO's database.
Throws:
org.enhydra.dods.exceptions.CacheObjectException

isAsynchCacheLoadNeeded

public static boolean isAsynchCacheLoadNeeded()
Returns information if asynchronous cache initialization is needed or not.

Returns:
true if asynchronous cache initialization is needed, otherwise false.

getAsynchLoadPriority

public static int getAsynchLoadPriority()
Returns priority for asynchronous cache initialization. If asynchronous cache initialization is not needed, method returns value -1.

Returns:
priority for asynchronous cache initialization.

isSimpleCacheUsed

public static boolean isSimpleCacheUsed()
Returns information if simple cache is used or not.

Returns:
true if simple cache is used, otherwise false.

getCacheDodsTableName

public static java.lang.String getCacheDodsTableName()
Get name of the table that is cached.

Returns:
Name of the table that is cached.

getConfigurationAdministration

public static org.enhydra.dods.cache.ConfigurationAdministration getConfigurationAdministration()
Returns SHKCreateProcessEventAudits table cache.

Returns:
SHKCreateProcessEventAudits table cache.

refreshCache

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
Queries all rows in table, and for each row creates a DO instance in the cache. For these DOs, data.readOnly = true, which causes set methods to throw an exception.

Throws:
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.

disableCaching

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
Disable caching.

Throws:
java.sql.SQLException
com.lutris.appserver.server.sql.DatabaseManagerException
com.lutris.appserver.server.sql.ObjectIdException
com.lutris.dods.builder.generator.query.DataObjectException

enableCaching

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
Enable caching.

Throws:
java.sql.SQLException
com.lutris.appserver.server.sql.DatabaseManagerException
com.lutris.appserver.server.sql.ObjectIdException
com.lutris.dods.builder.generator.query.DataObjectException

addToCache

public static void addToCache(CreateProcessEventAuditDataStruct newDS)
Add DataStruct object to cache. If there is no caching newDO object is returned.

Parameters:
newDS - DataStruct object that will be added to cache.
Returns:
DataStruct object added to cache.

addToCache

public void addToCache()
Add DO's original data object to cache.


updateCache

public static CreateProcessEventAuditDataStruct updateCache(CreateProcessEventAuditDataStruct updDS)
UpdateCache for given DataStruct object.

Parameters:
updDS - DataStruct object
Returns:
Updated or inserted DataStruct object.

updateCache

public void updateCache()
Update Cache.


deleteFromCache

public static CreateProcessEventAuditDataStruct deleteFromCache(CreateProcessEventAuditDataStruct data)
Delete DataStruct object from cache

Parameters:
data - DataStruct object for deleting
Returns:
Deleted DataStruct object

removeFromCache

public static void removeFromCache(java.lang.String dbName,
                                   java.lang.String handle)
Remove DataStruct object from cache.

Parameters:
dbName - Logical name of the database from which CreateProcessEventAuditDataStruct object will be removed.
handle - Handle of DataStruct object which will be re moved.

deleteFromCache

public void deleteFromCache()
Delete object from cache


removeFromCache

public static CreateProcessEventAuditDataStruct removeFromCache(CreateProcessEventAuditDataStruct data)
Remove DataStruct from cache.

Parameters:
data - DataStruct object which will be removed.
Returns:
Removed DataStruct object or null if DataStruct object doesn't exist in the cache.

evict

public void evict()
Remove DataStruct from cache.


evict

public static void evict(CreateProcessEventAuditDataStruct[] DSs)
Remove DataStruct objects from cache.

Parameters:
DSs - Array of DataStruct objects which will be removed from cache.

evict

public static void evict(java.lang.String dbName,
                         java.lang.String[] handles)
Remove DataStruct objects from cache.

Parameters:
dbName - Logical name of the database from which CreateProcessEventAuditDataStruct object will be removed.
handles - array of DataStruct object handles that will be removed from cache.

refresh

public void refresh()
             throws com.lutris.dods.builder.generator.query.DataObjectException
This method is invoked whenever object needs to be loaded from database.

Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If a data access error occurs.

refresh

public static void refresh(CreateProcessEventAuditDO[] DOs)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
This method is invoked whenever objects needs to be loaded from database.

Parameters:
DOs - Array of DOs which will be red from database.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If a data access error occurs.

refresh

public static void refresh(java.lang.String querySnt)
                    throws com.lutris.dods.builder.generator.query.QueryException
Refresh cache by removing from the cache results of the query querySnt

Parameters:
querySnt - query used in this
Throws:
com.lutris.dods.builder.generator.query.QueryException - If a data access error occurs.

createVirgin

public static CreateProcessEventAuditDO createVirgin()
                                              throws com.lutris.appserver.server.sql.DatabaseManagerException,
                                                     com.lutris.appserver.server.sql.ObjectIdException
createVirgin() Creates a DO that has no ObjectId or data. Such a DO is used to insert a new database entry after its data has been set.

Returns:
Created data object.
Throws:
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.

createVirgin

public static CreateProcessEventAuditDO createVirgin(com.lutris.appserver.server.sql.DBTransaction dbTrans)
                                              throws com.lutris.appserver.server.sql.DatabaseManagerException,
                                                     com.lutris.appserver.server.sql.ObjectIdException
createVirgin(DBTransaction)

Parameters:
dbTrans - The current database transaction
Returns:
Created data object.
Throws:
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.

createExisting

public static CreateProcessEventAuditDO 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
createExisting( BigDecimal ) Factory method creates a CreateProcessEventAuditDO object by searching for it in the database using the passed BigDecimal value as the primary key. Creates a DO that represents an existing entry in the database. Such a DO is used to examine and possibly update such an entry. createExisting() is called only from the code that retrieves an ObjectId from a ResultSet (database query result). createExisting() is protected because no other DO or BO should ever need to call it. FIX unfortunately the createExisting(BigDecimal) form *does* need to be public because it is called by the public ctors of other DOs. For example: AaaDO contains a ref to a BbbDO, so there is a method AaaDO.setBbb(BbbDO). In the ctor AaaDO(ResultSet), we have the call setBbb( BbbDO.createExisting( rs.getBigDecimal( "bbb"))); Since AaaDO is not in the same package as BbbDO, BbbDO.createExisting(BigDecimal) must be public, not protected. Java needs the C++ 'friend' idea.

Parameters:
bd - The BigDecimal representation of the ObjectId for the object.
Returns:
Created CreateProcessEventAuditDO object.
Throws:
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.

ceInternal

public static CreateProcessEventAuditDO 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
Method ceInternal is public, only to allow generated classes to instantiate one another. Public modifier doesn't mean user application could use it - it mustn't.

Parameters:
bd - The BigDecimal representation of the ObjectId for the object.
Returns:
instance of CreateProcessEventAuditDO or null
Throws:
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.

ceInternal

public static CreateProcessEventAuditDO 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
Method ceInternal is public, only to allow generated classes to instantiate one another. Public modifier doesn't mean user application could use it - it mustn't.

Parameters:
bd - The BigDecimal representation of the ObjectId for the object.
dbTrans - The current database transaction.
Returns:
instance of CreateProcessEventAuditDO or null
Throws:
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.

createExisting

public static CreateProcessEventAuditDO 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
createExisting(BigDecimal, DBTransaction)

Parameters:
bd - The BigDecimal representation of the ObjectId for the object.
dbTrans - The current database transaction.
Returns:
Created CreateProcessEventAuditDO object.
Throws:
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.

createExisting

public static CreateProcessEventAuditDO createExisting(java.lang.String handle)
createExisting(String) The createExisting method is used to create a CreateProcessEventAuditDO from a string handle.

Parameters:
handle - String representation of the ObjectId for the object.
Returns:
Created CreateProcessEventAuditDO object.

ceInternal

public static CreateProcessEventAuditDO ceInternal(java.lang.String handle)
Method ceInternal is public, only to allow generated classes to instantiate one another. Public modifier doesn't mean user application could use it - it mustn't.

Parameters:
handle - String representation of the ObjectId for the object.
Returns:
instance of CreateProcessEventAuditDO or null

createExisting

public static CreateProcessEventAuditDO createExisting(java.lang.String handle,
                                                       com.lutris.appserver.server.sql.DBTransaction dbTrans)
createExisting(String, DBTransaction) The createExisting method is used to create a CreateProcessEventAuditDO from a string handle.

Parameters:
handle - String representation of the ObjectId for the object.
dbTrans - The current database transaction.
Returns:
Created CreateProcessEventAuditDO object.

ceInternal

public static CreateProcessEventAuditDO 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. Public modifier doesn't mean user application could use it - it mustn't.

Parameters:
handle - String representation of the ObjectId for the object.
dbTrans - The current database transaction.
Returns:
instance of CreateProcessEventAuditDO or null

ceInternal

public static CreateProcessEventAuditDO 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
ceInternal(ObjectId, DBTransaction) Factory method creates a CreateProcessEventAuditDO object by searching for it in the database using the passed ObjectID value as the primary key.

Parameters:
id - The ObjectId for the object.
dbTrans - The current database transaction.
Returns:
Created CreateProcessEventAuditDO object.
Throws:
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.

ceInternal

protected static CreateProcessEventAuditDO 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
ceInternal( ObjectId ) Factory method creates a CreateProcessEventAuditDO object by searching for it in the database using the passed ObjectID value as the primary key.

Parameters:
id - The ObjectId for the object.
Returns:
Created CreateProcessEventAuditDO object.
Throws:
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.

ceInternal

protected static CreateProcessEventAuditDO 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
ceInternal( ResultSet , HashMap) Factory method used to create an instance of this class to represent a Data Object already existing in the database.

Parameters:
rs - The ResultSet returned by the Query class for an existing Data Object stored in the database.
Returns:
Created CreateProcessEventAuditDO object.
Throws:
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.

ceInternal

protected static CreateProcessEventAuditDO 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
ceInternal(ResultSet, DBTransaction)

Parameters:
rs - The ResultSet returned by the Query class for an existing Data Object stored in the database.
dbTrans - The current database transaction
Returns:
Created CreateProcessEventAuditDO object.
Throws:
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.

ceInternal

protected static CreateProcessEventAuditDO 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
ceInternal( RDBRow ) Factory method creates a CreateProcessEventAuditDO object by searching for it in the database using the CreateProcessEventAuditDO.PrimaryKey value in the passed RDBRow.

Parameters:
row - A row returned by QueryBuilder.getNextRow().
Returns:
Created CreateProcessEventAuditDO object.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the RDBRow does not contain a CreateProcessEventAuditDO.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.

ceInternal

protected static CreateProcessEventAuditDO 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
ceInternal( RDBRow , DBTransaction) Factory method creates a CreateProcessEventAuditDO object by searching for it in the database using the CreateProcessEventAuditDO.PrimaryKey value in the passed RDBRow.

Parameters:
row - A row returned by QueryBuilder.getNextRow().
dbTrans - The current database transaction.
Returns:
Created CreateProcessEventAuditDO object.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the RDBRow does not contain a CreateProcessEventAuditDO.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.

ceInternal

protected static CreateProcessEventAuditDO 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
ceInternal( RDBColumnValue ) Factory method creates a CreateProcessEventAuditDO object by searching for it in the database using the passed CreateProcessEventAuditDO.PrimaryKey.

Parameters:
pk - a PrimaryKey column value from a row that was returned by QueryBuilder.getNextRow().
Returns:
Created CreateProcessEventAuditDO object.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the RDBColumnValue does not contain a CreateProcessEventAuditDO.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.

ceInternal

protected static CreateProcessEventAuditDO 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
ceInternal( RDBColumnValue, DBTransaction ) Factory method creates a CreateProcessEventAuditDO object by searching for it in the database using the passed CreateProcessEventAuditDO.PrimaryKey.

Parameters:
pk - a PrimaryKey column value from a row that was returned by QueryBuilder.getNextRow().
dbTrans - The current database transaction.
Returns:
Created CreateProcessEventAuditDO object.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the RDBColumnValue does not contain a CreateProcessEventAuditDO.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.

createCopy

public static CreateProcessEventAuditDO createCopy(CreateProcessEventAuditDataStruct data)
                                            throws com.lutris.appserver.server.sql.DatabaseManagerException,
                                                   com.lutris.appserver.server.sql.ObjectIdException
Creates a DO that has no ObjectId but has a copy of an existing DO's data. Such a DO is used to insert a new database entry that is largely similar to an existing entry.

Parameters:
data - The data struct to copy values from.
Returns:
Created CreateProcessEventAuditDO object.
Throws:
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.

createCopy

public static CreateProcessEventAuditDO createCopy(CreateProcessEventAuditDataStruct data,
                                                   com.lutris.appserver.server.sql.DBTransaction dbTrans)
                                            throws com.lutris.appserver.server.sql.DatabaseManagerException,
                                                   com.lutris.appserver.server.sql.ObjectIdException
Creates a DO that has no ObjectId but has a copy of an existing DO's data. Such a DO is used to insert a new database entry that is largely similar to an existing entry.

Parameters:
data - The data struct to copy values from.
dbTrans - The current database transaction
Returns:
Created CreateProcessEventAuditDO object.
Throws:
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.

createCopy

public static CreateProcessEventAuditDO createCopy(CreateProcessEventAuditDO orig)
                                            throws com.lutris.appserver.server.sql.DatabaseManagerException,
                                                   com.lutris.appserver.server.sql.ObjectIdException
Creates a DO that has no ObjectId but has a copy of an existing DO's data. Such a DO is used to insert a new database entry that is largely similar to an existing entry.

Parameters:
orig - The original DO to copy.
Returns:
Created CreateProcessEventAuditDO object.
Throws:
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.

createCopy

public static CreateProcessEventAuditDO createCopy(CreateProcessEventAuditDO orig,
                                                   com.lutris.appserver.server.sql.DBTransaction dbTrans)
                                            throws com.lutris.appserver.server.sql.DatabaseManagerException,
                                                   com.lutris.appserver.server.sql.ObjectIdException
Parameters:
orig - The original DO to copy.
dbTrans - The current database transaction
Returns:
Created CreateProcessEventAuditDO object.
Throws:
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.

reload

public void reload()
Causes the DO to refresh itself from the database the next time a set or get method is called.


get_Handle

public java.lang.String get_Handle()
                            throws com.lutris.appserver.server.sql.DatabaseManagerException
The methods 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.

get_CacheHandle

public java.lang.String get_CacheHandle()
                                 throws com.lutris.appserver.server.sql.DatabaseManagerException
Returns cache handle.

Returns:
cache handle.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - If a connection to the database cannot be established, etc.

createDO

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
Created DO with specified OID.

Parameters:
oid - DO's oid.
Returns:
copy of DO (with the same id).
Throws:
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.

createDO

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
Created DO with specified OID.

Parameters:
oid - DO's oid.
dbTrans - The current database transaction.
Returns:
copy of DO (with the same id).
Throws:
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.

hasMatchingHandle

public boolean hasMatchingHandle(java.lang.String handle)
Compare string version of the id of this DO and handle.

Parameters:
handle - String version of DO id.
Returns:
boolean True if the string version of the id of this DO matches passed handle.
See Also:
get_Handle

findTransactionCachedObjectByHandle

public CreateProcessEventAuditDO findTransactionCachedObjectByHandle(java.lang.String cacheHandle)
Get data object with key cacheHandle from the cache.

Parameters:
cacheHandle - String version of concatenation of: name of the data object's database, followed by '.', followed by data object's id.
Returns:
CreateProcessEventAuditDO Object if one is found in cache, otherwise null.
See Also:
get_Handle

findCachedObjectByHandle

public static CreateProcessEventAuditDataStruct findCachedObjectByHandle(java.lang.String cacheHandle)
Get DataStruct object with key cacheHandle from the cache.

Parameters:
cacheHandle - String version of concatenation of: name of the data object's database, followed by '.', followed by data object's id.
Returns:
CreateProcessEventAuditDataStruct Object if one is found in cache, otherwise null.
See Also:
get_Handle

makeIdentical

protected void makeIdentical(CreateProcessEventAuditDO orig)
Assigns the DataStruct of an existing DO to this DO. Does not duplicate data. Just assigns the reference.

Parameters:
orig - The original DO.

get_Version

public int get_Version()
get_Version makes the protected method public in CoreDO.

Returns:
Data object's version.

get_NewVersion

public int get_NewVersion()
get_NewVersion overloaded

Returns:
Data object's version.

set_Version

public void set_Version(int _ver)
set_Version overloaded.

Parameters:
_ver - DO's version.

set_NewVersion

public void set_NewVersion(int _ver)
set_NewVersion overloaded.

Parameters:
_ver - Ignored.

makeReadOnly

public void makeReadOnly()
Mark the object as read-only. WebDocWf extension


makeReadWrite

public void makeReadWrite()
Mark the object as read-write. WebDocWf extension


retrieveFromTxCache

public static CreateProcessEventAuditDO retrieveFromTxCache(com.lutris.appserver.server.sql.CachedDBTransaction cbt,
                                                            java.lang.Object handle)
Return Object with the handle key from reference objects HashMap.

Parameters:
handle - DO's handle.
cbt - CachedDBTransaction
Returns:
Object with the handle key from reference objects HashMap.

get_OId

public com.lutris.appserver.server.sql.ObjectId get_OId()
Returns this object's identifier.

Returns:
this object's identifier.

set_OId

protected void set_OId(com.lutris.appserver.server.sql.ObjectId _oId)
Sets this object's identifier.

Parameters:
_oId - this object's identifier.

cloneUnique

public java.lang.Object cloneUnique()
                             throws com.lutris.appserver.server.sql.DatabaseManagerException,
                                    com.lutris.appserver.server.sql.ObjectIdException
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.

Returns:
Cloned object.
Throws:
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.

isDeleted

public boolean isDeleted()
Returns the value of delete tag.

Returns:
true if DO has been deleted, but not commited yet

setDeleted

public void setDeleted(boolean flag)
Sets the value of delete tag.

Parameters:
flag - true if DO has been deleted, but not commited yet.

finalizeInsert

public void finalizeInsert(boolean success)
If transaction succeeded marks this object as clean.

Specified by:
finalizeInsert in interface com.lutris.appserver.server.sql.Transaction
Parameters:
success - true if the transaction succeeded and this object was successfully inserted into the database.

finalizeUpdate

public void finalizeUpdate(boolean success)
If transaction succeeded marks this object as clean.

Specified by:
finalizeUpdate in interface com.lutris.appserver.server.sql.Transaction
Parameters:
success - true if the transaction succeeded and this object was successfully updated in the database.

finalizeDelete

public void finalizeDelete(boolean success)
Currently does nothing.

Specified by:
finalizeDelete in interface com.lutris.appserver.server.sql.Transaction
Parameters:
success - true if the transaction succeeded and this object was successfully deleted from the database.

isVirgin

public boolean isVirgin()
Returns information whether the DO is created virgin and hasn't been commited yet.

Returns:
true for DO that's created virgin and hasn't been commited yet.

makeVisible

public void makeVisible()
Make DO's data from cache visible.


makeInvisible

public void makeInvisible()
Make DO's data from cache Invisible.


executeInsert

public void executeInsert(com.lutris.appserver.server.sql.DBConnection conn)
                   throws java.sql.SQLException
Inserts this object into the database.

Specified by:
executeInsert in interface com.lutris.appserver.server.sql.Transaction
Parameters:
conn - the database connection.
Throws:
java.sql.SQLException - if a database access error occurs.
com.lutris.appserver.server.sql.DBRowUpdateException - If a version error occurs.

executeUpdate

public void executeUpdate(com.lutris.appserver.server.sql.DBConnection conn)
                   throws java.sql.SQLException
Specified by:
executeUpdate in interface com.lutris.appserver.server.sql.Transaction
Throws:
java.sql.SQLException

isAutoSave

protected boolean isAutoSave()
Returns value for AutoSave.

Returns:
true if AutoSave is on, otherwise false.

isAutoSaveCreateVirgin

protected boolean isAutoSaveCreateVirgin()
Returns value for AutoSaveCreateVirgin.

Returns:
true if AutoSaveCreateVirgin is on, otherwise false.

isTransactionCheck

protected boolean isTransactionCheck()
Returns value for TransactionCheck.

Returns:
true if TransactionCheck is on, otherwise false.

isTransactionCaches

protected boolean isTransactionCaches()
Returns value for TransactionCaches.

Returns:
true if TransactionCaches are on, otherwise false.

isDeleteCheckVersion

protected boolean isDeleteCheckVersion()
Returns value for DeleteCheckVersion.

Returns:
true if DeleteCheckVersion is on, otherwise false.

isAllReadOnly

protected static boolean isAllReadOnly()
Returns value for AllReadOnly.

Returns:
true if AllReadOnly is on, otherwise false.

checkLoad

protected void checkLoad()
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Load the actual DO data if necessary. Called by get/set methods.

Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If a data access error occurs.

undo

public void undo()
          throws com.lutris.dods.builder.generator.query.DataObjectException
Undo action.

Throws:
com.lutris.dods.builder.generator.query.DataObjectException

dumpData

public void dumpData(boolean incrementVersion)
dumpData action.

Parameters:
incrementVersion - Increment version.

reloadData

public void reloadData()
                throws java.sql.SQLException,
                       com.lutris.appserver.server.sql.ObjectIdException,
                       com.lutris.dods.builder.generator.query.DataObjectException
reloadData discards all changes application made to this object, and goes into database to fetch contents there. Object itself becomes clean as if no changes were made.

Throws:
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.

hashCode

public int hashCode()

writeXML

public void writeXML(java.io.Writer ow)
              throws com.lutris.dods.builder.generator.query.DataObjectException
Throws:
com.lutris.dods.builder.generator.query.DataObjectException

equals

public boolean equals(java.lang.Object obj)

getRecordedTime

public long getRecordedTime()
                     throws com.lutris.dods.builder.generator.query.DataObjectException
Get RecordedTime of the SHKCreateProcessEventAudits.

Specified by:
getRecordedTime in interface CreateProcessEventAuditDOI
Returns:
RecordedTime of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getRecordedTime

public long originalData_getRecordedTime()
                                  throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of RecordedTime from the SHKCreateProcessEventAudits.

Returns:
RecordedTime of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setRecordedTime

public void setRecordedTime(long value)
                     throws com.lutris.dods.builder.generator.query.DataObjectException
Set RecordedTime of the SHKCreateProcessEventAudits.

Specified by:
setRecordedTime in interface CreateProcessEventAuditDOI
Parameters:
value - for the RecordedTime of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setRecordedTime

protected void _setRecordedTime(long value)
                         throws com.lutris.dods.builder.generator.query.DataObjectException
_setRecordedTime is a protected method that is called by setRecordedTime if RecordedTime is not part of a multicolumn foreign key.

Parameters:
value - for the RecordedTime of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getRecordedTimeTZO

public long getRecordedTimeTZO()
                        throws com.lutris.dods.builder.generator.query.DataObjectException
Get RecordedTimeTZO of the SHKCreateProcessEventAudits.

Specified by:
getRecordedTimeTZO in interface CreateProcessEventAuditDOI
Returns:
RecordedTimeTZO of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getRecordedTimeTZO

public long originalData_getRecordedTimeTZO()
                                     throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of RecordedTimeTZO from the SHKCreateProcessEventAudits.

Returns:
RecordedTimeTZO of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setRecordedTimeTZO

public void setRecordedTimeTZO(long value)
                        throws com.lutris.dods.builder.generator.query.DataObjectException
Set RecordedTimeTZO of the SHKCreateProcessEventAudits.

Specified by:
setRecordedTimeTZO in interface CreateProcessEventAuditDOI
Parameters:
value - for the RecordedTimeTZO of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setRecordedTimeTZO

protected void _setRecordedTimeTZO(long value)
                            throws com.lutris.dods.builder.generator.query.DataObjectException
_setRecordedTimeTZO is a protected method that is called by setRecordedTimeTZO if RecordedTimeTZO is not part of a multicolumn foreign key.

Parameters:
value - for the RecordedTimeTZO of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getTheUsername

public java.lang.String getTheUsername()
                                throws com.lutris.dods.builder.generator.query.DataObjectException
Get TheUsername of the SHKCreateProcessEventAudits.

Specified by:
getTheUsername in interface CreateProcessEventAuditDOI
Returns:
TheUsername of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getTheUsername

public java.lang.String originalData_getTheUsername()
                                             throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of TheUsername from the SHKCreateProcessEventAudits.

Returns:
TheUsername of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setTheUsername

public void setTheUsername(java.lang.String value)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set TheUsername of the SHKCreateProcessEventAudits.

Specified by:
setTheUsername in interface CreateProcessEventAuditDOI
Parameters:
value - for the TheUsername of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setTheUsername

protected void _setTheUsername(java.lang.String value)
                        throws com.lutris.dods.builder.generator.query.DataObjectException
_setTheUsername is a protected method that is called by setTheUsername if TheUsername is not part of a multicolumn foreign key.

Parameters:
value - for the TheUsername of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getTheType

public EventTypeDO getTheType()
                       throws com.lutris.dods.builder.generator.query.DataObjectException
Get TheType of the SHKCreateProcessEventAudits.

Specified by:
getTheType in interface CreateProcessEventAuditDOI
Returns:
TheType of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

objectId_getTheType

public com.lutris.appserver.server.sql.ObjectId objectId_getTheType()
                                                             throws com.lutris.dods.builder.generator.query.DataObjectException
Get BigDecimal value of TheType of the SHKCreateProcessEventAudits.

Returns:
TheType of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

oid_getTheType

public java.math.BigDecimal oid_getTheType()
                                    throws com.lutris.dods.builder.generator.query.DataObjectException
Get BigDecimal value of TheType of the SHKCreateProcessEventAudits.

Returns:
TheType of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getTheType

public EventTypeDO originalData_getTheType()
                                    throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of TheType from the SHKCreateProcessEventAudits.

Returns:
TheType of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_objectId_getTheType

public com.lutris.appserver.server.sql.ObjectId originalData_objectId_getTheType()
                                                                          throws com.lutris.dods.builder.generator.query.DataObjectException
Get BigDecimal value of TheType of the SHKCreateProcessEventAudits.

Returns:
TheType of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_oid_getTheType

public java.math.BigDecimal originalData_oid_getTheType()
                                                 throws com.lutris.dods.builder.generator.query.DataObjectException
Get BigDecimal value of TheType of the SHKCreateProcessEventAudits.

Returns:
TheType of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setTheType

public void setTheType(EventTypeDO value)
                throws com.lutris.dods.builder.generator.query.DataObjectException
Set TheType of the SHKCreateProcessEventAudits.

Specified by:
setTheType in interface CreateProcessEventAuditDOI
Parameters:
value - for the TheType of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setTheType

protected void _setTheType(EventTypeDO value)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
_setTheType is a protected method that is called by setTheType if TheType is not part of a multicolumn foreign key.

Parameters:
value - for the TheType of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

oid_setTheType

public void oid_setTheType(com.lutris.appserver.server.sql.ObjectId value)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set value for the TheType of the SHKCreateProcessEventAudits.

Parameters:
value - of TheType of the SHKCreateProcessEventAudits as a ObjectId value.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

oid_setTheType

public void oid_setTheType(java.math.BigDecimal value)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set TheType of the SHKCreateProcessEventAudits.

Parameters:
value - of TheType of the SHKCreateProcessEventAudits as a BigDecimal value.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

oid_setTheType

public void oid_setTheType(java.lang.String value)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set TheType of the SHKCreateProcessEventAudits.

Parameters:
value - of TheType of the SHKCreateProcessEventAudits as a String value.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getProcessId

public java.lang.String getProcessId()
                              throws com.lutris.dods.builder.generator.query.DataObjectException
Get ProcessId of the SHKCreateProcessEventAudits.

Specified by:
getProcessId in interface CreateProcessEventAuditDOI
Returns:
ProcessId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getProcessId

public java.lang.String originalData_getProcessId()
                                           throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of ProcessId from the SHKCreateProcessEventAudits.

Returns:
ProcessId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setProcessId

public void setProcessId(java.lang.String value)
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Set ProcessId of the SHKCreateProcessEventAudits.

Specified by:
setProcessId in interface CreateProcessEventAuditDOI
Parameters:
value - for the ProcessId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setProcessId

protected void _setProcessId(java.lang.String value)
                      throws com.lutris.dods.builder.generator.query.DataObjectException
_setProcessId is a protected method that is called by setProcessId if ProcessId is not part of a multicolumn foreign key.

Parameters:
value - for the ProcessId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getProcessName

public java.lang.String getProcessName()
                                throws com.lutris.dods.builder.generator.query.DataObjectException
Get ProcessName of the SHKCreateProcessEventAudits.

Specified by:
getProcessName in interface CreateProcessEventAuditDOI
Returns:
ProcessName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getProcessName

public java.lang.String originalData_getProcessName()
                                             throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of ProcessName from the SHKCreateProcessEventAudits.

Returns:
ProcessName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setProcessName

public void setProcessName(java.lang.String value)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set ProcessName of the SHKCreateProcessEventAudits.

Specified by:
setProcessName in interface CreateProcessEventAuditDOI
Parameters:
value - for the ProcessName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setProcessName

protected void _setProcessName(java.lang.String value)
                        throws com.lutris.dods.builder.generator.query.DataObjectException
_setProcessName is a protected method that is called by setProcessName if ProcessName is not part of a multicolumn foreign key.

Parameters:
value - for the ProcessName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getProcessFactoryName

public java.lang.String getProcessFactoryName()
                                       throws com.lutris.dods.builder.generator.query.DataObjectException
Get ProcessFactoryName of the SHKCreateProcessEventAudits.

Specified by:
getProcessFactoryName in interface CreateProcessEventAuditDOI
Returns:
ProcessFactoryName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getProcessFactoryName

public java.lang.String originalData_getProcessFactoryName()
                                                    throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of ProcessFactoryName from the SHKCreateProcessEventAudits.

Returns:
ProcessFactoryName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setProcessFactoryName

public void setProcessFactoryName(java.lang.String value)
                           throws com.lutris.dods.builder.generator.query.DataObjectException
Set ProcessFactoryName of the SHKCreateProcessEventAudits.

Specified by:
setProcessFactoryName in interface CreateProcessEventAuditDOI
Parameters:
value - for the ProcessFactoryName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setProcessFactoryName

protected void _setProcessFactoryName(java.lang.String value)
                               throws com.lutris.dods.builder.generator.query.DataObjectException
_setProcessFactoryName is a protected method that is called by setProcessFactoryName if ProcessFactoryName is not part of a multicolumn foreign key.

Parameters:
value - for the ProcessFactoryName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getProcessFactoryVersion

public java.lang.String getProcessFactoryVersion()
                                          throws com.lutris.dods.builder.generator.query.DataObjectException
Get ProcessFactoryVersion of the SHKCreateProcessEventAudits.

Specified by:
getProcessFactoryVersion in interface CreateProcessEventAuditDOI
Returns:
ProcessFactoryVersion of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getProcessFactoryVersion

public java.lang.String originalData_getProcessFactoryVersion()
                                                       throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of ProcessFactoryVersion from the SHKCreateProcessEventAudits.

Returns:
ProcessFactoryVersion of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setProcessFactoryVersion

public void setProcessFactoryVersion(java.lang.String value)
                              throws com.lutris.dods.builder.generator.query.DataObjectException
Set ProcessFactoryVersion of the SHKCreateProcessEventAudits.

Specified by:
setProcessFactoryVersion in interface CreateProcessEventAuditDOI
Parameters:
value - for the ProcessFactoryVersion of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setProcessFactoryVersion

protected void _setProcessFactoryVersion(java.lang.String value)
                                  throws com.lutris.dods.builder.generator.query.DataObjectException
_setProcessFactoryVersion is a protected method that is called by setProcessFactoryVersion if ProcessFactoryVersion is not part of a multicolumn foreign key.

Parameters:
value - for the ProcessFactoryVersion of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getProcessDefinitionId

public java.lang.String getProcessDefinitionId()
                                        throws com.lutris.dods.builder.generator.query.DataObjectException
Get ProcessDefinitionId of the SHKCreateProcessEventAudits.

Specified by:
getProcessDefinitionId in interface CreateProcessEventAuditDOI
Returns:
ProcessDefinitionId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getProcessDefinitionId

public java.lang.String originalData_getProcessDefinitionId()
                                                     throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of ProcessDefinitionId from the SHKCreateProcessEventAudits.

Returns:
ProcessDefinitionId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setProcessDefinitionId

public void setProcessDefinitionId(java.lang.String value)
                            throws com.lutris.dods.builder.generator.query.DataObjectException
Set ProcessDefinitionId of the SHKCreateProcessEventAudits.

Specified by:
setProcessDefinitionId in interface CreateProcessEventAuditDOI
Parameters:
value - for the ProcessDefinitionId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setProcessDefinitionId

protected void _setProcessDefinitionId(java.lang.String value)
                                throws com.lutris.dods.builder.generator.query.DataObjectException
_setProcessDefinitionId is a protected method that is called by setProcessDefinitionId if ProcessDefinitionId is not part of a multicolumn foreign key.

Parameters:
value - for the ProcessDefinitionId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getProcessDefinitionName

public java.lang.String getProcessDefinitionName()
                                          throws com.lutris.dods.builder.generator.query.DataObjectException
Get ProcessDefinitionName of the SHKCreateProcessEventAudits.

Specified by:
getProcessDefinitionName in interface CreateProcessEventAuditDOI
Returns:
ProcessDefinitionName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getProcessDefinitionName

public java.lang.String originalData_getProcessDefinitionName()
                                                       throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of ProcessDefinitionName from the SHKCreateProcessEventAudits.

Returns:
ProcessDefinitionName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setProcessDefinitionName

public void setProcessDefinitionName(java.lang.String value)
                              throws com.lutris.dods.builder.generator.query.DataObjectException
Set ProcessDefinitionName of the SHKCreateProcessEventAudits.

Specified by:
setProcessDefinitionName in interface CreateProcessEventAuditDOI
Parameters:
value - for the ProcessDefinitionName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setProcessDefinitionName

protected void _setProcessDefinitionName(java.lang.String value)
                                  throws com.lutris.dods.builder.generator.query.DataObjectException
_setProcessDefinitionName is a protected method that is called by setProcessDefinitionName if ProcessDefinitionName is not part of a multicolumn foreign key.

Parameters:
value - for the ProcessDefinitionName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getPackageId

public java.lang.String getPackageId()
                              throws com.lutris.dods.builder.generator.query.DataObjectException
Get PackageId of the SHKCreateProcessEventAudits.

Specified by:
getPackageId in interface CreateProcessEventAuditDOI
Returns:
PackageId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getPackageId

public java.lang.String originalData_getPackageId()
                                           throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of PackageId from the SHKCreateProcessEventAudits.

Returns:
PackageId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setPackageId

public void setPackageId(java.lang.String value)
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Set PackageId of the SHKCreateProcessEventAudits.

Specified by:
setPackageId in interface CreateProcessEventAuditDOI
Parameters:
value - for the PackageId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setPackageId

protected void _setPackageId(java.lang.String value)
                      throws com.lutris.dods.builder.generator.query.DataObjectException
_setPackageId is a protected method that is called by setPackageId if PackageId is not part of a multicolumn foreign key.

Parameters:
value - for the PackageId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getPActivityId

public java.lang.String getPActivityId()
                                throws com.lutris.dods.builder.generator.query.DataObjectException
Get PActivityId of the SHKCreateProcessEventAudits.

Specified by:
getPActivityId in interface CreateProcessEventAuditDOI
Returns:
PActivityId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getPActivityId

public java.lang.String originalData_getPActivityId()
                                             throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of PActivityId from the SHKCreateProcessEventAudits.

Returns:
PActivityId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setPActivityId

public void setPActivityId(java.lang.String value)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set PActivityId of the SHKCreateProcessEventAudits.

Specified by:
setPActivityId in interface CreateProcessEventAuditDOI
Parameters:
value - for the PActivityId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setPActivityId

protected void _setPActivityId(java.lang.String value)
                        throws com.lutris.dods.builder.generator.query.DataObjectException
_setPActivityId is a protected method that is called by setPActivityId if PActivityId is not part of a multicolumn foreign key.

Parameters:
value - for the PActivityId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getPProcessId

public java.lang.String getPProcessId()
                               throws com.lutris.dods.builder.generator.query.DataObjectException
Get PProcessId of the SHKCreateProcessEventAudits.

Specified by:
getPProcessId in interface CreateProcessEventAuditDOI
Returns:
PProcessId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getPProcessId

public java.lang.String originalData_getPProcessId()
                                            throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of PProcessId from the SHKCreateProcessEventAudits.

Returns:
PProcessId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setPProcessId

public void setPProcessId(java.lang.String value)
                   throws com.lutris.dods.builder.generator.query.DataObjectException
Set PProcessId of the SHKCreateProcessEventAudits.

Specified by:
setPProcessId in interface CreateProcessEventAuditDOI
Parameters:
value - for the PProcessId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setPProcessId

protected void _setPProcessId(java.lang.String value)
                       throws com.lutris.dods.builder.generator.query.DataObjectException
_setPProcessId is a protected method that is called by setPProcessId if PProcessId is not part of a multicolumn foreign key.

Parameters:
value - for the PProcessId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getPProcessName

public java.lang.String getPProcessName()
                                 throws com.lutris.dods.builder.generator.query.DataObjectException
Get PProcessName of the SHKCreateProcessEventAudits.

Specified by:
getPProcessName in interface CreateProcessEventAuditDOI
Returns:
PProcessName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getPProcessName

public java.lang.String originalData_getPProcessName()
                                              throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of PProcessName from the SHKCreateProcessEventAudits.

Returns:
PProcessName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setPProcessName

public void setPProcessName(java.lang.String value)
                     throws com.lutris.dods.builder.generator.query.DataObjectException
Set PProcessName of the SHKCreateProcessEventAudits.

Specified by:
setPProcessName in interface CreateProcessEventAuditDOI
Parameters:
value - for the PProcessName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setPProcessName

protected void _setPProcessName(java.lang.String value)
                         throws com.lutris.dods.builder.generator.query.DataObjectException
_setPProcessName is a protected method that is called by setPProcessName if PProcessName is not part of a multicolumn foreign key.

Parameters:
value - for the PProcessName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getPProcessFactoryName

public java.lang.String getPProcessFactoryName()
                                        throws com.lutris.dods.builder.generator.query.DataObjectException
Get PProcessFactoryName of the SHKCreateProcessEventAudits.

Specified by:
getPProcessFactoryName in interface CreateProcessEventAuditDOI
Returns:
PProcessFactoryName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getPProcessFactoryName

public java.lang.String originalData_getPProcessFactoryName()
                                                     throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of PProcessFactoryName from the SHKCreateProcessEventAudits.

Returns:
PProcessFactoryName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setPProcessFactoryName

public void setPProcessFactoryName(java.lang.String value)
                            throws com.lutris.dods.builder.generator.query.DataObjectException
Set PProcessFactoryName of the SHKCreateProcessEventAudits.

Specified by:
setPProcessFactoryName in interface CreateProcessEventAuditDOI
Parameters:
value - for the PProcessFactoryName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setPProcessFactoryName

protected void _setPProcessFactoryName(java.lang.String value)
                                throws com.lutris.dods.builder.generator.query.DataObjectException
_setPProcessFactoryName is a protected method that is called by setPProcessFactoryName if PProcessFactoryName is not part of a multicolumn foreign key.

Parameters:
value - for the PProcessFactoryName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getPProcessFactoryVersion

public java.lang.String getPProcessFactoryVersion()
                                           throws com.lutris.dods.builder.generator.query.DataObjectException
Get PProcessFactoryVersion of the SHKCreateProcessEventAudits.

Specified by:
getPProcessFactoryVersion in interface CreateProcessEventAuditDOI
Returns:
PProcessFactoryVersion of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getPProcessFactoryVersion

public java.lang.String originalData_getPProcessFactoryVersion()
                                                        throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of PProcessFactoryVersion from the SHKCreateProcessEventAudits.

Returns:
PProcessFactoryVersion of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setPProcessFactoryVersion

public void setPProcessFactoryVersion(java.lang.String value)
                               throws com.lutris.dods.builder.generator.query.DataObjectException
Set PProcessFactoryVersion of the SHKCreateProcessEventAudits.

Specified by:
setPProcessFactoryVersion in interface CreateProcessEventAuditDOI
Parameters:
value - for the PProcessFactoryVersion of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setPProcessFactoryVersion

protected void _setPProcessFactoryVersion(java.lang.String value)
                                   throws com.lutris.dods.builder.generator.query.DataObjectException
_setPProcessFactoryVersion is a protected method that is called by setPProcessFactoryVersion if PProcessFactoryVersion is not part of a multicolumn foreign key.

Parameters:
value - for the PProcessFactoryVersion of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getPActivityDefinitionId

public java.lang.String getPActivityDefinitionId()
                                          throws com.lutris.dods.builder.generator.query.DataObjectException
Get PActivityDefinitionId of the SHKCreateProcessEventAudits.

Specified by:
getPActivityDefinitionId in interface CreateProcessEventAuditDOI
Returns:
PActivityDefinitionId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getPActivityDefinitionId

public java.lang.String originalData_getPActivityDefinitionId()
                                                       throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of PActivityDefinitionId from the SHKCreateProcessEventAudits.

Returns:
PActivityDefinitionId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setPActivityDefinitionId

public void setPActivityDefinitionId(java.lang.String value)
                              throws com.lutris.dods.builder.generator.query.DataObjectException
Set PActivityDefinitionId of the SHKCreateProcessEventAudits.

Specified by:
setPActivityDefinitionId in interface CreateProcessEventAuditDOI
Parameters:
value - for the PActivityDefinitionId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setPActivityDefinitionId

protected void _setPActivityDefinitionId(java.lang.String value)
                                  throws com.lutris.dods.builder.generator.query.DataObjectException
_setPActivityDefinitionId is a protected method that is called by setPActivityDefinitionId if PActivityDefinitionId is not part of a multicolumn foreign key.

Parameters:
value - for the PActivityDefinitionId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getPActivityDefinitionName

public java.lang.String getPActivityDefinitionName()
                                            throws com.lutris.dods.builder.generator.query.DataObjectException
Get PActivityDefinitionName of the SHKCreateProcessEventAudits.

Specified by:
getPActivityDefinitionName in interface CreateProcessEventAuditDOI
Returns:
PActivityDefinitionName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getPActivityDefinitionName

public java.lang.String originalData_getPActivityDefinitionName()
                                                         throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of PActivityDefinitionName from the SHKCreateProcessEventAudits.

Returns:
PActivityDefinitionName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setPActivityDefinitionName

public void setPActivityDefinitionName(java.lang.String value)
                                throws com.lutris.dods.builder.generator.query.DataObjectException
Set PActivityDefinitionName of the SHKCreateProcessEventAudits.

Specified by:
setPActivityDefinitionName in interface CreateProcessEventAuditDOI
Parameters:
value - for the PActivityDefinitionName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setPActivityDefinitionName

protected void _setPActivityDefinitionName(java.lang.String value)
                                    throws com.lutris.dods.builder.generator.query.DataObjectException
_setPActivityDefinitionName is a protected method that is called by setPActivityDefinitionName if PActivityDefinitionName is not part of a multicolumn foreign key.

Parameters:
value - for the PActivityDefinitionName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getPProcessDefinitionId

public java.lang.String getPProcessDefinitionId()
                                         throws com.lutris.dods.builder.generator.query.DataObjectException
Get PProcessDefinitionId of the SHKCreateProcessEventAudits.

Specified by:
getPProcessDefinitionId in interface CreateProcessEventAuditDOI
Returns:
PProcessDefinitionId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getPProcessDefinitionId

public java.lang.String originalData_getPProcessDefinitionId()
                                                      throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of PProcessDefinitionId from the SHKCreateProcessEventAudits.

Returns:
PProcessDefinitionId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setPProcessDefinitionId

public void setPProcessDefinitionId(java.lang.String value)
                             throws com.lutris.dods.builder.generator.query.DataObjectException
Set PProcessDefinitionId of the SHKCreateProcessEventAudits.

Specified by:
setPProcessDefinitionId in interface CreateProcessEventAuditDOI
Parameters:
value - for the PProcessDefinitionId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setPProcessDefinitionId

protected void _setPProcessDefinitionId(java.lang.String value)
                                 throws com.lutris.dods.builder.generator.query.DataObjectException
_setPProcessDefinitionId is a protected method that is called by setPProcessDefinitionId if PProcessDefinitionId is not part of a multicolumn foreign key.

Parameters:
value - for the PProcessDefinitionId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getPProcessDefinitionName

public java.lang.String getPProcessDefinitionName()
                                           throws com.lutris.dods.builder.generator.query.DataObjectException
Get PProcessDefinitionName of the SHKCreateProcessEventAudits.

Specified by:
getPProcessDefinitionName in interface CreateProcessEventAuditDOI
Returns:
PProcessDefinitionName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getPProcessDefinitionName

public java.lang.String originalData_getPProcessDefinitionName()
                                                        throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of PProcessDefinitionName from the SHKCreateProcessEventAudits.

Returns:
PProcessDefinitionName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setPProcessDefinitionName

public void setPProcessDefinitionName(java.lang.String value)
                               throws com.lutris.dods.builder.generator.query.DataObjectException
Set PProcessDefinitionName of the SHKCreateProcessEventAudits.

Specified by:
setPProcessDefinitionName in interface CreateProcessEventAuditDOI
Parameters:
value - for the PProcessDefinitionName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setPProcessDefinitionName

protected void _setPProcessDefinitionName(java.lang.String value)
                                   throws com.lutris.dods.builder.generator.query.DataObjectException
_setPProcessDefinitionName is a protected method that is called by setPProcessDefinitionName if PProcessDefinitionName is not part of a multicolumn foreign key.

Parameters:
value - for the PProcessDefinitionName of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getPPackageId

public java.lang.String getPPackageId()
                               throws com.lutris.dods.builder.generator.query.DataObjectException
Get PPackageId of the SHKCreateProcessEventAudits.

Specified by:
getPPackageId in interface CreateProcessEventAuditDOI
Returns:
PPackageId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getPPackageId

public java.lang.String originalData_getPPackageId()
                                            throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of PPackageId from the SHKCreateProcessEventAudits.

Returns:
PPackageId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setPPackageId

public void setPPackageId(java.lang.String value)
                   throws com.lutris.dods.builder.generator.query.DataObjectException
Set PPackageId of the SHKCreateProcessEventAudits.

Specified by:
setPPackageId in interface CreateProcessEventAuditDOI
Parameters:
value - for the PPackageId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setPPackageId

protected void _setPPackageId(java.lang.String value)
                       throws com.lutris.dods.builder.generator.query.DataObjectException
_setPPackageId is a protected method that is called by setPPackageId if PPackageId is not part of a multicolumn foreign key.

Parameters:
value - for the PPackageId of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getCNT

public java.math.BigDecimal getCNT()
                            throws com.lutris.dods.builder.generator.query.DataObjectException
Get CNT of the SHKCreateProcessEventAudits.

Specified by:
getCNT in interface CreateProcessEventAuditDOI
Returns:
CNT of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getCNT

public java.math.BigDecimal originalData_getCNT()
                                         throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of CNT from the SHKCreateProcessEventAudits.

Returns:
CNT of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setCNT

public void setCNT(java.math.BigDecimal value)
            throws com.lutris.dods.builder.generator.query.DataObjectException
Set CNT of the SHKCreateProcessEventAudits.

Specified by:
setCNT in interface CreateProcessEventAuditDOI
Parameters:
value - for the CNT of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setCNT

protected void _setCNT(java.math.BigDecimal value)
                throws com.lutris.dods.builder.generator.query.DataObjectException
_setCNT is a protected method that is called by setCNT if CNT is not part of a multicolumn foreign key.

Parameters:
value - for the CNT of the SHKCreateProcessEventAudits.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

compareCond

public boolean compareCond(org.enhydra.dods.cache.Condition cond)
Compares whether this DO satisfies condition cond.

Parameters:
cond - condition.
Returns:
true if DO satisfies condition cond, otherwise false.

setLogicalDBName

public 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)

setLogicalDBName sets the logical database name that will be used to create DBTransaction and DBQuery objects used by CreateProcessEventAuditDO and the corresponding Query class.

Parameters:
logicalDbNameInConfFile - The logical database specified in the application's .conf file.

get_logicalDBName

public static java.lang.String get_logicalDBName()
get_logicalDBName retrieves the logical database name set by setLogicalDBName().

Returns:
the logical database name that was set by method setLogicalDBName()

createTransaction

public static com.lutris.appserver.server.sql.DBTransaction createTransaction()
                                                                       throws com.lutris.appserver.server.sql.DatabaseManagerException,
                                                                              java.sql.SQLException
createTransaction() creates a new DBTransaction. This method uses the logical database name set by method setLogicalDBName(). If setLogicalDBName() was used to set the logical database name to something other than the value of DatabaseManager.DefaultDatabase in the application's .conf file, then any DBTransaction passed to save(DBTransaction) or delete(DBTransaction) should be created using CreateProcessEventAuditDO.createTransaction(). The CreateProcessEventAuditDO save() and delete() methods use this method.

Returns:
A DBTransaction object to use with the CreateProcessEventAuditDO class.
Throws:
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.

createQuery

public static com.lutris.appserver.server.sql.DBQuery createQuery()
                                                           throws com.lutris.appserver.server.sql.DatabaseManagerException,
                                                                  java.sql.SQLException
createQuery() creates a new DBQuery. This method uses the logical database name set by method setLogicalDBName(). If setLogicalDBName() was used to set the logical database name to something other than the value of DatabaseManager.DefaultDatabase in the application's .conf file, then any DBQuery object used to access the 'SHKCreateProcessEventAudits' table should be created using CreateProcessEventAuditDO.createQuery(). The Query class corresponding to CreateProcessEventAuditDO uses this method.

Returns:
A DBQuery object to use in accessing the 'SHKCreateProcessEventAudits' table.
Throws:
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.

createQuery

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
createQuery() creates a new DBQuery. This method uses the logical database name set by method setLogicalDBName(). If setLogicalDBName() was used to set the logical database name to something other than the value of DatabaseManager.DefaultDatabase in the application's .conf file, then any DBQuery object used to access the 'SHKCreateProcessEventAudits' table should be created using CreateProcessEventAuditDO.createQuery(). The Query class corresponding to CreateProcessEventAuditDO uses this method.

Parameters:
trans - DBTransaction
Returns:
A DBQuery object to use in accessing the 'SHKCreateProcessEventAudits' table.
Throws:
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.

getInsertStatement

public java.sql.PreparedStatement getInsertStatement(com.lutris.appserver.server.sql.DBConnection conn)
                                              throws java.sql.SQLException
Prepares the statement used to insert this object into the database.

Parameters:
conn - The database connection.
Returns:
The insert statement.
Throws:
java.sql.SQLException - if an error occurs.

doCheck

public void doCheck(boolean value)
Specifies whether to lock this DO (row) in database just before commit. Locking is attempted via "dummy" update: "update set version=OLD_ONE where OID=X and version=OLD_ONE".

Parameters:
value - true for locking, false otherwise

doLock

public void doLock()
            throws java.sql.SQLException
Locks this DO in database by performing "update set version=OLD_ONE where OID=X and version=OLD_ONE".

Throws:
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.

doTouch

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
Locks this DO in database by performing "update set version=INCREMENTED where OID=X and version=OLD_ONE".

Throws:
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

executeLockingStatement

public void executeLockingStatement(com.lutris.appserver.server.sql.DBConnection conn)
                             throws java.sql.SQLException
Prepares and executes the statement used to lock this object in the database.

Parameters:
conn - The database connection
Throws:
java.sql.SQLException - if an error occurs.

getUpdateStatement

public java.sql.PreparedStatement getUpdateStatement(com.lutris.appserver.server.sql.DBConnection conn)
                                              throws java.sql.SQLException
Prepares the statement used to update this object in the database.

Parameters:
conn - The database connection
Returns:
The update statement.
Throws:
java.sql.SQLException - if an error occurs.

getDeleteStatement

public java.sql.PreparedStatement getDeleteStatement(com.lutris.appserver.server.sql.DBConnection conn)
                                              throws java.sql.SQLException
Prepares the statement used to delete this object from the database.

Parameters:
conn - The database connection
Returns:
The delete statement.
Throws:
java.sql.SQLException - if an error occurs.

toString

public java.lang.String toString()

toString

public java.lang.String toString(int indentCount)

okToCommit

protected void okToCommit()
                   throws com.lutris.dods.builder.generator.query.RefAssertionException
A stub method for implementing pre-commit assertions for this CreateProcessEventAuditDO. Implement this stub to throw an RefAssertionException for cases where this object is not valid for writing to the database.

Throws:
com.lutris.dods.builder.generator.query.RefAssertionException

okToDelete

protected void okToDelete()
                   throws com.lutris.dods.builder.generator.query.RefAssertionException
A stub method for implementing pre-delete assertions for this CreateProcessEventAuditDO. Implement this stub to throw an RefAssertionException for cases where this object is not valid for deletion from the database.

Throws:
com.lutris.dods.builder.generator.query.RefAssertionException

commit

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
Deprecated. Use save() instead.

Inserts/Updates the DO into its table.

Specified by:
commit in interface CreateProcessEventAuditDOI
Throws:
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

commit

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
Deprecated. Use save() instead.

Inserts/Updates the DO into its table. The transaction is likely provided by the commit() method of another DO which references this DO.

Specified by:
commit in interface CreateProcessEventAuditDOI
Parameters:
dbt - The transaction object used for this operation.
Throws:
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

save

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
Inserts/Updates the DO into its table.

Specified by:
save in interface CreateProcessEventAuditDOI
Throws:
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

save

public 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
Inserts/Updates the DO into its table.

Parameters:
references - True if references should be saved with this DO.
Throws:
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

save

public 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
Inserts/Updates the DO into its table. The transaction is likely provided by the commit() method of another DO which references this DO.

Specified by:
save in interface CreateProcessEventAuditDOI
Parameters:
dbt - The transaction object used for this operation.
Throws:
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

save

public 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
Inserts/Updates the DO into its table. The transaction is likely provided by the commit() method of another DO which references this DO.

Parameters:
dbt - The transaction object used for this operation.
references - True if references of this DO should be saved.
Throws:
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

delete

public 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
Deletes the DO from its table.

Specified by:
delete in interface CreateProcessEventAuditDOI
Throws:
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

delete

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
Deletes the DO from its table.

Specified by:
delete in interface CreateProcessEventAuditDOI
Parameters:
dbt - The transaction object used for this operation.
Throws:
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

unDelete

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
UnDeletes the DO and inserts to the table.

Throws:
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

delete

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
Deletes the DO from its table. The transaction is likely provided by the delete() method of another DO which references this DO. NOTE : This method is only for DODS internal usage.

Parameters:
dbt - The transaction object used for this operation.
rootDO - Is DO root in DELETE CASCADE sekvence
Throws:
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

unDelete

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
UnDeletes the DO and inserts to the table.

Parameters:
dbt - The transaction object used for this operation.
Throws:
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

okToCommitTheType

protected void okToCommitTheType(EventTypeDO member)
                          throws com.lutris.dods.builder.generator.query.RefAssertionException
A stub method for implementing pre-commit assertions for the TheType data member. Implement this stub to throw an RefAssertionException for cases where TheType is not valid for writing to the database.

Parameters:
member - TheType data member.
Throws:
com.lutris.dods.builder.generator.query.RefAssertionException

okToDeleteTheType

protected void okToDeleteTheType(EventTypeDO member)
                          throws com.lutris.dods.builder.generator.query.RefAssertionException
A stub method for implementing pre-delete assertions for the TheType data member. Implement this stub to throw an RefAssertionException for cases where TheType is not valid for deletion from the database.

Parameters:
member - TheType data member
Throws:
com.lutris.dods.builder.generator.query.RefAssertionException

modifyDO

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
Modifies the DO within its table. Performs recursive commit/delete on referenced DOs; all operations occur within a single transaction to allow rollback in the event of error. Only the creator of the transaction releases it.

Parameters:
dbt - The transaction object used for this operation.
delete - True if doing a delete, otherwise false (for insert/update).
Throws:
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

modifyDO

protected 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
Modifies the DO within its table. Performs recursive commit/delete on referenced DOs; all operations occur within a single transaction to allow rollback in the event of error. Only the creator of the transaction releases it.

Parameters:
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
Throws:
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