001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.documentlibrary.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link DLFileShortcutLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       DLFileShortcutLocalService
024     * @generated
025     */
026    public class DLFileShortcutLocalServiceWrapper
027            implements DLFileShortcutLocalService {
028            public DLFileShortcutLocalServiceWrapper(
029                    DLFileShortcutLocalService dlFileShortcutLocalService) {
030                    _dlFileShortcutLocalService = dlFileShortcutLocalService;
031            }
032    
033            public com.liferay.portlet.documentlibrary.model.DLFileShortcut addDLFileShortcut(
034                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _dlFileShortcutLocalService.addDLFileShortcut(dlFileShortcut);
037            }
038    
039            public com.liferay.portlet.documentlibrary.model.DLFileShortcut createDLFileShortcut(
040                    long fileShortcutId) {
041                    return _dlFileShortcutLocalService.createDLFileShortcut(fileShortcutId);
042            }
043    
044            public void deleteDLFileShortcut(long fileShortcutId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _dlFileShortcutLocalService.deleteDLFileShortcut(fileShortcutId);
048            }
049    
050            public void deleteDLFileShortcut(
051                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    _dlFileShortcutLocalService.deleteDLFileShortcut(dlFileShortcut);
054            }
055    
056            @SuppressWarnings("unchecked")
057            public java.util.List dynamicQuery(
058                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery);
061            }
062    
063            @SuppressWarnings("unchecked")
064            public java.util.List dynamicQuery(
065                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066                    int end) throws com.liferay.portal.kernel.exception.SystemException {
067                    return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery, start, end);
068            }
069    
070            @SuppressWarnings("unchecked")
071            public java.util.List dynamicQuery(
072                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
073                    int end,
074                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075                    throws com.liferay.portal.kernel.exception.SystemException {
076                    return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery, start,
077                            end, orderByComparator);
078            }
079    
080            public long dynamicQueryCount(
081                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
082                    throws com.liferay.portal.kernel.exception.SystemException {
083                    return _dlFileShortcutLocalService.dynamicQueryCount(dynamicQuery);
084            }
085    
086            public com.liferay.portlet.documentlibrary.model.DLFileShortcut getDLFileShortcut(
087                    long fileShortcutId)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    return _dlFileShortcutLocalService.getDLFileShortcut(fileShortcutId);
091            }
092    
093            public com.liferay.portlet.documentlibrary.model.DLFileShortcut getDLFileShortcutByUuidAndGroupId(
094                    java.lang.String uuid, long groupId)
095                    throws com.liferay.portal.kernel.exception.PortalException,
096                            com.liferay.portal.kernel.exception.SystemException {
097                    return _dlFileShortcutLocalService.getDLFileShortcutByUuidAndGroupId(uuid,
098                            groupId);
099            }
100    
101            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> getDLFileShortcuts(
102                    int start, int end)
103                    throws com.liferay.portal.kernel.exception.SystemException {
104                    return _dlFileShortcutLocalService.getDLFileShortcuts(start, end);
105            }
106    
107            public int getDLFileShortcutsCount()
108                    throws com.liferay.portal.kernel.exception.SystemException {
109                    return _dlFileShortcutLocalService.getDLFileShortcutsCount();
110            }
111    
112            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateDLFileShortcut(
113                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
114                    throws com.liferay.portal.kernel.exception.SystemException {
115                    return _dlFileShortcutLocalService.updateDLFileShortcut(dlFileShortcut);
116            }
117    
118            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateDLFileShortcut(
119                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
120                    boolean merge)
121                    throws com.liferay.portal.kernel.exception.SystemException {
122                    return _dlFileShortcutLocalService.updateDLFileShortcut(dlFileShortcut,
123                            merge);
124            }
125    
126            public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
127                    long userId, long groupId, long folderId, long toFolderId,
128                    java.lang.String toName,
129                    com.liferay.portal.service.ServiceContext serviceContext)
130                    throws com.liferay.portal.kernel.exception.PortalException,
131                            com.liferay.portal.kernel.exception.SystemException {
132                    return _dlFileShortcutLocalService.addFileShortcut(userId, groupId,
133                            folderId, toFolderId, toName, serviceContext);
134            }
135    
136            public void addFileShortcutResources(
137                    com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
138                    boolean addCommunityPermissions, boolean addGuestPermissions)
139                    throws com.liferay.portal.kernel.exception.PortalException,
140                            com.liferay.portal.kernel.exception.SystemException {
141                    _dlFileShortcutLocalService.addFileShortcutResources(fileShortcut,
142                            addCommunityPermissions, addGuestPermissions);
143            }
144    
145            public void addFileShortcutResources(
146                    com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
147                    java.lang.String[] communityPermissions,
148                    java.lang.String[] guestPermissions)
149                    throws com.liferay.portal.kernel.exception.PortalException,
150                            com.liferay.portal.kernel.exception.SystemException {
151                    _dlFileShortcutLocalService.addFileShortcutResources(fileShortcut,
152                            communityPermissions, guestPermissions);
153            }
154    
155            public void addFileShortcutResources(long fileShortcutId,
156                    boolean addCommunityPermissions, boolean addGuestPermissions)
157                    throws com.liferay.portal.kernel.exception.PortalException,
158                            com.liferay.portal.kernel.exception.SystemException {
159                    _dlFileShortcutLocalService.addFileShortcutResources(fileShortcutId,
160                            addCommunityPermissions, addGuestPermissions);
161            }
162    
163            public void addFileShortcutResources(long fileShortcutId,
164                    java.lang.String[] communityPermissions,
165                    java.lang.String[] guestPermissions)
166                    throws com.liferay.portal.kernel.exception.PortalException,
167                            com.liferay.portal.kernel.exception.SystemException {
168                    _dlFileShortcutLocalService.addFileShortcutResources(fileShortcutId,
169                            communityPermissions, guestPermissions);
170            }
171    
172            public void deleteFileShortcut(
173                    com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut)
174                    throws com.liferay.portal.kernel.exception.PortalException,
175                            com.liferay.portal.kernel.exception.SystemException {
176                    _dlFileShortcutLocalService.deleteFileShortcut(fileShortcut);
177            }
178    
179            public void deleteFileShortcut(long fileShortcutId)
180                    throws com.liferay.portal.kernel.exception.PortalException,
181                            com.liferay.portal.kernel.exception.SystemException {
182                    _dlFileShortcutLocalService.deleteFileShortcut(fileShortcutId);
183            }
184    
185            public void deleteFileShortcuts(long groupId, long toFolderId,
186                    java.lang.String toName)
187                    throws com.liferay.portal.kernel.exception.PortalException,
188                            com.liferay.portal.kernel.exception.SystemException {
189                    _dlFileShortcutLocalService.deleteFileShortcuts(groupId, toFolderId,
190                            toName);
191            }
192    
193            public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
194                    long fileShortcutId)
195                    throws com.liferay.portal.kernel.exception.PortalException,
196                            com.liferay.portal.kernel.exception.SystemException {
197                    return _dlFileShortcutLocalService.getFileShortcut(fileShortcutId);
198            }
199    
200            public void updateAsset(long userId,
201                    com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
202                    long[] assetCategoryIds, java.lang.String[] assetTagNames)
203                    throws com.liferay.portal.kernel.exception.PortalException,
204                            com.liferay.portal.kernel.exception.SystemException {
205                    _dlFileShortcutLocalService.updateAsset(userId, fileShortcut,
206                            assetCategoryIds, assetTagNames);
207            }
208    
209            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
210                    long userId, long fileShortcutId, long folderId, long toFolderId,
211                    java.lang.String toName,
212                    com.liferay.portal.service.ServiceContext serviceContext)
213                    throws com.liferay.portal.kernel.exception.PortalException,
214                            com.liferay.portal.kernel.exception.SystemException {
215                    return _dlFileShortcutLocalService.updateFileShortcut(userId,
216                            fileShortcutId, folderId, toFolderId, toName, serviceContext);
217            }
218    
219            public void updateFileShortcuts(long groupId, long oldToFolderId,
220                    java.lang.String oldToName, long newToFolderId,
221                    java.lang.String newToName)
222                    throws com.liferay.portal.kernel.exception.SystemException {
223                    _dlFileShortcutLocalService.updateFileShortcuts(groupId, oldToFolderId,
224                            oldToName, newToFolderId, newToName);
225            }
226    
227            public DLFileShortcutLocalService getWrappedDLFileShortcutLocalService() {
228                    return _dlFileShortcutLocalService;
229            }
230    
231            private DLFileShortcutLocalService _dlFileShortcutLocalService;
232    }