com.liferay.portlet.polls.service
Class PollsQuestionLocalServiceWrapper
java.lang.Object
com.liferay.portlet.polls.service.PollsQuestionLocalServiceWrapper
- All Implemented Interfaces:
- PollsQuestionLocalService
public class PollsQuestionLocalServiceWrapper
- extends java.lang.Object
- implements PollsQuestionLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for PollsQuestionLocalService
.
- Author:
- Brian Wing Shun Chan
- See Also:
PollsQuestionLocalService
- Generated:
Method Summary |
PollsQuestion |
addPollsQuestion(PollsQuestion pollsQuestion)
|
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)
|
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<PollsChoice> choices,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
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<PollsChoice> choices,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
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)
|
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<PollsChoice> choices,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addQuestionResources(long questionId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addQuestionResources(long questionId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addQuestionResources(PollsQuestion question,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addQuestionResources(PollsQuestion question,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
PollsQuestion |
createPollsQuestion(long questionId)
|
void |
deletePollsQuestion(long questionId)
|
void |
deletePollsQuestion(PollsQuestion pollsQuestion)
|
void |
deleteQuestion(long questionId)
|
void |
deleteQuestion(PollsQuestion question)
|
void |
deleteQuestions(long groupId)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
PollsQuestion |
getPollsQuestion(long questionId)
|
java.util.List<PollsQuestion> |
getPollsQuestions(int start,
int end)
|
int |
getPollsQuestionsCount()
|
PollsQuestion |
getQuestion(long questionId)
|
java.util.List<PollsQuestion> |
getQuestions(long groupId)
|
java.util.List<PollsQuestion> |
getQuestions(long groupId,
int start,
int end)
|
int |
getQuestionsCount(long groupId)
|
PollsQuestionLocalService |
getWrappedPollsQuestionLocalService()
|
PollsQuestion |
updatePollsQuestion(PollsQuestion pollsQuestion)
|
PollsQuestion |
updatePollsQuestion(PollsQuestion pollsQuestion,
boolean merge)
|
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)
|
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<PollsChoice> choices)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollsQuestionLocalServiceWrapper
public PollsQuestionLocalServiceWrapper(PollsQuestionLocalService pollsQuestionLocalService)
addPollsQuestion
public PollsQuestion addPollsQuestion(PollsQuestion pollsQuestion)
throws com.liferay.portal.SystemException
- Specified by:
addPollsQuestion
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.SystemException
createPollsQuestion
public PollsQuestion createPollsQuestion(long questionId)
- Specified by:
createPollsQuestion
in interface PollsQuestionLocalService
deletePollsQuestion
public void deletePollsQuestion(long questionId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deletePollsQuestion
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deletePollsQuestion
public void deletePollsQuestion(PollsQuestion pollsQuestion)
throws com.liferay.portal.SystemException
- Specified by:
deletePollsQuestion
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQuery
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQuery
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.SystemException
getPollsQuestion
public PollsQuestion getPollsQuestion(long questionId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getPollsQuestion
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPollsQuestions
public java.util.List<PollsQuestion> getPollsQuestions(int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
getPollsQuestions
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.SystemException
getPollsQuestionsCount
public int getPollsQuestionsCount()
throws com.liferay.portal.SystemException
- Specified by:
getPollsQuestionsCount
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.SystemException
updatePollsQuestion
public PollsQuestion updatePollsQuestion(PollsQuestion pollsQuestion)
throws com.liferay.portal.SystemException
- Specified by:
updatePollsQuestion
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.SystemException
updatePollsQuestion
public PollsQuestion updatePollsQuestion(PollsQuestion pollsQuestion,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
updatePollsQuestion
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.SystemException
addQuestion
public 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
- Specified by:
addQuestion
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addQuestion
public 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<PollsChoice> choices,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addQuestion
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addQuestion
public 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<PollsChoice> choices,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addQuestion
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addQuestion
public 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
- Specified by:
addQuestion
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addQuestion
public 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<PollsChoice> 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
- Specified by:
addQuestion
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addQuestionResources
public void addQuestionResources(long questionId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addQuestionResources
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addQuestionResources
public void addQuestionResources(long questionId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addQuestionResources
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addQuestionResources
public void addQuestionResources(PollsQuestion question,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addQuestionResources
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addQuestionResources
public void addQuestionResources(PollsQuestion question,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addQuestionResources
in interface PollsQuestionLocalService
- 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 PollsQuestionLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteQuestion
public void deleteQuestion(PollsQuestion question)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteQuestion
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteQuestions
public void deleteQuestions(long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteQuestions
in interface PollsQuestionLocalService
- 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 PollsQuestionLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getQuestions
public java.util.List<PollsQuestion> getQuestions(long groupId)
throws com.liferay.portal.SystemException
- Specified by:
getQuestions
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.SystemException
getQuestions
public java.util.List<PollsQuestion> getQuestions(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
getQuestions
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.SystemException
getQuestionsCount
public int getQuestionsCount(long groupId)
throws com.liferay.portal.SystemException
- Specified by:
getQuestionsCount
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.SystemException
updateQuestion
public 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
- Specified by:
updateQuestion
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateQuestion
public 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<PollsChoice> choices)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateQuestion
in interface PollsQuestionLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getWrappedPollsQuestionLocalService
public PollsQuestionLocalService getWrappedPollsQuestionLocalService()