|
DODS 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface implemented by GenericObjectDO. Interface could also be implemented by a (hand-written) Business Layer class which uses GenericObjectDO.
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. |
java.math.BigDecimal |
getEXTERNALOID()
Get EXTERNALOID of the GENERICOBJECT |
TypeDefinitionDO |
getTYPEDEFINITIONOID()
Get TYPEDEFINITIONOID of the GENERICOBJECT |
void |
save()
Inserts/Updates the DO into its table. |
void |
save(DBTransaction dbt)
Inserts/Updates the DO into its table. |
void |
setEXTERNALOID(java.math.BigDecimal EXTERNALOID)
Set EXTERNALOID of the GENERICOBJECT |
void |
setTYPEDEFINITIONOID(TypeDefinitionDO TYPEDEFINITIONOID)
Set TYPEDEFINITIONOID of the GENERICOBJECT |
Method Detail |
public java.math.BigDecimal getEXTERNALOID() throws DataObjectException
DataObjectException
- If the object is not found in the database.public void setEXTERNALOID(java.math.BigDecimal EXTERNALOID) throws DataObjectException
EXTERNALOID
- of the GENERICOBJECT
DataObjectException
- If the object is not found in the database.public TypeDefinitionDO getTYPEDEFINITIONOID() throws DataObjectException
DataObjectException
- If the object is not found in the database.public void setTYPEDEFINITIONOID(TypeDefinitionDO TYPEDEFINITIONOID) throws DataObjectException
TYPEDEFINITIONOID
- of the GENERICOBJECT
DataObjectException
- If the object is not found in the database.public void save() throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
DatabaseManagerException
- if a Transaction can not be created.
RefAssertionException
- thrown by okTo method.
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
DBRowUpdateException
QueryException
public void save(DBTransaction dbt) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
dbt
- The transaction object to use for this operation.
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
public void commit() throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
DatabaseManagerException
- if a Transaction can not be created.
RefAssertionException
- thrown by okTo method.
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
DBRowUpdateException
QueryException
public void commit(DBTransaction dbt) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
dbt
- The transaction object to use for this operation.
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
public void delete() throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
DatabaseManagerException
- if a Transaction can not be created.
RefAssertionException
- thrown by okTo method.
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
DBRowUpdateException
QueryException
public void delete(DBTransaction dbt) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
dbt
- The transaction object to use for this operation.
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
|
DODS 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |