com.liferay.portlet.polls.service.persistence
Class PollsChoiceUtil
java.lang.Object
com.liferay.portlet.polls.service.persistence.PollsChoiceUtil
public class PollsChoiceUtil
- 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:
PollsChoicePersistence
,
PollsChoicePersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(java.util.List<PollsChoice> pollsChoices)
|
static void |
cacheResult(PollsChoice pollsChoice)
|
static void |
clearCache()
|
static int |
countAll()
|
static int |
countByQ_N(long questionId,
java.lang.String name)
|
static int |
countByQuestionId(long questionId)
|
static int |
countByUuid(java.lang.String uuid)
|
static PollsChoice |
create(long choiceId)
|
static PollsChoice |
fetchByPrimaryKey(long choiceId)
|
static PollsChoice |
fetchByQ_N(long questionId,
java.lang.String name)
|
static PollsChoice |
fetchByQ_N(long questionId,
java.lang.String name,
boolean retrieveFromCache)
|
static java.util.List<PollsChoice> |
findAll()
|
static java.util.List<PollsChoice> |
findAll(int start,
int end)
|
static java.util.List<PollsChoice> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PollsChoice |
findByPrimaryKey(long choiceId)
|
static PollsChoice |
findByQ_N(long questionId,
java.lang.String name)
|
static PollsChoice |
findByQuestionId_First(long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PollsChoice |
findByQuestionId_Last(long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PollsChoice[] |
findByQuestionId_PrevAndNext(long choiceId,
long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<PollsChoice> |
findByQuestionId(long questionId)
|
static java.util.List<PollsChoice> |
findByQuestionId(long questionId,
int start,
int end)
|
static java.util.List<PollsChoice> |
findByQuestionId(long questionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PollsChoice |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PollsChoice |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PollsChoice[] |
findByUuid_PrevAndNext(long choiceId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<PollsChoice> |
findByUuid(java.lang.String uuid)
|
static java.util.List<PollsChoice> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
static java.util.List<PollsChoice> |
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 PollsChoicePersistence |
getPersistence()
|
static PollsChoice |
remove(long choiceId)
|
static PollsChoice |
remove(PollsChoice pollsChoice)
|
static void |
removeAll()
|
static void |
removeByQ_N(long questionId,
java.lang.String name)
|
static void |
removeByQuestionId(long questionId)
|
static void |
removeByUuid(java.lang.String uuid)
|
void |
setPersistence(PollsChoicePersistence persistence)
|
static PollsChoice |
update(PollsChoice pollsChoice,
boolean merge)
|
static PollsChoice |
updateImpl(PollsChoice pollsChoice,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollsChoiceUtil
public PollsChoiceUtil()
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 PollsChoice remove(PollsChoice pollsChoice)
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 PollsChoice update(PollsChoice pollsChoice,
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(PollsChoice pollsChoice)
cacheResult
public static void cacheResult(java.util.List<PollsChoice> pollsChoices)
create
public static PollsChoice create(long choiceId)
remove
public static PollsChoice remove(long choiceId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchChoiceException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException
updateImpl
public static PollsChoice updateImpl(PollsChoice pollsChoice,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
public static PollsChoice findByPrimaryKey(long choiceId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchChoiceException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException
fetchByPrimaryKey
public static PollsChoice fetchByPrimaryKey(long choiceId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUuid
public static java.util.List<PollsChoice> 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<PollsChoice> 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<PollsChoice> 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 PollsChoice findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchChoiceException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException
findByUuid_Last
public static PollsChoice findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchChoiceException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException
findByUuid_PrevAndNext
public static PollsChoice[] findByUuid_PrevAndNext(long choiceId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchChoiceException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException
findByQuestionId
public static java.util.List<PollsChoice> findByQuestionId(long questionId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByQuestionId
public static java.util.List<PollsChoice> findByQuestionId(long questionId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByQuestionId
public static java.util.List<PollsChoice> findByQuestionId(long questionId,
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
findByQuestionId_First
public static PollsChoice findByQuestionId_First(long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchChoiceException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException
findByQuestionId_Last
public static PollsChoice findByQuestionId_Last(long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchChoiceException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException
findByQuestionId_PrevAndNext
public static PollsChoice[] findByQuestionId_PrevAndNext(long choiceId,
long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchChoiceException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException
findByQ_N
public static PollsChoice findByQ_N(long questionId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchChoiceException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException
fetchByQ_N
public static PollsChoice fetchByQ_N(long questionId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByQ_N
public static PollsChoice fetchByQ_N(long questionId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<PollsChoice> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<PollsChoice> 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<PollsChoice> 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
removeByQuestionId
public static void removeByQuestionId(long questionId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByQ_N
public static void removeByQ_N(long questionId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchChoiceException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException
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
countByQuestionId
public static int countByQuestionId(long questionId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByQ_N
public static int countByQ_N(long questionId,
java.lang.String name)
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 PollsChoicePersistence getPersistence()
setPersistence
public void setPersistence(PollsChoicePersistence persistence)