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.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.PortalException,
53 com.liferay.portal.SystemException {
54 _pollsVoteLocalService.deletePollsVote(voteId);
55 }
56
57 public void deletePollsVote(
58 com.liferay.portlet.polls.model.PollsVote pollsVote)
59 throws com.liferay.portal.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.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.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.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.SystemException {
87 return _pollsVoteLocalService.dynamicQueryCount(dynamicQuery);
88 }
89
90 public com.liferay.portlet.polls.model.PollsVote getPollsVote(long voteId)
91 throws com.liferay.portal.PortalException,
92 com.liferay.portal.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) throws com.liferay.portal.SystemException {
98 return _pollsVoteLocalService.getPollsVotes(start, end);
99 }
100
101 public int getPollsVotesCount() throws com.liferay.portal.SystemException {
102 return _pollsVoteLocalService.getPollsVotesCount();
103 }
104
105 public com.liferay.portlet.polls.model.PollsVote updatePollsVote(
106 com.liferay.portlet.polls.model.PollsVote pollsVote)
107 throws com.liferay.portal.SystemException {
108 return _pollsVoteLocalService.updatePollsVote(pollsVote);
109 }
110
111 public com.liferay.portlet.polls.model.PollsVote updatePollsVote(
112 com.liferay.portlet.polls.model.PollsVote pollsVote, boolean merge)
113 throws com.liferay.portal.SystemException {
114 return _pollsVoteLocalService.updatePollsVote(pollsVote, merge);
115 }
116
117 public com.liferay.portlet.polls.model.PollsVote addVote(long userId,
118 long questionId, long choiceId)
119 throws com.liferay.portal.PortalException,
120 com.liferay.portal.SystemException {
121 return _pollsVoteLocalService.addVote(userId, questionId, choiceId);
122 }
123
124 public com.liferay.portlet.polls.model.PollsVote addVote(long userId,
125 long questionId, long choiceId,
126 com.liferay.portal.service.ServiceContext serviceContext)
127 throws com.liferay.portal.PortalException,
128 com.liferay.portal.SystemException {
129 return _pollsVoteLocalService.addVote(userId, questionId, choiceId,
130 serviceContext);
131 }
132
133 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getChoiceVotes(
134 long choiceId, int start, int end)
135 throws com.liferay.portal.SystemException {
136 return _pollsVoteLocalService.getChoiceVotes(choiceId, start, end);
137 }
138
139 public int getChoiceVotesCount(long choiceId)
140 throws com.liferay.portal.SystemException {
141 return _pollsVoteLocalService.getChoiceVotesCount(choiceId);
142 }
143
144 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getQuestionVotes(
145 long questionId, int start, int end)
146 throws com.liferay.portal.SystemException {
147 return _pollsVoteLocalService.getQuestionVotes(questionId, start, end);
148 }
149
150 public int getQuestionVotesCount(long questionId)
151 throws com.liferay.portal.SystemException {
152 return _pollsVoteLocalService.getQuestionVotesCount(questionId);
153 }
154
155 public com.liferay.portlet.polls.model.PollsVote getVote(long questionId,
156 long userId)
157 throws com.liferay.portal.PortalException,
158 com.liferay.portal.SystemException {
159 return _pollsVoteLocalService.getVote(questionId, userId);
160 }
161
162 public PollsVoteLocalService getWrappedPollsVoteLocalService() {
163 return _pollsVoteLocalService;
164 }
165
166 private PollsVoteLocalService _pollsVoteLocalService;
167 }