1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.counter.service;
16  
17  
18  /**
19   * <a href="CounterLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link CounterLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       CounterLocalService
32   * @generated
33   */
34  public class CounterLocalServiceWrapper implements CounterLocalService {
35      public CounterLocalServiceWrapper(CounterLocalService counterLocalService) {
36          _counterLocalService = counterLocalService;
37      }
38  
39      public com.liferay.counter.model.Counter addCounter(
40          com.liferay.counter.model.Counter counter)
41          throws com.liferay.portal.kernel.exception.SystemException {
42          return _counterLocalService.addCounter(counter);
43      }
44  
45      public com.liferay.counter.model.Counter createCounter(
46          java.lang.String name) {
47          return _counterLocalService.createCounter(name);
48      }
49  
50      public void deleteCounter(java.lang.String name)
51          throws com.liferay.portal.kernel.exception.PortalException,
52              com.liferay.portal.kernel.exception.SystemException {
53          _counterLocalService.deleteCounter(name);
54      }
55  
56      public void deleteCounter(com.liferay.counter.model.Counter counter)
57          throws com.liferay.portal.kernel.exception.SystemException {
58          _counterLocalService.deleteCounter(counter);
59      }
60  
61      @SuppressWarnings("unchecked")
62      public java.util.List dynamicQuery(
63          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
64          throws com.liferay.portal.kernel.exception.SystemException {
65          return _counterLocalService.dynamicQuery(dynamicQuery);
66      }
67  
68      @SuppressWarnings("unchecked")
69      public java.util.List dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.kernel.exception.SystemException {
72          return _counterLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      @SuppressWarnings("unchecked")
76      public java.util.List dynamicQuery(
77          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78          int end,
79          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
80          throws com.liferay.portal.kernel.exception.SystemException {
81          return _counterLocalService.dynamicQuery(dynamicQuery, start, end,
82              orderByComparator);
83      }
84  
85      public long dynamicQueryCount(
86          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
87          throws com.liferay.portal.kernel.exception.SystemException {
88          return _counterLocalService.dynamicQueryCount(dynamicQuery);
89      }
90  
91      public com.liferay.counter.model.Counter getCounter(java.lang.String name)
92          throws com.liferay.portal.kernel.exception.PortalException,
93              com.liferay.portal.kernel.exception.SystemException {
94          return _counterLocalService.getCounter(name);
95      }
96  
97      public java.util.List<com.liferay.counter.model.Counter> getCounters(
98          int start, int end)
99          throws com.liferay.portal.kernel.exception.SystemException {
100         return _counterLocalService.getCounters(start, end);
101     }
102 
103     public int getCountersCount()
104         throws com.liferay.portal.kernel.exception.SystemException {
105         return _counterLocalService.getCountersCount();
106     }
107 
108     public com.liferay.counter.model.Counter updateCounter(
109         com.liferay.counter.model.Counter counter)
110         throws com.liferay.portal.kernel.exception.SystemException {
111         return _counterLocalService.updateCounter(counter);
112     }
113 
114     public com.liferay.counter.model.Counter updateCounter(
115         com.liferay.counter.model.Counter counter, boolean merge)
116         throws com.liferay.portal.kernel.exception.SystemException {
117         return _counterLocalService.updateCounter(counter, merge);
118     }
119 
120     public java.util.List<java.lang.String> getNames()
121         throws com.liferay.portal.kernel.exception.SystemException {
122         return _counterLocalService.getNames();
123     }
124 
125     public long increment()
126         throws com.liferay.portal.kernel.exception.SystemException {
127         return _counterLocalService.increment();
128     }
129 
130     public long increment(java.lang.String name)
131         throws com.liferay.portal.kernel.exception.SystemException {
132         return _counterLocalService.increment(name);
133     }
134 
135     public long increment(java.lang.String name, int size)
136         throws com.liferay.portal.kernel.exception.SystemException {
137         return _counterLocalService.increment(name, size);
138     }
139 
140     public void rename(java.lang.String oldName, java.lang.String newName)
141         throws com.liferay.portal.kernel.exception.SystemException {
142         _counterLocalService.rename(oldName, newName);
143     }
144 
145     public void reset(java.lang.String name)
146         throws com.liferay.portal.kernel.exception.SystemException {
147         _counterLocalService.reset(name);
148     }
149 
150     public void reset(java.lang.String name, long size)
151         throws com.liferay.portal.kernel.exception.SystemException {
152         _counterLocalService.reset(name, size);
153     }
154 
155     public CounterLocalService getWrappedCounterLocalService() {
156         return _counterLocalService;
157     }
158 
159     private CounterLocalService _counterLocalService;
160 }