1
14
15 package com.liferay.portlet.polls.service;
16
17
18
34 public class PollsChoiceLocalServiceWrapper implements PollsChoiceLocalService {
35 public PollsChoiceLocalServiceWrapper(
36 PollsChoiceLocalService pollsChoiceLocalService) {
37 _pollsChoiceLocalService = pollsChoiceLocalService;
38 }
39
40 public com.liferay.portlet.polls.model.PollsChoice addPollsChoice(
41 com.liferay.portlet.polls.model.PollsChoice pollsChoice)
42 throws com.liferay.portal.SystemException {
43 return _pollsChoiceLocalService.addPollsChoice(pollsChoice);
44 }
45
46 public com.liferay.portlet.polls.model.PollsChoice createPollsChoice(
47 long choiceId) {
48 return _pollsChoiceLocalService.createPollsChoice(choiceId);
49 }
50
51 public void deletePollsChoice(long choiceId)
52 throws com.liferay.portal.PortalException,
53 com.liferay.portal.SystemException {
54 _pollsChoiceLocalService.deletePollsChoice(choiceId);
55 }
56
57 public void deletePollsChoice(
58 com.liferay.portlet.polls.model.PollsChoice pollsChoice)
59 throws com.liferay.portal.SystemException {
60 _pollsChoiceLocalService.deletePollsChoice(pollsChoice);
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 _pollsChoiceLocalService.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 _pollsChoiceLocalService.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 _pollsChoiceLocalService.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 _pollsChoiceLocalService.dynamicQueryCount(dynamicQuery);
88 }
89
90 public com.liferay.portlet.polls.model.PollsChoice getPollsChoice(
91 long choiceId)
92 throws com.liferay.portal.PortalException,
93 com.liferay.portal.SystemException {
94 return _pollsChoiceLocalService.getPollsChoice(choiceId);
95 }
96
97 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getPollsChoices(
98 int start, int end) throws com.liferay.portal.SystemException {
99 return _pollsChoiceLocalService.getPollsChoices(start, end);
100 }
101
102 public int getPollsChoicesCount() throws com.liferay.portal.SystemException {
103 return _pollsChoiceLocalService.getPollsChoicesCount();
104 }
105
106 public com.liferay.portlet.polls.model.PollsChoice updatePollsChoice(
107 com.liferay.portlet.polls.model.PollsChoice pollsChoice)
108 throws com.liferay.portal.SystemException {
109 return _pollsChoiceLocalService.updatePollsChoice(pollsChoice);
110 }
111
112 public com.liferay.portlet.polls.model.PollsChoice updatePollsChoice(
113 com.liferay.portlet.polls.model.PollsChoice pollsChoice, boolean merge)
114 throws com.liferay.portal.SystemException {
115 return _pollsChoiceLocalService.updatePollsChoice(pollsChoice, merge);
116 }
117
118 public com.liferay.portlet.polls.model.PollsChoice addChoice(
119 long questionId, java.lang.String name, java.lang.String description)
120 throws com.liferay.portal.PortalException,
121 com.liferay.portal.SystemException {
122 return _pollsChoiceLocalService.addChoice(questionId, name, description);
123 }
124
125 public com.liferay.portlet.polls.model.PollsChoice addChoice(
126 java.lang.String uuid, long questionId, java.lang.String name,
127 java.lang.String description)
128 throws com.liferay.portal.PortalException,
129 com.liferay.portal.SystemException {
130 return _pollsChoiceLocalService.addChoice(uuid, questionId, name,
131 description);
132 }
133
134 public com.liferay.portlet.polls.model.PollsChoice getChoice(long choiceId)
135 throws com.liferay.portal.PortalException,
136 com.liferay.portal.SystemException {
137 return _pollsChoiceLocalService.getChoice(choiceId);
138 }
139
140 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices(
141 long questionId) throws com.liferay.portal.SystemException {
142 return _pollsChoiceLocalService.getChoices(questionId);
143 }
144
145 public int getChoicesCount(long questionId)
146 throws com.liferay.portal.SystemException {
147 return _pollsChoiceLocalService.getChoicesCount(questionId);
148 }
149
150 public com.liferay.portlet.polls.model.PollsChoice updateChoice(
151 long choiceId, long questionId, java.lang.String name,
152 java.lang.String description)
153 throws com.liferay.portal.PortalException,
154 com.liferay.portal.SystemException {
155 return _pollsChoiceLocalService.updateChoice(choiceId, questionId,
156 name, description);
157 }
158
159 public PollsChoiceLocalService getWrappedPollsChoiceLocalService() {
160 return _pollsChoiceLocalService;
161 }
162
163 private PollsChoiceLocalService _pollsChoiceLocalService;
164 }