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="DLFileShortcutLocalServiceUtil.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 DLFileShortcutLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       DLFileShortcutLocalService
32   * @generated
33   */
34  public class DLFileShortcutLocalServiceWrapper
35      implements DLFileShortcutLocalService {
36      public DLFileShortcutLocalServiceWrapper(
37          DLFileShortcutLocalService dlFileShortcutLocalService) {
38          _dlFileShortcutLocalService = dlFileShortcutLocalService;
39      }
40  
41      public com.liferay.portlet.documentlibrary.model.DLFileShortcut addDLFileShortcut(
42          com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
43          throws com.liferay.portal.kernel.exception.SystemException {
44          return _dlFileShortcutLocalService.addDLFileShortcut(dlFileShortcut);
45      }
46  
47      public com.liferay.portlet.documentlibrary.model.DLFileShortcut createDLFileShortcut(
48          long fileShortcutId) {
49          return _dlFileShortcutLocalService.createDLFileShortcut(fileShortcutId);
50      }
51  
52      public void deleteDLFileShortcut(long fileShortcutId)
53          throws com.liferay.portal.kernel.exception.PortalException,
54              com.liferay.portal.kernel.exception.SystemException {
55          _dlFileShortcutLocalService.deleteDLFileShortcut(fileShortcutId);
56      }
57  
58      public void deleteDLFileShortcut(
59          com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
60          throws com.liferay.portal.kernel.exception.SystemException {
61          _dlFileShortcutLocalService.deleteDLFileShortcut(dlFileShortcut);
62      }
63  
64      @SuppressWarnings("unchecked")
65      public java.util.List dynamicQuery(
66          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67          throws com.liferay.portal.kernel.exception.SystemException {
68          return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery);
69      }
70  
71      @SuppressWarnings("unchecked")
72      public java.util.List dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74          int end) throws com.liferay.portal.kernel.exception.SystemException {
75          return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery, start, end);
76      }
77  
78      @SuppressWarnings("unchecked")
79      public java.util.List dynamicQuery(
80          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
81          int end,
82          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83          throws com.liferay.portal.kernel.exception.SystemException {
84          return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery, start,
85              end, orderByComparator);
86      }
87  
88      public long dynamicQueryCount(
89          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
90          throws com.liferay.portal.kernel.exception.SystemException {
91          return _dlFileShortcutLocalService.dynamicQueryCount(dynamicQuery);
92      }
93  
94      public com.liferay.portlet.documentlibrary.model.DLFileShortcut getDLFileShortcut(
95          long fileShortcutId)
96          throws com.liferay.portal.kernel.exception.PortalException,
97              com.liferay.portal.kernel.exception.SystemException {
98          return _dlFileShortcutLocalService.getDLFileShortcut(fileShortcutId);
99      }
100 
101     public com.liferay.portlet.documentlibrary.model.DLFileShortcut getDLFileShortcutByUuidAndGroupId(
102         java.lang.String uuid, long groupId)
103         throws com.liferay.portal.kernel.exception.PortalException,
104             com.liferay.portal.kernel.exception.SystemException {
105         return _dlFileShortcutLocalService.getDLFileShortcutByUuidAndGroupId(uuid,
106             groupId);
107     }
108 
109     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> getDLFileShortcuts(
110         int start, int end)
111         throws com.liferay.portal.kernel.exception.SystemException {
112         return _dlFileShortcutLocalService.getDLFileShortcuts(start, end);
113     }
114 
115     public int getDLFileShortcutsCount()
116         throws com.liferay.portal.kernel.exception.SystemException {
117         return _dlFileShortcutLocalService.getDLFileShortcutsCount();
118     }
119 
120     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateDLFileShortcut(
121         com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
122         throws com.liferay.portal.kernel.exception.SystemException {
123         return _dlFileShortcutLocalService.updateDLFileShortcut(dlFileShortcut);
124     }
125 
126     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateDLFileShortcut(
127         com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
128         boolean merge)
129         throws com.liferay.portal.kernel.exception.SystemException {
130         return _dlFileShortcutLocalService.updateDLFileShortcut(dlFileShortcut,
131             merge);
132     }
133 
134     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
135         java.lang.String uuid, long userId, long groupId, long folderId,
136         long toFolderId, java.lang.String toName,
137         com.liferay.portal.service.ServiceContext serviceContext)
138         throws com.liferay.portal.kernel.exception.PortalException,
139             com.liferay.portal.kernel.exception.SystemException {
140         return _dlFileShortcutLocalService.addFileShortcut(uuid, userId,
141             groupId, folderId, toFolderId, toName, serviceContext);
142     }
143 
144     public void addFileShortcutResources(
145         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
146         boolean addCommunityPermissions, boolean addGuestPermissions)
147         throws com.liferay.portal.kernel.exception.PortalException,
148             com.liferay.portal.kernel.exception.SystemException {
149         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcut,
150             addCommunityPermissions, addGuestPermissions);
151     }
152 
153     public void addFileShortcutResources(
154         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
155         java.lang.String[] communityPermissions,
156         java.lang.String[] guestPermissions)
157         throws com.liferay.portal.kernel.exception.PortalException,
158             com.liferay.portal.kernel.exception.SystemException {
159         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcut,
160             communityPermissions, guestPermissions);
161     }
162 
163     public void addFileShortcutResources(long fileShortcutId,
164         boolean addCommunityPermissions, boolean addGuestPermissions)
165         throws com.liferay.portal.kernel.exception.PortalException,
166             com.liferay.portal.kernel.exception.SystemException {
167         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcutId,
168             addCommunityPermissions, addGuestPermissions);
169     }
170 
171     public void addFileShortcutResources(long fileShortcutId,
172         java.lang.String[] communityPermissions,
173         java.lang.String[] guestPermissions)
174         throws com.liferay.portal.kernel.exception.PortalException,
175             com.liferay.portal.kernel.exception.SystemException {
176         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcutId,
177             communityPermissions, guestPermissions);
178     }
179 
180     public void deleteFileShortcut(
181         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut)
182         throws com.liferay.portal.kernel.exception.PortalException,
183             com.liferay.portal.kernel.exception.SystemException {
184         _dlFileShortcutLocalService.deleteFileShortcut(fileShortcut);
185     }
186 
187     public void deleteFileShortcut(long fileShortcutId)
188         throws com.liferay.portal.kernel.exception.PortalException,
189             com.liferay.portal.kernel.exception.SystemException {
190         _dlFileShortcutLocalService.deleteFileShortcut(fileShortcutId);
191     }
192 
193     public void deleteFileShortcuts(long groupId, long toFolderId,
194         java.lang.String toName)
195         throws com.liferay.portal.kernel.exception.PortalException,
196             com.liferay.portal.kernel.exception.SystemException {
197         _dlFileShortcutLocalService.deleteFileShortcuts(groupId, toFolderId,
198             toName);
199     }
200 
201     public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
202         long fileShortcutId)
203         throws com.liferay.portal.kernel.exception.PortalException,
204             com.liferay.portal.kernel.exception.SystemException {
205         return _dlFileShortcutLocalService.getFileShortcut(fileShortcutId);
206     }
207 
208     public void updateAsset(long userId,
209         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
210         long[] assetCategoryIds, java.lang.String[] assetTagNames)
211         throws com.liferay.portal.kernel.exception.PortalException,
212             com.liferay.portal.kernel.exception.SystemException {
213         _dlFileShortcutLocalService.updateAsset(userId, fileShortcut,
214             assetCategoryIds, assetTagNames);
215     }
216 
217     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
218         long userId, long fileShortcutId, long folderId, long toFolderId,
219         java.lang.String toName,
220         com.liferay.portal.service.ServiceContext serviceContext)
221         throws com.liferay.portal.kernel.exception.PortalException,
222             com.liferay.portal.kernel.exception.SystemException {
223         return _dlFileShortcutLocalService.updateFileShortcut(userId,
224             fileShortcutId, folderId, toFolderId, toName, serviceContext);
225     }
226 
227     public void updateFileShortcuts(long groupId, long oldToFolderId,
228         java.lang.String oldToName, long newToFolderId,
229         java.lang.String newToName)
230         throws com.liferay.portal.kernel.exception.SystemException {
231         _dlFileShortcutLocalService.updateFileShortcuts(groupId, oldToFolderId,
232             oldToName, newToFolderId, newToName);
233     }
234 
235     public DLFileShortcutLocalService getWrappedDLFileShortcutLocalService() {
236         return _dlFileShortcutLocalService;
237     }
238 
239     private DLFileShortcutLocalService _dlFileShortcutLocalService;
240 }