@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface PollsQuestionService
extends com.liferay.portal.kernel.service.BaseService
PollsQuestionServiceUtil
,
com.liferay.polls.service.base.PollsQuestionServiceBaseImpl
,
com.liferay.polls.service.impl.PollsQuestionServiceImpl
Modifier and Type | Method and Description |
---|---|
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteQuestion(long questionId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PollsQuestion |
getQuestion(long questionId) |
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) PollsQuestion getQuestion(long questionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getOSGiServiceIdentifier()
void deleteQuestion(long questionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException