001
014
015 package com.liferay.counter.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class CounterLocalServiceWrapper implements CounterLocalService,
029 ServiceWrapper<CounterLocalService> {
030 public CounterLocalServiceWrapper(CounterLocalService counterLocalService) {
031 _counterLocalService = counterLocalService;
032 }
033
034
041 public com.liferay.counter.model.Counter addCounter(
042 com.liferay.counter.model.Counter counter)
043 throws com.liferay.portal.kernel.exception.SystemException {
044 return _counterLocalService.addCounter(counter);
045 }
046
047
053 public com.liferay.counter.model.Counter createCounter(
054 java.lang.String name) {
055 return _counterLocalService.createCounter(name);
056 }
057
058
066 public com.liferay.counter.model.Counter deleteCounter(
067 java.lang.String name)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException {
070 return _counterLocalService.deleteCounter(name);
071 }
072
073
080 public com.liferay.counter.model.Counter deleteCounter(
081 com.liferay.counter.model.Counter counter)
082 throws com.liferay.portal.kernel.exception.SystemException {
083 return _counterLocalService.deleteCounter(counter);
084 }
085
086 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
087 return _counterLocalService.dynamicQuery();
088 }
089
090
097 @SuppressWarnings("rawtypes")
098 public java.util.List dynamicQuery(
099 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return _counterLocalService.dynamicQuery(dynamicQuery);
102 }
103
104
117 @SuppressWarnings("rawtypes")
118 public java.util.List dynamicQuery(
119 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
120 int end) throws com.liferay.portal.kernel.exception.SystemException {
121 return _counterLocalService.dynamicQuery(dynamicQuery, start, end);
122 }
123
124
138 @SuppressWarnings("rawtypes")
139 public java.util.List dynamicQuery(
140 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
141 int end,
142 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143 throws com.liferay.portal.kernel.exception.SystemException {
144 return _counterLocalService.dynamicQuery(dynamicQuery, start, end,
145 orderByComparator);
146 }
147
148
155 public long dynamicQueryCount(
156 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return _counterLocalService.dynamicQueryCount(dynamicQuery);
159 }
160
161 public com.liferay.counter.model.Counter fetchCounter(java.lang.String name)
162 throws com.liferay.portal.kernel.exception.SystemException {
163 return _counterLocalService.fetchCounter(name);
164 }
165
166
174 public com.liferay.counter.model.Counter getCounter(java.lang.String name)
175 throws com.liferay.portal.kernel.exception.PortalException,
176 com.liferay.portal.kernel.exception.SystemException {
177 return _counterLocalService.getCounter(name);
178 }
179
180 public com.liferay.portal.model.PersistedModel getPersistedModel(
181 java.io.Serializable primaryKeyObj)
182 throws com.liferay.portal.kernel.exception.PortalException,
183 com.liferay.portal.kernel.exception.SystemException {
184 return _counterLocalService.getPersistedModel(primaryKeyObj);
185 }
186
187
199 public java.util.List<com.liferay.counter.model.Counter> getCounters(
200 int start, int end)
201 throws com.liferay.portal.kernel.exception.SystemException {
202 return _counterLocalService.getCounters(start, end);
203 }
204
205
211 public int getCountersCount()
212 throws com.liferay.portal.kernel.exception.SystemException {
213 return _counterLocalService.getCountersCount();
214 }
215
216
223 public com.liferay.counter.model.Counter updateCounter(
224 com.liferay.counter.model.Counter counter)
225 throws com.liferay.portal.kernel.exception.SystemException {
226 return _counterLocalService.updateCounter(counter);
227 }
228
229
237 public com.liferay.counter.model.Counter updateCounter(
238 com.liferay.counter.model.Counter counter, boolean merge)
239 throws com.liferay.portal.kernel.exception.SystemException {
240 return _counterLocalService.updateCounter(counter, merge);
241 }
242
243
248 public java.lang.String getBeanIdentifier() {
249 return _counterLocalService.getBeanIdentifier();
250 }
251
252
257 public void setBeanIdentifier(java.lang.String beanIdentifier) {
258 _counterLocalService.setBeanIdentifier(beanIdentifier);
259 }
260
261 public java.util.List<java.lang.String> getNames()
262 throws com.liferay.portal.kernel.exception.SystemException {
263 return _counterLocalService.getNames();
264 }
265
266 public long increment()
267 throws com.liferay.portal.kernel.exception.SystemException {
268 return _counterLocalService.increment();
269 }
270
271 public long increment(java.lang.String name)
272 throws com.liferay.portal.kernel.exception.SystemException {
273 return _counterLocalService.increment(name);
274 }
275
276 public long increment(java.lang.String name, int size)
277 throws com.liferay.portal.kernel.exception.SystemException {
278 return _counterLocalService.increment(name, size);
279 }
280
281 public void rename(java.lang.String oldName, java.lang.String newName)
282 throws com.liferay.portal.kernel.exception.SystemException {
283 _counterLocalService.rename(oldName, newName);
284 }
285
286 public void reset(java.lang.String name)
287 throws com.liferay.portal.kernel.exception.SystemException {
288 _counterLocalService.reset(name);
289 }
290
291 public void reset(java.lang.String name, long size)
292 throws com.liferay.portal.kernel.exception.SystemException {
293 _counterLocalService.reset(name, size);
294 }
295
296
299 public CounterLocalService getWrappedCounterLocalService() {
300 return _counterLocalService;
301 }
302
303
306 public void setWrappedCounterLocalService(
307 CounterLocalService counterLocalService) {
308 _counterLocalService = counterLocalService;
309 }
310
311 public CounterLocalService getWrappedService() {
312 return _counterLocalService;
313 }
314
315 public void setWrappedService(CounterLocalService counterLocalService) {
316 _counterLocalService = counterLocalService;
317 }
318
319 private CounterLocalService _counterLocalService;
320 }