com.liferay.portlet.polls.service.persistence
Interface PollsQuestionPersistence
- All Superinterfaces:
- BasePersistence<PollsQuestion>
- All Known Implementing Classes:
- PollsQuestionPersistenceImpl
public interface PollsQuestionPersistence
- extends BasePersistence<PollsQuestion>
- See Also:
PollsQuestionPersistenceImpl,
PollsQuestionUtil- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
void |
cacheResult(List<PollsQuestion> pollsQuestions)
|
void |
cacheResult(PollsQuestion pollsQuestion)
|
int |
countAll()
|
int |
countByGroupId(long groupId)
|
int |
countByUUID_G(String uuid,
long groupId)
|
int |
countByUuid(String uuid)
|
PollsQuestion |
create(long questionId)
|
PollsQuestion |
fetchByPrimaryKey(long questionId)
|
PollsQuestion |
fetchByUUID_G(String uuid,
long groupId)
|
PollsQuestion |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
|
int |
filterCountByGroupId(long groupId)
|
List<PollsQuestion> |
filterFindByGroupId(long groupId)
|
List<PollsQuestion> |
filterFindByGroupId(long groupId,
int start,
int end)
|
List<PollsQuestion> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
List<PollsQuestion> |
findAll()
|
List<PollsQuestion> |
findAll(int start,
int end)
|
List<PollsQuestion> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
PollsQuestion |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
|
PollsQuestion |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
|
PollsQuestion[] |
findByGroupId_PrevAndNext(long questionId,
long groupId,
OrderByComparator orderByComparator)
|
List<PollsQuestion> |
findByGroupId(long groupId)
|
List<PollsQuestion> |
findByGroupId(long groupId,
int start,
int end)
|
List<PollsQuestion> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
PollsQuestion |
findByPrimaryKey(long questionId)
|
PollsQuestion |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
|
PollsQuestion |
findByUUID_G(String uuid,
long groupId)
|
PollsQuestion |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
|
PollsQuestion[] |
findByUuid_PrevAndNext(long questionId,
String uuid,
OrderByComparator orderByComparator)
|
List<PollsQuestion> |
findByUuid(String uuid)
|
List<PollsQuestion> |
findByUuid(String uuid,
int start,
int end)
|
List<PollsQuestion> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
|
PollsQuestion |
remove(long questionId)
|
void |
removeAll()
|
void |
removeByGroupId(long groupId)
|
void |
removeByUUID_G(String uuid,
long groupId)
|
void |
removeByUuid(String uuid)
|
PollsQuestion |
updateImpl(PollsQuestion pollsQuestion,
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(PollsQuestion pollsQuestion)
cacheResult
void cacheResult(List<PollsQuestion> pollsQuestions)
create
PollsQuestion create(long questionId)
remove
PollsQuestion remove(long questionId)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
updateImpl
PollsQuestion updateImpl(PollsQuestion pollsQuestion,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
PollsQuestion findByPrimaryKey(long questionId)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
fetchByPrimaryKey
PollsQuestion fetchByPrimaryKey(long questionId)
throws SystemException
- Throws:
SystemException
findByUuid
List<PollsQuestion> findByUuid(String uuid)
throws SystemException
- Throws:
SystemException
findByUuid
List<PollsQuestion> findByUuid(String uuid,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByUuid
List<PollsQuestion> findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByUuid_First
PollsQuestion findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
findByUuid_Last
PollsQuestion findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
findByUuid_PrevAndNext
PollsQuestion[] findByUuid_PrevAndNext(long questionId,
String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
findByUUID_G
PollsQuestion findByUUID_G(String uuid,
long groupId)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
fetchByUUID_G
PollsQuestion fetchByUUID_G(String uuid,
long groupId)
throws SystemException
- Throws:
SystemException
fetchByUUID_G
PollsQuestion fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findByGroupId
List<PollsQuestion> findByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
findByGroupId
List<PollsQuestion> findByGroupId(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByGroupId
List<PollsQuestion> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByGroupId_First
PollsQuestion findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
findByGroupId_Last
PollsQuestion findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
findByGroupId_PrevAndNext
PollsQuestion[] findByGroupId_PrevAndNext(long questionId,
long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
filterFindByGroupId
List<PollsQuestion> filterFindByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
filterFindByGroupId
List<PollsQuestion> filterFindByGroupId(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
filterFindByGroupId
List<PollsQuestion> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findAll
List<PollsQuestion> findAll()
throws SystemException
- Throws:
SystemException
findAll
List<PollsQuestion> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
List<PollsQuestion> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByUuid
void removeByUuid(String uuid)
throws SystemException
- Throws:
SystemException
removeByUUID_G
void removeByUUID_G(String uuid,
long groupId)
throws SystemException,
NoSuchQuestionException
- Throws:
SystemException
NoSuchQuestionException
removeByGroupId
void removeByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
removeAll
void removeAll()
throws SystemException
- Throws:
SystemException
countByUuid
int countByUuid(String uuid)
throws SystemException
- Throws:
SystemException
countByUUID_G
int countByUUID_G(String uuid,
long groupId)
throws SystemException
- Throws:
SystemException
countByGroupId
int countByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
filterCountByGroupId
int filterCountByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
countAll
int countAll()
throws SystemException
- Throws:
SystemException