com.liferay.portlet.polls.service
Class PollsQuestionServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.polls.service.PollsQuestionServiceWrapper
All Implemented Interfaces:
PollsQuestionService

public class PollsQuestionServiceWrapper
extends java.lang.Object
implements PollsQuestionService

View Source

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

This class is a wrapper for PollsQuestionService.

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

Constructor Summary
PollsQuestionServiceWrapper(PollsQuestionService pollsQuestionService)
           
 
Method Summary
 PollsQuestion addQuestion(java.lang.String title, java.lang.String description, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, java.util.List<PollsChoice> choices, ServiceContext serviceContext)
           
 void deleteQuestion(long questionId)
           
 PollsQuestion getQuestion(long questionId)
           
 PollsQuestionService getWrappedPollsQuestionService()
           
 PollsQuestion updateQuestion(long questionId, java.lang.String title, java.lang.String description, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, java.util.List<PollsChoice> choices, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollsQuestionServiceWrapper

public PollsQuestionServiceWrapper(PollsQuestionService pollsQuestionService)
Method Detail

addQuestion

public PollsQuestion addQuestion(java.lang.String title,
                                 java.lang.String description,
                                 int expirationDateMonth,
                                 int expirationDateDay,
                                 int expirationDateYear,
                                 int expirationDateHour,
                                 int expirationDateMinute,
                                 boolean neverExpire,
                                 java.util.List<PollsChoice> choices,
                                 ServiceContext serviceContext)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Specified by:
addQuestion in interface PollsQuestionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteQuestion

public void deleteQuestion(long questionId)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Specified by:
deleteQuestion in interface PollsQuestionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getQuestion

public PollsQuestion getQuestion(long questionId)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Specified by:
getQuestion in interface PollsQuestionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateQuestion

public PollsQuestion updateQuestion(long questionId,
                                    java.lang.String title,
                                    java.lang.String description,
                                    int expirationDateMonth,
                                    int expirationDateDay,
                                    int expirationDateYear,
                                    int expirationDateHour,
                                    int expirationDateMinute,
                                    boolean neverExpire,
                                    java.util.List<PollsChoice> choices,
                                    ServiceContext serviceContext)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Specified by:
updateQuestion in interface PollsQuestionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getWrappedPollsQuestionService

public PollsQuestionService getWrappedPollsQuestionService()