com.liferay.mail.service.persistence
Class CyrusVirtualPersistence

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl
      extended by com.liferay.mail.service.persistence.CyrusVirtualPersistence
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence

public class CyrusVirtualPersistence
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String FIND_BY_USER_ID
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners
 
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.impl.BasePersistenceImpl
closeSession, getDataSource, getDialect, getListeners, openSession, processException, registerListener, setDataSource, setSessionFactory, unregisterListener
 
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