com.liferay.mail.service.persistence
Class CyrusVirtualPersistence

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

public class CyrusVirtualPersistence
extends BasePersistence

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String FIND_BY_USER_ID
           
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
CyrusVirtualPersistence()
           
 
Method Summary
 CyrusVirtual findByPrimaryKey(java.lang.String emailAddress)
           
 java.util.List<CyrusVirtual> findByUserId(long userId)
           
 void remove(java.lang.String emailAddress)
           
 void removeByUserId(long userId)
           
 void update(CyrusVirtual virtual)
           
 
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
 

Field Detail

FIND_BY_USER_ID

public static java.lang.String FIND_BY_USER_ID
Constructor Detail

CyrusVirtualPersistence

public CyrusVirtualPersistence()
Method Detail

remove

public void remove(java.lang.String emailAddress)
            throws NoSuchCyrusVirtualException,
                   com.liferay.portal.SystemException
Throws:
NoSuchCyrusVirtualException
com.liferay.portal.SystemException

update

public void update(CyrusVirtual virtual)
            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public CyrusVirtual findByPrimaryKey(java.lang.String emailAddress)
                              throws NoSuchCyrusVirtualException,
                                     com.liferay.portal.SystemException
Throws:
NoSuchCyrusVirtualException
com.liferay.portal.SystemException

findByUserId

public java.util.List<CyrusVirtual> findByUserId(long userId)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUserId

public void removeByUserId(long userId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException