| java.lang.Object com.liferay.portlet.polls.service.PollsQuestionServiceUtil
PollsQuestionServiceUtil | public class PollsQuestionServiceUtil (Code) | | View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
com.liferay.portlet.polls.service.PollsQuestionService
bean. The static methods of this class calls the same methods of the bean
instance. It's convenient to be able to just write one line to call a method
on a bean instead of writing a lookup call and a method call.
com.liferay.portlet.polls.service.PollsQuestionServiceFactory
is responsible for the lookup of the bean.
author: Brian Wing Shun Chan See Also: com.liferay.portlet.polls.service.PollsQuestionService See Also: com.liferay.portlet.polls.service.PollsQuestionServiceFactory |
Method Summary | |
public static com.liferay.portlet.polls.model.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 choices, boolean addCommunityPermissions, boolean addGuestPermissions) | public static com.liferay.portlet.polls.model.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 choices, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) | public static void | deleteQuestion(long questionId) | public static com.liferay.portlet.polls.model.PollsQuestion | getQuestion(long questionId) | public static com.liferay.portlet.polls.model.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 choices) |
addQuestion | public static com.liferay.portlet.polls.model.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 choices, boolean addCommunityPermissions, boolean addGuestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException, java.rmi.RemoteException(Code) | | |
addQuestion | public static com.liferay.portlet.polls.model.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 choices, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException, java.rmi.RemoteException(Code) | | |
updateQuestion | public static com.liferay.portlet.polls.model.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 choices) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException, java.rmi.RemoteException(Code) | | |
|
|