| jspPhoneBook.data.PersonDOI
All known Subclasses: jspPhoneBook.data.PersonDO,
PersonDOI | public interface PersonDOI (Code) | | Interface implemented by PersonDO
Interface could also be implemented by a (hand-written) Business Layer class
which uses PersonDO
version: $Revision: 1.1 $ author: EnhydraTeam since: PhoneList |
commit | public void commit() throws SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException(Code) | | Inserts/Updates the DO into its table.
exception: com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created. exception: RefAssertionException - thrown by okTo method. exception: java.sql.SQLException - if any SQL errors occur. |
commit | public void commit(DBTransaction dbt) throws SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException(Code) | | 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. exception: com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created. exception: com.lutris.appserver.server.sql.DBRowUpdateException - if a version error occurs. exception: RefAssertionException - thrown by okTo method. exception: java.sql.SQLException - if any SQL errors occur. |
delete | public void delete() throws SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException(Code) | | Deletes the DO from its table.
exception: com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created. exception: RefAssertionException - thrown by okTo method. exception: java.sql.SQLException - if any SQL errors occur. |
delete | public void delete(DBTransaction dbt) throws SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException(Code) | | 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. exception: com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created. exception: com.lutris.appserver.server.sql.DBRowUpdateException - if a version error occurs. exception: RefAssertionException - thrown by okTo method. exception: java.sql.SQLException - if any SQL errors occur. |
getFirstName | public String getFirstName() throws DataObjectException(Code) | | Get firstName of the person
firstName of the person exception: DataObjectException - If the object is not found in the database. |
getLastName | public String getLastName() throws DataObjectException(Code) | | Get lastName of the person
lastName of the person exception: DataObjectException - If the object is not found in the database. |
getPhoneNumber | public String getPhoneNumber() throws DataObjectException(Code) | | Get phoneNumber of the person
phoneNumber of the person exception: DataObjectException - If the object is not found in the database. |
save | public void save() throws SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException(Code) | | Inserts/Updates the DO into its table.
exception: com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created. exception: RefAssertionException - thrown by okTo method. exception: java.sql.SQLException - if any SQL errors occur. |
save | public void save(DBTransaction dbt) throws SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException(Code) | | 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. exception: com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created. exception: com.lutris.appserver.server.sql.DBRowUpdateException - if a version error occurs. exception: RefAssertionException - thrown by okTo method. exception: java.sql.SQLException - if any SQL errors occur. |
setFirstName | public void setFirstName(String firstName) throws DataObjectException(Code) | | Set firstName of the person
Parameters: firstName - of the person exception: DataObjectException - If the object is not found in the database. |
setLastName | public void setLastName(String lastName) throws DataObjectException(Code) | | Set lastName of the person
Parameters: lastName - of the person exception: DataObjectException - If the object is not found in the database. |
setPhoneNumber | public void setPhoneNumber(String phoneNumber) throws DataObjectException(Code) | | Set phoneNumber of the person
Parameters: phoneNumber - of the person exception: DataObjectException - If the object is not found in the database. |
|
|