1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.documentlibrary.service;
16  
17  
18  /**
19   * <a href="DLFileRankLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link DLFileRankLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       DLFileRankLocalService
32   * @generated
33   */
34  public class DLFileRankLocalServiceWrapper implements DLFileRankLocalService {
35      public DLFileRankLocalServiceWrapper(
36          DLFileRankLocalService dlFileRankLocalService) {
37          _dlFileRankLocalService = dlFileRankLocalService;
38      }
39  
40      public com.liferay.portlet.documentlibrary.model.DLFileRank addDLFileRank(
41          com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
42          throws com.liferay.portal.SystemException {
43          return _dlFileRankLocalService.addDLFileRank(dlFileRank);
44      }
45  
46      public com.liferay.portlet.documentlibrary.model.DLFileRank createDLFileRank(
47          long fileRankId) {
48          return _dlFileRankLocalService.createDLFileRank(fileRankId);
49      }
50  
51      public void deleteDLFileRank(long fileRankId)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          _dlFileRankLocalService.deleteDLFileRank(fileRankId);
55      }
56  
57      public void deleteDLFileRank(
58          com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
59          throws com.liferay.portal.SystemException {
60          _dlFileRankLocalService.deleteDLFileRank(dlFileRank);
61      }
62  
63      public java.util.List<Object> dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _dlFileRankLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.SystemException {
72          return _dlFileRankLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      public java.util.List<Object> dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.SystemException {
80          return _dlFileRankLocalService.dynamicQuery(dynamicQuery, start, end,
81              orderByComparator);
82      }
83  
84      public int dynamicQueryCount(
85          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86          throws com.liferay.portal.SystemException {
87          return _dlFileRankLocalService.dynamicQueryCount(dynamicQuery);
88      }
89  
90      public com.liferay.portlet.documentlibrary.model.DLFileRank getDLFileRank(
91          long fileRankId)
92          throws com.liferay.portal.PortalException,
93              com.liferay.portal.SystemException {
94          return _dlFileRankLocalService.getDLFileRank(fileRankId);
95      }
96  
97      public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> getDLFileRanks(
98          int start, int end) throws com.liferay.portal.SystemException {
99          return _dlFileRankLocalService.getDLFileRanks(start, end);
100     }
101 
102     public int getDLFileRanksCount() throws com.liferay.portal.SystemException {
103         return _dlFileRankLocalService.getDLFileRanksCount();
104     }
105 
106     public com.liferay.portlet.documentlibrary.model.DLFileRank updateDLFileRank(
107         com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
108         throws com.liferay.portal.SystemException {
109         return _dlFileRankLocalService.updateDLFileRank(dlFileRank);
110     }
111 
112     public com.liferay.portlet.documentlibrary.model.DLFileRank updateDLFileRank(
113         com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank,
114         boolean merge) throws com.liferay.portal.SystemException {
115         return _dlFileRankLocalService.updateDLFileRank(dlFileRank, merge);
116     }
117 
118     public com.liferay.portlet.documentlibrary.model.DLFileRank addFileRank(
119         long groupId, long companyId, long userId, long folderId,
120         java.lang.String name) throws com.liferay.portal.SystemException {
121         return _dlFileRankLocalService.addFileRank(groupId, companyId, userId,
122             folderId, name);
123     }
124 
125     public com.liferay.portlet.documentlibrary.model.DLFileRank addFileRank(
126         long groupId, long companyId, long userId, long folderId,
127         java.lang.String name,
128         com.liferay.portal.service.ServiceContext serviceContext)
129         throws com.liferay.portal.SystemException {
130         return _dlFileRankLocalService.addFileRank(groupId, companyId, userId,
131             folderId, name, serviceContext);
132     }
133 
134     public void deleteFileRanks(long userId)
135         throws com.liferay.portal.SystemException {
136         _dlFileRankLocalService.deleteFileRanks(userId);
137     }
138 
139     public void deleteFileRanks(long folderId, java.lang.String name)
140         throws com.liferay.portal.SystemException {
141         _dlFileRankLocalService.deleteFileRanks(folderId, name);
142     }
143 
144     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> getFileRanks(
145         long groupId, long userId) throws com.liferay.portal.SystemException {
146         return _dlFileRankLocalService.getFileRanks(groupId, userId);
147     }
148 
149     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> getFileRanks(
150         long groupId, long userId, int start, int end)
151         throws com.liferay.portal.SystemException {
152         return _dlFileRankLocalService.getFileRanks(groupId, userId, start, end);
153     }
154 
155     public com.liferay.portlet.documentlibrary.model.DLFileRank updateFileRank(
156         long groupId, long companyId, long userId, long folderId,
157         java.lang.String name) throws com.liferay.portal.SystemException {
158         return _dlFileRankLocalService.updateFileRank(groupId, companyId,
159             userId, folderId, name);
160     }
161 
162     public com.liferay.portlet.documentlibrary.model.DLFileRank updateFileRank(
163         long groupId, long companyId, long userId, long folderId,
164         java.lang.String name,
165         com.liferay.portal.service.ServiceContext serviceContext)
166         throws com.liferay.portal.SystemException {
167         return _dlFileRankLocalService.updateFileRank(groupId, companyId,
168             userId, folderId, name, serviceContext);
169     }
170 
171     public DLFileRankLocalService getWrappedDLFileRankLocalService() {
172         return _dlFileRankLocalService;
173     }
174 
175     private DLFileRankLocalService _dlFileRankLocalService;
176 }