001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.counter.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link CounterLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       CounterLocalService
024     * @generated
025     */
026    public class CounterLocalServiceWrapper implements CounterLocalService {
027            public CounterLocalServiceWrapper(CounterLocalService counterLocalService) {
028                    _counterLocalService = counterLocalService;
029            }
030    
031            public com.liferay.counter.model.Counter addCounter(
032                    com.liferay.counter.model.Counter counter)
033                    throws com.liferay.portal.kernel.exception.SystemException {
034                    return _counterLocalService.addCounter(counter);
035            }
036    
037            public com.liferay.counter.model.Counter createCounter(
038                    java.lang.String name) {
039                    return _counterLocalService.createCounter(name);
040            }
041    
042            public void deleteCounter(java.lang.String name)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _counterLocalService.deleteCounter(name);
046            }
047    
048            public void deleteCounter(com.liferay.counter.model.Counter counter)
049                    throws com.liferay.portal.kernel.exception.SystemException {
050                    _counterLocalService.deleteCounter(counter);
051            }
052    
053            @SuppressWarnings("unchecked")
054            public java.util.List dynamicQuery(
055                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
056                    throws com.liferay.portal.kernel.exception.SystemException {
057                    return _counterLocalService.dynamicQuery(dynamicQuery);
058            }
059    
060            @SuppressWarnings("unchecked")
061            public java.util.List dynamicQuery(
062                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
063                    int end) throws com.liferay.portal.kernel.exception.SystemException {
064                    return _counterLocalService.dynamicQuery(dynamicQuery, start, end);
065            }
066    
067            @SuppressWarnings("unchecked")
068            public java.util.List dynamicQuery(
069                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
070                    int end,
071                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072                    throws com.liferay.portal.kernel.exception.SystemException {
073                    return _counterLocalService.dynamicQuery(dynamicQuery, start, end,
074                            orderByComparator);
075            }
076    
077            public long dynamicQueryCount(
078                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
079                    throws com.liferay.portal.kernel.exception.SystemException {
080                    return _counterLocalService.dynamicQueryCount(dynamicQuery);
081            }
082    
083            public com.liferay.counter.model.Counter getCounter(java.lang.String name)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _counterLocalService.getCounter(name);
087            }
088    
089            public java.util.List<com.liferay.counter.model.Counter> getCounters(
090                    int start, int end)
091                    throws com.liferay.portal.kernel.exception.SystemException {
092                    return _counterLocalService.getCounters(start, end);
093            }
094    
095            public int getCountersCount()
096                    throws com.liferay.portal.kernel.exception.SystemException {
097                    return _counterLocalService.getCountersCount();
098            }
099    
100            public com.liferay.counter.model.Counter updateCounter(
101                    com.liferay.counter.model.Counter counter)
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _counterLocalService.updateCounter(counter);
104            }
105    
106            public com.liferay.counter.model.Counter updateCounter(
107                    com.liferay.counter.model.Counter counter, boolean merge)
108                    throws com.liferay.portal.kernel.exception.SystemException {
109                    return _counterLocalService.updateCounter(counter, merge);
110            }
111    
112            public java.util.List<java.lang.String> getNames()
113                    throws com.liferay.portal.kernel.exception.SystemException {
114                    return _counterLocalService.getNames();
115            }
116    
117            public long increment()
118                    throws com.liferay.portal.kernel.exception.SystemException {
119                    return _counterLocalService.increment();
120            }
121    
122            public long increment(java.lang.String name)
123                    throws com.liferay.portal.kernel.exception.SystemException {
124                    return _counterLocalService.increment(name);
125            }
126    
127            public long increment(java.lang.String name, int size)
128                    throws com.liferay.portal.kernel.exception.SystemException {
129                    return _counterLocalService.increment(name, size);
130            }
131    
132            public void rename(java.lang.String oldName, java.lang.String newName)
133                    throws com.liferay.portal.kernel.exception.SystemException {
134                    _counterLocalService.rename(oldName, newName);
135            }
136    
137            public void reset(java.lang.String name)
138                    throws com.liferay.portal.kernel.exception.SystemException {
139                    _counterLocalService.reset(name);
140            }
141    
142            public void reset(java.lang.String name, long size)
143                    throws com.liferay.portal.kernel.exception.SystemException {
144                    _counterLocalService.reset(name, size);
145            }
146    
147            public CounterLocalService getWrappedCounterLocalService() {
148                    return _counterLocalService;
149            }
150    
151            private CounterLocalService _counterLocalService;
152    }