1
14
15 package com.liferay.portlet.polls.service;
16
17
18
34 public class PollsVoteLocalServiceWrapper implements PollsVoteLocalService {
35 public PollsVoteLocalServiceWrapper(
36 PollsVoteLocalService pollsVoteLocalService) {
37 _pollsVoteLocalService = pollsVoteLocalService;
38 }
39
40 public com.liferay.portlet.polls.model.PollsVote addPollsVote(
41 com.liferay.portlet.polls.model.PollsVote pollsVote)
42 throws com.liferay.portal.kernel.exception.SystemException {
43 return _pollsVoteLocalService.addPollsVote(pollsVote);
44 }
45
46 public com.liferay.portlet.polls.model.PollsVote createPollsVote(
47 long voteId) {
48 return _pollsVoteLocalService.createPollsVote(voteId);
49 }
50
51 public void deletePollsVote(long voteId)
52 throws com.liferay.portal.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException {
54 _pollsVoteLocalService.deletePollsVote(voteId);
55 }
56
57 public void deletePollsVote(
58 com.liferay.portlet.polls.model.PollsVote pollsVote)
59 throws com.liferay.portal.kernel.exception.SystemException {
60 _pollsVoteLocalService.deletePollsVote(pollsVote);
61 }
62
63 public java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.kernel.exception.SystemException {
66 return _pollsVoteLocalService.dynamicQuery(dynamicQuery);
67 }
68
69 public java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.kernel.exception.SystemException {
72 return _pollsVoteLocalService.dynamicQuery(dynamicQuery, start, end);
73 }
74
75 public java.util.List<Object> dynamicQuery(
76 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77 int end,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.kernel.exception.SystemException {
80 return _pollsVoteLocalService.dynamicQuery(dynamicQuery, start, end,
81 orderByComparator);
82 }
83
84 public int dynamicQueryCount(
85 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86 throws com.liferay.portal.kernel.exception.SystemException {
87 return _pollsVoteLocalService.dynamicQueryCount(dynamicQuery);
88 }
89
90 public com.liferay.portlet.polls.model.PollsVote getPollsVote(long voteId)
91 throws com.liferay.portal.kernel.exception.PortalException,
92 com.liferay.portal.kernel.exception.SystemException {
93 return _pollsVoteLocalService.getPollsVote(voteId);
94 }
95
96 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getPollsVotes(
97 int start, int end)
98 throws com.liferay.portal.kernel.exception.SystemException {
99 return _pollsVoteLocalService.getPollsVotes(start, end);
100 }
101
102 public int getPollsVotesCount()
103 throws com.liferay.portal.kernel.exception.SystemException {
104 return _pollsVoteLocalService.getPollsVotesCount();
105 }
106
107 public com.liferay.portlet.polls.model.PollsVote updatePollsVote(
108 com.liferay.portlet.polls.model.PollsVote pollsVote)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return _pollsVoteLocalService.updatePollsVote(pollsVote);
111 }
112
113 public com.liferay.portlet.polls.model.PollsVote updatePollsVote(
114 com.liferay.portlet.polls.model.PollsVote pollsVote, boolean merge)
115 throws com.liferay.portal.kernel.exception.SystemException {
116 return _pollsVoteLocalService.updatePollsVote(pollsVote, merge);
117 }
118
119 public com.liferay.portlet.polls.model.PollsVote addVote(long userId,
120 long questionId, long choiceId,
121 com.liferay.portal.service.ServiceContext serviceContext)
122 throws com.liferay.portal.kernel.exception.PortalException,
123 com.liferay.portal.kernel.exception.SystemException {
124 return _pollsVoteLocalService.addVote(userId, questionId, choiceId,
125 serviceContext);
126 }
127
128 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getChoiceVotes(
129 long choiceId, int start, int end)
130 throws com.liferay.portal.kernel.exception.SystemException {
131 return _pollsVoteLocalService.getChoiceVotes(choiceId, start, end);
132 }
133
134 public int getChoiceVotesCount(long choiceId)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 return _pollsVoteLocalService.getChoiceVotesCount(choiceId);
137 }
138
139 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getQuestionVotes(
140 long questionId, int start, int end)
141 throws com.liferay.portal.kernel.exception.SystemException {
142 return _pollsVoteLocalService.getQuestionVotes(questionId, start, end);
143 }
144
145 public int getQuestionVotesCount(long questionId)
146 throws com.liferay.portal.kernel.exception.SystemException {
147 return _pollsVoteLocalService.getQuestionVotesCount(questionId);
148 }
149
150 public com.liferay.portlet.polls.model.PollsVote getVote(long questionId,
151 long userId)
152 throws com.liferay.portal.kernel.exception.PortalException,
153 com.liferay.portal.kernel.exception.SystemException {
154 return _pollsVoteLocalService.getVote(questionId, userId);
155 }
156
157 public PollsVoteLocalService getWrappedPollsVoteLocalService() {
158 return _pollsVoteLocalService;
159 }
160
161 private PollsVoteLocalService _pollsVoteLocalService;
162 }