com.liferay.portlet.announcements.service.persistence
Class AnnouncementsFlagUtil
java.lang.Object
com.liferay.portlet.announcements.service.persistence.AnnouncementsFlagUtil
public class AnnouncementsFlagUtil
- 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:
AnnouncementsFlagPersistence
,
AnnouncementsFlagPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(AnnouncementsFlag announcementsFlag)
|
static void |
cacheResult(java.util.List<AnnouncementsFlag> announcementsFlags)
|
static void |
clearCache()
|
static int |
countAll()
|
static int |
countByEntryId(long entryId)
|
static int |
countByU_E_V(long userId,
long entryId,
int value)
|
static AnnouncementsFlag |
create(long flagId)
|
static AnnouncementsFlag |
fetchByPrimaryKey(long flagId)
|
static AnnouncementsFlag |
fetchByU_E_V(long userId,
long entryId,
int value)
|
static AnnouncementsFlag |
fetchByU_E_V(long userId,
long entryId,
int value,
boolean retrieveFromCache)
|
static java.util.List<AnnouncementsFlag> |
findAll()
|
static java.util.List<AnnouncementsFlag> |
findAll(int start,
int end)
|
static java.util.List<AnnouncementsFlag> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static AnnouncementsFlag |
findByEntryId_First(long entryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static AnnouncementsFlag |
findByEntryId_Last(long entryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static AnnouncementsFlag[] |
findByEntryId_PrevAndNext(long flagId,
long entryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<AnnouncementsFlag> |
findByEntryId(long entryId)
|
static java.util.List<AnnouncementsFlag> |
findByEntryId(long entryId,
int start,
int end)
|
static java.util.List<AnnouncementsFlag> |
findByEntryId(long entryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static AnnouncementsFlag |
findByPrimaryKey(long flagId)
|
static AnnouncementsFlag |
findByU_E_V(long userId,
long entryId,
int value)
|
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 AnnouncementsFlagPersistence |
getPersistence()
|
static AnnouncementsFlag |
remove(AnnouncementsFlag announcementsFlag)
|
static AnnouncementsFlag |
remove(long flagId)
|
static void |
removeAll()
|
static void |
removeByEntryId(long entryId)
|
static void |
removeByU_E_V(long userId,
long entryId,
int value)
|
void |
setPersistence(AnnouncementsFlagPersistence persistence)
|
static AnnouncementsFlag |
update(AnnouncementsFlag announcementsFlag,
boolean merge)
|
static AnnouncementsFlag |
updateImpl(AnnouncementsFlag announcementsFlag,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnouncementsFlagUtil
public AnnouncementsFlagUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.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.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static AnnouncementsFlag remove(AnnouncementsFlag announcementsFlag)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static AnnouncementsFlag update(AnnouncementsFlag announcementsFlag,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(AnnouncementsFlag announcementsFlag)
cacheResult
public static void cacheResult(java.util.List<AnnouncementsFlag> announcementsFlags)
create
public static AnnouncementsFlag create(long flagId)
remove
public static AnnouncementsFlag remove(long flagId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchFlagException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFlagException
updateImpl
public static AnnouncementsFlag updateImpl(AnnouncementsFlag announcementsFlag,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
public static AnnouncementsFlag findByPrimaryKey(long flagId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchFlagException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFlagException
fetchByPrimaryKey
public static AnnouncementsFlag fetchByPrimaryKey(long flagId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByEntryId
public static java.util.List<AnnouncementsFlag> findByEntryId(long entryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByEntryId
public static java.util.List<AnnouncementsFlag> findByEntryId(long entryId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByEntryId
public static java.util.List<AnnouncementsFlag> findByEntryId(long entryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByEntryId_First
public static AnnouncementsFlag findByEntryId_First(long entryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchFlagException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFlagException
findByEntryId_Last
public static AnnouncementsFlag findByEntryId_Last(long entryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchFlagException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFlagException
findByEntryId_PrevAndNext
public static AnnouncementsFlag[] findByEntryId_PrevAndNext(long flagId,
long entryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchFlagException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFlagException
findByU_E_V
public static AnnouncementsFlag findByU_E_V(long userId,
long entryId,
int value)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchFlagException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFlagException
fetchByU_E_V
public static AnnouncementsFlag fetchByU_E_V(long userId,
long entryId,
int value)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByU_E_V
public static AnnouncementsFlag fetchByU_E_V(long userId,
long entryId,
int value,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<AnnouncementsFlag> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<AnnouncementsFlag> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<AnnouncementsFlag> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByEntryId
public static void removeByEntryId(long entryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByU_E_V
public static void removeByU_E_V(long userId,
long entryId,
int value)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchFlagException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFlagException
removeAll
public static void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByEntryId
public static int countByEntryId(long entryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByU_E_V
public static int countByU_E_V(long userId,
long entryId,
int value)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
public static int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getPersistence
public static AnnouncementsFlagPersistence getPersistence()
setPersistence
public void setPersistence(AnnouncementsFlagPersistence persistence)