001
014
015 package com.liferay.portlet.polls.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
026 public class PollsVoteServiceWrapper implements PollsVoteService,
027 ServiceWrapper<PollsVoteService> {
028 public PollsVoteServiceWrapper(PollsVoteService pollsVoteService) {
029 _pollsVoteService = pollsVoteService;
030 }
031
032
037 @Override
038 public java.lang.String getBeanIdentifier() {
039 return _pollsVoteService.getBeanIdentifier();
040 }
041
042
047 @Override
048 public void setBeanIdentifier(java.lang.String beanIdentifier) {
049 _pollsVoteService.setBeanIdentifier(beanIdentifier);
050 }
051
052 @Override
053 public com.liferay.portlet.polls.model.PollsVote addVote(long questionId,
054 long choiceId, com.liferay.portal.service.ServiceContext serviceContext)
055 throws com.liferay.portal.kernel.exception.PortalException,
056 com.liferay.portal.kernel.exception.SystemException {
057 return _pollsVoteService.addVote(questionId, choiceId, serviceContext);
058 }
059
060
063 public PollsVoteService getWrappedPollsVoteService() {
064 return _pollsVoteService;
065 }
066
067
070 public void setWrappedPollsVoteService(PollsVoteService pollsVoteService) {
071 _pollsVoteService = pollsVoteService;
072 }
073
074 @Override
075 public PollsVoteService getWrappedService() {
076 return _pollsVoteService;
077 }
078
079 @Override
080 public void setWrappedService(PollsVoteService pollsVoteService) {
081 _pollsVoteService = pollsVoteService;
082 }
083
084 private PollsVoteService _pollsVoteService;
085 }