com.liferay.mail.service.persistence
Class CyrusUserPersistence

java.lang.Object
  extended byorg.springframework.dao.support.DaoSupport
      extended byorg.springframework.jdbc.core.support.JdbcDaoSupport
          extended bycom.liferay.portal.service.persistence.BasePersistence
              extended bycom.liferay.mail.service.persistence.CyrusUserPersistence
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class CyrusUserPersistence
extends com.liferay.portal.service.persistence.BasePersistence

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
CyrusUserPersistence()
           
 
Method Summary
 CyrusUser findByPrimaryKey(long userId)
           
 void remove(long userId)
           
 void update(CyrusUser user)
           
 
Methods inherited from class com.liferay.portal.service.persistence.BasePersistence
closeSession, getDialect, getSessionFactory, openSession, openSession, setSessionFactory
 
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CyrusUserPersistence

public CyrusUserPersistence()
Method Detail

remove

public void remove(long userId)
            throws NoSuchCyrusUserException,
                   com.liferay.portal.SystemException
Throws:
NoSuchCyrusUserException
com.liferay.portal.SystemException

update

public void update(CyrusUser user)
            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public CyrusUser findByPrimaryKey(long userId)
                           throws NoSuchCyrusUserException,
                                  com.liferay.portal.SystemException
Throws:
NoSuchCyrusUserException
com.liferay.portal.SystemException