com.liferay.portlet.polls.service.persistence
Interface PollsChoicePersistence
- public interface PollsChoicePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByQ_N(long questionId,
java.lang.String name)
|
int |
countByQuestionId(long questionId)
|
int |
countByUuid(java.lang.String uuid)
|
PollsChoice |
create(long choiceId)
|
PollsChoice |
fetchByPrimaryKey(long choiceId)
|
PollsChoice |
fetchByQ_N(long questionId,
java.lang.String name)
|
java.util.List |
findAll()
|
java.util.List |
findAll(int begin,
int end)
|
java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PollsChoice |
findByPrimaryKey(long choiceId)
|
PollsChoice |
findByQ_N(long questionId,
java.lang.String name)
|
PollsChoice |
findByQuestionId_First(long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PollsChoice |
findByQuestionId_Last(long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PollsChoice[] |
findByQuestionId_PrevAndNext(long choiceId,
long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByQuestionId(long questionId)
|
java.util.List |
findByQuestionId(long questionId,
int begin,
int end)
|
java.util.List |
findByQuestionId(long questionId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PollsChoice |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PollsChoice |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PollsChoice[] |
findByUuid_PrevAndNext(long choiceId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByUuid(java.lang.String uuid)
|
java.util.List |
findByUuid(java.lang.String uuid,
int begin,
int end)
|
java.util.List |
findByUuid(java.lang.String uuid,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
PollsChoice |
remove(long choiceId)
|
PollsChoice |
remove(PollsChoice pollsChoice)
|
void |
removeAll()
|
void |
removeByQ_N(long questionId,
java.lang.String name)
|
void |
removeByQuestionId(long questionId)
|
void |
removeByUuid(java.lang.String uuid)
|
PollsChoice |
update(PollsChoice pollsChoice)
|
PollsChoice |
update(PollsChoice pollsChoice,
boolean merge)
|
PollsChoice |
updateImpl(PollsChoice pollsChoice,
boolean merge)
|
create
public PollsChoice create(long choiceId)
remove
public PollsChoice remove(long choiceId)
throws NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
NoSuchChoiceException
com.liferay.portal.SystemException
remove
public PollsChoice remove(PollsChoice pollsChoice)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public PollsChoice update(PollsChoice pollsChoice)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public PollsChoice update(PollsChoice pollsChoice,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImpl
public PollsChoice updateImpl(PollsChoice pollsChoice,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public PollsChoice findByPrimaryKey(long choiceId)
throws NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
NoSuchChoiceException
com.liferay.portal.SystemException
fetchByPrimaryKey
public PollsChoice fetchByPrimaryKey(long choiceId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public java.util.List findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public java.util.List findByUuid(java.lang.String uuid,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public java.util.List findByUuid(java.lang.String uuid,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid_First
public PollsChoice findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
NoSuchChoiceException
com.liferay.portal.SystemException
findByUuid_Last
public PollsChoice findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
NoSuchChoiceException
com.liferay.portal.SystemException
findByUuid_PrevAndNext
public PollsChoice[] findByUuid_PrevAndNext(long choiceId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
NoSuchChoiceException
com.liferay.portal.SystemException
findByQuestionId
public java.util.List findByQuestionId(long questionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByQuestionId
public java.util.List findByQuestionId(long questionId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByQuestionId
public java.util.List findByQuestionId(long questionId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByQuestionId_First
public PollsChoice findByQuestionId_First(long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
NoSuchChoiceException
com.liferay.portal.SystemException
findByQuestionId_Last
public PollsChoice findByQuestionId_Last(long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
NoSuchChoiceException
com.liferay.portal.SystemException
findByQuestionId_PrevAndNext
public PollsChoice[] findByQuestionId_PrevAndNext(long choiceId,
long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
NoSuchChoiceException
com.liferay.portal.SystemException
findByQ_N
public PollsChoice findByQ_N(long questionId,
java.lang.String name)
throws NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
NoSuchChoiceException
com.liferay.portal.SystemException
fetchByQ_N
public PollsChoice fetchByQ_N(long questionId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUuid
public void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByQuestionId
public void removeByQuestionId(long questionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByQ_N
public void removeByQ_N(long questionId,
java.lang.String name)
throws NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
NoSuchChoiceException
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUuid
public int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByQuestionId
public int countByQuestionId(long questionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByQ_N
public int countByQ_N(long questionId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException