com.liferay.portlet.polls.service
Class PollsChoiceLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.polls.service.PollsChoiceLocalServiceWrapper
All Implemented Interfaces:
PollsChoiceLocalService

public class PollsChoiceLocalServiceWrapper
extends java.lang.Object
implements PollsChoiceLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for PollsChoiceLocalService.

Author:
Brian Wing Shun Chan
See Also:
PollsChoiceLocalService
Generated:

Constructor Summary
PollsChoiceLocalServiceWrapper(PollsChoiceLocalService pollsChoiceLocalService)
           
 
Method Summary
 PollsChoice addChoice(java.lang.String uuid, long questionId, java.lang.String name, java.lang.String description)
           
 PollsChoice addPollsChoice(PollsChoice pollsChoice)
           
 PollsChoice createPollsChoice(long choiceId)
           
 void deletePollsChoice(long choiceId)
           
 void deletePollsChoice(PollsChoice pollsChoice)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 PollsChoice getChoice(long choiceId)
           
 java.util.List<PollsChoice> getChoices(long questionId)
           
 int getChoicesCount(long questionId)
           
 PollsChoice getPollsChoice(long choiceId)
           
 java.util.List<PollsChoice> getPollsChoices(int start, int end)
           
 int getPollsChoicesCount()
           
 PollsChoiceLocalService getWrappedPollsChoiceLocalService()
           
 PollsChoice updateChoice(long choiceId, long questionId, java.lang.String name, java.lang.String description)
           
 PollsChoice updatePollsChoice(PollsChoice pollsChoice)
           
 PollsChoice updatePollsChoice(PollsChoice pollsChoice, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollsChoiceLocalServiceWrapper

public PollsChoiceLocalServiceWrapper(PollsChoiceLocalService pollsChoiceLocalService)
Method Detail

addPollsChoice

public PollsChoice addPollsChoice(PollsChoice pollsChoice)
                           throws com.liferay.portal.kernel.exception.SystemException
Specified by:
addPollsChoice in interface PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

createPollsChoice

public PollsChoice createPollsChoice(long choiceId)
Specified by:
createPollsChoice in interface PollsChoiceLocalService

deletePollsChoice

public void deletePollsChoice(long choiceId)
                       throws com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Specified by:
deletePollsChoice in interface PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deletePollsChoice

public void deletePollsChoice(PollsChoice pollsChoice)
                       throws com.liferay.portal.kernel.exception.SystemException
Specified by:
deletePollsChoice in interface PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getPollsChoice

public PollsChoice getPollsChoice(long choiceId)
                           throws com.liferay.portal.kernel.exception.PortalException,
                                  com.liferay.portal.kernel.exception.SystemException
Specified by:
getPollsChoice in interface PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getPollsChoices

public java.util.List<PollsChoice> getPollsChoices(int start,
                                                   int end)
                                            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getPollsChoices in interface PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getPollsChoicesCount

public int getPollsChoicesCount()
                         throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getPollsChoicesCount in interface PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updatePollsChoice

public PollsChoice updatePollsChoice(PollsChoice pollsChoice)
                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updatePollsChoice in interface PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updatePollsChoice

public PollsChoice updatePollsChoice(PollsChoice pollsChoice,
                                     boolean merge)
                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updatePollsChoice in interface PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

addChoice

public PollsChoice addChoice(java.lang.String uuid,
                             long questionId,
                             java.lang.String name,
                             java.lang.String description)
                      throws com.liferay.portal.kernel.exception.PortalException,
                             com.liferay.portal.kernel.exception.SystemException
Specified by:
addChoice in interface PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getChoice

public PollsChoice getChoice(long choiceId)
                      throws com.liferay.portal.kernel.exception.PortalException,
                             com.liferay.portal.kernel.exception.SystemException
Specified by:
getChoice in interface PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getChoices

public java.util.List<PollsChoice> getChoices(long questionId)
                                       throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getChoices in interface PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getChoicesCount

public int getChoicesCount(long questionId)
                    throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getChoicesCount in interface PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateChoice

public PollsChoice updateChoice(long choiceId,
                                long questionId,
                                java.lang.String name,
                                java.lang.String description)
                         throws com.liferay.portal.kernel.exception.PortalException,
                                com.liferay.portal.kernel.exception.SystemException
Specified by:
updateChoice in interface PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getWrappedPollsChoiceLocalService

public PollsChoiceLocalService getWrappedPollsChoiceLocalService()