com.liferay.portlet.polls.service.persistence
Interface PollsChoicePersistence
- All Superinterfaces:
- BasePersistence<PollsChoice>
- All Known Implementing Classes:
- PollsChoicePersistenceImpl
public interface PollsChoicePersistence
- extends BasePersistence<PollsChoice>
- See Also:
PollsChoicePersistenceImpl,
PollsChoiceUtil- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
void |
cacheResult(List<PollsChoice> pollsChoices)
|
void |
cacheResult(PollsChoice pollsChoice)
|
int |
countAll()
|
int |
countByQ_N(long questionId,
String name)
|
int |
countByQuestionId(long questionId)
|
int |
countByUuid(String uuid)
|
PollsChoice |
create(long choiceId)
|
PollsChoice |
fetchByPrimaryKey(long choiceId)
|
PollsChoice |
fetchByQ_N(long questionId,
String name)
|
PollsChoice |
fetchByQ_N(long questionId,
String name,
boolean retrieveFromCache)
|
List<PollsChoice> |
findAll()
|
List<PollsChoice> |
findAll(int start,
int end)
|
List<PollsChoice> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
PollsChoice |
findByPrimaryKey(long choiceId)
|
PollsChoice |
findByQ_N(long questionId,
String name)
|
PollsChoice |
findByQuestionId_First(long questionId,
OrderByComparator orderByComparator)
|
PollsChoice |
findByQuestionId_Last(long questionId,
OrderByComparator orderByComparator)
|
PollsChoice[] |
findByQuestionId_PrevAndNext(long choiceId,
long questionId,
OrderByComparator orderByComparator)
|
List<PollsChoice> |
findByQuestionId(long questionId)
|
List<PollsChoice> |
findByQuestionId(long questionId,
int start,
int end)
|
List<PollsChoice> |
findByQuestionId(long questionId,
int start,
int end,
OrderByComparator orderByComparator)
|
PollsChoice |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
|
PollsChoice |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
|
PollsChoice[] |
findByUuid_PrevAndNext(long choiceId,
String uuid,
OrderByComparator orderByComparator)
|
List<PollsChoice> |
findByUuid(String uuid)
|
List<PollsChoice> |
findByUuid(String uuid,
int start,
int end)
|
List<PollsChoice> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
|
PollsChoice |
remove(long choiceId)
|
void |
removeAll()
|
void |
removeByQ_N(long questionId,
String name)
|
void |
removeByQuestionId(long questionId)
|
void |
removeByUuid(String uuid)
|
PollsChoice |
updateImpl(PollsChoice pollsChoice,
boolean merge)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
cacheResult
void cacheResult(PollsChoice pollsChoice)
cacheResult
void cacheResult(List<PollsChoice> pollsChoices)
create
PollsChoice create(long choiceId)
remove
PollsChoice remove(long choiceId)
throws SystemException,
NoSuchChoiceException
- Throws:
SystemException
NoSuchChoiceException
updateImpl
PollsChoice updateImpl(PollsChoice pollsChoice,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
PollsChoice findByPrimaryKey(long choiceId)
throws SystemException,
NoSuchChoiceException
- Throws:
SystemException
NoSuchChoiceException
fetchByPrimaryKey
PollsChoice fetchByPrimaryKey(long choiceId)
throws SystemException
- Throws:
SystemException
findByUuid
List<PollsChoice> findByUuid(String uuid)
throws SystemException
- Throws:
SystemException
findByUuid
List<PollsChoice> findByUuid(String uuid,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByUuid
List<PollsChoice> findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByUuid_First
PollsChoice findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchChoiceException
- Throws:
SystemException
NoSuchChoiceException
findByUuid_Last
PollsChoice findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchChoiceException
- Throws:
SystemException
NoSuchChoiceException
findByUuid_PrevAndNext
PollsChoice[] findByUuid_PrevAndNext(long choiceId,
String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchChoiceException
- Throws:
SystemException
NoSuchChoiceException
findByQuestionId
List<PollsChoice> findByQuestionId(long questionId)
throws SystemException
- Throws:
SystemException
findByQuestionId
List<PollsChoice> findByQuestionId(long questionId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByQuestionId
List<PollsChoice> findByQuestionId(long questionId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByQuestionId_First
PollsChoice findByQuestionId_First(long questionId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchChoiceException
- Throws:
SystemException
NoSuchChoiceException
findByQuestionId_Last
PollsChoice findByQuestionId_Last(long questionId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchChoiceException
- Throws:
SystemException
NoSuchChoiceException
findByQuestionId_PrevAndNext
PollsChoice[] findByQuestionId_PrevAndNext(long choiceId,
long questionId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchChoiceException
- Throws:
SystemException
NoSuchChoiceException
findByQ_N
PollsChoice findByQ_N(long questionId,
String name)
throws SystemException,
NoSuchChoiceException
- Throws:
SystemException
NoSuchChoiceException
fetchByQ_N
PollsChoice fetchByQ_N(long questionId,
String name)
throws SystemException
- Throws:
SystemException
fetchByQ_N
PollsChoice fetchByQ_N(long questionId,
String name,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findAll
List<PollsChoice> findAll()
throws SystemException
- Throws:
SystemException
findAll
List<PollsChoice> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
List<PollsChoice> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByUuid
void removeByUuid(String uuid)
throws SystemException
- Throws:
SystemException
removeByQuestionId
void removeByQuestionId(long questionId)
throws SystemException
- Throws:
SystemException
removeByQ_N
void removeByQ_N(long questionId,
String name)
throws SystemException,
NoSuchChoiceException
- Throws:
SystemException
NoSuchChoiceException
removeAll
void removeAll()
throws SystemException
- Throws:
SystemException
countByUuid
int countByUuid(String uuid)
throws SystemException
- Throws:
SystemException
countByQuestionId
int countByQuestionId(long questionId)
throws SystemException
- Throws:
SystemException
countByQ_N
int countByQ_N(long questionId,
String name)
throws SystemException
- Throws:
SystemException
countAll
int countAll()
throws SystemException
- Throws:
SystemException