com.liferay.portlet.polls.service
Interface PollsQuestionService
- All Known Implementing Classes:
- PollsQuestionServiceWrapper
@JSONWebService
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface PollsQuestionService
The interface for the polls question remote service.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
PollsQuestionServiceUtil,
com.liferay.portlet.polls.service.base.PollsQuestionServiceBaseImpl,
com.liferay.portlet.polls.service.impl.PollsQuestionServiceImpl- Generated:
|
Method Summary |
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)
|
void |
deleteQuestion(long questionId)
|
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,
ServiceContext serviceContext)
|
addQuestion
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
- Throws:
PortalException
SystemException
deleteQuestion
void deleteQuestion(long questionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getQuestion
@Transactional(propagation=SUPPORTS,
readOnly=true)
PollsQuestion getQuestion(long questionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateQuestion
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
- Throws:
PortalException
SystemException