com.liferay.portlet.announcements.service.persistence
Interface AnnouncementsDeliveryPersistence

All Superinterfaces:
BasePersistence<AnnouncementsDelivery>

public interface AnnouncementsDeliveryPersistence
extends BasePersistence<AnnouncementsDelivery>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
AnnouncementsDeliveryPersistenceImpl, AnnouncementsDeliveryUtil
Generated:

Method Summary
 void cacheResult(AnnouncementsDelivery announcementsDelivery)
           
 void cacheResult(java.util.List<AnnouncementsDelivery> announcementsDeliveries)
           
 int countAll()
           
 int countByU_T(long userId, java.lang.String type)
           
 int countByUserId(long userId)
           
 AnnouncementsDelivery create(long deliveryId)
           
 AnnouncementsDelivery fetchByPrimaryKey(long deliveryId)
           
 AnnouncementsDelivery fetchByU_T(long userId, java.lang.String type)
           
 AnnouncementsDelivery fetchByU_T(long userId, java.lang.String type, boolean retrieveFromCache)
           
 java.util.List<AnnouncementsDelivery> findAll()
           
 java.util.List<AnnouncementsDelivery> findAll(int start, int end)
           
 java.util.List<AnnouncementsDelivery> findAll(int start, int end, OrderByComparator orderByComparator)
           
 AnnouncementsDelivery findByPrimaryKey(long deliveryId)
           
 AnnouncementsDelivery findByU_T(long userId, java.lang.String type)
           
 AnnouncementsDelivery findByUserId_First(long userId, OrderByComparator orderByComparator)
           
 AnnouncementsDelivery findByUserId_Last(long userId, OrderByComparator orderByComparator)
           
 AnnouncementsDelivery[] findByUserId_PrevAndNext(long deliveryId, long userId, OrderByComparator orderByComparator)
           
 java.util.List<AnnouncementsDelivery> findByUserId(long userId)
           
 java.util.List<AnnouncementsDelivery> findByUserId(long userId, int start, int end)
           
 java.util.List<AnnouncementsDelivery> findByUserId(long userId, int start, int end, OrderByComparator orderByComparator)
           
 AnnouncementsDelivery remove(long deliveryId)
           
 void removeAll()
           
 void removeByU_T(long userId, java.lang.String type)
           
 void removeByUserId(long userId)
           
 AnnouncementsDelivery updateImpl(AnnouncementsDelivery announcementsDelivery, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(AnnouncementsDelivery announcementsDelivery)

cacheResult

void cacheResult(java.util.List<AnnouncementsDelivery> announcementsDeliveries)

create

AnnouncementsDelivery create(long deliveryId)

remove

AnnouncementsDelivery remove(long deliveryId)
                             throws SystemException,
                                    NoSuchDeliveryException
Throws:
SystemException
NoSuchDeliveryException

updateImpl

AnnouncementsDelivery updateImpl(AnnouncementsDelivery announcementsDelivery,
                                 boolean merge)
                                 throws SystemException
Throws:
SystemException

findByPrimaryKey

AnnouncementsDelivery findByPrimaryKey(long deliveryId)
                                       throws SystemException,
                                              NoSuchDeliveryException
Throws:
SystemException
NoSuchDeliveryException

fetchByPrimaryKey

AnnouncementsDelivery fetchByPrimaryKey(long deliveryId)
                                        throws SystemException
Throws:
SystemException

findByUserId

java.util.List<AnnouncementsDelivery> findByUserId(long userId)
                                                   throws SystemException
Throws:
SystemException

findByUserId

java.util.List<AnnouncementsDelivery> findByUserId(long userId,
                                                   int start,
                                                   int end)
                                                   throws SystemException
Throws:
SystemException

findByUserId

java.util.List<AnnouncementsDelivery> findByUserId(long userId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                                   throws SystemException
Throws:
SystemException

findByUserId_First

AnnouncementsDelivery findByUserId_First(long userId,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchDeliveryException
Throws:
SystemException
NoSuchDeliveryException

findByUserId_Last

AnnouncementsDelivery findByUserId_Last(long userId,
                                        OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchDeliveryException
Throws:
SystemException
NoSuchDeliveryException

findByUserId_PrevAndNext

AnnouncementsDelivery[] findByUserId_PrevAndNext(long deliveryId,
                                                 long userId,
                                                 OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchDeliveryException
Throws:
SystemException
NoSuchDeliveryException

findByU_T

AnnouncementsDelivery findByU_T(long userId,
                                java.lang.String type)
                                throws SystemException,
                                       NoSuchDeliveryException
Throws:
SystemException
NoSuchDeliveryException

fetchByU_T

AnnouncementsDelivery fetchByU_T(long userId,
                                 java.lang.String type)
                                 throws SystemException
Throws:
SystemException

fetchByU_T

AnnouncementsDelivery fetchByU_T(long userId,
                                 java.lang.String type,
                                 boolean retrieveFromCache)
                                 throws SystemException
Throws:
SystemException

findAll

java.util.List<AnnouncementsDelivery> findAll()
                                              throws SystemException
Throws:
SystemException

findAll

java.util.List<AnnouncementsDelivery> findAll(int start,
                                              int end)
                                              throws SystemException
Throws:
SystemException

findAll

java.util.List<AnnouncementsDelivery> findAll(int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                              throws SystemException
Throws:
SystemException

removeByUserId

void removeByUserId(long userId)
                    throws SystemException
Throws:
SystemException

removeByU_T

void removeByU_T(long userId,
                 java.lang.String type)
                 throws SystemException,
                        NoSuchDeliveryException
Throws:
SystemException
NoSuchDeliveryException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByUserId

int countByUserId(long userId)
                  throws SystemException
Throws:
SystemException

countByU_T

int countByU_T(long userId,
               java.lang.String type)
               throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException