Liferay 6.0.5

com.liferay.portlet.polls.service.impl
Class PollsChoiceLocalServiceImpl

java.lang.Object
  extended by com.liferay.portlet.polls.service.base.PollsChoiceLocalServiceBaseImpl
      extended by com.liferay.portlet.polls.service.impl.PollsChoiceLocalServiceImpl
All Implemented Interfaces:
PollsChoiceLocalService

public class PollsChoiceLocalServiceImpl
extends PollsChoiceLocalServiceBaseImpl


Field Summary
 
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
 
Constructor Summary
PollsChoiceLocalServiceImpl()
           
 
Method Summary
 PollsChoice addChoice(long questionId, String name, String description, ServiceContext serviceContext)
           
 PollsChoice getChoice(long choiceId)
           
 List<PollsChoice> getChoices(long questionId)
           
 int getChoicesCount(long questionId)
           
 PollsChoice updateChoice(long choiceId, long questionId, String name, String description)
           
protected  void validate(String name, String description)
           
 
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
 

Constructor Detail

PollsChoiceLocalServiceImpl

public PollsChoiceLocalServiceImpl()
Method Detail

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

Liferay 6.0.5