org.enhydra.shark.repositorypersistence.data
Interface XPDLHistoryDataDOI

All Known Implementing Classes:
XPDLHistoryDataDO

public interface XPDLHistoryDataDOI

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

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.math.BigDecimal getCNT()
          Get CNT of the SHKXPDLHistoryData
 byte[] getXPDLClassContent()
          Get XPDLClassContent of the SHKXPDLHistoryData
 byte[] getXPDLContent()
          Get XPDLContent of the SHKXPDLHistoryData
 XPDLHistoryDO getXPDLHistory()
          Get XPDLHistory of the SHKXPDLHistoryData
 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 setCNT(java.math.BigDecimal CNT)
          Set CNT of the SHKXPDLHistoryData
 void setXPDLClassContent(byte[] XPDLClassContent)
          Set XPDLClassContent of the SHKXPDLHistoryData
 void setXPDLContent(byte[] XPDLContent)
          Set XPDLContent of the SHKXPDLHistoryData
 void setXPDLHistory(XPDLHistoryDO XPDLHistory)
          Set XPDLHistory of the SHKXPDLHistoryData
 

Method Detail

getXPDLContent

byte[] getXPDLContent()
                      throws com.lutris.dods.builder.generator.query.DataObjectException
Get XPDLContent of the SHKXPDLHistoryData

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

setXPDLContent

void setXPDLContent(byte[] XPDLContent)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set XPDLContent of the SHKXPDLHistoryData

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

getXPDLClassContent

byte[] getXPDLClassContent()
                           throws com.lutris.dods.builder.generator.query.DataObjectException
Get XPDLClassContent of the SHKXPDLHistoryData

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

setXPDLClassContent

void setXPDLClassContent(byte[] XPDLClassContent)
                         throws com.lutris.dods.builder.generator.query.DataObjectException
Set XPDLClassContent of the SHKXPDLHistoryData

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

getXPDLHistory

XPDLHistoryDO getXPDLHistory()
                             throws com.lutris.dods.builder.generator.query.DataObjectException
Get XPDLHistory of the SHKXPDLHistoryData

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

setXPDLHistory

void setXPDLHistory(XPDLHistoryDO XPDLHistory)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set XPDLHistory of the SHKXPDLHistoryData

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

getCNT

java.math.BigDecimal getCNT()
                            throws com.lutris.dods.builder.generator.query.DataObjectException
Get CNT of the SHKXPDLHistoryData

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

setCNT

void setCNT(java.math.BigDecimal CNT)
            throws com.lutris.dods.builder.generator.query.DataObjectException
Set CNT of the SHKXPDLHistoryData

Parameters:
CNT - of the SHKXPDLHistoryData
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