org.enhydra.shark.instancepersistence.data
Interface ProcessDOI

All Known Implementing Classes:
ProcessDO

public interface ProcessDOI

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

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.
 java.lang.String getActivityRequesterId()
          Get ActivityRequesterId of the SHKProcesses
 java.lang.String getActivityRequesterProcessId()
          Get ActivityRequesterProcessId of the SHKProcesses
 long getCreated()
          Get Created of the SHKProcesses
 long getCreatedTZO()
          Get CreatedTZO of the SHKProcesses
 java.lang.String getDescription()
          Get Description of the SHKProcesses
 java.lang.String getExternalRequesterClassName()
          Get ExternalRequesterClassName of the SHKProcesses
 java.lang.String getId()
          Get Id of the SHKProcesses
 long getLastStateTime()
          Get LastStateTime of the SHKProcesses
 long getLastStateTimeTZO()
          Get LastStateTimeTZO of the SHKProcesses
 long getLimitTime()
          Get LimitTime of the SHKProcesses
 long getLimitTimeTZO()
          Get LimitTimeTZO of the SHKProcesses
 java.lang.String getName()
          Get Name of the SHKProcesses
 java.lang.String getPDefName()
          Get PDefName of the SHKProcesses
 short getPriority()
          Get Priority of the SHKProcesses
 ProcessDefinitionDO getProcessDefinition()
          Get ProcessDefinition of the SHKProcesses
 java.lang.String getResourceRequesterId()
          Get ResourceRequesterId of the SHKProcesses
 long getStarted()
          Get Started of the SHKProcesses
 long getStartedTZO()
          Get StartedTZO of the SHKProcesses
 ProcessStateDO getState()
          Get State of the SHKProcesses
 long getSyncVersion()
          Get SyncVersion of the SHKProcesses
 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 setActivityRequesterId(java.lang.String ActivityRequesterId)
          Set ActivityRequesterId of the SHKProcesses
 void setActivityRequesterProcessId(java.lang.String ActivityRequesterProcessId)
          Set ActivityRequesterProcessId of the SHKProcesses
 void setCreated(long Created)
          Set Created of the SHKProcesses
 void setCreatedTZO(long CreatedTZO)
          Set CreatedTZO of the SHKProcesses
 void setDescription(java.lang.String Description)
          Set Description of the SHKProcesses
 void setExternalRequesterClassName(java.lang.String ExternalRequesterClassName)
          Set ExternalRequesterClassName of the SHKProcesses
 void setId(java.lang.String Id)
          Set Id of the SHKProcesses
 void setLastStateTime(long LastStateTime)
          Set LastStateTime of the SHKProcesses
 void setLastStateTimeTZO(long LastStateTimeTZO)
          Set LastStateTimeTZO of the SHKProcesses
 void setLimitTime(long LimitTime)
          Set LimitTime of the SHKProcesses
 void setLimitTimeTZO(long LimitTimeTZO)
          Set LimitTimeTZO of the SHKProcesses
 void setName(java.lang.String Name)
          Set Name of the SHKProcesses
 void setPDefName(java.lang.String PDefName)
          Set PDefName of the SHKProcesses
 void setPriority(short Priority)
          Set Priority of the SHKProcesses
 void setProcessDefinition(ProcessDefinitionDO ProcessDefinition)
          Set ProcessDefinition of the SHKProcesses
 void setResourceRequesterId(java.lang.String ResourceRequesterId)
          Set ResourceRequesterId of the SHKProcesses
 void setStarted(long Started)
          Set Started of the SHKProcesses
 void setStartedTZO(long StartedTZO)
          Set StartedTZO of the SHKProcesses
 void setState(ProcessStateDO State)
          Set State of the SHKProcesses
 void setSyncVersion(long SyncVersion)
          Set SyncVersion of the SHKProcesses
 

Method Detail

getSyncVersion

public long getSyncVersion()
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Get SyncVersion of the SHKProcesses

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

setSyncVersion

public void setSyncVersion(long SyncVersion)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set SyncVersion of the SHKProcesses

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

getId

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

Returns:
Id of the SHKProcesses
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 SHKProcesses

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

getProcessDefinition

public ProcessDefinitionDO getProcessDefinition()
                                         throws com.lutris.dods.builder.generator.query.DataObjectException
Get ProcessDefinition of the SHKProcesses

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

setProcessDefinition

public void setProcessDefinition(ProcessDefinitionDO ProcessDefinition)
                          throws com.lutris.dods.builder.generator.query.DataObjectException
Set ProcessDefinition of the SHKProcesses

Parameters:
ProcessDefinition - of the SHKProcesses
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 SHKProcesses

Returns:
PDefName of the SHKProcesses
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 SHKProcesses

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

getActivityRequesterId

public java.lang.String getActivityRequesterId()
                                        throws com.lutris.dods.builder.generator.query.DataObjectException
Get ActivityRequesterId of the SHKProcesses

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

setActivityRequesterId

public void setActivityRequesterId(java.lang.String ActivityRequesterId)
                            throws com.lutris.dods.builder.generator.query.DataObjectException
Set ActivityRequesterId of the SHKProcesses

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

getActivityRequesterProcessId

public java.lang.String getActivityRequesterProcessId()
                                               throws com.lutris.dods.builder.generator.query.DataObjectException
Get ActivityRequesterProcessId of the SHKProcesses

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

setActivityRequesterProcessId

public void setActivityRequesterProcessId(java.lang.String ActivityRequesterProcessId)
                                   throws com.lutris.dods.builder.generator.query.DataObjectException
Set ActivityRequesterProcessId of the SHKProcesses

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

getResourceRequesterId

public java.lang.String getResourceRequesterId()
                                        throws com.lutris.dods.builder.generator.query.DataObjectException
Get ResourceRequesterId of the SHKProcesses

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

setResourceRequesterId

public void setResourceRequesterId(java.lang.String ResourceRequesterId)
                            throws com.lutris.dods.builder.generator.query.DataObjectException
Set ResourceRequesterId of the SHKProcesses

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

getExternalRequesterClassName

public java.lang.String getExternalRequesterClassName()
                                               throws com.lutris.dods.builder.generator.query.DataObjectException
Get ExternalRequesterClassName of the SHKProcesses

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

setExternalRequesterClassName

public void setExternalRequesterClassName(java.lang.String ExternalRequesterClassName)
                                   throws com.lutris.dods.builder.generator.query.DataObjectException
Set ExternalRequesterClassName of the SHKProcesses

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

getState

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

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

setState

public void setState(ProcessStateDO State)
              throws com.lutris.dods.builder.generator.query.DataObjectException
Set State of the SHKProcesses

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

Returns:
Priority of the SHKProcesses
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 SHKProcesses

Parameters:
Priority - of the SHKProcesses
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 SHKProcesses

Returns:
Name of the SHKProcesses
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 SHKProcesses

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

getCreated

public long getCreated()
                throws com.lutris.dods.builder.generator.query.DataObjectException
Get Created of the SHKProcesses

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

setCreated

public void setCreated(long Created)
                throws com.lutris.dods.builder.generator.query.DataObjectException
Set Created of the SHKProcesses

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

getCreatedTZO

public long getCreatedTZO()
                   throws com.lutris.dods.builder.generator.query.DataObjectException
Get CreatedTZO of the SHKProcesses

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

setCreatedTZO

public void setCreatedTZO(long CreatedTZO)
                   throws com.lutris.dods.builder.generator.query.DataObjectException
Set CreatedTZO of the SHKProcesses

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

getStarted

public long getStarted()
                throws com.lutris.dods.builder.generator.query.DataObjectException
Get Started of the SHKProcesses

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

setStarted

public void setStarted(long Started)
                throws com.lutris.dods.builder.generator.query.DataObjectException
Set Started of the SHKProcesses

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

getStartedTZO

public long getStartedTZO()
                   throws com.lutris.dods.builder.generator.query.DataObjectException
Get StartedTZO of the SHKProcesses

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

setStartedTZO

public void setStartedTZO(long StartedTZO)
                   throws com.lutris.dods.builder.generator.query.DataObjectException
Set StartedTZO of the SHKProcesses

Parameters:
StartedTZO - of the SHKProcesses
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 SHKProcesses

Returns:
LastStateTime of the SHKProcesses
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 SHKProcesses

Parameters:
LastStateTime - of the SHKProcesses
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 SHKProcesses

Returns:
LastStateTimeTZO of the SHKProcesses
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 SHKProcesses

Parameters:
LastStateTimeTZO - of the SHKProcesses
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 SHKProcesses

Returns:
LimitTime of the SHKProcesses
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 SHKProcesses

Parameters:
LimitTime - of the SHKProcesses
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 SHKProcesses

Returns:
LimitTimeTZO of the SHKProcesses
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 SHKProcesses

Parameters:
LimitTimeTZO - of the SHKProcesses
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 SHKProcesses

Returns:
Description of the SHKProcesses
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 SHKProcesses

Parameters:
Description - of the SHKProcesses
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