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 int |
countAll()
|
static int |
countByGroupId(long groupId)
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
|
static int |
countByUuid(java.lang.String uuid)
|
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 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,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PollsQuestion |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PollsQuestion |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PollsQuestion[] |
findByGroupId_PrevAndNext(long questionId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PollsQuestion |
findByPrimaryKey(long questionId)
|
static PollsQuestion |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PollsQuestion |
findByUUID_G(java.lang.String uuid,
long groupId)
|
static PollsQuestion |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PollsQuestion[] |
findByUuid_PrevAndNext(long questionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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 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()
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 PollsQuestion remove(PollsQuestion pollsQuestion)
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 PollsQuestion update(PollsQuestion pollsQuestion,
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(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 com.liferay.portal.kernel.exception.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchQuestionException
updateImpl
public static PollsQuestion updateImpl(PollsQuestion pollsQuestion,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
public static PollsQuestion findByPrimaryKey(long questionId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchQuestionException
fetchByPrimaryKey
public static PollsQuestion fetchByPrimaryKey(long questionId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUuid
public static java.util.List<PollsQuestion> findByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUuid
public static java.util.List<PollsQuestion> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUuid
public static java.util.List<PollsQuestion> findByUuid(java.lang.String uuid,
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
findByUuid_First
public static PollsQuestion findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchQuestionException
findByUuid_Last
public static PollsQuestion findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchQuestionException
findByUuid_PrevAndNext
public static PollsQuestion[] findByUuid_PrevAndNext(long questionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchQuestionException
findByUUID_G
public static PollsQuestion findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchQuestionException
fetchByUUID_G
public static PollsQuestion fetchByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByUUID_G
public static PollsQuestion fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<PollsQuestion> findByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<PollsQuestion> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<PollsQuestion> findByGroupId(long groupId,
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
findByGroupId_First
public static PollsQuestion findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchQuestionException
findByGroupId_Last
public static PollsQuestion findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchQuestionException
findByGroupId_PrevAndNext
public static PollsQuestion[] findByGroupId_PrevAndNext(long questionId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchQuestionException
findAll
public static java.util.List<PollsQuestion> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<PollsQuestion> 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<PollsQuestion> 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
removeByUuid
public static void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByUUID_G
public static void removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchQuestionException
removeByGroupId
public static void removeByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByUuid
public static int countByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByUUID_G
public static int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByGroupId
public static int countByGroupId(long groupId)
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 PollsQuestionPersistence getPersistence()
setPersistence
public void setPersistence(PollsQuestionPersistence persistence)