@ProviderType
public class PollsQuestionServiceUtil
extends java.lang.Object
com.liferay.portlet.polls.service.impl.PollsQuestionServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.PollsQuestionService,
com.liferay.portlet.polls.service.base.PollsQuestionServiceBaseImpl,
com.liferay.portlet.polls.service.impl.PollsQuestionServiceImpl| Constructor and Description |
|---|
PollsQuestionServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static PollsQuestion |
addQuestion(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 |
deleteQuestion(long questionId) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static PollsQuestion |
getQuestion(long questionId) |
static PollsQuestionService |
getService() |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(PollsQuestionService service)
Deprecated.
As of 6.2.0
|
static PollsQuestion |
updateQuestion(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) |
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static PollsQuestion addQuestion(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
PortalExceptionSystemExceptionpublic static void deleteQuestion(long questionId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static PollsQuestion getQuestion(long questionId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static PollsQuestion updateQuestion(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
PortalExceptionSystemExceptionpublic static PollsQuestionService getService()
public void setService(PollsQuestionService service)