Enhydra 5.1 API

org.webdocwf.util.genericstore.data
Interface StateTransitionDOI

All Known Implementing Classes:
StateTransitionDO

public interface StateTransitionDOI

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

Since:
org
Version:
$Revision: 1.2 $
Author:
administrator

Method Summary
 void commit()
          Deprecated. Use save() instead.
 void commit(DBTransaction dbt)
          Deprecated. Use save() instead.
 void delete()
          Deletes the DO from its table.
 void delete(DBTransaction dbt)
          Deletes the DO from its table.
 EnumValueDefinitionDO getENUMVALUEDEFINITIONFROMOID()
          Get ENUMVALUEDEFINITIONFROMOID of the GENERICSTATETRANSITION
 EnumValueDefinitionDO getENUMVALUEDEFINITIONTOOID()
          Get ENUMVALUEDEFINITIONTOOID of the GENERICSTATETRANSITION
 void save()
          Inserts/Updates the DO into its table.
 void save(DBTransaction dbt)
          Inserts/Updates the DO into its table.
 void setENUMVALUEDEFINITIONFROMOID(EnumValueDefinitionDO ENUMVALUEDEFINITIONFROMOID)
          Set ENUMVALUEDEFINITIONFROMOID of the GENERICSTATETRANSITION
 void setENUMVALUEDEFINITIONTOOID(EnumValueDefinitionDO ENUMVALUEDEFINITIONTOOID)
          Set ENUMVALUEDEFINITIONTOOID of the GENERICSTATETRANSITION
 

Method Detail

getENUMVALUEDEFINITIONFROMOID

public EnumValueDefinitionDO getENUMVALUEDEFINITIONFROMOID()
                                                    throws DataObjectException
Get ENUMVALUEDEFINITIONFROMOID of the GENERICSTATETRANSITION

Returns:
ENUMVALUEDEFINITIONFROMOID of the GENERICSTATETRANSITION
Throws:
DataObjectException - If the object is not found in the database.

setENUMVALUEDEFINITIONFROMOID

public void setENUMVALUEDEFINITIONFROMOID(EnumValueDefinitionDO ENUMVALUEDEFINITIONFROMOID)
                                   throws DataObjectException
Set ENUMVALUEDEFINITIONFROMOID of the GENERICSTATETRANSITION

Parameters:
ENUMVALUEDEFINITIONFROMOID - of the GENERICSTATETRANSITION
Throws:
DataObjectException - If the object is not found in the database.

getENUMVALUEDEFINITIONTOOID

public EnumValueDefinitionDO getENUMVALUEDEFINITIONTOOID()
                                                  throws DataObjectException
Get ENUMVALUEDEFINITIONTOOID of the GENERICSTATETRANSITION

Returns:
ENUMVALUEDEFINITIONTOOID of the GENERICSTATETRANSITION
Throws:
DataObjectException - If the object is not found in the database.

setENUMVALUEDEFINITIONTOOID

public void setENUMVALUEDEFINITIONTOOID(EnumValueDefinitionDO ENUMVALUEDEFINITIONTOOID)
                                 throws DataObjectException
Set ENUMVALUEDEFINITIONTOOID of the GENERICSTATETRANSITION

Parameters:
ENUMVALUEDEFINITIONTOOID - of the GENERICSTATETRANSITION
Throws:
DataObjectException - If the object is not found in the database.

save

public void save()
          throws java.sql.SQLException,
                 DatabaseManagerException,
                 DataObjectException,
                 RefAssertionException,
                 DBRowUpdateException,
                 QueryException
Inserts/Updates the DO into its table.

Throws:
DatabaseManagerException - if a Transaction can not be created.
RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
DataObjectException
DBRowUpdateException
QueryException

save

public void save(DBTransaction dbt)
          throws java.sql.SQLException,
                 DatabaseManagerException,
                 DataObjectException,
                 RefAssertionException,
                 DBRowUpdateException,
                 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:
DatabaseManagerException - if a Transaction can not be created.
DBRowUpdateException - if a version error occurs.
RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
DataObjectException
QueryException

commit

public void commit()
            throws java.sql.SQLException,
                   DatabaseManagerException,
                   DataObjectException,
                   RefAssertionException,
                   DBRowUpdateException,
                   QueryException
Deprecated. Use save() instead.

Inserts/Updates the DO into its table.

Throws:
DatabaseManagerException - if a Transaction can not be created.
RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
DataObjectException
DBRowUpdateException
QueryException

commit

public void commit(DBTransaction dbt)
            throws java.sql.SQLException,
                   DatabaseManagerException,
                   DataObjectException,
                   RefAssertionException,
                   DBRowUpdateException,
                   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:
DatabaseManagerException - if a Transaction can not be created.
DBRowUpdateException - if a version error occurs.
RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
DataObjectException
QueryException

delete

public void delete()
            throws java.sql.SQLException,
                   DatabaseManagerException,
                   DataObjectException,
                   RefAssertionException,
                   DBRowUpdateException,
                   QueryException
Deletes the DO from its table.

Throws:
DatabaseManagerException - if a Transaction can not be created.
RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
DataObjectException
DBRowUpdateException
QueryException

delete

public void delete(DBTransaction dbt)
            throws java.sql.SQLException,
                   DatabaseManagerException,
                   DataObjectException,
                   RefAssertionException,
                   DBRowUpdateException,
                   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:
DatabaseManagerException - if a Transaction can not be created.
DBRowUpdateException - if a version error occurs.
RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
DataObjectException
QueryException

Enhydra 5.1 API