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,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
AnnouncementsDelivery |
findByPrimaryKey(long deliveryId)
|
AnnouncementsDelivery |
findByU_T(long userId,
java.lang.String type)
|
AnnouncementsDelivery |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
AnnouncementsDelivery |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
AnnouncementsDelivery[] |
findByUserId_PrevAndNext(long deliveryId,
long userId,
com.liferay.portal.kernel.util.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,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
AnnouncementsDelivery |
remove(long deliveryId)
|
void |
removeAll()
|
void |
removeByU_T(long userId,
java.lang.String type)
|
void |
removeByUserId(long userId)
|
AnnouncementsDelivery |
update(AnnouncementsDelivery announcementsDelivery)
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean) . |
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 |
cacheResult
void cacheResult(AnnouncementsDelivery announcementsDelivery)
cacheResult
void cacheResult(java.util.List<AnnouncementsDelivery> announcementsDeliveries)
create
AnnouncementsDelivery create(long deliveryId)
remove
AnnouncementsDelivery remove(long deliveryId)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
update
AnnouncementsDelivery update(AnnouncementsDelivery announcementsDelivery)
throws com.liferay.portal.SystemException
- Deprecated. Use
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
AnnouncementsDelivery updateImpl(AnnouncementsDelivery announcementsDelivery,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
AnnouncementsDelivery findByPrimaryKey(long deliveryId)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
fetchByPrimaryKey
AnnouncementsDelivery fetchByPrimaryKey(long deliveryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
java.util.List<AnnouncementsDelivery> findByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
java.util.List<AnnouncementsDelivery> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
java.util.List<AnnouncementsDelivery> findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId_First
AnnouncementsDelivery findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
findByUserId_Last
AnnouncementsDelivery findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
findByUserId_PrevAndNext
AnnouncementsDelivery[] findByUserId_PrevAndNext(long deliveryId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
findByU_T
AnnouncementsDelivery findByU_T(long userId,
java.lang.String type)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
fetchByU_T
AnnouncementsDelivery fetchByU_T(long userId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByU_T
AnnouncementsDelivery fetchByU_T(long userId,
java.lang.String type,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<AnnouncementsDelivery> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<AnnouncementsDelivery> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<AnnouncementsDelivery> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUserId
void removeByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByU_T
void removeByU_T(long userId,
java.lang.String type)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUserId
int countByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByU_T
int countByU_T(long userId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException