org.enhydra.shark.instancepersistence.data
Interface ActivityDOI

All Known Implementing Classes:
ActivityDO

public interface ActivityDOI

Interface implemented by ActivityDO Interface could also be implemented by a (hand-written) Business Layer class which uses ActivityDO

Since:
DODS Project
Version:
$Revision: 1.12 $
Author:
NN

Method Summary
 void commit()
          Deprecated. Use save() instead.
 void commit(com.lutris.appserver.server.sql.DBTransaction dbt)
          Deprecated. Use save() instead.
 void delete()
          Deletes the DO from its table.
 void delete(com.lutris.appserver.server.sql.DBTransaction dbt)
          Deletes the DO from its table.
 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
 java.lang.String getActivityDefinitionId()
          Get ActivityDefinitionId of the SHKActivities
 java.lang.String getActivitySetDefinitionId()
          Get ActivitySetDefinitionId of the SHKActivities
 java.lang.String getBlockActivityId()
          Get BlockActivityId of the SHKActivities
 java.lang.String getDescription()
          Get Description of the SHKActivities
 java.lang.String getId()
          Get Id of the SHKActivities
 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
 java.lang.String getResourceId()
          Get ResourceId of the SHKActivities
 ActivityStateDO getState()
          Get State of the SHKActivities
 ResourceDO getTheResource()
          Get TheResource of the SHKActivities
 void save()
          Inserts/Updates the DO into its table.
 void save(com.lutris.appserver.server.sql.DBTransaction dbt)
          Inserts/Updates the DO into its table.
 void setAccepted(long Accepted)
          Set Accepted of the SHKActivities
 void setAcceptedTZO(long AcceptedTZO)
          Set AcceptedTZO of the SHKActivities
 void setActivated(long Activated)
          Set Activated of the SHKActivities
 void setActivatedTZO(long ActivatedTZO)
          Set ActivatedTZO of the SHKActivities
 void setActivityDefinitionId(java.lang.String ActivityDefinitionId)
          Set ActivityDefinitionId of the SHKActivities
 void setActivitySetDefinitionId(java.lang.String ActivitySetDefinitionId)
          Set ActivitySetDefinitionId of the SHKActivities
 void setBlockActivityId(java.lang.String BlockActivityId)
          Set BlockActivityId of the SHKActivities
 void setDescription(java.lang.String Description)
          Set Description of the SHKActivities
 void setId(java.lang.String Id)
          Set Id of the SHKActivities
 void setIsPerformerAsynchronous(boolean IsPerformerAsynchronous)
          Set IsPerformerAsynchronous of the SHKActivities
 void setLastStateTime(long LastStateTime)
          Set LastStateTime of the SHKActivities
 void setLastStateTimeTZO(long LastStateTimeTZO)
          Set LastStateTimeTZO of the SHKActivities
 void setLimitTime(long LimitTime)
          Set LimitTime of the SHKActivities
 void setLimitTimeTZO(long LimitTimeTZO)
          Set LimitTimeTZO of the SHKActivities
 void setName(java.lang.String Name)
          Set Name of the SHKActivities
 void setPDefName(java.lang.String PDefName)
          Set PDefName of the SHKActivities
 void setPerformer(java.lang.String Performer)
          Set Performer of the SHKActivities
 void setPriority(short Priority)
          Set Priority of the SHKActivities
 void setProcess(ProcessDO Process)
          Set Process of the SHKActivities
 void setProcessId(java.lang.String ProcessId)
          Set ProcessId of the SHKActivities
 void setResourceId(java.lang.String ResourceId)
          Set ResourceId of the SHKActivities
 void setState(ActivityStateDO State)
          Set State of the SHKActivities
 void setTheResource(ResourceDO TheResource)
          Set TheResource of the SHKActivities
 

Method Detail

getId

public java.lang.String getId()
                       throws com.lutris.dods.builder.generator.query.DataObjectException
Get Id of 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 Id)
           throws com.lutris.dods.builder.generator.query.DataObjectException
Set Id of the SHKActivities

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

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 ActivitySetDefinitionId)
                                throws com.lutris.dods.builder.generator.query.DataObjectException
Set ActivitySetDefinitionId of the SHKActivities

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

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 ActivityDefinitionId)
                             throws com.lutris.dods.builder.generator.query.DataObjectException
Set ActivityDefinitionId of the SHKActivities

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

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 Process)
                throws com.lutris.dods.builder.generator.query.DataObjectException
Set Process of the SHKActivities

Parameters:
Process - of the SHKActivities
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

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 TheResource)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set TheResource of the SHKActivities

Parameters:
TheResource - of the SHKActivities
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

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 PDefName)
                 throws com.lutris.dods.builder.generator.query.DataObjectException
Set PDefName of the SHKActivities

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

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 ProcessId)
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Set ProcessId of the SHKActivities

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

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 ResourceId)
                   throws com.lutris.dods.builder.generator.query.DataObjectException
Set ResourceId of the SHKActivities

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

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 State)
              throws com.lutris.dods.builder.generator.query.DataObjectException
Set State of the SHKActivities

Parameters:
State - of the SHKActivities
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

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 BlockActivityId)
                        throws com.lutris.dods.builder.generator.query.DataObjectException
Set BlockActivityId of the SHKActivities

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

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 Performer)
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Set Performer of the SHKActivities

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

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 IsPerformerAsynchronous)
                                throws com.lutris.dods.builder.generator.query.DataObjectException
Set IsPerformerAsynchronous of the SHKActivities

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

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 Priority)
                 throws com.lutris.dods.builder.generator.query.DataObjectException
Set Priority of the SHKActivities

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

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 Name)
             throws com.lutris.dods.builder.generator.query.DataObjectException
Set Name of the SHKActivities

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

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 Activated)
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Set Activated of the SHKActivities

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

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 ActivatedTZO)
                     throws com.lutris.dods.builder.generator.query.DataObjectException
Set ActivatedTZO of the SHKActivities

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

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 Accepted)
                 throws com.lutris.dods.builder.generator.query.DataObjectException
Set Accepted of the SHKActivities

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

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 AcceptedTZO)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set AcceptedTZO of the SHKActivities

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

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 LastStateTime)
                      throws com.lutris.dods.builder.generator.query.DataObjectException
Set LastStateTime of the SHKActivities

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

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 LastStateTimeTZO)
                         throws com.lutris.dods.builder.generator.query.DataObjectException
Set LastStateTimeTZO of the SHKActivities

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

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 LimitTime)
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Set LimitTime of the SHKActivities

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

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 LimitTimeTZO)
                     throws com.lutris.dods.builder.generator.query.DataObjectException
Set LimitTimeTZO of the SHKActivities

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

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 Description)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set Description of the SHKActivities

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

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.

Throws:
java.sql.SQLException - if any SQL errors occur.
com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.RefAssertionException - thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

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 save() method of another DO which references this DO.

Parameters:
dbt - The transaction object to use for this operation.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created.
com.lutris.appserver.server.sql.DBRowUpdateException - if a version error occurs.
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.dods.builder.generator.query.QueryException

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.

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.

Parameters:
dbt - The transaction object to use for this operation.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created.
com.lutris.appserver.server.sql.DBRowUpdateException - if a version error occurs.
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.dods.builder.generator.query.QueryException

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.

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. The transaction is likely provided by the delete() method of another DO which references this DO.

Parameters:
dbt - The transaction object to use for this operation.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created.
com.lutris.appserver.server.sql.DBRowUpdateException - if a version error occurs.
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.dods.builder.generator.query.QueryException