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="RatingsStatsLocalServiceUtil.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 RatingsStatsLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       RatingsStatsLocalService
31   * @generated
32   */
33  public class RatingsStatsLocalServiceWrapper implements RatingsStatsLocalService {
34      public RatingsStatsLocalServiceWrapper(
35          RatingsStatsLocalService ratingsStatsLocalService) {
36          _ratingsStatsLocalService = ratingsStatsLocalService;
37      }
38  
39      public com.liferay.portlet.ratings.model.RatingsStats addRatingsStats(
40          com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
41          throws com.liferay.portal.SystemException {
42          return _ratingsStatsLocalService.addRatingsStats(ratingsStats);
43      }
44  
45      public com.liferay.portlet.ratings.model.RatingsStats createRatingsStats(
46          long statsId) {
47          return _ratingsStatsLocalService.createRatingsStats(statsId);
48      }
49  
50      public void deleteRatingsStats(long statsId)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          _ratingsStatsLocalService.deleteRatingsStats(statsId);
54      }
55  
56      public void deleteRatingsStats(
57          com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
58          throws com.liferay.portal.SystemException {
59          _ratingsStatsLocalService.deleteRatingsStats(ratingsStats);
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 _ratingsStatsLocalService.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 _ratingsStatsLocalService.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 _ratingsStatsLocalService.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 _ratingsStatsLocalService.dynamicQueryCount(dynamicQuery);
90      }
91  
92      public com.liferay.portlet.ratings.model.RatingsStats getRatingsStats(
93          long statsId)
94          throws com.liferay.portal.PortalException,
95              com.liferay.portal.SystemException {
96          return _ratingsStatsLocalService.getRatingsStats(statsId);
97      }
98  
99      public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> getRatingsStatses(
100         int start, int end) throws com.liferay.portal.SystemException {
101         return _ratingsStatsLocalService.getRatingsStatses(start, end);
102     }
103 
104     public int getRatingsStatsesCount()
105         throws com.liferay.portal.SystemException {
106         return _ratingsStatsLocalService.getRatingsStatsesCount();
107     }
108 
109     public com.liferay.portlet.ratings.model.RatingsStats updateRatingsStats(
110         com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
111         throws com.liferay.portal.SystemException {
112         return _ratingsStatsLocalService.updateRatingsStats(ratingsStats);
113     }
114 
115     public com.liferay.portlet.ratings.model.RatingsStats updateRatingsStats(
116         com.liferay.portlet.ratings.model.RatingsStats ratingsStats,
117         boolean merge) throws com.liferay.portal.SystemException {
118         return _ratingsStatsLocalService.updateRatingsStats(ratingsStats, merge);
119     }
120 
121     public com.liferay.portlet.ratings.model.RatingsStats addStats(
122         long classNameId, long classPK)
123         throws com.liferay.portal.SystemException {
124         return _ratingsStatsLocalService.addStats(classNameId, classPK);
125     }
126 
127     public void deleteStats(java.lang.String className, long classPK)
128         throws com.liferay.portal.SystemException {
129         _ratingsStatsLocalService.deleteStats(className, classPK);
130     }
131 
132     public com.liferay.portlet.ratings.model.RatingsStats getStats(long statsId)
133         throws com.liferay.portal.PortalException,
134             com.liferay.portal.SystemException {
135         return _ratingsStatsLocalService.getStats(statsId);
136     }
137 
138     public com.liferay.portlet.ratings.model.RatingsStats getStats(
139         java.lang.String className, long classPK)
140         throws com.liferay.portal.SystemException {
141         return _ratingsStatsLocalService.getStats(className, classPK);
142     }
143 
144     public RatingsStatsLocalService getWrappedRatingsStatsLocalService() {
145         return _ratingsStatsLocalService;
146     }
147 
148     private RatingsStatsLocalService _ratingsStatsLocalService;
149 }