org.enhydra.shark.usergroup.data
Interface UserDOI

All Known Implementing Classes:
UserDO

public interface UserDOI

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

Since:
DODS Project
Version:
$Revision: 1.12 $
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 getEmail()
          Get email of the SHKUserTable
 java.lang.String getFirstname()
          Get firstname of the SHKUserTable
 java.lang.String getLastname()
          Get lastname of the SHKUserTable
 java.lang.String getPasswd()
          Get passwd of the SHKUserTable
 java.lang.String getUserid()
          Get userid of the SHKUserTable
 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 setEmail(java.lang.String email)
          Set email of the SHKUserTable
 void setFirstname(java.lang.String firstname)
          Set firstname of the SHKUserTable
 void setLastname(java.lang.String lastname)
          Set lastname of the SHKUserTable
 void setPasswd(java.lang.String passwd)
          Set passwd of the SHKUserTable
 void setUserid(java.lang.String userid)
          Set userid of the SHKUserTable
 

Method Detail

getUserid

public java.lang.String getUserid()
                           throws com.lutris.dods.builder.generator.query.DataObjectException
Get userid of the SHKUserTable

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

setUserid

public void setUserid(java.lang.String userid)
               throws com.lutris.dods.builder.generator.query.DataObjectException
Set userid of the SHKUserTable

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

getFirstname

public java.lang.String getFirstname()
                              throws com.lutris.dods.builder.generator.query.DataObjectException
Get firstname of the SHKUserTable

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

setFirstname

public void setFirstname(java.lang.String firstname)
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Set firstname of the SHKUserTable

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

getLastname

public java.lang.String getLastname()
                             throws com.lutris.dods.builder.generator.query.DataObjectException
Get lastname of the SHKUserTable

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

setLastname

public void setLastname(java.lang.String lastname)
                 throws com.lutris.dods.builder.generator.query.DataObjectException
Set lastname of the SHKUserTable

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

getPasswd

public java.lang.String getPasswd()
                           throws com.lutris.dods.builder.generator.query.DataObjectException
Get passwd of the SHKUserTable

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

setPasswd

public void setPasswd(java.lang.String passwd)
               throws com.lutris.dods.builder.generator.query.DataObjectException
Set passwd of the SHKUserTable

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

getEmail

public java.lang.String getEmail()
                          throws com.lutris.dods.builder.generator.query.DataObjectException
Get email of the SHKUserTable

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

setEmail

public void setEmail(java.lang.String email)
              throws com.lutris.dods.builder.generator.query.DataObjectException
Set email of the SHKUserTable

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

save

public 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

public 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

public 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

public 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

public 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

public 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