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    /**
019     * <p>
020     * This class is a wrapper for {@link DLFileShortcutLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       DLFileShortcutLocalService
025     * @generated
026     */
027    public class DLFileShortcutLocalServiceWrapper
028            implements DLFileShortcutLocalService {
029            public DLFileShortcutLocalServiceWrapper(
030                    DLFileShortcutLocalService dlFileShortcutLocalService) {
031                    _dlFileShortcutLocalService = dlFileShortcutLocalService;
032            }
033    
034            public com.liferay.portlet.documentlibrary.model.DLFileShortcut addDLFileShortcut(
035                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
036                    throws com.liferay.portal.kernel.exception.SystemException {
037                    return _dlFileShortcutLocalService.addDLFileShortcut(dlFileShortcut);
038            }
039    
040            public com.liferay.portlet.documentlibrary.model.DLFileShortcut createDLFileShortcut(
041                    long fileShortcutId) {
042                    return _dlFileShortcutLocalService.createDLFileShortcut(fileShortcutId);
043            }
044    
045            public void deleteDLFileShortcut(long fileShortcutId)
046                    throws com.liferay.portal.kernel.exception.PortalException,
047                            com.liferay.portal.kernel.exception.SystemException {
048                    _dlFileShortcutLocalService.deleteDLFileShortcut(fileShortcutId);
049            }
050    
051            public void deleteDLFileShortcut(
052                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
053                    throws com.liferay.portal.kernel.exception.SystemException {
054                    _dlFileShortcutLocalService.deleteDLFileShortcut(dlFileShortcut);
055            }
056    
057            @SuppressWarnings("unchecked")
058            public java.util.List dynamicQuery(
059                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
060                    throws com.liferay.portal.kernel.exception.SystemException {
061                    return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery);
062            }
063    
064            @SuppressWarnings("unchecked")
065            public java.util.List dynamicQuery(
066                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
067                    int end) throws com.liferay.portal.kernel.exception.SystemException {
068                    return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery, start, end);
069            }
070    
071            @SuppressWarnings("unchecked")
072            public java.util.List dynamicQuery(
073                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
074                    int end,
075                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
076                    throws com.liferay.portal.kernel.exception.SystemException {
077                    return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery, start,
078                            end, orderByComparator);
079            }
080    
081            public long dynamicQueryCount(
082                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
083                    throws com.liferay.portal.kernel.exception.SystemException {
084                    return _dlFileShortcutLocalService.dynamicQueryCount(dynamicQuery);
085            }
086    
087            public com.liferay.portlet.documentlibrary.model.DLFileShortcut getDLFileShortcut(
088                    long fileShortcutId)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _dlFileShortcutLocalService.getDLFileShortcut(fileShortcutId);
092            }
093    
094            public com.liferay.portlet.documentlibrary.model.DLFileShortcut getDLFileShortcutByUuidAndGroupId(
095                    java.lang.String uuid, long groupId)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException {
098                    return _dlFileShortcutLocalService.getDLFileShortcutByUuidAndGroupId(uuid,
099                            groupId);
100            }
101    
102            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> getDLFileShortcuts(
103                    int start, int end)
104                    throws com.liferay.portal.kernel.exception.SystemException {
105                    return _dlFileShortcutLocalService.getDLFileShortcuts(start, end);
106            }
107    
108            public int getDLFileShortcutsCount()
109                    throws com.liferay.portal.kernel.exception.SystemException {
110                    return _dlFileShortcutLocalService.getDLFileShortcutsCount();
111            }
112    
113            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateDLFileShortcut(
114                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
115                    throws com.liferay.portal.kernel.exception.SystemException {
116                    return _dlFileShortcutLocalService.updateDLFileShortcut(dlFileShortcut);
117            }
118    
119            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateDLFileShortcut(
120                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
121                    boolean merge)
122                    throws com.liferay.portal.kernel.exception.SystemException {
123                    return _dlFileShortcutLocalService.updateDLFileShortcut(dlFileShortcut,
124                            merge);
125            }
126    
127            public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
128                    long userId, long groupId, long folderId, long toFolderId,
129                    java.lang.String toName,
130                    com.liferay.portal.service.ServiceContext serviceContext)
131                    throws com.liferay.portal.kernel.exception.PortalException,
132                            com.liferay.portal.kernel.exception.SystemException {
133                    return _dlFileShortcutLocalService.addFileShortcut(userId, groupId,
134                            folderId, toFolderId, toName, serviceContext);
135            }
136    
137            public void addFileShortcutResources(
138                    com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
139                    boolean addCommunityPermissions, boolean addGuestPermissions)
140                    throws com.liferay.portal.kernel.exception.PortalException,
141                            com.liferay.portal.kernel.exception.SystemException {
142                    _dlFileShortcutLocalService.addFileShortcutResources(fileShortcut,
143                            addCommunityPermissions, addGuestPermissions);
144            }
145    
146            public void addFileShortcutResources(
147                    com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
148                    java.lang.String[] communityPermissions,
149                    java.lang.String[] guestPermissions)
150                    throws com.liferay.portal.kernel.exception.PortalException,
151                            com.liferay.portal.kernel.exception.SystemException {
152                    _dlFileShortcutLocalService.addFileShortcutResources(fileShortcut,
153                            communityPermissions, guestPermissions);
154            }
155    
156            public void addFileShortcutResources(long fileShortcutId,
157                    boolean addCommunityPermissions, boolean addGuestPermissions)
158                    throws com.liferay.portal.kernel.exception.PortalException,
159                            com.liferay.portal.kernel.exception.SystemException {
160                    _dlFileShortcutLocalService.addFileShortcutResources(fileShortcutId,
161                            addCommunityPermissions, addGuestPermissions);
162            }
163    
164            public void addFileShortcutResources(long fileShortcutId,
165                    java.lang.String[] communityPermissions,
166                    java.lang.String[] guestPermissions)
167                    throws com.liferay.portal.kernel.exception.PortalException,
168                            com.liferay.portal.kernel.exception.SystemException {
169                    _dlFileShortcutLocalService.addFileShortcutResources(fileShortcutId,
170                            communityPermissions, guestPermissions);
171            }
172    
173            public void deleteFileShortcut(
174                    com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut)
175                    throws com.liferay.portal.kernel.exception.PortalException,
176                            com.liferay.portal.kernel.exception.SystemException {
177                    _dlFileShortcutLocalService.deleteFileShortcut(fileShortcut);
178            }
179    
180            public void deleteFileShortcut(long fileShortcutId)
181                    throws com.liferay.portal.kernel.exception.PortalException,
182                            com.liferay.portal.kernel.exception.SystemException {
183                    _dlFileShortcutLocalService.deleteFileShortcut(fileShortcutId);
184            }
185    
186            public void deleteFileShortcuts(long groupId, long toFolderId,
187                    java.lang.String toName)
188                    throws com.liferay.portal.kernel.exception.PortalException,
189                            com.liferay.portal.kernel.exception.SystemException {
190                    _dlFileShortcutLocalService.deleteFileShortcuts(groupId, toFolderId,
191                            toName);
192            }
193    
194            public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
195                    long fileShortcutId)
196                    throws com.liferay.portal.kernel.exception.PortalException,
197                            com.liferay.portal.kernel.exception.SystemException {
198                    return _dlFileShortcutLocalService.getFileShortcut(fileShortcutId);
199            }
200    
201            public void updateAsset(long userId,
202                    com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
203                    long[] assetCategoryIds, java.lang.String[] assetTagNames)
204                    throws com.liferay.portal.kernel.exception.PortalException,
205                            com.liferay.portal.kernel.exception.SystemException {
206                    _dlFileShortcutLocalService.updateAsset(userId, fileShortcut,
207                            assetCategoryIds, assetTagNames);
208            }
209    
210            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
211                    long userId, long fileShortcutId, long folderId, long toFolderId,
212                    java.lang.String toName,
213                    com.liferay.portal.service.ServiceContext serviceContext)
214                    throws com.liferay.portal.kernel.exception.PortalException,
215                            com.liferay.portal.kernel.exception.SystemException {
216                    return _dlFileShortcutLocalService.updateFileShortcut(userId,
217                            fileShortcutId, folderId, toFolderId, toName, serviceContext);
218            }
219    
220            public void updateFileShortcuts(long groupId, long oldToFolderId,
221                    java.lang.String oldToName, long newToFolderId,
222                    java.lang.String newToName)
223                    throws com.liferay.portal.kernel.exception.SystemException {
224                    _dlFileShortcutLocalService.updateFileShortcuts(groupId, oldToFolderId,
225                            oldToName, newToFolderId, newToName);
226            }
227    
228            public DLFileShortcutLocalService getWrappedDLFileShortcutLocalService() {
229                    return _dlFileShortcutLocalService;
230            }
231    
232            private DLFileShortcutLocalService _dlFileShortcutLocalService;
233    }