Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.polls.service.base.PollsChoiceLocalServiceBaseImpl
          extended by com.liferay.portlet.polls.service.impl.PollsChoiceLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, PollsChoiceLocalService

public class PollsChoiceLocalServiceImpl
extends PollsChoiceLocalServiceBaseImpl


Field Summary
 
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
 
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, 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 com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
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.1.2-ce-ga3