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 com.liferay.portlet.polls.model.PollsVote getPollsVote(long voteId)
76 throws com.liferay.portal.PortalException,
77 com.liferay.portal.SystemException {
78 return _pollsVoteLocalService.getPollsVote(voteId);
79 }
80
81 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getPollsVotes(
82 int start, int end) throws com.liferay.portal.SystemException {
83 return _pollsVoteLocalService.getPollsVotes(start, end);
84 }
85
86 public int getPollsVotesCount() throws com.liferay.portal.SystemException {
87 return _pollsVoteLocalService.getPollsVotesCount();
88 }
89
90 public com.liferay.portlet.polls.model.PollsVote updatePollsVote(
91 com.liferay.portlet.polls.model.PollsVote pollsVote)
92 throws com.liferay.portal.SystemException {
93 return _pollsVoteLocalService.updatePollsVote(pollsVote);
94 }
95
96 public com.liferay.portlet.polls.model.PollsVote updatePollsVote(
97 com.liferay.portlet.polls.model.PollsVote pollsVote, boolean merge)
98 throws com.liferay.portal.SystemException {
99 return _pollsVoteLocalService.updatePollsVote(pollsVote, merge);
100 }
101
102 public com.liferay.portlet.polls.model.PollsVote addVote(long userId,
103 long questionId, long choiceId)
104 throws com.liferay.portal.PortalException,
105 com.liferay.portal.SystemException {
106 return _pollsVoteLocalService.addVote(userId, questionId, choiceId);
107 }
108
109 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getChoiceVotes(
110 long choiceId, int start, int end)
111 throws com.liferay.portal.SystemException {
112 return _pollsVoteLocalService.getChoiceVotes(choiceId, start, end);
113 }
114
115 public int getChoiceVotesCount(long choiceId)
116 throws com.liferay.portal.SystemException {
117 return _pollsVoteLocalService.getChoiceVotesCount(choiceId);
118 }
119
120 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getQuestionVotes(
121 long questionId, int start, int end)
122 throws com.liferay.portal.SystemException {
123 return _pollsVoteLocalService.getQuestionVotes(questionId, start, end);
124 }
125
126 public int getQuestionVotesCount(long questionId)
127 throws com.liferay.portal.SystemException {
128 return _pollsVoteLocalService.getQuestionVotesCount(questionId);
129 }
130
131 public com.liferay.portlet.polls.model.PollsVote getVote(long questionId,
132 long userId)
133 throws com.liferay.portal.PortalException,
134 com.liferay.portal.SystemException {
135 return _pollsVoteLocalService.getVote(questionId, userId);
136 }
137
138 public PollsVoteLocalService getWrappedPollsVoteLocalService() {
139 return _pollsVoteLocalService;
140 }
141
142 private PollsVoteLocalService _pollsVoteLocalService;
143 }