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.portlet.ratings.service;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link RatingsEntryLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       RatingsEntryLocalService
025     * @generated
026     */
027    public class RatingsEntryLocalServiceWrapper implements RatingsEntryLocalService {
028            public RatingsEntryLocalServiceWrapper(
029                    RatingsEntryLocalService ratingsEntryLocalService) {
030                    _ratingsEntryLocalService = ratingsEntryLocalService;
031            }
032    
033            public com.liferay.portlet.ratings.model.RatingsEntry addRatingsEntry(
034                    com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _ratingsEntryLocalService.addRatingsEntry(ratingsEntry);
037            }
038    
039            public com.liferay.portlet.ratings.model.RatingsEntry createRatingsEntry(
040                    long entryId) {
041                    return _ratingsEntryLocalService.createRatingsEntry(entryId);
042            }
043    
044            public void deleteRatingsEntry(long entryId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _ratingsEntryLocalService.deleteRatingsEntry(entryId);
048            }
049    
050            public void deleteRatingsEntry(
051                    com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    _ratingsEntryLocalService.deleteRatingsEntry(ratingsEntry);
054            }
055    
056            @SuppressWarnings("unchecked")
057            public java.util.List dynamicQuery(
058                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _ratingsEntryLocalService.dynamicQuery(dynamicQuery);
061            }
062    
063            @SuppressWarnings("unchecked")
064            public java.util.List dynamicQuery(
065                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066                    int end) throws com.liferay.portal.kernel.exception.SystemException {
067                    return _ratingsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
068            }
069    
070            @SuppressWarnings("unchecked")
071            public java.util.List dynamicQuery(
072                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
073                    int end,
074                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075                    throws com.liferay.portal.kernel.exception.SystemException {
076                    return _ratingsEntryLocalService.dynamicQuery(dynamicQuery, start, end,
077                            orderByComparator);
078            }
079    
080            public long dynamicQueryCount(
081                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
082                    throws com.liferay.portal.kernel.exception.SystemException {
083                    return _ratingsEntryLocalService.dynamicQueryCount(dynamicQuery);
084            }
085    
086            public com.liferay.portlet.ratings.model.RatingsEntry getRatingsEntry(
087                    long entryId)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    return _ratingsEntryLocalService.getRatingsEntry(entryId);
091            }
092    
093            public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getRatingsEntries(
094                    int start, int end)
095                    throws com.liferay.portal.kernel.exception.SystemException {
096                    return _ratingsEntryLocalService.getRatingsEntries(start, end);
097            }
098    
099            public int getRatingsEntriesCount()
100                    throws com.liferay.portal.kernel.exception.SystemException {
101                    return _ratingsEntryLocalService.getRatingsEntriesCount();
102            }
103    
104            public com.liferay.portlet.ratings.model.RatingsEntry updateRatingsEntry(
105                    com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
106                    throws com.liferay.portal.kernel.exception.SystemException {
107                    return _ratingsEntryLocalService.updateRatingsEntry(ratingsEntry);
108            }
109    
110            public com.liferay.portlet.ratings.model.RatingsEntry updateRatingsEntry(
111                    com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry,
112                    boolean merge)
113                    throws com.liferay.portal.kernel.exception.SystemException {
114                    return _ratingsEntryLocalService.updateRatingsEntry(ratingsEntry, merge);
115            }
116    
117            public void deleteEntry(long userId, java.lang.String className,
118                    long classPK)
119                    throws com.liferay.portal.kernel.exception.PortalException,
120                            com.liferay.portal.kernel.exception.SystemException {
121                    _ratingsEntryLocalService.deleteEntry(userId, className, classPK);
122            }
123    
124            public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
125                    long userId, java.lang.String className,
126                    java.util.List<java.lang.Long> classPKs)
127                    throws com.liferay.portal.kernel.exception.SystemException {
128                    return _ratingsEntryLocalService.getEntries(userId, className, classPKs);
129            }
130    
131            public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
132                    java.lang.String className, long classPK)
133                    throws com.liferay.portal.kernel.exception.SystemException {
134                    return _ratingsEntryLocalService.getEntries(className, classPK);
135            }
136    
137            public com.liferay.portlet.ratings.model.RatingsEntry getEntry(
138                    long userId, java.lang.String className, long classPK)
139                    throws com.liferay.portal.kernel.exception.PortalException,
140                            com.liferay.portal.kernel.exception.SystemException {
141                    return _ratingsEntryLocalService.getEntry(userId, className, classPK);
142            }
143    
144            public com.liferay.portlet.ratings.model.RatingsEntry updateEntry(
145                    long userId, java.lang.String className, long classPK, double score,
146                    com.liferay.portal.service.ServiceContext serviceContext)
147                    throws com.liferay.portal.kernel.exception.PortalException,
148                            com.liferay.portal.kernel.exception.SystemException {
149                    return _ratingsEntryLocalService.updateEntry(userId, className,
150                            classPK, score, serviceContext);
151            }
152    
153            public RatingsEntryLocalService getWrappedRatingsEntryLocalService() {
154                    return _ratingsEntryLocalService;
155            }
156    
157            private RatingsEntryLocalService _ratingsEntryLocalService;
158    }