|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType @AccessControlled @JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface PollsQuestionService
Provides the remote service interface for PollsQuestion. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
PollsQuestionServiceUtil
,
com.liferay.portlet.polls.service.base.PollsQuestionServiceBaseImpl
,
com.liferay.portlet.polls.service.impl.PollsQuestionServiceImpl
Method Summary | |
---|---|
PollsQuestion |
addQuestion(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 |
deleteQuestion(long questionId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
PollsQuestion |
getQuestion(long questionId)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
PollsQuestion |
updateQuestion(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)
|
Method Detail |
---|
String getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanPollsQuestion addQuestion(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
PortalException
SystemException
void deleteQuestion(long questionId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) PollsQuestion getQuestion(long questionId) throws PortalException, SystemException
PortalException
SystemException
PollsQuestion updateQuestion(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
PortalException
SystemException
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |