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(long plid, 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, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 PollsQuestion addQuestion(long plid, 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, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 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)
           
 
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(long plid,
                                 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,
                                 boolean addCommunityPermissions,
                                 boolean addGuestPermissions)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException,
                                 java.rmi.RemoteException
Specified by:
addQuestion in interface PollsQuestionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addQuestion

public PollsQuestion addQuestion(long plid,
                                 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,
                                 java.lang.String[] communityPermissions,
                                 java.lang.String[] guestPermissions)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException,
                                 java.rmi.RemoteException
Specified by:
addQuestion in interface PollsQuestionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

deleteQuestion

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

getQuestion

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

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)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException,
                                    java.rmi.RemoteException
Specified by:
updateQuestion in interface PollsQuestionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getWrappedPollsQuestionService

public PollsQuestionService getWrappedPollsQuestionService()