com.liferay.portlet.polls.service.impl
Class PollsChoiceLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.polls.service.base.PollsChoiceLocalServiceBaseImpl
com.liferay.portlet.polls.service.impl.PollsChoiceLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PersistedModelLocalService, PollsChoiceLocalService
public class PollsChoiceLocalServiceImpl
- extends PollsChoiceLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.polls.service.base.PollsChoiceLocalServiceBaseImpl |
counterLocalService, persistedModelLocalServiceRegistry, pollsChoiceFinder, pollsChoiceLocalService, pollsChoicePersistence, pollsChoiceService, 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, afterPropertiesSet, createPollsChoice, deletePollsChoice, deletePollsChoice, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchPollsChoice, getBeanIdentifier, getCounterLocalService, getModelClass, getModelClassName, getPersistedModel, getPollsChoice, getPollsChoiceFinder, getPollsChoiceLocalService, getPollsChoicePersistence, getPollsChoices, getPollsChoicesCount, getPollsChoiceService, getPollsQuestionLocalService, getPollsQuestionPersistence, getPollsQuestionService, getPollsVoteLocalService, getPollsVotePersistence, getPollsVoteService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setPollsChoiceFinder, setPollsChoiceLocalService, setPollsChoicePersistence, setPollsChoiceService, 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