com.liferay.portlet.polls.service
Class PollsQuestionLocalServiceWrapper
java.lang.Object
com.liferay.portlet.polls.service.PollsQuestionLocalServiceWrapper
- All Implemented Interfaces:
- PollsQuestionLocalService
public class PollsQuestionLocalServiceWrapper
- extends Object
- implements PollsQuestionLocalService
This class is a wrapper for PollsQuestionLocalService.
- See Also:
PollsQuestionLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
PollsQuestion |
addPollsQuestion(PollsQuestion pollsQuestion)
|
PollsQuestion |
addQuestion(long userId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
List<PollsChoice> choices,
ServiceContext serviceContext)
|
void |
addQuestionResources(long questionId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addQuestionResources(long questionId,
String[] communityPermissions,
String[] guestPermissions)
|
void |
addQuestionResources(PollsQuestion question,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addQuestionResources(PollsQuestion question,
String[] communityPermissions,
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)
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
|
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
PollsQuestion |
getPollsQuestion(long questionId)
|
PollsQuestion |
getPollsQuestionByUuidAndGroupId(String uuid,
long groupId)
|
List<PollsQuestion> |
getPollsQuestions(int start,
int end)
|
int |
getPollsQuestionsCount()
|
PollsQuestion |
getQuestion(long questionId)
|
List<PollsQuestion> |
getQuestions(long groupId)
|
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,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
List<PollsChoice> choices,
ServiceContext serviceContext)
|
| 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 SystemException
- Specified by:
addPollsQuestion in interface PollsQuestionLocalService
- Throws:
SystemException
createPollsQuestion
public PollsQuestion createPollsQuestion(long questionId)
- Specified by:
createPollsQuestion in interface PollsQuestionLocalService
deletePollsQuestion
public void deletePollsQuestion(long questionId)
throws PortalException,
SystemException
- Specified by:
deletePollsQuestion in interface PollsQuestionLocalService
- Throws:
PortalException
SystemException
deletePollsQuestion
public void deletePollsQuestion(PollsQuestion pollsQuestion)
throws SystemException
- Specified by:
deletePollsQuestion in interface PollsQuestionLocalService
- Throws:
SystemException
dynamicQuery
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Specified by:
dynamicQuery in interface PollsQuestionLocalService
- Throws:
SystemException
dynamicQuery
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Specified by:
dynamicQuery in interface PollsQuestionLocalService
- Throws:
SystemException
dynamicQuery
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Specified by:
dynamicQuery in interface PollsQuestionLocalService
- Throws:
SystemException
dynamicQueryCount
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Specified by:
dynamicQueryCount in interface PollsQuestionLocalService
- Throws:
SystemException
getPollsQuestion
public PollsQuestion getPollsQuestion(long questionId)
throws PortalException,
SystemException
- Specified by:
getPollsQuestion in interface PollsQuestionLocalService
- Throws:
PortalException
SystemException
getPollsQuestionByUuidAndGroupId
public PollsQuestion getPollsQuestionByUuidAndGroupId(String uuid,
long groupId)
throws PortalException,
SystemException
- Specified by:
getPollsQuestionByUuidAndGroupId in interface PollsQuestionLocalService
- Throws:
PortalException
SystemException
getPollsQuestions
public List<PollsQuestion> getPollsQuestions(int start,
int end)
throws SystemException
- Specified by:
getPollsQuestions in interface PollsQuestionLocalService
- Throws:
SystemException
getPollsQuestionsCount
public int getPollsQuestionsCount()
throws SystemException
- Specified by:
getPollsQuestionsCount in interface PollsQuestionLocalService
- Throws:
SystemException
updatePollsQuestion
public PollsQuestion updatePollsQuestion(PollsQuestion pollsQuestion)
throws SystemException
- Specified by:
updatePollsQuestion in interface PollsQuestionLocalService
- Throws:
SystemException
updatePollsQuestion
public PollsQuestion updatePollsQuestion(PollsQuestion pollsQuestion,
boolean merge)
throws SystemException
- Specified by:
updatePollsQuestion in interface PollsQuestionLocalService
- Throws:
SystemException
addQuestion
public PollsQuestion addQuestion(long userId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
List<PollsChoice> choices,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
addQuestion in interface PollsQuestionLocalService
- Throws:
PortalException
SystemException
addQuestionResources
public void addQuestionResources(long questionId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Specified by:
addQuestionResources in interface PollsQuestionLocalService
- Throws:
PortalException
SystemException
addQuestionResources
public void addQuestionResources(long questionId,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Specified by:
addQuestionResources in interface PollsQuestionLocalService
- Throws:
PortalException
SystemException
addQuestionResources
public void addQuestionResources(PollsQuestion question,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Specified by:
addQuestionResources in interface PollsQuestionLocalService
- Throws:
PortalException
SystemException
addQuestionResources
public void addQuestionResources(PollsQuestion question,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Specified by:
addQuestionResources in interface PollsQuestionLocalService
- Throws:
PortalException
SystemException
deleteQuestion
public void deleteQuestion(long questionId)
throws PortalException,
SystemException
- Specified by:
deleteQuestion in interface PollsQuestionLocalService
- Throws:
PortalException
SystemException
deleteQuestion
public void deleteQuestion(PollsQuestion question)
throws PortalException,
SystemException
- Specified by:
deleteQuestion in interface PollsQuestionLocalService
- Throws:
PortalException
SystemException
deleteQuestions
public void deleteQuestions(long groupId)
throws PortalException,
SystemException
- Specified by:
deleteQuestions in interface PollsQuestionLocalService
- Throws:
PortalException
SystemException
getQuestion
public PollsQuestion getQuestion(long questionId)
throws PortalException,
SystemException
- Specified by:
getQuestion in interface PollsQuestionLocalService
- Throws:
PortalException
SystemException
getQuestions
public List<PollsQuestion> getQuestions(long groupId)
throws SystemException
- Specified by:
getQuestions in interface PollsQuestionLocalService
- Throws:
SystemException
getQuestions
public List<PollsQuestion> getQuestions(long groupId,
int start,
int end)
throws SystemException
- Specified by:
getQuestions in interface PollsQuestionLocalService
- Throws:
SystemException
getQuestionsCount
public int getQuestionsCount(long groupId)
throws SystemException
- Specified by:
getQuestionsCount in interface PollsQuestionLocalService
- Throws:
SystemException
updateQuestion
public PollsQuestion updateQuestion(long userId,
long questionId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
List<PollsChoice> choices,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
updateQuestion in interface PollsQuestionLocalService
- Throws:
PortalException
SystemException
getWrappedPollsQuestionLocalService
public PollsQuestionLocalService getWrappedPollsQuestionLocalService()