com.liferay.portlet.polls.service.persistence
Interface PollsQuestionPersistence

All Superinterfaces:
BasePersistence<PollsQuestion>

public interface PollsQuestionPersistence
extends BasePersistence<PollsQuestion>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
PollsQuestionPersistenceImpl, PollsQuestionUtil
Generated:

Method Summary
 void cacheResult(java.util.List<PollsQuestion> pollsQuestions)
           
 void cacheResult(PollsQuestion pollsQuestion)
           
 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)
           
 PollsQuestion fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
 java.util.List<PollsQuestion> findAll()
           
 java.util.List<PollsQuestion> findAll(int start, int end)
           
 java.util.List<PollsQuestion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 PollsQuestion findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 PollsQuestion findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 PollsQuestion[] findByGroupId_PrevAndNext(long questionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<PollsQuestion> findByGroupId(long groupId)
           
 java.util.List<PollsQuestion> findByGroupId(long groupId, int start, int end)
           
 java.util.List<PollsQuestion> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 PollsQuestion findByPrimaryKey(long questionId)
           
 PollsQuestion findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 PollsQuestion findByUUID_G(java.lang.String uuid, long groupId)
           
 PollsQuestion findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 PollsQuestion[] findByUuid_PrevAndNext(long questionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<PollsQuestion> findByUuid(java.lang.String uuid)
           
 java.util.List<PollsQuestion> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<PollsQuestion> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 PollsQuestion remove(long questionId)
           
 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)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 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
 

Method Detail

cacheResult

void cacheResult(PollsQuestion pollsQuestion)

cacheResult

void cacheResult(java.util.List<PollsQuestion> pollsQuestions)

create

PollsQuestion create(long questionId)

remove

PollsQuestion remove(long questionId)
                     throws com.liferay.portal.SystemException,
                            NoSuchQuestionException
Throws:
com.liferay.portal.SystemException
NoSuchQuestionException

update

PollsQuestion update(PollsQuestion pollsQuestion)
                     throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

PollsQuestion updateImpl(PollsQuestion pollsQuestion,
                         boolean merge)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

PollsQuestion findByPrimaryKey(long questionId)
                               throws com.liferay.portal.SystemException,
                                      NoSuchQuestionException
Throws:
com.liferay.portal.SystemException
NoSuchQuestionException

fetchByPrimaryKey

PollsQuestion fetchByPrimaryKey(long questionId)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

java.util.List<PollsQuestion> findByUuid(java.lang.String uuid)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

java.util.List<PollsQuestion> findByUuid(java.lang.String uuid,
                                         int start,
                                         int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

java.util.List<PollsQuestion> findByUuid(java.lang.String uuid,
                                         int start,
                                         int end,
                                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid_First

PollsQuestion findByUuid_First(java.lang.String uuid,
                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                               throws com.liferay.portal.SystemException,
                                      NoSuchQuestionException
Throws:
com.liferay.portal.SystemException
NoSuchQuestionException

findByUuid_Last

PollsQuestion findByUuid_Last(java.lang.String uuid,
                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                              throws com.liferay.portal.SystemException,
                                     NoSuchQuestionException
Throws:
com.liferay.portal.SystemException
NoSuchQuestionException

findByUuid_PrevAndNext

PollsQuestion[] findByUuid_PrevAndNext(long questionId,
                                       java.lang.String uuid,
                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchQuestionException
Throws:
com.liferay.portal.SystemException
NoSuchQuestionException

findByUUID_G

PollsQuestion findByUUID_G(java.lang.String uuid,
                           long groupId)
                           throws com.liferay.portal.SystemException,
                                  NoSuchQuestionException
Throws:
com.liferay.portal.SystemException
NoSuchQuestionException

fetchByUUID_G

PollsQuestion fetchByUUID_G(java.lang.String uuid,
                            long groupId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByUUID_G

PollsQuestion fetchByUUID_G(java.lang.String uuid,
                            long groupId,
                            boolean retrieveFromCache)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<PollsQuestion> findByGroupId(long groupId)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<PollsQuestion> findByGroupId(long groupId,
                                            int start,
                                            int end)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<PollsQuestion> findByGroupId(long groupId,
                                            int start,
                                            int end,
                                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

PollsQuestion findByGroupId_First(long groupId,
                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchQuestionException
Throws:
com.liferay.portal.SystemException
NoSuchQuestionException

findByGroupId_Last

PollsQuestion findByGroupId_Last(long groupId,
                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchQuestionException
Throws:
com.liferay.portal.SystemException
NoSuchQuestionException

findByGroupId_PrevAndNext

PollsQuestion[] findByGroupId_PrevAndNext(long questionId,
                                          long groupId,
                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                          throws com.liferay.portal.SystemException,
                                                 NoSuchQuestionException
Throws:
com.liferay.portal.SystemException
NoSuchQuestionException

findAll

java.util.List<PollsQuestion> findAll()
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<PollsQuestion> findAll(int start,
                                      int end)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<PollsQuestion> findAll(int start,
                                      int end,
                                      com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUuid

void removeByUuid(java.lang.String uuid)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUUID_G

void removeByUUID_G(java.lang.String uuid,
                    long groupId)
                    throws com.liferay.portal.SystemException,
                           NoSuchQuestionException
Throws:
com.liferay.portal.SystemException
NoSuchQuestionException

removeByGroupId

void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUuid

int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUUID_G

int countByUUID_G(java.lang.String uuid,
                  long groupId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException