com.liferay.portlet.polls.service
Interface PollsChoiceLocalService
- All Known Implementing Classes:
- PollsChoiceLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface PollsChoiceLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.polls.service.impl.PollsChoiceLocalServiceImpl
}.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
PollsChoiceLocalServiceUtil
- Generated:
Method Summary |
PollsChoice |
addChoice(java.lang.String uuid,
long questionId,
java.lang.String name,
java.lang.String description)
|
PollsChoice |
addPollsChoice(PollsChoice pollsChoice)
|
PollsChoice |
createPollsChoice(long choiceId)
|
void |
deletePollsChoice(long choiceId)
|
void |
deletePollsChoice(PollsChoice pollsChoice)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
PollsChoice |
getChoice(long choiceId)
|
java.util.List<PollsChoice> |
getChoices(long questionId)
|
int |
getChoicesCount(long questionId)
|
PollsChoice |
getPollsChoice(long choiceId)
|
java.util.List<PollsChoice> |
getPollsChoices(int start,
int end)
|
int |
getPollsChoicesCount()
|
PollsChoice |
updateChoice(long choiceId,
long questionId,
java.lang.String name,
java.lang.String description)
|
PollsChoice |
updatePollsChoice(PollsChoice pollsChoice)
|
PollsChoice |
updatePollsChoice(PollsChoice pollsChoice,
boolean merge)
|
addPollsChoice
PollsChoice addPollsChoice(PollsChoice pollsChoice)
throws SystemException
- Throws:
SystemException
createPollsChoice
PollsChoice createPollsChoice(long choiceId)
deletePollsChoice
void deletePollsChoice(long choiceId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deletePollsChoice
void deletePollsChoice(PollsChoice pollsChoice)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getPollsChoice
@Transactional(propagation=SUPPORTS,
readOnly=true)
PollsChoice getPollsChoice(long choiceId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPollsChoices
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PollsChoice> getPollsChoices(int start,
int end)
throws SystemException
- Throws:
SystemException
getPollsChoicesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getPollsChoicesCount()
throws SystemException
- Throws:
SystemException
updatePollsChoice
PollsChoice updatePollsChoice(PollsChoice pollsChoice)
throws SystemException
- Throws:
SystemException
updatePollsChoice
PollsChoice updatePollsChoice(PollsChoice pollsChoice,
boolean merge)
throws SystemException
- Throws:
SystemException
addChoice
PollsChoice addChoice(java.lang.String uuid,
long questionId,
java.lang.String name,
java.lang.String description)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getChoice
@Transactional(propagation=SUPPORTS,
readOnly=true)
PollsChoice getChoice(long choiceId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getChoices
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PollsChoice> getChoices(long questionId)
throws SystemException
- Throws:
SystemException
getChoicesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getChoicesCount(long questionId)
throws SystemException
- Throws:
SystemException
updateChoice
PollsChoice updateChoice(long choiceId,
long questionId,
java.lang.String name,
java.lang.String description)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException