com.liferay.portlet.polls.service.persistence
Class PollsQuestionUtil
java.lang.Object
com.liferay.portlet.polls.service.persistence.PollsQuestionUtil
public class PollsQuestionUtil
- 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:
PollsQuestionPersistence
,
PollsQuestionPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(java.util.List<PollsQuestion> pollsQuestions)
|
static void |
cacheResult(PollsQuestion pollsQuestion)
|
static void |
clearCache()
|
static void |
clearCache(PollsQuestion pollsQuestion)
|
static int |
countAll()
|
static int |
countByGroupId(long groupId)
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
|
static int |
countByUuid(java.lang.String uuid)
|
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static PollsQuestion |
create(long questionId)
|
static PollsQuestion |
fetchByPrimaryKey(long questionId)
|
static PollsQuestion |
fetchByUUID_G(java.lang.String uuid,
long groupId)
|
static PollsQuestion |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
|
static int |
filterCountByGroupId(long groupId)
|
static java.util.List<PollsQuestion> |
filterFindByGroupId(long groupId)
|
static java.util.List<PollsQuestion> |
filterFindByGroupId(long groupId,
int start,
int end)
|
static java.util.List<PollsQuestion> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
static java.util.List<PollsQuestion> |
findAll()
|
static java.util.List<PollsQuestion> |
findAll(int start,
int end)
|
static java.util.List<PollsQuestion> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
static PollsQuestion |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
|
static PollsQuestion |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
|
static PollsQuestion[] |
findByGroupId_PrevAndNext(long questionId,
long groupId,
OrderByComparator orderByComparator)
|
static java.util.List<PollsQuestion> |
findByGroupId(long groupId)
|
static java.util.List<PollsQuestion> |
findByGroupId(long groupId,
int start,
int end)
|
static java.util.List<PollsQuestion> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
static PollsQuestion |
findByPrimaryKey(long questionId)
|
static PollsQuestion |
findByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
|
static PollsQuestion |
findByUUID_G(java.lang.String uuid,
long groupId)
|
static PollsQuestion |
findByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator)
|
static PollsQuestion[] |
findByUuid_PrevAndNext(long questionId,
java.lang.String uuid,
OrderByComparator orderByComparator)
|
static java.util.List<PollsQuestion> |
findByUuid(java.lang.String uuid)
|
static java.util.List<PollsQuestion> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
static java.util.List<PollsQuestion> |
findByUuid(java.lang.String uuid,
int start,
int end,
OrderByComparator orderByComparator)
|
static java.util.List<PollsQuestion> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List<PollsQuestion> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static PollsQuestionPersistence |
getPersistence()
|
static PollsQuestion |
remove(long questionId)
|
static PollsQuestion |
remove(PollsQuestion pollsQuestion)
|
static void |
removeAll()
|
static void |
removeByGroupId(long groupId)
|
static void |
removeByUUID_G(java.lang.String uuid,
long groupId)
|
static void |
removeByUuid(java.lang.String uuid)
|
void |
setPersistence(PollsQuestionPersistence persistence)
|
static PollsQuestion |
update(PollsQuestion pollsQuestion,
boolean merge)
|
static PollsQuestion |
updateImpl(PollsQuestion pollsQuestion,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollsQuestionUtil
public PollsQuestionUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(PollsQuestion pollsQuestion)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(PollsQuestion)
countWithDynamicQuery
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<PollsQuestion> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<PollsQuestion> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static PollsQuestion remove(PollsQuestion pollsQuestion)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static PollsQuestion update(PollsQuestion pollsQuestion,
boolean merge)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(PollsQuestion pollsQuestion)
cacheResult
public static void cacheResult(java.util.List<PollsQuestion> pollsQuestions)
create
public static PollsQuestion create(long questionId)
remove
public static PollsQuestion remove(long questionId)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
updateImpl
public static PollsQuestion updateImpl(PollsQuestion pollsQuestion,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
public static PollsQuestion findByPrimaryKey(long questionId)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
fetchByPrimaryKey
public static PollsQuestion fetchByPrimaryKey(long questionId)
throws SystemException
- Throws:
SystemException
findByUuid
public static java.util.List<PollsQuestion> findByUuid(java.lang.String uuid)
throws SystemException
- Throws:
SystemException
findByUuid
public static java.util.List<PollsQuestion> findByUuid(java.lang.String uuid,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByUuid
public static java.util.List<PollsQuestion> findByUuid(java.lang.String uuid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByUuid_First
public static PollsQuestion findByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
findByUuid_Last
public static PollsQuestion findByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
findByUuid_PrevAndNext
public static PollsQuestion[] findByUuid_PrevAndNext(long questionId,
java.lang.String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
findByUUID_G
public static PollsQuestion findByUUID_G(java.lang.String uuid,
long groupId)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
fetchByUUID_G
public static PollsQuestion fetchByUUID_G(java.lang.String uuid,
long groupId)
throws SystemException
- Throws:
SystemException
fetchByUUID_G
public static PollsQuestion fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findByGroupId
public static java.util.List<PollsQuestion> findByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
findByGroupId
public static java.util.List<PollsQuestion> findByGroupId(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByGroupId
public static java.util.List<PollsQuestion> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByGroupId_First
public static PollsQuestion findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
findByGroupId_Last
public static PollsQuestion findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
findByGroupId_PrevAndNext
public static PollsQuestion[] findByGroupId_PrevAndNext(long questionId,
long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
filterFindByGroupId
public static java.util.List<PollsQuestion> filterFindByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
filterFindByGroupId
public static java.util.List<PollsQuestion> filterFindByGroupId(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
filterFindByGroupId
public static java.util.List<PollsQuestion> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findAll
public static java.util.List<PollsQuestion> findAll()
throws SystemException
- Throws:
SystemException
findAll
public static java.util.List<PollsQuestion> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
public static java.util.List<PollsQuestion> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByUuid
public static void removeByUuid(java.lang.String uuid)
throws SystemException
- Throws:
SystemException
removeByUUID_G
public static void removeByUUID_G(java.lang.String uuid,
long groupId)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
removeByGroupId
public static void removeByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
removeAll
public static void removeAll()
throws SystemException
- Throws:
SystemException
countByUuid
public static int countByUuid(java.lang.String uuid)
throws SystemException
- Throws:
SystemException
countByUUID_G
public static int countByUUID_G(java.lang.String uuid,
long groupId)
throws SystemException
- Throws:
SystemException
countByGroupId
public static int countByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
filterCountByGroupId
public static int filterCountByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
countAll
public static int countAll()
throws SystemException
- Throws:
SystemException
getPersistence
public static PollsQuestionPersistence getPersistence()
setPersistence
public void setPersistence(PollsQuestionPersistence persistence)