public class PollsChoiceLocalServiceImpl extends PollsChoiceLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, pollsChoiceLocalService, pollsChoicePersistence, pollsQuestionFinder, pollsQuestionLocalService, pollsQuestionPersistence, userLocalService, userPersistence| Constructor and Description |
|---|
PollsChoiceLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.polls.model.PollsChoice |
addChoice(long userId,
long questionId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.polls.model.PollsChoice |
getChoice(long choiceId) |
java.util.List<com.liferay.polls.model.PollsChoice> |
getChoices(long questionId) |
int |
getChoicesCount(long questionId) |
com.liferay.polls.model.PollsChoice |
updateChoice(long choiceId,
long questionId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected void |
validate(java.lang.String name,
java.lang.String description) |
addPollsChoice, afterPropertiesSet, createPollsChoice, deletePersistedModel, deletePollsChoice, deletePollsChoice, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchPollsChoice, fetchPollsChoiceByUuidAndGroupId, getActionableDynamicQuery, getCounterLocalService, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getPollsChoice, getPollsChoiceByUuidAndGroupId, getPollsChoiceLocalService, getPollsChoicePersistence, getPollsChoices, getPollsChoicesByUuidAndCompanyId, getPollsChoicesByUuidAndCompanyId, getPollsChoicesCount, getPollsQuestionFinder, getPollsQuestionLocalService, getPollsQuestionPersistence, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setPollsChoiceLocalService, setPollsChoicePersistence, setPollsQuestionFinder, setPollsQuestionLocalService, setPollsQuestionPersistence, setUserLocalService, setUserPersistence, updatePollsChoicepublic com.liferay.polls.model.PollsChoice addChoice(long userId,
long questionId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.polls.model.PollsChoice getChoice(long choiceId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<com.liferay.polls.model.PollsChoice> getChoices(long questionId)
public int getChoicesCount(long questionId)
public com.liferay.polls.model.PollsChoice updateChoice(long choiceId,
long questionId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void validate(java.lang.String name,
java.lang.String description)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException