com.softslate.commerce.daos.administrator
Interface RoleDAO

All Superinterfaces:
DAOInterface
All Known Implementing Classes:
RoleDAOHibernate

public interface RoleDAO
extends DAOInterface

Interface for a DAO to manage the sscRole table of the database.

Author:
David Tobey

Method Summary
 void deleteRole()
           
 void deleteRole(boolean commit)
           
 Role getRole()
           
 void insertRole()
           
 void insertRole(boolean commit)
           
 void loadRoleFromCode()
           
 void loadRoleFromID()
           
 void setRole(Role role)
           
 void updateRole()
           
 void updateRole(boolean commit)
           
 
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface
deleteObject, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getSettings, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setSettings, setSqlMap, updateObject
 

Method Detail

getRole

Role getRole()

setRole

void setRole(Role role)

loadRoleFromID

void loadRoleFromID()
                    throws java.lang.Exception
Throws:
java.lang.Exception

loadRoleFromCode

void loadRoleFromCode()
                      throws DataAccessException
Throws:
DataAccessException

insertRole

void insertRole()
                throws java.lang.Exception
Throws:
java.lang.Exception

insertRole

void insertRole(boolean commit)
                throws java.lang.Exception
Throws:
java.lang.Exception

updateRole

void updateRole()
                throws java.lang.Exception
Throws:
java.lang.Exception

updateRole

void updateRole(boolean commit)
                throws java.lang.Exception
Throws:
java.lang.Exception

deleteRole

void deleteRole()
                throws java.lang.Exception
Throws:
java.lang.Exception

deleteRole

void deleteRole(boolean commit)
                throws java.lang.Exception
Throws:
java.lang.Exception


Copyright ? SoftSlate, LLC 2003?2005