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