Liferay 6.2-ce-ga5

com.liferay.portlet.polls.service
Class PollsQuestionServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.polls.service.PollsQuestionServiceWrapper
All Implemented Interfaces:
BaseService, ServiceWrapper<PollsQuestionService>, PollsQuestionService

@ProviderType
public class PollsQuestionServiceWrapper
extends Object
implements PollsQuestionService, ServiceWrapper<PollsQuestionService>

Provides a wrapper for PollsQuestionService.

See Also:
PollsQuestionService

Constructor Summary
PollsQuestionServiceWrapper(PollsQuestionService pollsQuestionService)
           
 
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)
           
 PollsQuestionService getWrappedPollsQuestionService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 PollsQuestionService getWrappedService()
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedPollsQuestionService(PollsQuestionService pollsQuestionService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.polls.service.PollsQuestionService)
 void setWrappedService(PollsQuestionService pollsQuestionService)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollsQuestionServiceWrapper

public PollsQuestionServiceWrapper(PollsQuestionService pollsQuestionService)
Method Detail

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface PollsQuestionService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface PollsQuestionService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addQuestion

public 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)
                          throws PortalException,
                                 SystemException
Specified by:
addQuestion in interface PollsQuestionService
Throws:
PortalException
SystemException

deleteQuestion

public void deleteQuestion(long questionId)
                    throws PortalException,
                           SystemException
Specified by:
deleteQuestion in interface PollsQuestionService
Throws:
PortalException
SystemException

getQuestion

public PollsQuestion getQuestion(long questionId)
                          throws PortalException,
                                 SystemException
Specified by:
getQuestion in interface PollsQuestionService
Throws:
PortalException
SystemException

updateQuestion

public 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
Specified by:
updateQuestion in interface PollsQuestionService
Throws:
PortalException
SystemException

getWrappedPollsQuestionService

public PollsQuestionService getWrappedPollsQuestionService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedPollsQuestionService

public void setWrappedPollsQuestionService(PollsQuestionService pollsQuestionService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.polls.service.PollsQuestionService)


getWrappedService

public PollsQuestionService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<PollsQuestionService>

setWrappedService

public void setWrappedService(PollsQuestionService pollsQuestionService)
Specified by:
setWrappedService in interface ServiceWrapper<PollsQuestionService>

Liferay 6.2-ce-ga5