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.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, 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.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, 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.util.Map<java.util.Locale,java.lang.String> titleMap,
                                 java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
                                 int expirationDateMonth,
                                 int expirationDateDay,
                                 int expirationDateYear,
                                 int expirationDateHour,
                                 int expirationDateMinute,
                                 boolean neverExpire,
                                 java.util.List<PollsChoice> choices,
                                 ServiceContext serviceContext)
                          throws com.liferay.portal.kernel.exception.PortalException,
                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
addQuestion in interface PollsQuestionService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteQuestion

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

getQuestion

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

updateQuestion

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

getWrappedPollsQuestionService

public PollsQuestionService getWrappedPollsQuestionService()