001
014
015 package com.liferay.portlet.polls.service;
016
017
026 public class PollsVoteServiceWrapper implements PollsVoteService {
027 public PollsVoteServiceWrapper(PollsVoteService pollsVoteService) {
028 _pollsVoteService = pollsVoteService;
029 }
030
031 public com.liferay.portlet.polls.model.PollsVote addVote(long questionId,
032 long choiceId, com.liferay.portal.service.ServiceContext serviceContext)
033 throws com.liferay.portal.kernel.exception.PortalException,
034 com.liferay.portal.kernel.exception.SystemException {
035 return _pollsVoteService.addVote(questionId, choiceId, serviceContext);
036 }
037
038 public PollsVoteService getWrappedPollsVoteService() {
039 return _pollsVoteService;
040 }
041
042 private PollsVoteService _pollsVoteService;
043 }