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

All Superinterfaces:
BasePersistence<PollsChoice>

public interface PollsChoicePersistence
extends BasePersistence<PollsChoice>

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:
PollsChoicePersistenceImpl, PollsChoiceUtil
Generated:

Method Summary
 void cacheResult(java.util.List<PollsChoice> pollsChoices)
           
 void cacheResult(PollsChoice pollsChoice)
           
 int countAll()
           
 int countByQ_N(long questionId, java.lang.String name)
           
 int countByQuestionId(long questionId)
           
 int countByUuid(java.lang.String uuid)
           
 PollsChoice create(long choiceId)
           
 PollsChoice fetchByPrimaryKey(long choiceId)
           
 PollsChoice fetchByQ_N(long questionId, java.lang.String name)
           
 PollsChoice fetchByQ_N(long questionId, java.lang.String name, boolean retrieveFromCache)
           
 java.util.List<PollsChoice> findAll()
           
 java.util.List<PollsChoice> findAll(int start, int end)
           
 java.util.List<PollsChoice> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PollsChoice findByPrimaryKey(long choiceId)
           
 PollsChoice findByQ_N(long questionId, java.lang.String name)
           
 PollsChoice findByQuestionId_First(long questionId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PollsChoice findByQuestionId_Last(long questionId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PollsChoice[] findByQuestionId_PrevAndNext(long choiceId, long questionId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<PollsChoice> findByQuestionId(long questionId)
           
 java.util.List<PollsChoice> findByQuestionId(long questionId, int start, int end)
           
 java.util.List<PollsChoice> findByQuestionId(long questionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PollsChoice findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PollsChoice findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PollsChoice[] findByUuid_PrevAndNext(long choiceId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<PollsChoice> findByUuid(java.lang.String uuid)
           
 java.util.List<PollsChoice> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<PollsChoice> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PollsChoice remove(long choiceId)
           
 void removeAll()
           
 void removeByQ_N(long questionId, java.lang.String name)
           
 void removeByQuestionId(long questionId)
           
 void removeByUuid(java.lang.String uuid)
           
 PollsChoice updateImpl(PollsChoice pollsChoice, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(PollsChoice pollsChoice)

cacheResult

void cacheResult(java.util.List<PollsChoice> pollsChoices)

create

PollsChoice create(long choiceId)

remove

PollsChoice remove(long choiceId)
                   throws com.liferay.portal.kernel.exception.SystemException,
                          NoSuchChoiceException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException

updateImpl

PollsChoice updateImpl(PollsChoice pollsChoice,
                       boolean merge)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

PollsChoice findByPrimaryKey(long choiceId)
                             throws com.liferay.portal.kernel.exception.SystemException,
                                    NoSuchChoiceException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException

fetchByPrimaryKey

PollsChoice fetchByPrimaryKey(long choiceId)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

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

findByUuid

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

findByUuid

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

findByUuid_First

PollsChoice findByUuid_First(java.lang.String uuid,
                             com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.kernel.exception.SystemException,
                                    NoSuchChoiceException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException

findByUuid_Last

PollsChoice findByUuid_Last(java.lang.String uuid,
                            com.liferay.portal.kernel.util.OrderByComparator obc)
                            throws com.liferay.portal.kernel.exception.SystemException,
                                   NoSuchChoiceException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException

findByUuid_PrevAndNext

PollsChoice[] findByUuid_PrevAndNext(long choiceId,
                                     java.lang.String uuid,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.kernel.exception.SystemException,
                                            NoSuchChoiceException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException

findByQuestionId

java.util.List<PollsChoice> findByQuestionId(long questionId)
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByQuestionId

java.util.List<PollsChoice> findByQuestionId(long questionId,
                                             int start,
                                             int end)
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByQuestionId

java.util.List<PollsChoice> findByQuestionId(long questionId,
                                             int start,
                                             int end,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByQuestionId_First

PollsChoice findByQuestionId_First(long questionId,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.kernel.exception.SystemException,
                                          NoSuchChoiceException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException

findByQuestionId_Last

PollsChoice findByQuestionId_Last(long questionId,
                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.kernel.exception.SystemException,
                                         NoSuchChoiceException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException

findByQuestionId_PrevAndNext

PollsChoice[] findByQuestionId_PrevAndNext(long choiceId,
                                           long questionId,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.kernel.exception.SystemException,
                                                  NoSuchChoiceException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException

findByQ_N

PollsChoice findByQ_N(long questionId,
                      java.lang.String name)
                      throws com.liferay.portal.kernel.exception.SystemException,
                             NoSuchChoiceException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException

fetchByQ_N

PollsChoice fetchByQ_N(long questionId,
                       java.lang.String name)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByQ_N

PollsChoice fetchByQ_N(long questionId,
                       java.lang.String name,
                       boolean retrieveFromCache)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

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

findAll

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

findAll

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

removeByUuid

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

removeByQuestionId

void removeByQuestionId(long questionId)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByQ_N

void removeByQ_N(long questionId,
                 java.lang.String name)
                 throws com.liferay.portal.kernel.exception.SystemException,
                        NoSuchChoiceException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchChoiceException

removeAll

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

countByUuid

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

countByQuestionId

int countByQuestionId(long questionId)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByQ_N

int countByQ_N(long questionId,
               java.lang.String name)
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

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