com.liferay.portlet.polls.service.persistence
Interface PollsQuestionPersistence
- public interface PollsQuestionPersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByGroupId(long groupId)
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
|
int |
countByUuid(java.lang.String uuid)
|
PollsQuestion |
create(long questionId)
|
PollsQuestion |
fetchByPrimaryKey(long questionId)
|
PollsQuestion |
fetchByUUID_G(java.lang.String uuid,
long groupId)
|
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)
|
PollsQuestion |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PollsQuestion |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PollsQuestion[] |
findByGroupId_PrevAndNext(long questionId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByGroupId(long groupId)
|
java.util.List |
findByGroupId(long groupId,
int begin,
int end)
|
java.util.List |
findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PollsQuestion |
findByPrimaryKey(long questionId)
|
PollsQuestion |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PollsQuestion |
findByUUID_G(java.lang.String uuid,
long groupId)
|
PollsQuestion |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PollsQuestion[] |
findByUuid_PrevAndNext(long questionId,
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)
|
PollsQuestion |
remove(long questionId)
|
PollsQuestion |
remove(PollsQuestion pollsQuestion)
|
void |
removeAll()
|
void |
removeByGroupId(long groupId)
|
void |
removeByUUID_G(java.lang.String uuid,
long groupId)
|
void |
removeByUuid(java.lang.String uuid)
|
PollsQuestion |
update(PollsQuestion pollsQuestion)
|
PollsQuestion |
update(PollsQuestion pollsQuestion,
boolean merge)
|
PollsQuestion |
updateImpl(PollsQuestion pollsQuestion,
boolean merge)
|
create
public PollsQuestion create(long questionId)
remove
public PollsQuestion remove(long questionId)
throws com.liferay.portal.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.SystemException
NoSuchQuestionException
remove
public PollsQuestion remove(PollsQuestion pollsQuestion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public PollsQuestion update(PollsQuestion pollsQuestion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public PollsQuestion update(PollsQuestion pollsQuestion,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImpl
public PollsQuestion updateImpl(PollsQuestion pollsQuestion,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public PollsQuestion findByPrimaryKey(long questionId)
throws com.liferay.portal.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.SystemException
NoSuchQuestionException
fetchByPrimaryKey
public PollsQuestion fetchByPrimaryKey(long questionId)
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 PollsQuestion findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.SystemException
NoSuchQuestionException
findByUuid_Last
public PollsQuestion findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.SystemException
NoSuchQuestionException
findByUuid_PrevAndNext
public PollsQuestion[] findByUuid_PrevAndNext(long questionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.SystemException
NoSuchQuestionException
findByUUID_G
public PollsQuestion findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.SystemException
NoSuchQuestionException
fetchByUUID_G
public PollsQuestion fetchByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
public PollsQuestion findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.SystemException
NoSuchQuestionException
findByGroupId_Last
public PollsQuestion findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.SystemException
NoSuchQuestionException
findByGroupId_PrevAndNext
public PollsQuestion[] findByGroupId_PrevAndNext(long questionId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.SystemException
NoSuchQuestionException
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
removeByUUID_G
public void removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchQuestionException
- Throws:
com.liferay.portal.SystemException
NoSuchQuestionException
removeByGroupId
public void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
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
countByUUID_G
public int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
public int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException