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      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.kernel.exception.SystemException {
67          return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.kernel.exception.SystemException {
73          return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      public java.util.List<Object> dynamicQuery(
77          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78          int end,
79          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
80          throws com.liferay.portal.kernel.exception.SystemException {
81          return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery, start,
82              end, orderByComparator);
83      }
84  
85      public int dynamicQueryCount(
86          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
87          throws com.liferay.portal.kernel.exception.SystemException {
88          return _dlFileShortcutLocalService.dynamicQueryCount(dynamicQuery);
89      }
90  
91      public com.liferay.portlet.documentlibrary.model.DLFileShortcut getDLFileShortcut(
92          long fileShortcutId)
93          throws com.liferay.portal.kernel.exception.PortalException,
94              com.liferay.portal.kernel.exception.SystemException {
95          return _dlFileShortcutLocalService.getDLFileShortcut(fileShortcutId);
96      }
97  
98      public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> getDLFileShortcuts(
99          int start, int end)
100         throws com.liferay.portal.kernel.exception.SystemException {
101         return _dlFileShortcutLocalService.getDLFileShortcuts(start, end);
102     }
103 
104     public int getDLFileShortcutsCount()
105         throws com.liferay.portal.kernel.exception.SystemException {
106         return _dlFileShortcutLocalService.getDLFileShortcutsCount();
107     }
108 
109     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateDLFileShortcut(
110         com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
111         throws com.liferay.portal.kernel.exception.SystemException {
112         return _dlFileShortcutLocalService.updateDLFileShortcut(dlFileShortcut);
113     }
114 
115     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateDLFileShortcut(
116         com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
117         boolean merge)
118         throws com.liferay.portal.kernel.exception.SystemException {
119         return _dlFileShortcutLocalService.updateDLFileShortcut(dlFileShortcut,
120             merge);
121     }
122 
123     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
124         java.lang.String uuid, long userId, long groupId, long folderId,
125         long toFolderId, java.lang.String toName,
126         com.liferay.portal.service.ServiceContext serviceContext)
127         throws com.liferay.portal.kernel.exception.PortalException,
128             com.liferay.portal.kernel.exception.SystemException {
129         return _dlFileShortcutLocalService.addFileShortcut(uuid, userId,
130             groupId, folderId, toFolderId, toName, serviceContext);
131     }
132 
133     public void addFileShortcutResources(
134         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
135         boolean addCommunityPermissions, boolean addGuestPermissions)
136         throws com.liferay.portal.kernel.exception.PortalException,
137             com.liferay.portal.kernel.exception.SystemException {
138         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcut,
139             addCommunityPermissions, addGuestPermissions);
140     }
141 
142     public void addFileShortcutResources(
143         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
144         java.lang.String[] communityPermissions,
145         java.lang.String[] guestPermissions)
146         throws com.liferay.portal.kernel.exception.PortalException,
147             com.liferay.portal.kernel.exception.SystemException {
148         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcut,
149             communityPermissions, guestPermissions);
150     }
151 
152     public void addFileShortcutResources(long fileShortcutId,
153         boolean addCommunityPermissions, boolean addGuestPermissions)
154         throws com.liferay.portal.kernel.exception.PortalException,
155             com.liferay.portal.kernel.exception.SystemException {
156         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcutId,
157             addCommunityPermissions, addGuestPermissions);
158     }
159 
160     public void addFileShortcutResources(long fileShortcutId,
161         java.lang.String[] communityPermissions,
162         java.lang.String[] guestPermissions)
163         throws com.liferay.portal.kernel.exception.PortalException,
164             com.liferay.portal.kernel.exception.SystemException {
165         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcutId,
166             communityPermissions, guestPermissions);
167     }
168 
169     public void deleteFileShortcut(
170         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut)
171         throws com.liferay.portal.kernel.exception.PortalException,
172             com.liferay.portal.kernel.exception.SystemException {
173         _dlFileShortcutLocalService.deleteFileShortcut(fileShortcut);
174     }
175 
176     public void deleteFileShortcut(long fileShortcutId)
177         throws com.liferay.portal.kernel.exception.PortalException,
178             com.liferay.portal.kernel.exception.SystemException {
179         _dlFileShortcutLocalService.deleteFileShortcut(fileShortcutId);
180     }
181 
182     public void deleteFileShortcuts(long groupId, long toFolderId,
183         java.lang.String toName)
184         throws com.liferay.portal.kernel.exception.PortalException,
185             com.liferay.portal.kernel.exception.SystemException {
186         _dlFileShortcutLocalService.deleteFileShortcuts(groupId, toFolderId,
187             toName);
188     }
189 
190     public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
191         long fileShortcutId)
192         throws com.liferay.portal.kernel.exception.PortalException,
193             com.liferay.portal.kernel.exception.SystemException {
194         return _dlFileShortcutLocalService.getFileShortcut(fileShortcutId);
195     }
196 
197     public void updateAsset(long userId,
198         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
199         long[] assetCategoryIds, java.lang.String[] assetTagNames)
200         throws com.liferay.portal.kernel.exception.PortalException,
201             com.liferay.portal.kernel.exception.SystemException {
202         _dlFileShortcutLocalService.updateAsset(userId, fileShortcut,
203             assetCategoryIds, assetTagNames);
204     }
205 
206     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
207         long userId, long fileShortcutId, long folderId, long toFolderId,
208         java.lang.String toName,
209         com.liferay.portal.service.ServiceContext serviceContext)
210         throws com.liferay.portal.kernel.exception.PortalException,
211             com.liferay.portal.kernel.exception.SystemException {
212         return _dlFileShortcutLocalService.updateFileShortcut(userId,
213             fileShortcutId, folderId, toFolderId, toName, serviceContext);
214     }
215 
216     public void updateFileShortcuts(long groupId, long oldToFolderId,
217         java.lang.String oldToName, long newToFolderId,
218         java.lang.String newToName)
219         throws com.liferay.portal.kernel.exception.SystemException {
220         _dlFileShortcutLocalService.updateFileShortcuts(groupId, oldToFolderId,
221             oldToName, newToFolderId, newToName);
222     }
223 
224     public DLFileShortcutLocalService getWrappedDLFileShortcutLocalService() {
225         return _dlFileShortcutLocalService;
226     }
227 
228     private DLFileShortcutLocalService _dlFileShortcutLocalService;
229 }