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 @SuppressWarnings("unchecked")
64 public java.util.List dynamicQuery(
65 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66 throws com.liferay.portal.kernel.exception.SystemException {
67 return _pollsVoteLocalService.dynamicQuery(dynamicQuery);
68 }
69
70 @SuppressWarnings("unchecked")
71 public java.util.List dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73 int end) throws com.liferay.portal.kernel.exception.SystemException {
74 return _pollsVoteLocalService.dynamicQuery(dynamicQuery, start, end);
75 }
76
77 @SuppressWarnings("unchecked")
78 public java.util.List dynamicQuery(
79 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80 int end,
81 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82 throws com.liferay.portal.kernel.exception.SystemException {
83 return _pollsVoteLocalService.dynamicQuery(dynamicQuery, start, end,
84 orderByComparator);
85 }
86
87 public long dynamicQueryCount(
88 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
89 throws com.liferay.portal.kernel.exception.SystemException {
90 return _pollsVoteLocalService.dynamicQueryCount(dynamicQuery);
91 }
92
93 public com.liferay.portlet.polls.model.PollsVote getPollsVote(long voteId)
94 throws com.liferay.portal.kernel.exception.PortalException,
95 com.liferay.portal.kernel.exception.SystemException {
96 return _pollsVoteLocalService.getPollsVote(voteId);
97 }
98
99 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getPollsVotes(
100 int start, int end)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _pollsVoteLocalService.getPollsVotes(start, end);
103 }
104
105 public int getPollsVotesCount()
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return _pollsVoteLocalService.getPollsVotesCount();
108 }
109
110 public com.liferay.portlet.polls.model.PollsVote updatePollsVote(
111 com.liferay.portlet.polls.model.PollsVote pollsVote)
112 throws com.liferay.portal.kernel.exception.SystemException {
113 return _pollsVoteLocalService.updatePollsVote(pollsVote);
114 }
115
116 public com.liferay.portlet.polls.model.PollsVote updatePollsVote(
117 com.liferay.portlet.polls.model.PollsVote pollsVote, boolean merge)
118 throws com.liferay.portal.kernel.exception.SystemException {
119 return _pollsVoteLocalService.updatePollsVote(pollsVote, merge);
120 }
121
122 public com.liferay.portlet.polls.model.PollsVote addVote(long userId,
123 long questionId, long choiceId,
124 com.liferay.portal.service.ServiceContext serviceContext)
125 throws com.liferay.portal.kernel.exception.PortalException,
126 com.liferay.portal.kernel.exception.SystemException {
127 return _pollsVoteLocalService.addVote(userId, questionId, choiceId,
128 serviceContext);
129 }
130
131 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getChoiceVotes(
132 long choiceId, int start, int end)
133 throws com.liferay.portal.kernel.exception.SystemException {
134 return _pollsVoteLocalService.getChoiceVotes(choiceId, start, end);
135 }
136
137 public int getChoiceVotesCount(long choiceId)
138 throws com.liferay.portal.kernel.exception.SystemException {
139 return _pollsVoteLocalService.getChoiceVotesCount(choiceId);
140 }
141
142 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getQuestionVotes(
143 long questionId, int start, int end)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _pollsVoteLocalService.getQuestionVotes(questionId, start, end);
146 }
147
148 public int getQuestionVotesCount(long questionId)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return _pollsVoteLocalService.getQuestionVotesCount(questionId);
151 }
152
153 public com.liferay.portlet.polls.model.PollsVote getVote(long questionId,
154 long userId)
155 throws com.liferay.portal.kernel.exception.PortalException,
156 com.liferay.portal.kernel.exception.SystemException {
157 return _pollsVoteLocalService.getVote(questionId, userId);
158 }
159
160 public PollsVoteLocalService getWrappedPollsVoteLocalService() {
161 return _pollsVoteLocalService;
162 }
163
164 private PollsVoteLocalService _pollsVoteLocalService;
165 }