|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface PollsChoicePersistence
| Method Summary | |
|---|---|
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)
|
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)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
void |
registerListener(ModelListener listener)
|
PollsChoice |
remove(long choiceId)
|
PollsChoice |
remove(PollsChoice pollsChoice)
|
void |
removeAll()
|
void |
removeByQ_N(long questionId,
java.lang.String name)
|
void |
removeByQuestionId(long questionId)
|
void |
removeByUuid(java.lang.String uuid)
|
void |
unregisterListener(ModelListener listener)
|
PollsChoice |
update(PollsChoice pollsChoice)
Deprecated. Use update(PollsChoice pollsChoice, boolean merge). |
PollsChoice |
update(PollsChoice pollsChoice,
boolean merge)
Add, update, or merge, the entity. |
PollsChoice |
updateImpl(PollsChoice pollsChoice,
boolean merge)
|
| Method Detail |
|---|
PollsChoice create(long choiceId)
PollsChoice remove(long choiceId)
throws com.liferay.portal.SystemException,
NoSuchChoiceException
com.liferay.portal.SystemException
NoSuchChoiceException
PollsChoice remove(PollsChoice pollsChoice)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
PollsChoice update(PollsChoice pollsChoice)
throws com.liferay.portal.SystemException
update(PollsChoice pollsChoice, boolean merge).
com.liferay.portal.SystemException
PollsChoice update(PollsChoice pollsChoice,
boolean merge)
throws com.liferay.portal.SystemException
pollsChoice - the entity to add, update, or mergemerge - boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when pollsChoice is
transient. See LEP-5473 for a detailed discussion of this
method.
com.liferay.portal.SystemException
PollsChoice updateImpl(PollsChoice pollsChoice,
boolean merge)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
PollsChoice findByPrimaryKey(long choiceId)
throws com.liferay.portal.SystemException,
NoSuchChoiceException
com.liferay.portal.SystemException
NoSuchChoiceException
PollsChoice fetchByPrimaryKey(long choiceId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PollsChoice> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PollsChoice> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PollsChoice> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
PollsChoice findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchChoiceException
com.liferay.portal.SystemException
NoSuchChoiceException
@Transactional(propagation=SUPPORTS,
readOnly=true)
PollsChoice findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchChoiceException
com.liferay.portal.SystemException
NoSuchChoiceException
@Transactional(propagation=SUPPORTS,
readOnly=true)
PollsChoice[] findByUuid_PrevAndNext(long choiceId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchChoiceException
com.liferay.portal.SystemException
NoSuchChoiceException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PollsChoice> findByQuestionId(long questionId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PollsChoice> findByQuestionId(long questionId,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PollsChoice> findByQuestionId(long questionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
PollsChoice findByQuestionId_First(long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchChoiceException
com.liferay.portal.SystemException
NoSuchChoiceException
@Transactional(propagation=SUPPORTS,
readOnly=true)
PollsChoice findByQuestionId_Last(long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchChoiceException
com.liferay.portal.SystemException
NoSuchChoiceException
@Transactional(propagation=SUPPORTS,
readOnly=true)
PollsChoice[] findByQuestionId_PrevAndNext(long choiceId,
long questionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchChoiceException
com.liferay.portal.SystemException
NoSuchChoiceException
@Transactional(propagation=SUPPORTS,
readOnly=true)
PollsChoice findByQ_N(long questionId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchChoiceException
com.liferay.portal.SystemException
NoSuchChoiceException
PollsChoice fetchByQ_N(long questionId,
java.lang.String name)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PollsChoice> findAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PollsChoice> findAll(int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PollsChoice> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByQuestionId(long questionId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByQ_N(long questionId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchChoiceException
com.liferay.portal.SystemException
NoSuchChoiceException
void removeAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByQuestionId(long questionId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByQ_N(long questionId,
java.lang.String name)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemExceptionvoid registerListener(ModelListener listener)
void unregisterListener(ModelListener listener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||