1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.ratings.service;
16  
17  /**
18   * <a href="RatingsEntryLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link RatingsEntryLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       RatingsEntryLocalService
31   * @generated
32   */
33  public class RatingsEntryLocalServiceWrapper implements RatingsEntryLocalService {
34      public RatingsEntryLocalServiceWrapper(
35          RatingsEntryLocalService ratingsEntryLocalService) {
36          _ratingsEntryLocalService = ratingsEntryLocalService;
37      }
38  
39      public com.liferay.portlet.ratings.model.RatingsEntry addRatingsEntry(
40          com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
41          throws com.liferay.portal.SystemException {
42          return _ratingsEntryLocalService.addRatingsEntry(ratingsEntry);
43      }
44  
45      public com.liferay.portlet.ratings.model.RatingsEntry createRatingsEntry(
46          long entryId) {
47          return _ratingsEntryLocalService.createRatingsEntry(entryId);
48      }
49  
50      public void deleteRatingsEntry(long entryId)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          _ratingsEntryLocalService.deleteRatingsEntry(entryId);
54      }
55  
56      public void deleteRatingsEntry(
57          com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
58          throws com.liferay.portal.SystemException {
59          _ratingsEntryLocalService.deleteRatingsEntry(ratingsEntry);
60      }
61  
62      @SuppressWarnings("rawtypes")
63      public java.util.List dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _ratingsEntryLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      @SuppressWarnings("rawtypes")
70      public java.util.List dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _ratingsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      @SuppressWarnings("rawtypes")
77      public java.util.List dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end,
80          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81          throws com.liferay.portal.SystemException {
82          return _ratingsEntryLocalService.dynamicQuery(dynamicQuery, start, end,
83              orderByComparator);
84      }
85  
86      public int dynamicQueryCount(
87          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88          throws com.liferay.portal.SystemException {
89          return _ratingsEntryLocalService.dynamicQueryCount(dynamicQuery);
90      }
91  
92      public com.liferay.portlet.ratings.model.RatingsEntry getRatingsEntry(
93          long entryId)
94          throws com.liferay.portal.PortalException,
95              com.liferay.portal.SystemException {
96          return _ratingsEntryLocalService.getRatingsEntry(entryId);
97      }
98  
99      public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getRatingsEntries(
100         int start, int end) throws com.liferay.portal.SystemException {
101         return _ratingsEntryLocalService.getRatingsEntries(start, end);
102     }
103 
104     public int getRatingsEntriesCount()
105         throws com.liferay.portal.SystemException {
106         return _ratingsEntryLocalService.getRatingsEntriesCount();
107     }
108 
109     public com.liferay.portlet.ratings.model.RatingsEntry updateRatingsEntry(
110         com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
111         throws com.liferay.portal.SystemException {
112         return _ratingsEntryLocalService.updateRatingsEntry(ratingsEntry);
113     }
114 
115     public com.liferay.portlet.ratings.model.RatingsEntry updateRatingsEntry(
116         com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry,
117         boolean merge) throws com.liferay.portal.SystemException {
118         return _ratingsEntryLocalService.updateRatingsEntry(ratingsEntry, merge);
119     }
120 
121     public void deleteEntry(long userId, java.lang.String className,
122         long classPK)
123         throws com.liferay.portal.PortalException,
124             com.liferay.portal.SystemException {
125         _ratingsEntryLocalService.deleteEntry(userId, className, classPK);
126     }
127 
128     public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
129         java.lang.String className, long classPK)
130         throws com.liferay.portal.SystemException {
131         return _ratingsEntryLocalService.getEntries(className, classPK);
132     }
133 
134     public com.liferay.portlet.ratings.model.RatingsEntry getEntry(
135         long userId, java.lang.String className, long classPK)
136         throws com.liferay.portal.PortalException,
137             com.liferay.portal.SystemException {
138         return _ratingsEntryLocalService.getEntry(userId, className, classPK);
139     }
140 
141     /**
142     * @deprecated
143     */
144     public com.liferay.portlet.ratings.model.RatingsEntry updateEntry(
145         long userId, java.lang.String className, long classPK, double score)
146         throws com.liferay.portal.PortalException,
147             com.liferay.portal.SystemException {
148         return _ratingsEntryLocalService.updateEntry(userId, className,
149             classPK, score);
150     }
151 
152     public com.liferay.portlet.ratings.model.RatingsEntry updateEntry(
153         long userId, java.lang.String className, long classPK, double score,
154         com.liferay.portal.service.ServiceContext serviceContext)
155         throws com.liferay.portal.PortalException,
156             com.liferay.portal.SystemException {
157         return _ratingsEntryLocalService.updateEntry(userId, className,
158             classPK, score, serviceContext);
159     }
160 
161     public RatingsEntryLocalService getWrappedRatingsEntryLocalService() {
162         return _ratingsEntryLocalService;
163     }
164 
165     private RatingsEntryLocalService _ratingsEntryLocalService;
166 }