org.enhydra.shark.instancepersistence.data
Class ActivityDO

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.instancepersistence.data.ActivityDO
All Implemented Interfaces:
ActivityDOI, java.lang.Cloneable, java.io.Serializable, com.lutris.appserver.server.sql.Transaction

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

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

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

Field Summary
static com.lutris.dods.builder.generator.query.RDBColumn Accepted
          static final RDBColumn Accepted for use with QueryBuilder.
static com.lutris.dods.builder.generator.query.RDBColumn AcceptedTZO
          static final RDBColumn AcceptedTZO for use with QueryBuilder.
static com.lutris.dods.builder.generator.query.RDBColumn Activated
          static final RDBColumn Activated for use with QueryBuilder.
static com.lutris.dods.builder.generator.query.RDBColumn ActivatedTZO
          static final RDBColumn ActivatedTZO for use with QueryBuilder.
static com.lutris.dods.builder.generator.query.RDBColumn ActivityDefinitionId
          static final RDBColumn ActivityDefinitionId for use with QueryBuilder.
static int ActivityDefinitionId_MaxLength
           
static com.lutris.dods.builder.generator.query.RDBColumn ActivitySetDefinitionId
          static final RDBColumn ActivitySetDefinitionId for use with QueryBuilder.
static int ActivitySetDefinitionId_MaxLength
           
static com.lutris.dods.builder.generator.query.RDBColumn BlockActivityId
          static final RDBColumn BlockActivityId for use with QueryBuilder.
static int BlockActivityId_MaxLength
           
protected static org.enhydra.dods.cache.DataStructCache cache
           
static int COLUMN_ACCEPTED
          Use for query caching.
static int COLUMN_ACCEPTEDTZO
          Use for query caching.
static int COLUMN_ACTIVATED
          Use for query caching.
static int COLUMN_ACTIVATEDTZO
          Use for query caching.
static int COLUMN_ACTIVITYDEFINITIONID
          Use for query caching.
static int COLUMN_ACTIVITYSETDEFINITIONID
          Use for query caching.
static int COLUMN_BLOCKACTIVITYID
          Use for query caching.
static int COLUMN_DESCRIPTION
          Use for query caching.
static int COLUMN_ID
          Use for query caching.
static int COLUMN_ISPERFORMERASYNCHRONOUS
          Use for query caching.
static int COLUMN_LASTSTATETIME
          Use for query caching.
static int COLUMN_LASTSTATETIMETZO
          Use for query caching.
static int COLUMN_LIMITTIME
          Use for query caching.
static int COLUMN_LIMITTIMETZO
          Use for query caching.
static int COLUMN_NAME
          Use for query caching.
static int COLUMN_PDEFNAME
          Use for query caching.
static int COLUMN_PERFORMER
          Use for query caching.
static int COLUMN_PRIORITY
          Use for query caching.
static int COLUMN_PROCESS
          Use for query caching.
static int COLUMN_PROCESSID
          Use for query caching.
static int COLUMN_RESOURCEID
          Use for query caching.
static int COLUMN_STATE
          Use for query caching.
static int COLUMN_THERESOURCE
          Use for query caching.
protected  boolean deleted
           
static com.lutris.dods.builder.generator.query.RDBColumn Description
          static final RDBColumn Description for use with QueryBuilder.
static int Description_MaxLength
           
static com.lutris.dods.builder.generator.query.RDBColumn Id
          static final RDBColumn Id for use with QueryBuilder.
static int Id_MaxLength
           
protected static boolean isFullCacheNeeded
           
static com.lutris.dods.builder.generator.query.RDBColumn IsPerformerAsynchronous
          static final RDBColumn IsPerformerAsynchronous for use with QueryBuilder.
static com.lutris.dods.builder.generator.query.RDBColumn LastStateTime
          static final RDBColumn LastStateTime for use with QueryBuilder.
static com.lutris.dods.builder.generator.query.RDBColumn LastStateTimeTZO
          static final RDBColumn LastStateTimeTZO for use with QueryBuilder.
static com.lutris.dods.builder.generator.query.RDBColumn LimitTime
          static final RDBColumn LimitTime for use with QueryBuilder.
static com.lutris.dods.builder.generator.query.RDBColumn LimitTimeTZO
          static final RDBColumn LimitTimeTZO for use with QueryBuilder.
static com.lutris.dods.builder.generator.query.RDBColumn Name
          static final RDBColumn Name for use with QueryBuilder.
static int Name_MaxLength
           
protected static boolean notUsingOId
           
static com.lutris.dods.builder.generator.query.RDBColumn PDefName
          static final RDBColumn PDefName for use with QueryBuilder.
static int PDefName_MaxLength
           
static com.lutris.dods.builder.generator.query.RDBColumn Performer
          static final RDBColumn Performer for use with QueryBuilder.
static int Performer_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 Priority
          static final RDBColumn Priority for use with QueryBuilder.
static com.lutris.dods.builder.generator.query.RDBColumn Process
          static final RDBColumn Process for use with QueryBuilder.
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 ResourceId
          static final RDBColumn ResourceId for use with QueryBuilder.
static int ResourceId_MaxLength
           
static com.lutris.dods.builder.generator.query.RDBColumn State
          static final RDBColumn State 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 TheResource
          static final RDBColumn TheResource for use with QueryBuilder.
 
Fields inherited from class com.lutris.dods.builder.generator.dataobject.GenericDO
colChanged, dirty
 
Fields inherited from class com.lutris.appserver.server.sql.CoreDO
originalData, persistent, versioning
 
Constructor Summary
protected ActivityDO()
          Protected constructor.
protected ActivityDO(boolean is_view)
          Protected constructor.
protected ActivityDO(boolean is_view, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          Protected constructor.
protected ActivityDO(com.lutris.appserver.server.sql.DBTransaction dbTrans)
          Protected constructor.
protected ActivityDO(com.lutris.appserver.server.sql.ObjectId id)
          Protected constructor used by createExisting(ObjectId) above.
protected ActivityDO(com.lutris.appserver.server.sql.ObjectId id, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          Protected constructor used by createExisting(ObjectId, DBTransaction) above.
protected ActivityDO(java.sql.ResultSet rs)
          Protected constructor.
protected ActivityDO(java.sql.ResultSet rs, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          Protected constructor.
 
Method Summary
protected  void _setAccepted(long value)
          _setAccepted is a protected method that is called by setAccepted if Accepted is not part of a multicolumn foreign key.
protected  void _setAcceptedTZO(long value)
          _setAcceptedTZO is a protected method that is called by setAcceptedTZO if AcceptedTZO is not part of a multicolumn foreign key.
protected  void _setActivated(long value)
          _setActivated is a protected method that is called by setActivated if Activated is not part of a multicolumn foreign key.
protected  void _setActivatedTZO(long value)
          _setActivatedTZO is a protected method that is called by setActivatedTZO if ActivatedTZO is not part of a multicolumn foreign key.
protected  void _setActivityDefinitionId(java.lang.String value)
          _setActivityDefinitionId is a protected method that is called by setActivityDefinitionId if ActivityDefinitionId is not part of a multicolumn foreign key.
protected  void _setActivitySetDefinitionId(java.lang.String value)
          _setActivitySetDefinitionId is a protected method that is called by setActivitySetDefinitionId if ActivitySetDefinitionId is not part of a multicolumn foreign key.
protected  void _setBlockActivityId(java.lang.String value)
          _setBlockActivityId is a protected method that is called by setBlockActivityId if BlockActivityId is not part of a multicolumn foreign key.
protected  void _setDescription(java.lang.String value)
          _setDescription is a protected method that is called by setDescription if Description is not part of a multicolumn foreign key.
protected  void _setId(java.lang.String value)
          _setId is a protected method that is called by setId if Id is not part of a multicolumn foreign key.
protected  void _setIsPerformerAsynchronous(boolean value)
          _setIsPerformerAsynchronous is a protected method that is called by setIsPerformerAsynchronous if IsPerformerAsynchronous is not part of a multicolumn foreign key.
protected  void _setLastStateTime(long value)
          _setLastStateTime is a protected method that is called by setLastStateTime if LastStateTime is not part of a multicolumn foreign key.
protected  void _setLastStateTimeTZO(long value)
          _setLastStateTimeTZO is a protected method that is called by setLastStateTimeTZO if LastStateTimeTZO is not part of a multicolumn foreign key.
protected  void _setLimitTime(long value)
          _setLimitTime is a protected method that is called by setLimitTime if LimitTime is not part of a multicolumn foreign key.
protected  void _setLimitTimeTZO(long value)
          _setLimitTimeTZO is a protected method that is called by setLimitTimeTZO if LimitTimeTZO is not part of a multicolumn foreign key.
protected  void _setName(java.lang.String value)
          _setName is a protected method that is called by setName if Name is not part of a multicolumn foreign key.
protected  void _setPDefName(java.lang.String value)
          _setPDefName is a protected method that is called by setPDefName if PDefName is not part of a multicolumn foreign key.
protected  void _setPerformer(java.lang.String value)
          _setPerformer is a protected method that is called by setPerformer if Performer is not part of a multicolumn foreign key.
protected  void _setPriority(short value)
          _setPriority is a protected method that is called by setPriority if Priority is not part of a multicolumn foreign key.
protected  void _setProcess(ProcessDO value)
          _setProcess is a protected method that is called by setProcess if Process is not part of a multicolumn foreign key.
protected  void _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 _setResourceId(java.lang.String value)
          _setResourceId is a protected method that is called by setResourceId if ResourceId is not part of a multicolumn foreign key.
protected  void _setState(ActivityStateDO value)
          _setState is a protected method that is called by setState if State is not part of a multicolumn foreign key.
protected  void _setTheResource(ResourceDO value)
          _setTheResource is a protected method that is called by setTheResource if TheResource is not part of a multicolumn foreign key.
 void addActivityDataDO(ActivityDataDO referrer)
          Add (set & commit) a ActivityDataDO object that refers to this DO.
 void addActivityDataDO(ActivityDataDO referrer, com.lutris.appserver.server.sql.DBTransaction tran)
          Add (set & commit) a ActivityDataDO object that refers to this DO.
 void addActivityDataWOBDO(ActivityDataWOBDO referrer)
          Add (set & commit) a ActivityDataWOBDO object that refers to this DO.
 void addActivityDataWOBDO(ActivityDataWOBDO referrer, com.lutris.appserver.server.sql.DBTransaction tran)
          Add (set & commit) a ActivityDataWOBDO object that refers to this DO.
 void addAndJoinEntryDO_Activity(AndJoinEntryDO referrer)
          Add (set & commit) a AndJoinEntryDO object that refers to this DO.
 void addAndJoinEntryDO_Activity(AndJoinEntryDO referrer, com.lutris.appserver.server.sql.DBTransaction tran)
          Add (set & commit) a AndJoinEntryDO object that refers to this DO.
 void addAndJoinEntryDO_BlockActivity(AndJoinEntryDO referrer)
          Add (set & commit) a AndJoinEntryDO object that refers to this DO.
 void addAndJoinEntryDO_BlockActivity(AndJoinEntryDO referrer, com.lutris.appserver.server.sql.DBTransaction tran)
          Add (set & commit) a AndJoinEntryDO object that refers to this DO.
 void addAssignmentDO(AssignmentDO referrer)
          Add (set & commit) a AssignmentDO object that refers to this DO.
 void addAssignmentDO(AssignmentDO referrer, com.lutris.appserver.server.sql.DBTransaction tran)
          Add (set & commit) a AssignmentDO object that refers to this DO.
 void addDeadlineDO(DeadlineDO referrer)
          Add (set & commit) a DeadlineDO object that refers to this DO.
 void addDeadlineDO(DeadlineDO referrer, com.lutris.appserver.server.sql.DBTransaction tran)
          Add (set & commit) a DeadlineDO object that refers to this DO.
 void addProcessRequesterDO(ProcessRequesterDO referrer)
          Add (set & commit) a ProcessRequesterDO object that refers to this DO.
 void addProcessRequesterDO(ProcessRequesterDO referrer, com.lutris.appserver.server.sql.DBTransaction tran)
          Add (set & commit) a ProcessRequesterDO object that refers to this DO.
 void addToCache()
          Add DO's original data object to cache.
static void addToCache(ActivityDataStruct newDS)
          Add DataStruct object to cache.
static ActivityDO ceInternal(java.math.BigDecimal bd)
          Method ceInternal is public, only to allow generated classes to instantiate one another.
static ActivityDO 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 ActivityDO ceInternal(com.lutris.appserver.server.sql.ObjectId id)
          ceInternal( ObjectId ) Factory method creates a ActivityDO object by searching for it in the database using the passed ObjectID value as the primary key.
static ActivityDO ceInternal(com.lutris.appserver.server.sql.ObjectId id, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          ceInternal(ObjectId, DBTransaction) Factory method creates a ActivityDO object by searching for it in the database using the passed ObjectID value as the primary key.
protected static ActivityDO ceInternal(com.lutris.dods.builder.generator.query.RDBColumnValue pk)
          ceInternal( RDBColumnValue ) Factory method creates a ActivityDO object by searching for it in the database using the passed ActivityDO.PrimaryKey.
protected static ActivityDO ceInternal(com.lutris.dods.builder.generator.query.RDBColumnValue pk, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          ceInternal( RDBColumnValue, DBTransaction ) Factory method creates a ActivityDO object by searching for it in the database using the passed ActivityDO.PrimaryKey.
protected static ActivityDO ceInternal(com.lutris.dods.builder.generator.query.RDBRow row)
          ceInternal( RDBRow ) Factory method creates a ActivityDO object by searching for it in the database using the ActivityDO.PrimaryKey value in the passed RDBRow.
protected static ActivityDO ceInternal(com.lutris.dods.builder.generator.query.RDBRow row, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          ceInternal( RDBRow , DBTransaction) Factory method creates a ActivityDO object by searching for it in the database using the ActivityDO.PrimaryKey value in the passed RDBRow.
protected static ActivityDO 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 ActivityDO ceInternal(java.sql.ResultSet rs, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          ceInternal(ResultSet, DBTransaction)
static ActivityDO ceInternal(java.lang.String handle)
          Method ceInternal is public, only to allow generated classes to instantiate one another.
static ActivityDO 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 ActivityDO createCopy(ActivityDataStruct data)
          Creates a DO that has no ObjectId but has a copy of an existing DO's data.
static ActivityDO createCopy(ActivityDataStruct 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 ActivityDO createCopy(ActivityDO orig)
          Creates a DO that has no ObjectId but has a copy of an existing DO's data.
static ActivityDO createCopy(ActivityDO 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 ActivityDO createExisting(java.math.BigDecimal bd)
          createExisting( BigDecimal ) Factory method creates a ActivityDO object by searching for it in the database using the passed BigDecimal value as the primary key.
static ActivityDO createExisting(java.math.BigDecimal bd, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          createExisting(BigDecimal, DBTransaction)
static ActivityDO createExisting(java.lang.String handle)
          createExisting(String) The createExisting method is used to create a ActivityDO from a string handle.
static ActivityDO createExisting(java.lang.String handle, com.lutris.appserver.server.sql.DBTransaction dbTrans)
          createExisting(String, DBTransaction) The createExisting method is used to create a ActivityDO 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 ActivityDO createVirgin()
          createVirgin() Creates a DO that has no ObjectId or data.
static ActivityDO 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 ActivityDataStruct deleteFromCache(ActivityDataStruct 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(ActivityDataStruct[] 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 ActivityDataStruct findCachedObjectByHandle(java.lang.String cacheHandle)
          Get DataStruct object with key cacheHandle from the cache.
 ActivityDO 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.
 ActivityDataStruct 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.
 long getAccepted()
          Get Accepted of the SHKActivities.
 long getAcceptedTZO()
          Get AcceptedTZO of the SHKActivities.
 long getActivated()
          Get Activated of the SHKActivities.
 long getActivatedTZO()
          Get ActivatedTZO of the SHKActivities.
 ActivityDataDO getActivityDataDO()
          Get the single ActivityDataDO object that refers to this DO.
 ActivityDataDO[] getActivityDataDOArray()
          Get array of ActivityDataDO objects that refer to this DO.
 int getActivityDataDOArrayCount()
          Get the number of ActivityDataDOs that refer to this DO.
 ActivityDataWOBDO getActivityDataWOBDO()
          Get the single ActivityDataWOBDO object that refers to this DO.
 ActivityDataWOBDO[] getActivityDataWOBDOArray()
          Get array of ActivityDataWOBDO objects that refer to this DO.
 int getActivityDataWOBDOArrayCount()
          Get the number of ActivityDataWOBDOs that refer to this DO.
 java.lang.String getActivityDefinitionId()
          Get ActivityDefinitionId of the SHKActivities.
 java.lang.String getActivitySetDefinitionId()
          Get ActivitySetDefinitionId of the SHKActivities.
 AndJoinEntryDO getAndJoinEntryDO_Activity()
          Get the single AndJoinEntryDO object that refers to this DO.
 AndJoinEntryDO getAndJoinEntryDO_BlockActivity()
          Get the single AndJoinEntryDO object that refers to this DO.
 AndJoinEntryDO[] getAndJoinEntryDOArray_Activity()
          Get array of AndJoinEntryDO objects that refer to this DO.
 int getAndJoinEntryDOArray_ActivityCount()
          Get the number of AndJoinEntryDOs that refer to this DO.
 AndJoinEntryDO[] getAndJoinEntryDOArray_BlockActivity()
          Get array of AndJoinEntryDO objects that refer to this DO.
 int getAndJoinEntryDOArray_BlockActivityCount()
          Get the number of AndJoinEntryDOs that refer to this DO.
 AssignmentDO getAssignmentDO()
          Get the single AssignmentDO object that refers to this DO.
 AssignmentDO[] getAssignmentDOArray()
          Get array of AssignmentDO objects that refer to this DO.
 int getAssignmentDOArrayCount()
          Get the number of AssignmentDOs that refer to this DO.
static int getAsynchLoadPriority()
          Returns priority for asynchronous cache initialization.
 java.lang.String getBlockActivityId()
          Get BlockActivityId of the SHKActivities.
static java.lang.String getCacheDodsTableName()
          Get name of the table that is cached.
static org.enhydra.dods.cache.ConfigurationAdministration getConfigurationAdministration()
          Returns SHKActivities table cache.
 ActivityDataStruct getDataStruct()
          Deprecated. Use get_DataStruct()
 DeadlineDO getDeadlineDO()
          Get the single DeadlineDO object that refers to this DO.
 DeadlineDO[] getDeadlineDOArray()
          Get array of DeadlineDO objects that refer to this DO.
 int getDeadlineDOArrayCount()
          Get the number of DeadlineDOs that refer to this DO.
 java.sql.PreparedStatement getDeleteStatement(com.lutris.appserver.server.sql.DBConnection conn)
          Prepares the statement used to delete this object from the database.
 java.lang.String getDescription()
          Get Description of the SHKActivities.
 java.lang.String getId()
          Get Id of the SHKActivities.
 java.sql.PreparedStatement getInsertStatement(com.lutris.appserver.server.sql.DBConnection conn)
          Prepares the statement used to insert this object into the database.
 boolean getIsPerformerAsynchronous()
          Get IsPerformerAsynchronous of the SHKActivities.
 long getLastStateTime()
          Get LastStateTime of the SHKActivities.
 long getLastStateTimeTZO()
          Get LastStateTimeTZO of the SHKActivities.
 long getLimitTime()
          Get LimitTime of the SHKActivities.
 long getLimitTimeTZO()
          Get LimitTimeTZO of the SHKActivities.
 java.lang.String getName()
          Get Name of the SHKActivities.
 java.lang.String getPDefName()
          Get PDefName of the SHKActivities.
 java.lang.String getPerformer()
          Get Performer of the SHKActivities.
 short getPriority()
          Get Priority of the SHKActivities.
 ProcessDO getProcess()
          Get Process of the SHKActivities.
 java.lang.String getProcessId()
          Get ProcessId of the SHKActivities.
 ProcessRequesterDO getProcessRequesterDO()
          Get the single ProcessRequesterDO object that refers to this DO.
 ProcessRequesterDO[] getProcessRequesterDOArray()
          Get array of ProcessRequesterDO objects that refer to this DO.
 int getProcessRequesterDOArrayCount()
          Get the number of ProcessRequesterDOs that refer to this DO.
 java.lang.String getResourceId()
          Get ResourceId of the SHKActivities.
 ActivityStateDO getState()
          Get State of the SHKActivities.
 java.lang.String getTableName()
          Return SHKActivities as the name of the table in the database which contains ActivityDO objects.
 ResourceDO getTheResource()
          Get TheResource of the SHKActivities.
 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(ActivityDO orig)
          Assigns the DataStruct of an existing DO to this DO.
 void makeInvisible()
          Make DO's data from cache Invisible.
 void makeReadOnly()
          Mark the object as read-only.
 void makeReadWrite()
          Mark the object as read-write.
 void makeVisible()
          Make DO's data from cache visible.
protected  void modifyDO(com.lutris.appserver.server.sql.DBTransaction dbt, boolean delete)
          Modifies the DO within its table.
protected  void modifyDO(com.lutris.appserver.server.sql.DBTransaction dbt, boolean delete, boolean references)
          Modifies the DO within its table.
 com.lutris.appserver.server.sql.ObjectId objectId_getProcess()
          Get BigDecimal value of Process of the SHKActivities.
 com.lutris.appserver.server.sql.ObjectId objectId_getState()
          Get BigDecimal value of State of the SHKActivities.
 com.lutris.appserver.server.sql.ObjectId objectId_getTheResource()
          Get BigDecimal value of TheResource of the SHKActivities.
 int objectIdentityType()
          Return the type of the identity column(s) of DOs that these objects represents.
 java.math.BigDecimal oid_getProcess()
          Get BigDecimal value of Process of the SHKActivities.
 java.math.BigDecimal oid_getState()
          Get BigDecimal value of State of the SHKActivities.
 java.math.BigDecimal oid_getTheResource()
          Get BigDecimal value of TheResource of the SHKActivities.
 void oid_setProcess(java.math.BigDecimal value)
          Set Process of the SHKActivities.
 void oid_setProcess(com.lutris.appserver.server.sql.ObjectId value)
          Set value for the Process of the SHKActivities.
 void oid_setProcess(java.lang.String value)
          Set Process of the SHKActivities.
 void oid_setState(java.math.BigDecimal value)
          Set State of the SHKActivities.
 void oid_setState(com.lutris.appserver.server.sql.ObjectId value)
          Set value for the State of the SHKActivities.
 void oid_setState(java.lang.String value)
          Set State of the SHKActivities.
 void oid_setTheResource(java.math.BigDecimal value)
          Set TheResource of the SHKActivities.
 void oid_setTheResource(com.lutris.appserver.server.sql.ObjectId value)
          Set value for the TheResource of the SHKActivities.
 void oid_setTheResource(java.lang.String value)
          Set TheResource of the SHKActivities.
protected  void okToCommit()
          A stub method for implementing pre-commit assertions for this ActivityDO.
protected  void okToCommitProcess(ProcessDO member)
          A stub method for implementing pre-commit assertions for the Process data member.
protected  void okToCommitState(ActivityStateDO member)
          A stub method for implementing pre-commit assertions for the State data member.
protected  void okToCommitTheResource(ResourceDO member)
          A stub method for implementing pre-commit assertions for the TheResource data member.
protected  void okToDelete()
          A stub method for implementing pre-delete assertions for this ActivityDO.
protected  void okToDeleteProcess(ProcessDO member)
          A stub method for implementing pre-delete assertions for the Process data member.
protected  void okToDeleteState(ActivityStateDO member)
          A stub method for implementing pre-delete assertions for the State data member.
protected  void okToDeleteTheResource(ResourceDO member)
          A stub method for implementing pre-delete assertions for the TheResource data member.
 java.lang.Object originalData_get()
          Returns original DO's data.
 long originalData_getAccepted()
          Get original value of Accepted from the SHKActivities.
 long originalData_getAcceptedTZO()
          Get original value of AcceptedTZO from the SHKActivities.
 long originalData_getActivated()
          Get original value of Activated from the SHKActivities.
 long originalData_getActivatedTZO()
          Get original value of ActivatedTZO from the SHKActivities.
 java.lang.String originalData_getActivityDefinitionId()
          Get original value of ActivityDefinitionId from the SHKActivities.
 java.lang.String originalData_getActivitySetDefinitionId()
          Get original value of ActivitySetDefinitionId from the SHKActivities.
 java.lang.String originalData_getBlockActivityId()
          Get original value of BlockActivityId from the SHKActivities.
 java.lang.String originalData_getDescription()
          Get original value of Description from the SHKActivities.
 java.lang.String originalData_getId()
          Get original value of Id from the SHKActivities.
 boolean originalData_getIsPerformerAsynchronous()
          Get original value of IsPerformerAsynchronous from the SHKActivities.
 long originalData_getLastStateTime()
          Get original value of LastStateTime from the SHKActivities.
 long originalData_getLastStateTimeTZO()
          Get original value of LastStateTimeTZO from the SHKActivities.
 long originalData_getLimitTime()
          Get original value of LimitTime from the SHKActivities.
 long originalData_getLimitTimeTZO()
          Get original value of LimitTimeTZO from the SHKActivities.
 java.lang.String originalData_getName()
          Get original value of Name from the SHKActivities.
 java.lang.String originalData_getPDefName()
          Get original value of PDefName from the SHKActivities.
 java.lang.String originalData_getPerformer()
          Get original value of Performer from the SHKActivities.
 short originalData_getPriority()
          Get original value of Priority from the SHKActivities.
 ProcessDO originalData_getProcess()
          Get original value of Process from the SHKActivities.
 java.lang.String originalData_getProcessId()
          Get original value of ProcessId from the SHKActivities.
 java.lang.String originalData_getResourceId()
          Get original value of ResourceId from the SHKActivities.
 ActivityStateDO originalData_getState()
          Get original value of State from the SHKActivities.
 ResourceDO originalData_getTheResource()
          Get original value of TheResource from the SHKActivities.
 com.lutris.appserver.server.sql.ObjectId originalData_objectId_getProcess()
          Get BigDecimal value of Process of the SHKActivities.
 com.lutris.appserver.server.sql.ObjectId originalData_objectId_getState()
          Get BigDecimal value of State of the SHKActivities.
 com.lutris.appserver.server.sql.ObjectId originalData_objectId_getTheResource()
          Get BigDecimal value of TheResource of the SHKActivities.
 java.math.BigDecimal originalData_oid_getProcess()
          Get BigDecimal value of Process of the SHKActivities.
 java.math.BigDecimal originalData_oid_getState()
          Get BigDecimal value of State of the SHKActivities.
 java.math.BigDecimal originalData_oid_getTheResource()
          Get BigDecimal value of TheResource of the SHKActivities.
 void originalData_set(java.lang.Object value)
          Sets original DO's data.
static void readCacheConfiguration(java.lang.String database)
          Read cache configuration from application configuration file: cache size for org.enhydra.shark.instancepersistence.data.SHKActivities table or default cache size.
 void refresh()
          This method is invoked whenever object needs to be loaded from database.
static void refresh(ActivityDO[] 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.
 void removeActivityDataDO(ActivityDataDO referrer)
          Remove (delete) a ActivityDataDO object that refers to this DO.
 void removeActivityDataDO(ActivityDataDO referrer, com.lutris.appserver.server.sql.DBTransaction tran)
          Remove (delete) a ActivityDataDO object that refers to this DO.
 void removeActivityDataWOBDO(ActivityDataWOBDO referrer)
          Remove (delete) a ActivityDataWOBDO object that refers to this DO.
 void removeActivityDataWOBDO(ActivityDataWOBDO referrer, com.lutris.appserver.server.sql.DBTransaction tran)
          Remove (delete) a ActivityDataWOBDO object that refers to this DO.
 void removeAndJoinEntryDO_Activity(AndJoinEntryDO referrer)
          Remove (delete) a AndJoinEntryDO object that refers to this DO.
 void removeAndJoinEntryDO_Activity(AndJoinEntryDO referrer, com.lutris.appserver.server.sql.DBTransaction tran)
          Remove (delete) a AndJoinEntryDO object that refers to this DO.
 void removeAndJoinEntryDO_BlockActivity(AndJoinEntryDO referrer)
          Remove (delete) a AndJoinEntryDO object that refers to this DO.
 void removeAndJoinEntryDO_BlockActivity(AndJoinEntryDO referrer, com.lutris.appserver.server.sql.DBTransaction tran)
          Remove (delete) a AndJoinEntryDO object that refers to this DO.
 void removeAssignmentDO(AssignmentDO referrer)
          Remove (delete) a AssignmentDO object that refers to this DO.
 void removeAssignmentDO(AssignmentDO referrer, com.lutris.appserver.server.sql.DBTransaction tran)
          Remove (delete) a AssignmentDO object that refers to this DO.
 void removeDeadlineDO(DeadlineDO referrer)
          Remove (delete) a DeadlineDO object that refers to this DO.
 void removeDeadlineDO(DeadlineDO referrer, com.lutris.appserver.server.sql.DBTransaction tran)
          Remove (delete) a DeadlineDO object that refers to this DO.
static ActivityDataStruct removeFromCache(ActivityDataStruct data)
          Remove DataStruct from cache.
static void removeFromCache(java.lang.String dbName, java.lang.String handle)
          Remove DataStruct object from cache.
 void removeProcessRequesterDO(ProcessRequesterDO referrer)
          Remove (delete) a ProcessRequesterDO object that refers to this DO.
 void removeProcessRequesterDO(ProcessRequesterDO referrer, com.lutris.appserver.server.sql.DBTransaction tran)
          Remove (delete) a ProcessRequesterDO object that refers to this DO.
static ActivityDO 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 setAccepted(long value)
          Set Accepted of the SHKActivities.
 void setAcceptedTZO(long value)
          Set AcceptedTZO of the SHKActivities.
 void setActivated(long value)
          Set Activated of the SHKActivities.
 void setActivatedTZO(long value)
          Set ActivatedTZO of the SHKActivities.
 void setActivityDefinitionId(java.lang.String value)
          Set ActivityDefinitionId of the SHKActivities.
 void setActivitySetDefinitionId(java.lang.String value)
          Set ActivitySetDefinitionId of the SHKActivities.
 void setBlockActivityId(java.lang.String value)
          Set BlockActivityId of the SHKActivities.
 void setDeleted(boolean flag)
          Sets the value of delete tag.
 void setDescription(java.lang.String value)
          Set Description of the SHKActivities.
 void setId(java.lang.String value)
          Set Id of the SHKActivities.
 void setIsPerformerAsynchronous(boolean value)
          Set IsPerformerAsynchronous of the SHKActivities.
 void setLastStateTime(long value)
          Set LastStateTime of the SHKActivities.
 void setLastStateTimeTZO(long value)
          Set LastStateTimeTZO of the SHKActivities.
 void setLimitTime(long value)
          Set LimitTime of the SHKActivities.
 void setLimitTimeTZO(long value)
          Set LimitTimeTZO of the SHKActivities.
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 setName(java.lang.String value)
          Set Name of the SHKActivities.
 void setPDefName(java.lang.String value)
          Set PDefName of the SHKActivities.
 void setPerformer(java.lang.String value)
          Set Performer of the SHKActivities.
 void setPriority(short value)
          Set Priority of the SHKActivities.
 void setProcess(ProcessDO value)
          Set Process of the SHKActivities.
 void setProcessId(java.lang.String value)
          Set ProcessId of the SHKActivities.
 void setResourceId(java.lang.String value)
          Set ResourceId of the SHKActivities.
 void setState(ActivityStateDO value)
          Set State of the SHKActivities.
 void setTheResource(ResourceDO value)
          Set TheResource of the SHKActivities.
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 ActivityDataStruct updateCache(ActivityDataStruct 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

Id

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


COLUMN_ID

public static final int COLUMN_ID
Use for query caching.

See Also:
Constant Field Values

Id_MaxLength

public static final int Id_MaxLength
See Also:
Constant Field Values

ActivitySetDefinitionId

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


COLUMN_ACTIVITYSETDEFINITIONID

public static final int COLUMN_ACTIVITYSETDEFINITIONID
Use for query caching.

See Also:
Constant Field Values

ActivitySetDefinitionId_MaxLength

public static final int ActivitySetDefinitionId_MaxLength
See Also:
Constant Field Values

ActivityDefinitionId

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


COLUMN_ACTIVITYDEFINITIONID

public static final int COLUMN_ACTIVITYDEFINITIONID
Use for query caching.

See Also:
Constant Field Values

ActivityDefinitionId_MaxLength

public static final int ActivityDefinitionId_MaxLength
See Also:
Constant Field Values

Process

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


COLUMN_PROCESS

public static final int COLUMN_PROCESS
Use for query caching.

See Also:
Constant Field Values

TheResource

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


COLUMN_THERESOURCE

public static final int COLUMN_THERESOURCE
Use for query caching.

See Also:
Constant Field Values

PDefName

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


COLUMN_PDEFNAME

public static final int COLUMN_PDEFNAME
Use for query caching.

See Also:
Constant Field Values

PDefName_MaxLength

public static final int PDefName_MaxLength
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

ResourceId

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


COLUMN_RESOURCEID

public static final int COLUMN_RESOURCEID
Use for query caching.

See Also:
Constant Field Values

ResourceId_MaxLength

public static final int ResourceId_MaxLength
See Also:
Constant Field Values

State

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


COLUMN_STATE

public static final int COLUMN_STATE
Use for query caching.

See Also:
Constant Field Values

BlockActivityId

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


COLUMN_BLOCKACTIVITYID

public static final int COLUMN_BLOCKACTIVITYID
Use for query caching.

See Also:
Constant Field Values

BlockActivityId_MaxLength

public static final int BlockActivityId_MaxLength
See Also:
Constant Field Values

Performer

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


COLUMN_PERFORMER

public static final int COLUMN_PERFORMER
Use for query caching.

See Also:
Constant Field Values

Performer_MaxLength

public static final int Performer_MaxLength
See Also:
Constant Field Values

IsPerformerAsynchronous

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


COLUMN_ISPERFORMERASYNCHRONOUS

public static final int COLUMN_ISPERFORMERASYNCHRONOUS
Use for query caching.

See Also:
Constant Field Values

Priority

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


COLUMN_PRIORITY

public static final int COLUMN_PRIORITY
Use for query caching.

See Also:
Constant Field Values

Name

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


COLUMN_NAME

public static final int COLUMN_NAME
Use for query caching.

See Also:
Constant Field Values

Name_MaxLength

public static final int Name_MaxLength
See Also:
Constant Field Values

Activated

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


COLUMN_ACTIVATED

public static final int COLUMN_ACTIVATED
Use for query caching.

See Also:
Constant Field Values

ActivatedTZO

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


COLUMN_ACTIVATEDTZO

public static final int COLUMN_ACTIVATEDTZO
Use for query caching.

See Also:
Constant Field Values

Accepted

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


COLUMN_ACCEPTED

public static final int COLUMN_ACCEPTED
Use for query caching.

See Also:
Constant Field Values

AcceptedTZO

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


COLUMN_ACCEPTEDTZO

public static final int COLUMN_ACCEPTEDTZO
Use for query caching.

See Also:
Constant Field Values

LastStateTime

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


COLUMN_LASTSTATETIME

public static final int COLUMN_LASTSTATETIME
Use for query caching.

See Also:
Constant Field Values

LastStateTimeTZO

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


COLUMN_LASTSTATETIMETZO

public static final int COLUMN_LASTSTATETIMETZO
Use for query caching.

See Also:
Constant Field Values

LimitTime

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


COLUMN_LIMITTIME

public static final int COLUMN_LIMITTIME
Use for query caching.

See Also:
Constant Field Values

LimitTimeTZO

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


COLUMN_LIMITTIMETZO

public static final int COLUMN_LIMITTIMETZO
Use for query caching.

See Also:
Constant Field Values

Description

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


COLUMN_DESCRIPTION

public static final int COLUMN_DESCRIPTION
Use for query caching.

See Also:
Constant Field Values

Description_MaxLength

public static final int Description_MaxLength
See Also:
Constant Field Values
Constructor Detail

ActivityDO

protected ActivityDO(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.

ActivityDO

protected ActivityDO(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.

ActivityDO

protected ActivityDO()
              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.

ActivityDO

protected ActivityDO(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.

ActivityDO

protected ActivityDO(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.

ActivityDO

protected ActivityDO(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.

ActivityDO

protected ActivityDO(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.

ActivityDO

protected ActivityDO(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 SHKActivities as the name of the table in the database which contains ActivityDO 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 ActivityDataStruct getDataStruct()
Deprecated. Use get_DataStruct()

Returns dataStruct.

Returns:
Data Struct object.

get_DataStruct

public ActivityDataStruct 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.instancepersistence.data.SHKActivities 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 SHKActivities table cache.

Returns:
SHKActivities 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(ActivityDataStruct 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 ActivityDataStruct updateCache(ActivityDataStruct 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 ActivityDataStruct deleteFromCache(ActivityDataStruct 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 ActivityDataStruct 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 ActivityDataStruct removeFromCache(ActivityDataStruct 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(ActivityDataStruct[] 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 ActivityDataStruct 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(ActivityDO[] 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO createExisting(java.lang.String handle)
createExisting(String) The createExisting method is used to create a ActivityDO from a string handle.

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

ceInternal

public static ActivityDO 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 ActivityDO or null

createExisting

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

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

ceInternal

public static ActivityDO 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 ActivityDO or null

ceInternal

public static ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO 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 ActivityDO object by searching for it in the database using the ActivityDO.PrimaryKey value in the passed RDBRow.

Parameters:
row - A row returned by QueryBuilder.getNextRow().
Returns:
Created ActivityDO object.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the RDBRow does not contain a ActivityDO.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 ActivityDO 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 ActivityDO object by searching for it in the database using the ActivityDO.PrimaryKey value in the passed RDBRow.

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

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

Parameters:
pk - a PrimaryKey column value from a row that was returned by QueryBuilder.getNextRow().
dbTrans - The current database transaction.
Returns:
Created ActivityDO object.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the RDBColumnValue does not contain a ActivityDO.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 ActivityDO createCopy(ActivityDataStruct 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 ActivityDO 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 ActivityDO createCopy(ActivityDataStruct 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 ActivityDO 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 ActivityDO createCopy(ActivityDO 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 ActivityDO 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 ActivityDO createCopy(ActivityDO 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 ActivityDO 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 ActivityDO 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:
ActivityDO Object if one is found in cache, otherwise null.
See Also:
get_Handle

findCachedObjectByHandle

public static ActivityDataStruct 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:
ActivityDataStruct Object if one is found in cache, otherwise null.
See Also:
get_Handle

makeIdentical

protected void makeIdentical(ActivityDO 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 ActivityDO 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)

getId

public java.lang.String getId()
                       throws com.lutris.dods.builder.generator.query.DataObjectException
Get Id of the SHKActivities.

Specified by:
getId in interface ActivityDOI
Returns:
Id of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getId

public java.lang.String originalData_getId()
                                    throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of Id from the SHKActivities.

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

setId

public void setId(java.lang.String value)
           throws com.lutris.dods.builder.generator.query.DataObjectException
Set Id of the SHKActivities.

Specified by:
setId in interface ActivityDOI
Parameters:
value - for the Id of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setId

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

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

getActivitySetDefinitionId

public java.lang.String getActivitySetDefinitionId()
                                            throws com.lutris.dods.builder.generator.query.DataObjectException
Get ActivitySetDefinitionId of the SHKActivities.

Specified by:
getActivitySetDefinitionId in interface ActivityDOI
Returns:
ActivitySetDefinitionId of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getActivitySetDefinitionId

public java.lang.String originalData_getActivitySetDefinitionId()
                                                         throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of ActivitySetDefinitionId from the SHKActivities.

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

setActivitySetDefinitionId

public void setActivitySetDefinitionId(java.lang.String value)
                                throws com.lutris.dods.builder.generator.query.DataObjectException
Set ActivitySetDefinitionId of the SHKActivities.

Specified by:
setActivitySetDefinitionId in interface ActivityDOI
Parameters:
value - for the ActivitySetDefinitionId of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setActivitySetDefinitionId

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

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

getActivityDefinitionId

public java.lang.String getActivityDefinitionId()
                                         throws com.lutris.dods.builder.generator.query.DataObjectException
Get ActivityDefinitionId of the SHKActivities.

Specified by:
getActivityDefinitionId in interface ActivityDOI
Returns:
ActivityDefinitionId of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getActivityDefinitionId

public java.lang.String originalData_getActivityDefinitionId()
                                                      throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of ActivityDefinitionId from the SHKActivities.

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

setActivityDefinitionId

public void setActivityDefinitionId(java.lang.String value)
                             throws com.lutris.dods.builder.generator.query.DataObjectException
Set ActivityDefinitionId of the SHKActivities.

Specified by:
setActivityDefinitionId in interface ActivityDOI
Parameters:
value - for the ActivityDefinitionId of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setActivityDefinitionId

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

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

getProcess

public ProcessDO getProcess()
                     throws com.lutris.dods.builder.generator.query.DataObjectException
Get Process of the SHKActivities.

Specified by:
getProcess in interface ActivityDOI
Returns:
Process of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

objectId_getProcess

public com.lutris.appserver.server.sql.ObjectId objectId_getProcess()
                                                             throws com.lutris.dods.builder.generator.query.DataObjectException
Get BigDecimal value of Process of the SHKActivities.

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

oid_getProcess

public java.math.BigDecimal oid_getProcess()
                                    throws com.lutris.dods.builder.generator.query.DataObjectException
Get BigDecimal value of Process of the SHKActivities.

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

originalData_getProcess

public ProcessDO originalData_getProcess()
                                  throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of Process from the SHKActivities.

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

originalData_objectId_getProcess

public com.lutris.appserver.server.sql.ObjectId originalData_objectId_getProcess()
                                                                          throws com.lutris.dods.builder.generator.query.DataObjectException
Get BigDecimal value of Process of the SHKActivities.

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

originalData_oid_getProcess

public java.math.BigDecimal originalData_oid_getProcess()
                                                 throws com.lutris.dods.builder.generator.query.DataObjectException
Get BigDecimal value of Process of the SHKActivities.

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

setProcess

public void setProcess(ProcessDO value)
                throws com.lutris.dods.builder.generator.query.DataObjectException
Set Process of the SHKActivities.

Specified by:
setProcess in interface ActivityDOI
Parameters:
value - for the Process of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setProcess

protected void _setProcess(ProcessDO value)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
_setProcess is a protected method that is called by setProcess if Process is not part of a multicolumn foreign key.

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

oid_setProcess

public void oid_setProcess(com.lutris.appserver.server.sql.ObjectId value)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set value for the Process of the SHKActivities.

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

oid_setProcess

public void oid_setProcess(java.math.BigDecimal value)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set Process of the SHKActivities.

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

oid_setProcess

public void oid_setProcess(java.lang.String value)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set Process of the SHKActivities.

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

getTheResource

public ResourceDO getTheResource()
                          throws com.lutris.dods.builder.generator.query.DataObjectException
Get TheResource of the SHKActivities.

Specified by:
getTheResource in interface ActivityDOI
Returns:
TheResource of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

objectId_getTheResource

public com.lutris.appserver.server.sql.ObjectId objectId_getTheResource()
                                                                 throws com.lutris.dods.builder.generator.query.DataObjectException
Get BigDecimal value of TheResource of the SHKActivities.

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

oid_getTheResource

public java.math.BigDecimal oid_getTheResource()
                                        throws com.lutris.dods.builder.generator.query.DataObjectException
Get BigDecimal value of TheResource of the SHKActivities.

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

originalData_getTheResource

public ResourceDO originalData_getTheResource()
                                       throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of TheResource from the SHKActivities.

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

originalData_objectId_getTheResource

public com.lutris.appserver.server.sql.ObjectId originalData_objectId_getTheResource()
                                                                              throws com.lutris.dods.builder.generator.query.DataObjectException
Get BigDecimal value of TheResource of the SHKActivities.

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

originalData_oid_getTheResource

public java.math.BigDecimal originalData_oid_getTheResource()
                                                     throws com.lutris.dods.builder.generator.query.DataObjectException
Get BigDecimal value of TheResource of the SHKActivities.

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

setTheResource

public void setTheResource(ResourceDO value)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set TheResource of the SHKActivities.

Specified by:
setTheResource in interface ActivityDOI
Parameters:
value - for the TheResource of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setTheResource

protected void _setTheResource(ResourceDO value)
                        throws com.lutris.dods.builder.generator.query.DataObjectException
_setTheResource is a protected method that is called by setTheResource if TheResource is not part of a multicolumn foreign key.

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

oid_setTheResource

public void oid_setTheResource(com.lutris.appserver.server.sql.ObjectId value)
                        throws com.lutris.dods.builder.generator.query.DataObjectException
Set value for the TheResource of the SHKActivities.

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

oid_setTheResource

public void oid_setTheResource(java.math.BigDecimal value)
                        throws com.lutris.dods.builder.generator.query.DataObjectException
Set TheResource of the SHKActivities.

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

oid_setTheResource

public void oid_setTheResource(java.lang.String value)
                        throws com.lutris.dods.builder.generator.query.DataObjectException
Set TheResource of the SHKActivities.

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

getPDefName

public java.lang.String getPDefName()
                             throws com.lutris.dods.builder.generator.query.DataObjectException
Get PDefName of the SHKActivities.

Specified by:
getPDefName in interface ActivityDOI
Returns:
PDefName of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getPDefName

public java.lang.String originalData_getPDefName()
                                          throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of PDefName from the SHKActivities.

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

setPDefName

public void setPDefName(java.lang.String value)
                 throws com.lutris.dods.builder.generator.query.DataObjectException
Set PDefName of the SHKActivities.

Specified by:
setPDefName in interface ActivityDOI
Parameters:
value - for the PDefName of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setPDefName

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

Parameters:
value - for the PDefName of the SHKActivities.
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 SHKActivities.

Specified by:
getProcessId in interface ActivityDOI
Returns:
ProcessId of the SHKActivities.
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 SHKActivities.

Returns:
ProcessId of the SHKActivities.
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 SHKActivities.

Specified by:
setProcessId in interface ActivityDOI
Parameters:
value - for the ProcessId of the SHKActivities.
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 SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getResourceId

public java.lang.String getResourceId()
                               throws com.lutris.dods.builder.generator.query.DataObjectException
Get ResourceId of the SHKActivities.

Specified by:
getResourceId in interface ActivityDOI
Returns:
ResourceId of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getResourceId

public java.lang.String originalData_getResourceId()
                                            throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of ResourceId from the SHKActivities.

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

setResourceId

public void setResourceId(java.lang.String value)
                   throws com.lutris.dods.builder.generator.query.DataObjectException
Set ResourceId of the SHKActivities.

Specified by:
setResourceId in interface ActivityDOI
Parameters:
value - for the ResourceId of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setResourceId

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

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

getState

public ActivityStateDO getState()
                         throws com.lutris.dods.builder.generator.query.DataObjectException
Get State of the SHKActivities.

Specified by:
getState in interface ActivityDOI
Returns:
State of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

objectId_getState

public com.lutris.appserver.server.sql.ObjectId objectId_getState()
                                                           throws com.lutris.dods.builder.generator.query.DataObjectException
Get BigDecimal value of State of the SHKActivities.

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

oid_getState

public java.math.BigDecimal oid_getState()
                                  throws com.lutris.dods.builder.generator.query.DataObjectException
Get BigDecimal value of State of the SHKActivities.

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

originalData_getState

public ActivityStateDO originalData_getState()
                                      throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of State from the SHKActivities.

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

originalData_objectId_getState

public com.lutris.appserver.server.sql.ObjectId originalData_objectId_getState()
                                                                        throws com.lutris.dods.builder.generator.query.DataObjectException
Get BigDecimal value of State of the SHKActivities.

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

originalData_oid_getState

public java.math.BigDecimal originalData_oid_getState()
                                               throws com.lutris.dods.builder.generator.query.DataObjectException
Get BigDecimal value of State of the SHKActivities.

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

setState

public void setState(ActivityStateDO value)
              throws com.lutris.dods.builder.generator.query.DataObjectException
Set State of the SHKActivities.

Specified by:
setState in interface ActivityDOI
Parameters:
value - for the State of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setState

protected void _setState(ActivityStateDO value)
                  throws com.lutris.dods.builder.generator.query.DataObjectException
_setState is a protected method that is called by setState if State is not part of a multicolumn foreign key.

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

oid_setState

public void oid_setState(com.lutris.appserver.server.sql.ObjectId value)
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Set value for the State of the SHKActivities.

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

oid_setState

public void oid_setState(java.math.BigDecimal value)
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Set State of the SHKActivities.

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

oid_setState

public void oid_setState(java.lang.String value)
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Set State of the SHKActivities.

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

getBlockActivityId

public java.lang.String getBlockActivityId()
                                    throws com.lutris.dods.builder.generator.query.DataObjectException
Get BlockActivityId of the SHKActivities.

Specified by:
getBlockActivityId in interface ActivityDOI
Returns:
BlockActivityId of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getBlockActivityId

public java.lang.String originalData_getBlockActivityId()
                                                 throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of BlockActivityId from the SHKActivities.

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

setBlockActivityId

public void setBlockActivityId(java.lang.String value)
                        throws com.lutris.dods.builder.generator.query.DataObjectException
Set BlockActivityId of the SHKActivities.

Specified by:
setBlockActivityId in interface ActivityDOI
Parameters:
value - for the BlockActivityId of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setBlockActivityId

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

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

getPerformer

public java.lang.String getPerformer()
                              throws com.lutris.dods.builder.generator.query.DataObjectException
Get Performer of the SHKActivities.

Specified by:
getPerformer in interface ActivityDOI
Returns:
Performer of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getPerformer

public java.lang.String originalData_getPerformer()
                                           throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of Performer from the SHKActivities.

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

setPerformer

public void setPerformer(java.lang.String value)
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Set Performer of the SHKActivities.

Specified by:
setPerformer in interface ActivityDOI
Parameters:
value - for the Performer of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setPerformer

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

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

getIsPerformerAsynchronous

public boolean getIsPerformerAsynchronous()
                                   throws com.lutris.dods.builder.generator.query.DataObjectException
Get IsPerformerAsynchronous of the SHKActivities.

Specified by:
getIsPerformerAsynchronous in interface ActivityDOI
Returns:
IsPerformerAsynchronous of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getIsPerformerAsynchronous

public boolean originalData_getIsPerformerAsynchronous()
                                                throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of IsPerformerAsynchronous from the SHKActivities.

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

setIsPerformerAsynchronous

public void setIsPerformerAsynchronous(boolean value)
                                throws com.lutris.dods.builder.generator.query.DataObjectException
Set IsPerformerAsynchronous of the SHKActivities.

Specified by:
setIsPerformerAsynchronous in interface ActivityDOI
Parameters:
value - for the IsPerformerAsynchronous of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setIsPerformerAsynchronous

protected void _setIsPerformerAsynchronous(boolean value)
                                    throws com.lutris.dods.builder.generator.query.DataObjectException
_setIsPerformerAsynchronous is a protected method that is called by setIsPerformerAsynchronous if IsPerformerAsynchronous is not part of a multicolumn foreign key.

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

getPriority

public short getPriority()
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Get Priority of the SHKActivities.

Specified by:
getPriority in interface ActivityDOI
Returns:
Priority of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getPriority

public short originalData_getPriority()
                               throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of Priority from the SHKActivities.

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

setPriority

public void setPriority(short value)
                 throws com.lutris.dods.builder.generator.query.DataObjectException
Set Priority of the SHKActivities.

Specified by:
setPriority in interface ActivityDOI
Parameters:
value - for the Priority of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setPriority

protected void _setPriority(short value)
                     throws com.lutris.dods.builder.generator.query.DataObjectException
_setPriority is a protected method that is called by setPriority if Priority is not part of a multicolumn foreign key.

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

getName

public java.lang.String getName()
                         throws com.lutris.dods.builder.generator.query.DataObjectException
Get Name of the SHKActivities.

Specified by:
getName in interface ActivityDOI
Returns:
Name of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getName

public java.lang.String originalData_getName()
                                      throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of Name from the SHKActivities.

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

setName

public void setName(java.lang.String value)
             throws com.lutris.dods.builder.generator.query.DataObjectException
Set Name of the SHKActivities.

Specified by:
setName in interface ActivityDOI
Parameters:
value - for the Name of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setName

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

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

getActivated

public long getActivated()
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Get Activated of the SHKActivities.

Specified by:
getActivated in interface ActivityDOI
Returns:
Activated of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getActivated

public long originalData_getActivated()
                               throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of Activated from the SHKActivities.

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

setActivated

public void setActivated(long value)
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Set Activated of the SHKActivities.

Specified by:
setActivated in interface ActivityDOI
Parameters:
value - for the Activated of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setActivated

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

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

getActivatedTZO

public long getActivatedTZO()
                     throws com.lutris.dods.builder.generator.query.DataObjectException
Get ActivatedTZO of the SHKActivities.

Specified by:
getActivatedTZO in interface ActivityDOI
Returns:
ActivatedTZO of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getActivatedTZO

public long originalData_getActivatedTZO()
                                  throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of ActivatedTZO from the SHKActivities.

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

setActivatedTZO

public void setActivatedTZO(long value)
                     throws com.lutris.dods.builder.generator.query.DataObjectException
Set ActivatedTZO of the SHKActivities.

Specified by:
setActivatedTZO in interface ActivityDOI
Parameters:
value - for the ActivatedTZO of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setActivatedTZO

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

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

getAccepted

public long getAccepted()
                 throws com.lutris.dods.builder.generator.query.DataObjectException
Get Accepted of the SHKActivities.

Specified by:
getAccepted in interface ActivityDOI
Returns:
Accepted of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getAccepted

public long originalData_getAccepted()
                              throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of Accepted from the SHKActivities.

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

setAccepted

public void setAccepted(long value)
                 throws com.lutris.dods.builder.generator.query.DataObjectException
Set Accepted of the SHKActivities.

Specified by:
setAccepted in interface ActivityDOI
Parameters:
value - for the Accepted of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setAccepted

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

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

getAcceptedTZO

public long getAcceptedTZO()
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Get AcceptedTZO of the SHKActivities.

Specified by:
getAcceptedTZO in interface ActivityDOI
Returns:
AcceptedTZO of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getAcceptedTZO

public long originalData_getAcceptedTZO()
                                 throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of AcceptedTZO from the SHKActivities.

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

setAcceptedTZO

public void setAcceptedTZO(long value)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set AcceptedTZO of the SHKActivities.

Specified by:
setAcceptedTZO in interface ActivityDOI
Parameters:
value - for the AcceptedTZO of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setAcceptedTZO

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

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

getLastStateTime

public long getLastStateTime()
                      throws com.lutris.dods.builder.generator.query.DataObjectException
Get LastStateTime of the SHKActivities.

Specified by:
getLastStateTime in interface ActivityDOI
Returns:
LastStateTime of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getLastStateTime

public long originalData_getLastStateTime()
                                   throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of LastStateTime from the SHKActivities.

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

setLastStateTime

public void setLastStateTime(long value)
                      throws com.lutris.dods.builder.generator.query.DataObjectException
Set LastStateTime of the SHKActivities.

Specified by:
setLastStateTime in interface ActivityDOI
Parameters:
value - for the LastStateTime of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setLastStateTime

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

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

getLastStateTimeTZO

public long getLastStateTimeTZO()
                         throws com.lutris.dods.builder.generator.query.DataObjectException
Get LastStateTimeTZO of the SHKActivities.

Specified by:
getLastStateTimeTZO in interface ActivityDOI
Returns:
LastStateTimeTZO of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getLastStateTimeTZO

public long originalData_getLastStateTimeTZO()
                                      throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of LastStateTimeTZO from the SHKActivities.

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

setLastStateTimeTZO

public void setLastStateTimeTZO(long value)
                         throws com.lutris.dods.builder.generator.query.DataObjectException
Set LastStateTimeTZO of the SHKActivities.

Specified by:
setLastStateTimeTZO in interface ActivityDOI
Parameters:
value - for the LastStateTimeTZO of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setLastStateTimeTZO

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

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

getLimitTime

public long getLimitTime()
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Get LimitTime of the SHKActivities.

Specified by:
getLimitTime in interface ActivityDOI
Returns:
LimitTime of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getLimitTime

public long originalData_getLimitTime()
                               throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of LimitTime from the SHKActivities.

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

setLimitTime

public void setLimitTime(long value)
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Set LimitTime of the SHKActivities.

Specified by:
setLimitTime in interface ActivityDOI
Parameters:
value - for the LimitTime of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setLimitTime

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

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

getLimitTimeTZO

public long getLimitTimeTZO()
                     throws com.lutris.dods.builder.generator.query.DataObjectException
Get LimitTimeTZO of the SHKActivities.

Specified by:
getLimitTimeTZO in interface ActivityDOI
Returns:
LimitTimeTZO of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getLimitTimeTZO

public long originalData_getLimitTimeTZO()
                                  throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of LimitTimeTZO from the SHKActivities.

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

setLimitTimeTZO

public void setLimitTimeTZO(long value)
                     throws com.lutris.dods.builder.generator.query.DataObjectException
Set LimitTimeTZO of the SHKActivities.

Specified by:
setLimitTimeTZO in interface ActivityDOI
Parameters:
value - for the LimitTimeTZO of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setLimitTimeTZO

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

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

getDescription

public java.lang.String getDescription()
                                throws com.lutris.dods.builder.generator.query.DataObjectException
Get Description of the SHKActivities.

Specified by:
getDescription in interface ActivityDOI
Returns:
Description of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

originalData_getDescription

public java.lang.String originalData_getDescription()
                                             throws com.lutris.dods.builder.generator.query.DataObjectException
Get original value of Description from the SHKActivities.

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

setDescription

public void setDescription(java.lang.String value)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set Description of the SHKActivities.

Specified by:
setDescription in interface ActivityDOI
Parameters:
value - for the Description of the SHKActivities.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

_setDescription

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

Parameters:
value - for the Description of the SHKActivities.
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 ActivityDO 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 ActivityDO.createTransaction(). The ActivityDO save() and delete() methods use this method.

Returns:
A DBTransaction object to use with the ActivityDO 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 'SHKActivities' table should be created using ActivityDO.createQuery(). The Query class corresponding to ActivityDO uses this method.

Returns:
A DBQuery object to use in accessing the 'SHKActivities' 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 'SHKActivities' table should be created using ActivityDO.createQuery(). The Query class corresponding to ActivityDO uses this method.

Parameters:
trans - DBTransaction
Returns:
A DBQuery object to use in accessing the 'SHKActivities' 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)

getActivityDataWOBDOArray

public ActivityDataWOBDO[] getActivityDataWOBDOArray()
                                              throws com.lutris.dods.builder.generator.query.DataObjectException,
                                                     com.lutris.dods.builder.generator.query.QueryException
Get array of ActivityDataWOBDO objects that refer to this DO.

Returns:
Array of ActivityDataWOBDO objects.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException - If an error occured while building the query before execution.

getActivityDataWOBDO

public ActivityDataWOBDO getActivityDataWOBDO()
                                       throws com.lutris.dods.builder.generator.query.DataObjectException,
                                              com.lutris.dods.builder.generator.query.QueryException,
                                              com.lutris.dods.builder.generator.query.NonUniqueQueryException
Get the single ActivityDataWOBDO object that refers to this DO.

Returns:
ActivityDataWOBDO object.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException - If an error occured while building the query before execution.
com.lutris.dods.builder.generator.query.NonUniqueQueryException - If more than one ActivityDataWOBDO object was found.

addActivityDataWOBDO

public void addActivityDataWOBDO(ActivityDataWOBDO referrer)
                          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
Add (set & commit) a ActivityDataWOBDO object that refers to this DO.

Parameters:
referrer - ActivityDataWOBDO to be set to point to this DO and committed.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

addActivityDataWOBDO

public void addActivityDataWOBDO(ActivityDataWOBDO referrer,
                                 com.lutris.appserver.server.sql.DBTransaction tran)
                          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
Add (set & commit) a ActivityDataWOBDO object that refers to this DO.

Parameters:
referrer - ActivityDataWOBDO to be set to point to this DO and committed.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

removeActivityDataWOBDO

public void removeActivityDataWOBDO(ActivityDataWOBDO referrer)
                             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
Remove (delete) a ActivityDataWOBDO object that refers to this DO.

Parameters:
referrer - ActivityDataWOBDO to be deleted.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

removeActivityDataWOBDO

public void removeActivityDataWOBDO(ActivityDataWOBDO referrer,
                                    com.lutris.appserver.server.sql.DBTransaction tran)
                             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
Remove (delete) a ActivityDataWOBDO object that refers to this DO.

Parameters:
referrer - ActivityDataWOBDO to be deleted.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

getActivityDataWOBDOArrayCount

public int getActivityDataWOBDOArrayCount()
                                   throws com.lutris.dods.builder.generator.query.DataObjectException,
                                          com.lutris.dods.builder.generator.query.QueryException,
                                          com.lutris.dods.builder.generator.query.NonUniqueQueryException,
                                          java.sql.SQLException,
                                          com.lutris.appserver.server.sql.DatabaseManagerException
Get the number of ActivityDataWOBDOs that refer to this DO. via Activity

Returns:
The number of objects that refer to this DO.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException
com.lutris.dods.builder.generator.query.NonUniqueQueryException
java.sql.SQLException - If any SQL errors occur.
com.lutris.appserver.server.sql.DatabaseManagerException - If a Transaction can not be created. This is a WebDocWf extension for DODS row instance security.

getAssignmentDOArray

public AssignmentDO[] getAssignmentDOArray()
                                    throws com.lutris.dods.builder.generator.query.DataObjectException,
                                           com.lutris.dods.builder.generator.query.QueryException
Get array of AssignmentDO objects that refer to this DO.

Returns:
Array of AssignmentDO objects.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException - If an error occured while building the query before execution.

getAssignmentDO

public AssignmentDO getAssignmentDO()
                             throws com.lutris.dods.builder.generator.query.DataObjectException,
                                    com.lutris.dods.builder.generator.query.QueryException,
                                    com.lutris.dods.builder.generator.query.NonUniqueQueryException
Get the single AssignmentDO object that refers to this DO.

Returns:
AssignmentDO object.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException - If an error occured while building the query before execution.
com.lutris.dods.builder.generator.query.NonUniqueQueryException - If more than one AssignmentDO object was found.

addAssignmentDO

public void addAssignmentDO(AssignmentDO referrer)
                     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
Add (set & commit) a AssignmentDO object that refers to this DO.

Parameters:
referrer - AssignmentDO to be set to point to this DO and committed.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

addAssignmentDO

public void addAssignmentDO(AssignmentDO referrer,
                            com.lutris.appserver.server.sql.DBTransaction tran)
                     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
Add (set & commit) a AssignmentDO object that refers to this DO.

Parameters:
referrer - AssignmentDO to be set to point to this DO and committed.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

removeAssignmentDO

public void removeAssignmentDO(AssignmentDO referrer)
                        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
Remove (delete) a AssignmentDO object that refers to this DO.

Parameters:
referrer - AssignmentDO to be deleted.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

removeAssignmentDO

public void removeAssignmentDO(AssignmentDO referrer,
                               com.lutris.appserver.server.sql.DBTransaction tran)
                        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
Remove (delete) a AssignmentDO object that refers to this DO.

Parameters:
referrer - AssignmentDO to be deleted.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

getAssignmentDOArrayCount

public int getAssignmentDOArrayCount()
                              throws com.lutris.dods.builder.generator.query.DataObjectException,
                                     com.lutris.dods.builder.generator.query.QueryException,
                                     com.lutris.dods.builder.generator.query.NonUniqueQueryException,
                                     java.sql.SQLException,
                                     com.lutris.appserver.server.sql.DatabaseManagerException
Get the number of AssignmentDOs that refer to this DO. via Activity

Returns:
The number of objects that refer to this DO.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException
com.lutris.dods.builder.generator.query.NonUniqueQueryException
java.sql.SQLException - If any SQL errors occur.
com.lutris.appserver.server.sql.DatabaseManagerException - If a Transaction can not be created. This is a WebDocWf extension for DODS row instance security.

getProcessRequesterDOArray

public ProcessRequesterDO[] getProcessRequesterDOArray()
                                                throws com.lutris.dods.builder.generator.query.DataObjectException,
                                                       com.lutris.dods.builder.generator.query.QueryException
Get array of ProcessRequesterDO objects that refer to this DO.

Returns:
Array of ProcessRequesterDO objects.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException - If an error occured while building the query before execution.

getProcessRequesterDO

public ProcessRequesterDO getProcessRequesterDO()
                                         throws com.lutris.dods.builder.generator.query.DataObjectException,
                                                com.lutris.dods.builder.generator.query.QueryException,
                                                com.lutris.dods.builder.generator.query.NonUniqueQueryException
Get the single ProcessRequesterDO object that refers to this DO.

Returns:
ProcessRequesterDO object.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException - If an error occured while building the query before execution.
com.lutris.dods.builder.generator.query.NonUniqueQueryException - If more than one ProcessRequesterDO object was found.

addProcessRequesterDO

public void addProcessRequesterDO(ProcessRequesterDO referrer)
                           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
Add (set & commit) a ProcessRequesterDO object that refers to this DO.

Parameters:
referrer - ProcessRequesterDO to be set to point to this DO and committed.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

addProcessRequesterDO

public void addProcessRequesterDO(ProcessRequesterDO referrer,
                                  com.lutris.appserver.server.sql.DBTransaction tran)
                           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
Add (set & commit) a ProcessRequesterDO object that refers to this DO.

Parameters:
referrer - ProcessRequesterDO to be set to point to this DO and committed.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

removeProcessRequesterDO

public void removeProcessRequesterDO(ProcessRequesterDO referrer)
                              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
Remove (delete) a ProcessRequesterDO object that refers to this DO.

Parameters:
referrer - ProcessRequesterDO to be deleted.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

removeProcessRequesterDO

public void removeProcessRequesterDO(ProcessRequesterDO referrer,
                                     com.lutris.appserver.server.sql.DBTransaction tran)
                              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
Remove (delete) a ProcessRequesterDO object that refers to this DO.

Parameters:
referrer - ProcessRequesterDO to be deleted.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

getProcessRequesterDOArrayCount

public int getProcessRequesterDOArrayCount()
                                    throws com.lutris.dods.builder.generator.query.DataObjectException,
                                           com.lutris.dods.builder.generator.query.QueryException,
                                           com.lutris.dods.builder.generator.query.NonUniqueQueryException,
                                           java.sql.SQLException,
                                           com.lutris.appserver.server.sql.DatabaseManagerException
Get the number of ProcessRequesterDOs that refer to this DO. via ActivityRequester

Returns:
The number of objects that refer to this DO.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException
com.lutris.dods.builder.generator.query.NonUniqueQueryException
java.sql.SQLException - If any SQL errors occur.
com.lutris.appserver.server.sql.DatabaseManagerException - If a Transaction can not be created. This is a WebDocWf extension for DODS row instance security.

getAndJoinEntryDOArray_BlockActivity

public AndJoinEntryDO[] getAndJoinEntryDOArray_BlockActivity()
                                                      throws com.lutris.dods.builder.generator.query.DataObjectException,
                                                             com.lutris.dods.builder.generator.query.QueryException
Get array of AndJoinEntryDO objects that refer to this DO.

Returns:
Array of AndJoinEntryDO objects.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException - If an error occured while building the query before execution.

getAndJoinEntryDO_BlockActivity

public AndJoinEntryDO getAndJoinEntryDO_BlockActivity()
                                               throws com.lutris.dods.builder.generator.query.DataObjectException,
                                                      com.lutris.dods.builder.generator.query.QueryException,
                                                      com.lutris.dods.builder.generator.query.NonUniqueQueryException
Get the single AndJoinEntryDO object that refers to this DO.

Returns:
AndJoinEntryDO object.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException - If an error occured while building the query before execution.
com.lutris.dods.builder.generator.query.NonUniqueQueryException - If more than one AndJoinEntryDO object was found.

addAndJoinEntryDO_BlockActivity

public void addAndJoinEntryDO_BlockActivity(AndJoinEntryDO referrer)
                                     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
Add (set & commit) a AndJoinEntryDO object that refers to this DO.

Parameters:
referrer - AndJoinEntryDO to be set to point to this DO and committed.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

addAndJoinEntryDO_BlockActivity

public void addAndJoinEntryDO_BlockActivity(AndJoinEntryDO referrer,
                                            com.lutris.appserver.server.sql.DBTransaction tran)
                                     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
Add (set & commit) a AndJoinEntryDO object that refers to this DO.

Parameters:
referrer - AndJoinEntryDO to be set to point to this DO and committed.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

removeAndJoinEntryDO_BlockActivity

public void removeAndJoinEntryDO_BlockActivity(AndJoinEntryDO referrer)
                                        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
Remove (delete) a AndJoinEntryDO object that refers to this DO.

Parameters:
referrer - AndJoinEntryDO to be deleted.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

removeAndJoinEntryDO_BlockActivity

public void removeAndJoinEntryDO_BlockActivity(AndJoinEntryDO referrer,
                                               com.lutris.appserver.server.sql.DBTransaction tran)
                                        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
Remove (delete) a AndJoinEntryDO object that refers to this DO.

Parameters:
referrer - AndJoinEntryDO to be deleted.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

getAndJoinEntryDOArray_BlockActivityCount

public int getAndJoinEntryDOArray_BlockActivityCount()
                                              throws com.lutris.dods.builder.generator.query.DataObjectException,
                                                     com.lutris.dods.builder.generator.query.QueryException,
                                                     com.lutris.dods.builder.generator.query.NonUniqueQueryException,
                                                     java.sql.SQLException,
                                                     com.lutris.appserver.server.sql.DatabaseManagerException
Get the number of AndJoinEntryDOs that refer to this DO. via BlockActivity

Returns:
The number of objects that refer to this DO.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException
com.lutris.dods.builder.generator.query.NonUniqueQueryException
java.sql.SQLException - If any SQL errors occur.
com.lutris.appserver.server.sql.DatabaseManagerException - If a Transaction can not be created. This is a WebDocWf extension for DODS row instance security.

getAndJoinEntryDOArray_Activity

public AndJoinEntryDO[] getAndJoinEntryDOArray_Activity()
                                                 throws com.lutris.dods.builder.generator.query.DataObjectException,
                                                        com.lutris.dods.builder.generator.query.QueryException
Get array of AndJoinEntryDO objects that refer to this DO.

Returns:
Array of AndJoinEntryDO objects.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException - If an error occured while building the query before execution.

getAndJoinEntryDO_Activity

public AndJoinEntryDO getAndJoinEntryDO_Activity()
                                          throws com.lutris.dods.builder.generator.query.DataObjectException,
                                                 com.lutris.dods.builder.generator.query.QueryException,
                                                 com.lutris.dods.builder.generator.query.NonUniqueQueryException
Get the single AndJoinEntryDO object that refers to this DO.

Returns:
AndJoinEntryDO object.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException - If an error occured while building the query before execution.
com.lutris.dods.builder.generator.query.NonUniqueQueryException - If more than one AndJoinEntryDO object was found.

addAndJoinEntryDO_Activity

public void addAndJoinEntryDO_Activity(AndJoinEntryDO referrer)
                                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
Add (set & commit) a AndJoinEntryDO object that refers to this DO.

Parameters:
referrer - AndJoinEntryDO to be set to point to this DO and committed.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

addAndJoinEntryDO_Activity

public void addAndJoinEntryDO_Activity(AndJoinEntryDO referrer,
                                       com.lutris.appserver.server.sql.DBTransaction tran)
                                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
Add (set & commit) a AndJoinEntryDO object that refers to this DO.

Parameters:
referrer - AndJoinEntryDO to be set to point to this DO and committed.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

removeAndJoinEntryDO_Activity

public void removeAndJoinEntryDO_Activity(AndJoinEntryDO referrer)
                                   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
Remove (delete) a AndJoinEntryDO object that refers to this DO.

Parameters:
referrer - AndJoinEntryDO to be deleted.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

removeAndJoinEntryDO_Activity

public void removeAndJoinEntryDO_Activity(AndJoinEntryDO referrer,
                                          com.lutris.appserver.server.sql.DBTransaction tran)
                                   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
Remove (delete) a AndJoinEntryDO object that refers to this DO.

Parameters:
referrer - AndJoinEntryDO to be deleted.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

getAndJoinEntryDOArray_ActivityCount

public int getAndJoinEntryDOArray_ActivityCount()
                                         throws com.lutris.dods.builder.generator.query.DataObjectException,
                                                com.lutris.dods.builder.generator.query.QueryException,
                                                com.lutris.dods.builder.generator.query.NonUniqueQueryException,
                                                java.sql.SQLException,
                                                com.lutris.appserver.server.sql.DatabaseManagerException
Get the number of AndJoinEntryDOs that refer to this DO. via Activity

Returns:
The number of objects that refer to this DO.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException
com.lutris.dods.builder.generator.query.NonUniqueQueryException
java.sql.SQLException - If any SQL errors occur.
com.lutris.appserver.server.sql.DatabaseManagerException - If a Transaction can not be created. This is a WebDocWf extension for DODS row instance security.

getActivityDataDOArray

public ActivityDataDO[] getActivityDataDOArray()
                                        throws com.lutris.dods.builder.generator.query.DataObjectException,
                                               com.lutris.dods.builder.generator.query.QueryException
Get array of ActivityDataDO objects that refer to this DO.

Returns:
Array of ActivityDataDO objects.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException - If an error occured while building the query before execution.

getActivityDataDO

public ActivityDataDO getActivityDataDO()
                                 throws com.lutris.dods.builder.generator.query.DataObjectException,
                                        com.lutris.dods.builder.generator.query.QueryException,
                                        com.lutris.dods.builder.generator.query.NonUniqueQueryException
Get the single ActivityDataDO object that refers to this DO.

Returns:
ActivityDataDO object.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException - If an error occured while building the query before execution.
com.lutris.dods.builder.generator.query.NonUniqueQueryException - If more than one ActivityDataDO object was found.

addActivityDataDO

public void addActivityDataDO(ActivityDataDO referrer)
                       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
Add (set & commit) a ActivityDataDO object that refers to this DO.

Parameters:
referrer - ActivityDataDO to be set to point to this DO and committed.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

addActivityDataDO

public void addActivityDataDO(ActivityDataDO referrer,
                              com.lutris.appserver.server.sql.DBTransaction tran)
                       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
Add (set & commit) a ActivityDataDO object that refers to this DO.

Parameters:
referrer - ActivityDataDO to be set to point to this DO and committed.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

removeActivityDataDO

public void removeActivityDataDO(ActivityDataDO referrer)
                          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
Remove (delete) a ActivityDataDO object that refers to this DO.

Parameters:
referrer - ActivityDataDO to be deleted.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

removeActivityDataDO

public void removeActivityDataDO(ActivityDataDO referrer,
                                 com.lutris.appserver.server.sql.DBTransaction tran)
                          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
Remove (delete) a ActivityDataDO object that refers to this DO.

Parameters:
referrer - ActivityDataDO to be deleted.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

getActivityDataDOArrayCount

public int getActivityDataDOArrayCount()
                                throws com.lutris.dods.builder.generator.query.DataObjectException,
                                       com.lutris.dods.builder.generator.query.QueryException,
                                       com.lutris.dods.builder.generator.query.NonUniqueQueryException,
                                       java.sql.SQLException,
                                       com.lutris.appserver.server.sql.DatabaseManagerException
Get the number of ActivityDataDOs that refer to this DO. via Activity

Returns:
The number of objects that refer to this DO.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException
com.lutris.dods.builder.generator.query.NonUniqueQueryException
java.sql.SQLException - If any SQL errors occur.
com.lutris.appserver.server.sql.DatabaseManagerException - If a Transaction can not be created. This is a WebDocWf extension for DODS row instance security.

getDeadlineDOArray

public DeadlineDO[] getDeadlineDOArray()
                                throws com.lutris.dods.builder.generator.query.DataObjectException,
                                       com.lutris.dods.builder.generator.query.QueryException
Get array of DeadlineDO objects that refer to this DO.

Returns:
Array of DeadlineDO objects.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException - If an error occured while building the query before execution.

getDeadlineDO

public DeadlineDO getDeadlineDO()
                         throws com.lutris.dods.builder.generator.query.DataObjectException,
                                com.lutris.dods.builder.generator.query.QueryException,
                                com.lutris.dods.builder.generator.query.NonUniqueQueryException
Get the single DeadlineDO object that refers to this DO.

Returns:
DeadlineDO object.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException - If an error occured while building the query before execution.
com.lutris.dods.builder.generator.query.NonUniqueQueryException - If more than one DeadlineDO object was found.

addDeadlineDO

public void addDeadlineDO(DeadlineDO referrer)
                   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
Add (set & commit) a DeadlineDO object that refers to this DO.

Parameters:
referrer - DeadlineDO to be set to point to this DO and committed.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

addDeadlineDO

public void addDeadlineDO(DeadlineDO referrer,
                          com.lutris.appserver.server.sql.DBTransaction tran)
                   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
Add (set & commit) a DeadlineDO object that refers to this DO.

Parameters:
referrer - DeadlineDO to be set to point to this DO and committed.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

removeDeadlineDO

public void removeDeadlineDO(DeadlineDO referrer)
                      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
Remove (delete) a DeadlineDO object that refers to this DO.

Parameters:
referrer - DeadlineDO to be deleted.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

removeDeadlineDO

public void removeDeadlineDO(DeadlineDO referrer,
                             com.lutris.appserver.server.sql.DBTransaction tran)
                      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
Remove (delete) a DeadlineDO object that refers to this DO.

Parameters:
referrer - DeadlineDO to be deleted.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if could not create a transaction.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.RefAssertionException - Thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

getDeadlineDOArrayCount

public int getDeadlineDOArrayCount()
                            throws com.lutris.dods.builder.generator.query.DataObjectException,
                                   com.lutris.dods.builder.generator.query.QueryException,
                                   com.lutris.dods.builder.generator.query.NonUniqueQueryException,
                                   java.sql.SQLException,
                                   com.lutris.appserver.server.sql.DatabaseManagerException
Get the number of DeadlineDOs that refer to this DO. via Activity

Returns:
The number of objects that refer to this DO.
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If object is not found in the database.
com.lutris.dods.builder.generator.query.QueryException
com.lutris.dods.builder.generator.query.NonUniqueQueryException
java.sql.SQLException - If any SQL errors occur.
com.lutris.appserver.server.sql.DatabaseManagerException - If a Transaction can not be created. This is a WebDocWf extension for DODS row instance security.

okToCommit

protected void okToCommit()
                   throws com.lutris.dods.builder.generator.query.RefAssertionException
A stub method for implementing pre-commit assertions for this ActivityDO. 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 ActivityDO. 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 ActivityDOI
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 ActivityDOI
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 ActivityDOI
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 ActivityDOI
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 ActivityDOI
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 ActivityDOI
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

okToCommitProcess

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

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

okToDeleteProcess

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

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

okToCommitTheResource

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

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

okToDeleteTheResource

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

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

okToCommitState

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

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

okToDeleteState

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

Parameters:
member - State 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