1
14
15 package com.liferay.counter.service;
16
17
18
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 }