com.liferay.portlet.polls.service.impl
Class PollsChoiceLocalServiceImpl
java.lang.Object
com.liferay.portlet.polls.service.base.PollsChoiceLocalServiceBaseImpl
com.liferay.portlet.polls.service.impl.PollsChoiceLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.polls.service.PollsChoiceLocalService
public class PollsChoiceLocalServiceImpl
- extends PollsChoiceLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class com.liferay.portlet.polls.service.base.PollsChoiceLocalServiceBaseImpl |
counterLocalService, counterService, pollsChoiceFinder, pollsChoiceLocalService, pollsChoicePersistence, pollsQuestionLocalService, pollsQuestionPersistence, pollsQuestionService, pollsVoteLocalService, pollsVotePersistence, pollsVoteService |
Method Summary |
com.liferay.portlet.polls.model.PollsChoice |
addChoice(long questionId,
java.lang.String name,
java.lang.String description)
|
com.liferay.portlet.polls.model.PollsChoice |
addChoice(java.lang.String uuid,
long questionId,
java.lang.String name,
java.lang.String description)
|
com.liferay.portlet.polls.model.PollsChoice |
getChoice(long choiceId)
|
java.util.List<com.liferay.portlet.polls.model.PollsChoice> |
getChoices(long questionId)
|
int |
getChoicesCount(long questionId)
|
com.liferay.portlet.polls.model.PollsChoice |
updateChoice(long choiceId,
long questionId,
java.lang.String name,
java.lang.String description)
|
protected void |
validate(java.lang.String name,
java.lang.String description)
|
Methods inherited from class com.liferay.portlet.polls.service.base.PollsChoiceLocalServiceBaseImpl |
addPollsChoice, createPollsChoice, deletePollsChoice, deletePollsChoice, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getPollsChoice, getPollsChoiceFinder, getPollsChoiceLocalService, getPollsChoicePersistence, getPollsChoices, getPollsChoicesCount, getPollsQuestionLocalService, getPollsQuestionPersistence, getPollsQuestionService, getPollsVoteLocalService, getPollsVotePersistence, getPollsVoteService, setCounterLocalService, setCounterService, setPollsChoiceFinder, setPollsChoiceLocalService, setPollsChoicePersistence, setPollsQuestionLocalService, setPollsQuestionPersistence, setPollsQuestionService, setPollsVoteLocalService, setPollsVotePersistence, setPollsVoteService, updatePollsChoice |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollsChoiceLocalServiceImpl
public PollsChoiceLocalServiceImpl()
addChoice
public com.liferay.portlet.polls.model.PollsChoice addChoice(long questionId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addChoice
public com.liferay.portlet.polls.model.PollsChoice addChoice(java.lang.String uuid,
long questionId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getChoice
public com.liferay.portlet.polls.model.PollsChoice getChoice(long choiceId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getChoices
public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices(long questionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getChoicesCount
public int getChoicesCount(long questionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateChoice
public com.liferay.portlet.polls.model.PollsChoice updateChoice(long choiceId,
long questionId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validate
protected void validate(java.lang.String name,
java.lang.String description)
throws com.liferay.portal.PortalException
- Throws:
com.liferay.portal.PortalException