com.multisoftgroup.jerry.jabber.dao
Class AccountDAO

java.lang.Object
  extended by com.multisoftgroup.common.dao.util.AbstractCommonDAO
      extended by com.multisoftgroup.common.dao.util.CommonDAO
          extended by com.multisoftgroup.jerry.jabber.dao.CommonDAO
              extended by com.multisoftgroup.jerry.jabber.dao.AccountDAO

public class AccountDAO
extends CommonDAO


Constructor Summary
AccountDAO()
           
 
Method Summary
 void delete(Account obj)
           
 List findAll()
           
 Account getByName(String name)
           
 void insert(Account obj)
           
 Account read(int id)
           
 void update(Account obj)
           
 
Methods inherited from class com.multisoftgroup.jerry.jabber.dao.CommonDAO
getPK
 
Methods inherited from class com.multisoftgroup.common.dao.util.CommonDAO
commit, getPK, rollback
 
Methods inherited from class com.multisoftgroup.common.dao.util.AbstractCommonDAO
cleanup, getConnection, prepareStatement, toDate, toDate, toDate, toDate, toTime, toTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountDAO

public AccountDAO()
Method Detail

insert

public void insert(Account obj)
            throws com.multisoftgroup.common.dao.util.DAOException
Throws:
com.multisoftgroup.common.dao.util.DAOException

read

public Account read(int id)
             throws com.multisoftgroup.common.dao.util.DAOException
Throws:
com.multisoftgroup.common.dao.util.DAOException

update

public void update(Account obj)
            throws com.multisoftgroup.common.dao.util.DAOException
Throws:
com.multisoftgroup.common.dao.util.DAOException

delete

public void delete(Account obj)
            throws com.multisoftgroup.common.dao.util.DAOException
Throws:
com.multisoftgroup.common.dao.util.DAOException

findAll

public List findAll()
             throws com.multisoftgroup.common.dao.util.DAOException
Throws:
com.multisoftgroup.common.dao.util.DAOException

getByName

public Account getByName(String name)
                  throws com.multisoftgroup.common.dao.util.DAOException
Throws:
com.multisoftgroup.common.dao.util.DAOException