com.softslate.commerce.daos.administrator
Interface RoleDAO

All Superinterfaces:
DAOInterface
All Known Implementing Classes:
RoleDAOBasic

public interface RoleDAO
extends DAOInterface

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

Author:
David Tobey $Id: RoleDAO.java,v 1.1 2005/05/16 14:35:00 dtobey Exp $

Method Summary
 void deleteRole()
           
 void deleteRole(boolean commit)
           
 int getMaxRoleID()
           
 Role getRole()
           
 void insertRole()
           
 void insertRole(boolean commit)
           
 void loadRole()
           
 void loadRoleFromID()
           
 void setRole(Role role)
           
 void updateRole()
           
 void updateRole(boolean commit)
           
 
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface
getConnection, getDaoFactory, getDataSource, getSettingsBean, getSqlMap, initialize, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap
 

Method Detail

getRole

public Role getRole()

setRole

public void setRole(Role role)

loadRoleFromID

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

getMaxRoleID

public int getMaxRoleID()
                 throws java.lang.Exception
Throws:
java.lang.Exception

insertRole

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

insertRole

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

updateRole

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

updateRole

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

deleteRole

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

deleteRole

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

loadRole

public void loadRole()
              throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © SoftSlate, Inc. 2003–2005