com.liferay.portlet.announcements.service.persistence
Class AnnouncementsDeliveryUtil
java.lang.Object
com.liferay.portlet.announcements.service.persistence.AnnouncementsDeliveryUtil
public class AnnouncementsDeliveryUtil
- extends java.lang.Object
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:
AnnouncementsDeliveryPersistence
,
AnnouncementsDeliveryPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(AnnouncementsDelivery announcementsDelivery)
|
static void |
cacheResult(java.util.List<AnnouncementsDelivery> announcementsDeliveries)
|
static void |
clearCache()
|
static void |
clearCache(AnnouncementsDelivery announcementsDelivery)
|
static int |
countAll()
|
static int |
countByU_T(long userId,
java.lang.String type)
|
static int |
countByUserId(long userId)
|
int |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static AnnouncementsDelivery |
create(long deliveryId)
|
static AnnouncementsDelivery |
fetchByPrimaryKey(long deliveryId)
|
static AnnouncementsDelivery |
fetchByU_T(long userId,
java.lang.String type)
|
static AnnouncementsDelivery |
fetchByU_T(long userId,
java.lang.String type,
boolean retrieveFromCache)
|
static java.util.List<AnnouncementsDelivery> |
findAll()
|
static java.util.List<AnnouncementsDelivery> |
findAll(int start,
int end)
|
static java.util.List<AnnouncementsDelivery> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static AnnouncementsDelivery |
findByPrimaryKey(long deliveryId)
|
static AnnouncementsDelivery |
findByU_T(long userId,
java.lang.String type)
|
static AnnouncementsDelivery |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static AnnouncementsDelivery |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static AnnouncementsDelivery[] |
findByUserId_PrevAndNext(long deliveryId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<AnnouncementsDelivery> |
findByUserId(long userId)
|
static java.util.List<AnnouncementsDelivery> |
findByUserId(long userId,
int start,
int end)
|
static java.util.List<AnnouncementsDelivery> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static AnnouncementsDeliveryPersistence |
getPersistence()
|
static AnnouncementsDelivery |
remove(AnnouncementsDelivery announcementsDelivery)
|
static AnnouncementsDelivery |
remove(long deliveryId)
|
static void |
removeAll()
|
static void |
removeByU_T(long userId,
java.lang.String type)
|
static void |
removeByUserId(long userId)
|
void |
setPersistence(AnnouncementsDeliveryPersistence persistence)
|
static AnnouncementsDelivery |
update(AnnouncementsDelivery announcementsDelivery)
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean) . |
static AnnouncementsDelivery |
update(AnnouncementsDelivery announcementsDelivery,
boolean merge)
|
static AnnouncementsDelivery |
updateImpl(AnnouncementsDelivery announcementsDelivery,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnouncementsDeliveryUtil
public AnnouncementsDeliveryUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(AnnouncementsDelivery announcementsDelivery)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(AnnouncementsDelivery)
countWithDynamicQuery
public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static AnnouncementsDelivery remove(AnnouncementsDelivery announcementsDelivery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static AnnouncementsDelivery update(AnnouncementsDelivery announcementsDelivery,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(AnnouncementsDelivery announcementsDelivery)
cacheResult
public static void cacheResult(java.util.List<AnnouncementsDelivery> announcementsDeliveries)
create
public static AnnouncementsDelivery create(long deliveryId)
remove
public static AnnouncementsDelivery remove(long deliveryId)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
update
public static AnnouncementsDelivery update(AnnouncementsDelivery announcementsDelivery)
throws com.liferay.portal.SystemException
- Deprecated. Use
com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
public static AnnouncementsDelivery updateImpl(AnnouncementsDelivery announcementsDelivery,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static AnnouncementsDelivery findByPrimaryKey(long deliveryId)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
fetchByPrimaryKey
public static AnnouncementsDelivery fetchByPrimaryKey(long deliveryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
public static java.util.List<AnnouncementsDelivery> findByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
public static java.util.List<AnnouncementsDelivery> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
public static 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
public static 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
public static 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
public static 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
public static AnnouncementsDelivery findByU_T(long userId,
java.lang.String type)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
fetchByU_T
public static AnnouncementsDelivery fetchByU_T(long userId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByU_T
public static AnnouncementsDelivery fetchByU_T(long userId,
java.lang.String type,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<AnnouncementsDelivery> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<AnnouncementsDelivery> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static 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
public static void removeByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByU_T
public static void removeByU_T(long userId,
java.lang.String type)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUserId
public static int countByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByU_T
public static int countByU_T(long userId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static AnnouncementsDeliveryPersistence getPersistence()
setPersistence
public void setPersistence(AnnouncementsDeliveryPersistence persistence)