| java.lang.Object com.liferay.portlet.polls.service.PollsQuestionLocalServiceUtil
PollsQuestionLocalServiceUtil | public class PollsQuestionLocalServiceUtil (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.PollsQuestionLocalService
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.PollsQuestionLocalServiceFactory
is responsible for the lookup of the bean.
author: Brian Wing Shun Chan See Also: com.liferay.portlet.polls.service.PollsQuestionLocalService See Also: com.liferay.portlet.polls.service.PollsQuestionLocalServiceFactory |
Method Summary | |
public static com.liferay.portlet.polls.model.PollsQuestion | addPollsQuestion(com.liferay.portlet.polls.model.PollsQuestion model) | public static com.liferay.portlet.polls.model.PollsQuestion | addQuestion(long userId, long plid, java.lang.String title, java.lang.String description, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, boolean addCommunityPermissions, boolean addGuestPermissions) | public static com.liferay.portlet.polls.model.PollsQuestion | addQuestion(java.lang.String uuid, long userId, long plid, java.lang.String title, java.lang.String description, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, boolean addCommunityPermissions, boolean addGuestPermissions) | public static com.liferay.portlet.polls.model.PollsQuestion | addQuestion(long userId, 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 userId, 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 com.liferay.portlet.polls.model.PollsQuestion | addQuestion(java.lang.String uuid, long userId, 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.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) | public static void | addQuestionResources(long questionId, boolean addCommunityPermissions, boolean addGuestPermissions) | public static void | addQuestionResources(com.liferay.portlet.polls.model.PollsQuestion question, boolean addCommunityPermissions, boolean addGuestPermissions) | public static void | addQuestionResources(long questionId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) | public static void | addQuestionResources(com.liferay.portlet.polls.model.PollsQuestion question, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) | public static void | afterPropertiesSet() | public static void | deleteQuestion(long questionId) | public static void | deleteQuestion(com.liferay.portlet.polls.model.PollsQuestion question) | public static void | deleteQuestions(long groupId) | public static java.util.List | dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer) | public static java.util.List | dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end) | public static com.liferay.portlet.polls.service.persistence.PollsChoiceFinder | getPollsChoiceFinder() | public static com.liferay.portlet.polls.service.persistence.PollsChoicePersistence | getPollsChoicePersistence() | public static com.liferay.portlet.polls.service.persistence.PollsQuestionPersistence | getPollsQuestionPersistence() | public static com.liferay.portlet.polls.service.persistence.PollsVotePersistence | getPollsVotePersistence() | public static com.liferay.portlet.polls.model.PollsQuestion | getQuestion(long questionId) | public static java.util.List | getQuestions(long groupId) | public static java.util.List | getQuestions(long groupId, int begin, int end) | public static int | getQuestionsCount(long groupId) | public static com.liferay.portal.service.persistence.ResourceFinder | getResourceFinder() | public static com.liferay.portal.service.persistence.ResourcePersistence | getResourcePersistence() | public static com.liferay.portal.service.persistence.UserFinder | getUserFinder() | public static com.liferay.portal.service.persistence.UserPersistence | getUserPersistence() | public static void | setPollsChoiceFinder(com.liferay.portlet.polls.service.persistence.PollsChoiceFinder pollsChoiceFinder) | public static void | setPollsChoicePersistence(com.liferay.portlet.polls.service.persistence.PollsChoicePersistence pollsChoicePersistence) | public static void | setPollsQuestionPersistence(com.liferay.portlet.polls.service.persistence.PollsQuestionPersistence pollsQuestionPersistence) | public static void | setPollsVotePersistence(com.liferay.portlet.polls.service.persistence.PollsVotePersistence pollsVotePersistence) | public static void | setResourceFinder(com.liferay.portal.service.persistence.ResourceFinder resourceFinder) | public static void | setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence) | public static void | setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder) | public static void | setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence) | public static com.liferay.portlet.polls.model.PollsQuestion | updatePollsQuestion(com.liferay.portlet.polls.model.PollsQuestion model) | public static com.liferay.portlet.polls.model.PollsQuestion | updateQuestion(long userId, long questionId, java.lang.String title, java.lang.String description, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire) | public static com.liferay.portlet.polls.model.PollsQuestion | updateQuestion(long userId, 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 userId, long plid, java.lang.String title, java.lang.String description, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, boolean addCommunityPermissions, boolean addGuestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException(Code) | | |
addQuestion | public static com.liferay.portlet.polls.model.PollsQuestion addQuestion(java.lang.String uuid, long userId, long plid, java.lang.String title, java.lang.String description, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, boolean addCommunityPermissions, boolean addGuestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException(Code) | | |
addQuestion | public static com.liferay.portlet.polls.model.PollsQuestion addQuestion(long userId, 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(Code) | | |
addQuestion | public static com.liferay.portlet.polls.model.PollsQuestion addQuestion(long userId, 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(Code) | | |
addQuestion | public static com.liferay.portlet.polls.model.PollsQuestion addQuestion(java.lang.String uuid, long userId, 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.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException(Code) | | |
afterPropertiesSet | public static void afterPropertiesSet()(Code) | | |
updateQuestion | public static com.liferay.portlet.polls.model.PollsQuestion updateQuestion(long userId, long questionId, java.lang.String title, java.lang.String description, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException(Code) | | |
updateQuestion | public static com.liferay.portlet.polls.model.PollsQuestion updateQuestion(long userId, 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(Code) | | |
|
|