com.liferay.portlet.polls.service.persistence
Interface PollsChoicePersistence
- All Known Implementing Classes:
- PollsChoicePersistenceImpl
- 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)
|
com.liferay.portlet.polls.model.PollsChoice |
create(long choiceId)
|
com.liferay.portlet.polls.model.PollsChoice |
fetchByPrimaryKey(long choiceId)
|
com.liferay.portlet.polls.model.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)
|
com.liferay.portlet.polls.model.PollsChoice |
findByPrimaryKey(long choiceId)
|
com.liferay.portlet.polls.model.PollsChoice |
findByQ_N(long questionId,
java.lang.String name)
|
com.liferay.portlet.polls.model.PollsChoice |
findByQuestionId_First(long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.polls.model.PollsChoice |
findByQuestionId_Last(long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.polls.model.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)
|
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)
|
com.liferay.portlet.polls.model.PollsChoice |
remove(long choiceId)
|
com.liferay.portlet.polls.model.PollsChoice |
remove(com.liferay.portlet.polls.model.PollsChoice pollsChoice)
|
void |
removeAll()
|
void |
removeByQ_N(long questionId,
java.lang.String name)
|
void |
removeByQuestionId(long questionId)
|
com.liferay.portlet.polls.model.PollsChoice |
update(com.liferay.portlet.polls.model.PollsChoice pollsChoice)
|
com.liferay.portlet.polls.model.PollsChoice |
update(com.liferay.portlet.polls.model.PollsChoice pollsChoice,
boolean merge)
|
create
public com.liferay.portlet.polls.model.PollsChoice create(long choiceId)
remove
public com.liferay.portlet.polls.model.PollsChoice remove(long choiceId)
throws com.liferay.portlet.polls.NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portlet.polls.NoSuchChoiceException
com.liferay.portal.SystemException
remove
public com.liferay.portlet.polls.model.PollsChoice remove(com.liferay.portlet.polls.model.PollsChoice pollsChoice)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.polls.model.PollsChoice update(com.liferay.portlet.polls.model.PollsChoice pollsChoice)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.polls.model.PollsChoice update(com.liferay.portlet.polls.model.PollsChoice pollsChoice,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portlet.polls.model.PollsChoice findByPrimaryKey(long choiceId)
throws com.liferay.portlet.polls.NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portlet.polls.NoSuchChoiceException
com.liferay.portal.SystemException
fetchByPrimaryKey
public com.liferay.portlet.polls.model.PollsChoice fetchByPrimaryKey(long choiceId)
throws com.liferay.portal.SystemException
- Throws:
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 com.liferay.portlet.polls.model.PollsChoice findByQuestionId_First(long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.polls.NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portlet.polls.NoSuchChoiceException
com.liferay.portal.SystemException
findByQuestionId_Last
public com.liferay.portlet.polls.model.PollsChoice findByQuestionId_Last(long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.polls.NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portlet.polls.NoSuchChoiceException
com.liferay.portal.SystemException
findByQuestionId_PrevAndNext
public com.liferay.portlet.polls.model.PollsChoice[] findByQuestionId_PrevAndNext(long choiceId,
long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.polls.NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portlet.polls.NoSuchChoiceException
com.liferay.portal.SystemException
findByQ_N
public com.liferay.portlet.polls.model.PollsChoice findByQ_N(long questionId,
java.lang.String name)
throws com.liferay.portlet.polls.NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portlet.polls.NoSuchChoiceException
com.liferay.portal.SystemException
fetchByQ_N
public com.liferay.portlet.polls.model.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
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 com.liferay.portlet.polls.NoSuchChoiceException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portlet.polls.NoSuchChoiceException
com.liferay.portal.SystemException
removeAll
public void removeAll()
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