001
014
015 package com.liferay.counter.service;
016
017
018
027 public class CounterLocalServiceWrapper implements CounterLocalService {
028 public CounterLocalServiceWrapper(CounterLocalService counterLocalService) {
029 _counterLocalService = counterLocalService;
030 }
031
032 public com.liferay.counter.model.Counter addCounter(
033 com.liferay.counter.model.Counter counter)
034 throws com.liferay.portal.kernel.exception.SystemException {
035 return _counterLocalService.addCounter(counter);
036 }
037
038 public com.liferay.counter.model.Counter createCounter(
039 java.lang.String name) {
040 return _counterLocalService.createCounter(name);
041 }
042
043 public void deleteCounter(java.lang.String name)
044 throws com.liferay.portal.kernel.exception.PortalException,
045 com.liferay.portal.kernel.exception.SystemException {
046 _counterLocalService.deleteCounter(name);
047 }
048
049 public void deleteCounter(com.liferay.counter.model.Counter counter)
050 throws com.liferay.portal.kernel.exception.SystemException {
051 _counterLocalService.deleteCounter(counter);
052 }
053
054 @SuppressWarnings("unchecked")
055 public java.util.List dynamicQuery(
056 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
057 throws com.liferay.portal.kernel.exception.SystemException {
058 return _counterLocalService.dynamicQuery(dynamicQuery);
059 }
060
061 @SuppressWarnings("unchecked")
062 public java.util.List dynamicQuery(
063 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
064 int end) throws com.liferay.portal.kernel.exception.SystemException {
065 return _counterLocalService.dynamicQuery(dynamicQuery, start, end);
066 }
067
068 @SuppressWarnings("unchecked")
069 public java.util.List dynamicQuery(
070 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
071 int end,
072 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
073 throws com.liferay.portal.kernel.exception.SystemException {
074 return _counterLocalService.dynamicQuery(dynamicQuery, start, end,
075 orderByComparator);
076 }
077
078 public long dynamicQueryCount(
079 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 return _counterLocalService.dynamicQueryCount(dynamicQuery);
082 }
083
084 public com.liferay.counter.model.Counter getCounter(java.lang.String name)
085 throws com.liferay.portal.kernel.exception.PortalException,
086 com.liferay.portal.kernel.exception.SystemException {
087 return _counterLocalService.getCounter(name);
088 }
089
090 public java.util.List<com.liferay.counter.model.Counter> getCounters(
091 int start, int end)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _counterLocalService.getCounters(start, end);
094 }
095
096 public int getCountersCount()
097 throws com.liferay.portal.kernel.exception.SystemException {
098 return _counterLocalService.getCountersCount();
099 }
100
101 public com.liferay.counter.model.Counter updateCounter(
102 com.liferay.counter.model.Counter counter)
103 throws com.liferay.portal.kernel.exception.SystemException {
104 return _counterLocalService.updateCounter(counter);
105 }
106
107 public com.liferay.counter.model.Counter updateCounter(
108 com.liferay.counter.model.Counter counter, boolean merge)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return _counterLocalService.updateCounter(counter, merge);
111 }
112
113 public java.util.List<java.lang.String> getNames()
114 throws com.liferay.portal.kernel.exception.SystemException {
115 return _counterLocalService.getNames();
116 }
117
118 public long increment()
119 throws com.liferay.portal.kernel.exception.SystemException {
120 return _counterLocalService.increment();
121 }
122
123 public long increment(java.lang.String name)
124 throws com.liferay.portal.kernel.exception.SystemException {
125 return _counterLocalService.increment(name);
126 }
127
128 public long increment(java.lang.String name, int size)
129 throws com.liferay.portal.kernel.exception.SystemException {
130 return _counterLocalService.increment(name, size);
131 }
132
133 public void rename(java.lang.String oldName, java.lang.String newName)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 _counterLocalService.rename(oldName, newName);
136 }
137
138 public void reset(java.lang.String name)
139 throws com.liferay.portal.kernel.exception.SystemException {
140 _counterLocalService.reset(name);
141 }
142
143 public void reset(java.lang.String name, long size)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 _counterLocalService.reset(name, size);
146 }
147
148 public CounterLocalService getWrappedCounterLocalService() {
149 return _counterLocalService;
150 }
151
152 private CounterLocalService _counterLocalService;
153 }