org.enhydra.shark.instancepersistence.data
Interface ProcessDefinitionDOI

All Known Implementing Classes:
ProcessDefinitionDO

public interface ProcessDefinitionDOI

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

Since:
DODS Project
Version:
$Revision: 1.13 $
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 getName()
          Get Name of the SHKProcessDefinitions
 java.lang.String getPackageId()
          Get PackageId of the SHKProcessDefinitions
 long getProcessDefinitionCreated()
          Get ProcessDefinitionCreated of the SHKProcessDefinitions
 java.lang.String getProcessDefinitionId()
          Get ProcessDefinitionId of the SHKProcessDefinitions
 java.lang.String getProcessDefinitionName()
          Get ProcessDefinitionName of the SHKProcessDefinitions
 java.lang.String getProcessDefinitionVersion()
          Get ProcessDefinitionVersion of the SHKProcessDefinitions
 int getState()
          Get State of the SHKProcessDefinitions
 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 setName(java.lang.String Name)
          Set Name of the SHKProcessDefinitions
 void setPackageId(java.lang.String PackageId)
          Set PackageId of the SHKProcessDefinitions
 void setProcessDefinitionCreated(long ProcessDefinitionCreated)
          Set ProcessDefinitionCreated of the SHKProcessDefinitions
 void setProcessDefinitionId(java.lang.String ProcessDefinitionId)
          Set ProcessDefinitionId of the SHKProcessDefinitions
 void setProcessDefinitionName(java.lang.String ProcessDefinitionName)
          Set ProcessDefinitionName of the SHKProcessDefinitions
 void setProcessDefinitionVersion(java.lang.String ProcessDefinitionVersion)
          Set ProcessDefinitionVersion of the SHKProcessDefinitions
 void setState(int State)
          Set State of the SHKProcessDefinitions
 

Method Detail

getName

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

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

setName

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

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

getPackageId

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

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

setPackageId

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

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

getProcessDefinitionId

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

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

setProcessDefinitionId

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

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

getProcessDefinitionName

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

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

setProcessDefinitionName

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

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

getProcessDefinitionCreated

long getProcessDefinitionCreated()
                                 throws com.lutris.dods.builder.generator.query.DataObjectException
Get ProcessDefinitionCreated of the SHKProcessDefinitions

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

setProcessDefinitionCreated

void setProcessDefinitionCreated(long ProcessDefinitionCreated)
                                 throws com.lutris.dods.builder.generator.query.DataObjectException
Set ProcessDefinitionCreated of the SHKProcessDefinitions

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

getProcessDefinitionVersion

java.lang.String getProcessDefinitionVersion()
                                             throws com.lutris.dods.builder.generator.query.DataObjectException
Get ProcessDefinitionVersion of the SHKProcessDefinitions

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

setProcessDefinitionVersion

void setProcessDefinitionVersion(java.lang.String ProcessDefinitionVersion)
                                 throws com.lutris.dods.builder.generator.query.DataObjectException
Set ProcessDefinitionVersion of the SHKProcessDefinitions

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

getState

int getState()
             throws com.lutris.dods.builder.generator.query.DataObjectException
Get State of the SHKProcessDefinitions

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

setState

void setState(int State)
              throws com.lutris.dods.builder.generator.query.DataObjectException
Set State of the SHKProcessDefinitions

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

save

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

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

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

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

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

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