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:
- PollsChoiceLocalService
public class PollsChoiceLocalServiceImpl
- extends PollsChoiceLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.polls.service.base.PollsChoiceLocalServiceBaseImpl |
counterLocalService, pollsChoiceFinder, pollsChoiceLocalService, pollsChoicePersistence, pollsQuestionLocalService, pollsQuestionPersistence, pollsQuestionService, pollsVoteLocalService, pollsVotePersistence, pollsVoteService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService |
Methods inherited from class com.liferay.portlet.polls.service.base.PollsChoiceLocalServiceBaseImpl |
addPollsChoice, createPollsChoice, deletePollsChoice, deletePollsChoice, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getCounterLocalService, getPollsChoice, getPollsChoiceFinder, getPollsChoiceLocalService, getPollsChoicePersistence, getPollsChoices, getPollsChoicesCount, getPollsQuestionLocalService, getPollsQuestionPersistence, getPollsQuestionService, getPollsVoteLocalService, getPollsVotePersistence, getPollsVoteService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setPollsChoiceFinder, setPollsChoiceLocalService, setPollsChoicePersistence, setPollsQuestionLocalService, setPollsQuestionPersistence, setPollsQuestionService, setPollsVoteLocalService, setPollsVotePersistence, setPollsVoteService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updatePollsChoice, updatePollsChoice |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollsChoiceLocalServiceImpl
public PollsChoiceLocalServiceImpl()
addChoice
public PollsChoice addChoice(long questionId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getChoice
public PollsChoice getChoice(long choiceId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getChoices
public List<PollsChoice> getChoices(long questionId)
throws SystemException
- Throws:
SystemException
getChoicesCount
public int getChoicesCount(long questionId)
throws SystemException
- Throws:
SystemException
updateChoice
public PollsChoice updateChoice(long choiceId,
long questionId,
String name,
String description)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
protected void validate(String name,
String description)
throws PortalException
- Throws:
PortalException