public class PollsQuestionServiceWrapper extends java.lang.Object implements PollsQuestionService, ServiceWrapper<PollsQuestionService>
PollsQuestionService.PollsQuestionService| Constructor and Description |
|---|
PollsQuestionServiceWrapper(PollsQuestionService pollsQuestionService) |
| 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,
ServiceContext serviceContext) |
void |
deleteQuestion(long questionId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PollsQuestion |
getQuestion(long questionId) |
PollsQuestionService |
getWrappedService() |
void |
setWrappedService(PollsQuestionService pollsQuestionService) |
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 PollsQuestionServiceWrapper(PollsQuestionService pollsQuestionService)
public 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
addQuestion in interface PollsQuestionServicePortalExceptionpublic void deleteQuestion(long questionId)
throws PortalException
deleteQuestion in interface PollsQuestionServicePortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface PollsQuestionServicepublic PollsQuestion getQuestion(long questionId) throws PortalException
getQuestion in interface PollsQuestionServicePortalExceptionpublic 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
updateQuestion in interface PollsQuestionServicePortalExceptionpublic PollsQuestionService getWrappedService()
getWrappedService in interface ServiceWrapper<PollsQuestionService>public void setWrappedService(PollsQuestionService pollsQuestionService)
setWrappedService in interface ServiceWrapper<PollsQuestionService>