com.liferay.portlet.polls.service
Class PollsQuestionLocalServiceUtil
java.lang.Object
com.liferay.portlet.polls.service.PollsQuestionLocalServiceUtil
public class PollsQuestionLocalServiceUtil
- extends java.lang.Object
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
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.
- Author:
- Brian Wing Shun Chan
- See Also:
PollsQuestionLocalService
- Generated:
Method Summary |
static PollsQuestion |
addPollsQuestion(PollsQuestion pollsQuestion)
|
static PollsQuestion |
addQuestion(java.lang.String uuid,
long userId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.List<PollsChoice> choices,
ServiceContext serviceContext)
|
static void |
addQuestionResources(long questionId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addQuestionResources(long questionId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addQuestionResources(PollsQuestion question,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addQuestionResources(PollsQuestion question,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static PollsQuestion |
createPollsQuestion(long questionId)
|
static void |
deletePollsQuestion(long questionId)
|
static void |
deletePollsQuestion(PollsQuestion pollsQuestion)
|
static void |
deleteQuestion(long questionId)
|
static void |
deleteQuestion(PollsQuestion question)
|
static void |
deleteQuestions(long groupId)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static PollsQuestion |
getPollsQuestion(long questionId)
|
static PollsQuestion |
getPollsQuestionByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
static java.util.List<PollsQuestion> |
getPollsQuestions(int start,
int end)
|
static int |
getPollsQuestionsCount()
|
static PollsQuestion |
getQuestion(long questionId)
|
static java.util.List<PollsQuestion> |
getQuestions(long groupId)
|
static java.util.List<PollsQuestion> |
getQuestions(long groupId,
int start,
int end)
|
static int |
getQuestionsCount(long groupId)
|
static PollsQuestionLocalService |
getService()
|
void |
setService(PollsQuestionLocalService service)
|
static PollsQuestion |
updatePollsQuestion(PollsQuestion pollsQuestion)
|
static PollsQuestion |
updatePollsQuestion(PollsQuestion pollsQuestion,
boolean merge)
|
static PollsQuestion |
updateQuestion(long userId,
long questionId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire)
|
static PollsQuestion |
updateQuestion(long userId,
long questionId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.List<PollsChoice> choices,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollsQuestionLocalServiceUtil
public PollsQuestionLocalServiceUtil()
addPollsQuestion
public static PollsQuestion addPollsQuestion(PollsQuestion pollsQuestion)
throws SystemException
- Throws:
SystemException
createPollsQuestion
public static PollsQuestion createPollsQuestion(long questionId)
deletePollsQuestion
public static void deletePollsQuestion(long questionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deletePollsQuestion
public static void deletePollsQuestion(PollsQuestion pollsQuestion)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getPollsQuestion
public static PollsQuestion getPollsQuestion(long questionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPollsQuestionByUuidAndGroupId
public static PollsQuestion getPollsQuestionByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPollsQuestions
public static java.util.List<PollsQuestion> getPollsQuestions(int start,
int end)
throws SystemException
- Throws:
SystemException
getPollsQuestionsCount
public static int getPollsQuestionsCount()
throws SystemException
- Throws:
SystemException
updatePollsQuestion
public static PollsQuestion updatePollsQuestion(PollsQuestion pollsQuestion)
throws SystemException
- Throws:
SystemException
updatePollsQuestion
public static PollsQuestion updatePollsQuestion(PollsQuestion pollsQuestion,
boolean merge)
throws SystemException
- Throws:
SystemException
addQuestion
public static PollsQuestion addQuestion(java.lang.String uuid,
long userId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.List<PollsChoice> choices,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addQuestionResources
public static void addQuestionResources(long questionId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addQuestionResources
public static void addQuestionResources(long questionId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addQuestionResources
public static void addQuestionResources(PollsQuestion question,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addQuestionResources
public static void addQuestionResources(PollsQuestion question,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteQuestion
public static void deleteQuestion(long questionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteQuestion
public static void deleteQuestion(PollsQuestion question)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteQuestions
public static void deleteQuestions(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getQuestion
public static PollsQuestion getQuestion(long questionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getQuestions
public static java.util.List<PollsQuestion> getQuestions(long groupId)
throws SystemException
- Throws:
SystemException
getQuestions
public static java.util.List<PollsQuestion> getQuestions(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getQuestionsCount
public static int getQuestionsCount(long groupId)
throws SystemException
- Throws:
SystemException
updateQuestion
public static PollsQuestion updateQuestion(long userId,
long questionId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateQuestion
public static PollsQuestion updateQuestion(long userId,
long questionId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.List<PollsChoice> choices,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static PollsQuestionLocalService getService()
setService
public void setService(PollsQuestionLocalService service)