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.kernel.exception.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.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException {
54 _pollsChoiceLocalService.deletePollsChoice(choiceId);
55 }
56
57 public void deletePollsChoice(
58 com.liferay.portlet.polls.model.PollsChoice pollsChoice)
59 throws com.liferay.portal.kernel.exception.SystemException {
60 _pollsChoiceLocalService.deletePollsChoice(pollsChoice);
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 _pollsChoiceLocalService.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 _pollsChoiceLocalService.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 _pollsChoiceLocalService.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 _pollsChoiceLocalService.dynamicQueryCount(dynamicQuery);
91 }
92
93 public com.liferay.portlet.polls.model.PollsChoice getPollsChoice(
94 long choiceId)
95 throws com.liferay.portal.kernel.exception.PortalException,
96 com.liferay.portal.kernel.exception.SystemException {
97 return _pollsChoiceLocalService.getPollsChoice(choiceId);
98 }
99
100 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getPollsChoices(
101 int start, int end)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _pollsChoiceLocalService.getPollsChoices(start, end);
104 }
105
106 public int getPollsChoicesCount()
107 throws com.liferay.portal.kernel.exception.SystemException {
108 return _pollsChoiceLocalService.getPollsChoicesCount();
109 }
110
111 public com.liferay.portlet.polls.model.PollsChoice updatePollsChoice(
112 com.liferay.portlet.polls.model.PollsChoice pollsChoice)
113 throws com.liferay.portal.kernel.exception.SystemException {
114 return _pollsChoiceLocalService.updatePollsChoice(pollsChoice);
115 }
116
117 public com.liferay.portlet.polls.model.PollsChoice updatePollsChoice(
118 com.liferay.portlet.polls.model.PollsChoice pollsChoice, boolean merge)
119 throws com.liferay.portal.kernel.exception.SystemException {
120 return _pollsChoiceLocalService.updatePollsChoice(pollsChoice, merge);
121 }
122
123 public com.liferay.portlet.polls.model.PollsChoice addChoice(
124 java.lang.String uuid, long questionId, java.lang.String name,
125 java.lang.String description)
126 throws com.liferay.portal.kernel.exception.PortalException,
127 com.liferay.portal.kernel.exception.SystemException {
128 return _pollsChoiceLocalService.addChoice(uuid, questionId, name,
129 description);
130 }
131
132 public com.liferay.portlet.polls.model.PollsChoice getChoice(long choiceId)
133 throws com.liferay.portal.kernel.exception.PortalException,
134 com.liferay.portal.kernel.exception.SystemException {
135 return _pollsChoiceLocalService.getChoice(choiceId);
136 }
137
138 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices(
139 long questionId)
140 throws com.liferay.portal.kernel.exception.SystemException {
141 return _pollsChoiceLocalService.getChoices(questionId);
142 }
143
144 public int getChoicesCount(long questionId)
145 throws com.liferay.portal.kernel.exception.SystemException {
146 return _pollsChoiceLocalService.getChoicesCount(questionId);
147 }
148
149 public com.liferay.portlet.polls.model.PollsChoice updateChoice(
150 long choiceId, long questionId, java.lang.String name,
151 java.lang.String description)
152 throws com.liferay.portal.kernel.exception.PortalException,
153 com.liferay.portal.kernel.exception.SystemException {
154 return _pollsChoiceLocalService.updateChoice(choiceId, questionId,
155 name, description);
156 }
157
158 public PollsChoiceLocalService getWrappedPollsChoiceLocalService() {
159 return _pollsChoiceLocalService;
160 }
161
162 private PollsChoiceLocalService _pollsChoiceLocalService;
163 }