001    /**
002     * Copyright (c) 2000-2012 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    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link DLFolderService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       DLFolderService
026     * @generated
027     */
028    public class DLFolderServiceWrapper implements DLFolderService,
029            ServiceWrapper<DLFolderService> {
030            public DLFolderServiceWrapper(DLFolderService dlFolderService) {
031                    _dlFolderService = dlFolderService;
032            }
033    
034            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            public java.lang.String getBeanIdentifier() {
040                    return _dlFolderService.getBeanIdentifier();
041            }
042    
043            /**
044            * Sets the Spring bean ID for this bean.
045            *
046            * @param beanIdentifier the Spring bean ID for this bean
047            */
048            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _dlFolderService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
053                    long groupId, long repositoryId, boolean mountPoint,
054                    long parentFolderId, java.lang.String name,
055                    java.lang.String description,
056                    com.liferay.portal.service.ServiceContext serviceContext)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _dlFolderService.addFolder(groupId, repositoryId, mountPoint,
060                            parentFolderId, name, description, serviceContext);
061            }
062    
063            public void deleteFolder(long folderId)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    _dlFolderService.deleteFolder(folderId);
067            }
068    
069            public void deleteFolder(long folderId, boolean includeTrashedEntries)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    _dlFolderService.deleteFolder(folderId, includeTrashedEntries);
073            }
074    
075            public void deleteFolder(long groupId, long parentFolderId,
076                    java.lang.String name)
077                    throws com.liferay.portal.kernel.exception.PortalException,
078                            com.liferay.portal.kernel.exception.SystemException {
079                    _dlFolderService.deleteFolder(groupId, parentFolderId, name);
080            }
081    
082            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
083                    long groupId, long folderId, int status, int start, int end)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _dlFolderService.getFileEntriesAndFileShortcuts(groupId,
087                            folderId, status, start, end);
088            }
089    
090            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
091                    int status) throws com.liferay.portal.kernel.exception.SystemException {
092                    return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
093                            folderId, status);
094            }
095    
096            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
097                    int status, java.lang.String[] mimeTypes)
098                    throws com.liferay.portal.kernel.exception.SystemException {
099                    return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
100                            folderId, status, mimeTypes);
101            }
102    
103            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
104                    long folderId)
105                    throws com.liferay.portal.kernel.exception.PortalException,
106                            com.liferay.portal.kernel.exception.SystemException {
107                    return _dlFolderService.getFolder(folderId);
108            }
109    
110            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
111                    long groupId, long parentFolderId, java.lang.String name)
112                    throws com.liferay.portal.kernel.exception.PortalException,
113                            com.liferay.portal.kernel.exception.SystemException {
114                    return _dlFolderService.getFolder(groupId, parentFolderId, name);
115            }
116    
117            public long[] getFolderIds(long groupId, long folderId)
118                    throws com.liferay.portal.kernel.exception.PortalException,
119                            com.liferay.portal.kernel.exception.SystemException {
120                    return _dlFolderService.getFolderIds(groupId, folderId);
121            }
122    
123            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
124                    long groupId, long parentFolderId, int status,
125                    boolean includeMountfolders, int start, int end,
126                    com.liferay.portal.kernel.util.OrderByComparator obc)
127                    throws com.liferay.portal.kernel.exception.PortalException,
128                            com.liferay.portal.kernel.exception.SystemException {
129                    return _dlFolderService.getFolders(groupId, parentFolderId, status,
130                            includeMountfolders, start, end, obc);
131            }
132    
133            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
134                    long groupId, long parentFolderId, int start, int end,
135                    com.liferay.portal.kernel.util.OrderByComparator obc)
136                    throws com.liferay.portal.kernel.exception.PortalException,
137                            com.liferay.portal.kernel.exception.SystemException {
138                    return _dlFolderService.getFolders(groupId, parentFolderId, start, end,
139                            obc);
140            }
141    
142            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
143                    long groupId, long folderId, int status, boolean includeMountFolders,
144                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
145                    throws com.liferay.portal.kernel.exception.PortalException,
146                            com.liferay.portal.kernel.exception.SystemException {
147                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
148                            folderId, status, includeMountFolders, start, end, obc);
149            }
150    
151            public int getFoldersAndFileEntriesAndFileShortcuts(long groupId,
152                    long folderId, int status, java.lang.String[] mimeTypes,
153                    boolean includeMountFolders)
154                    throws com.liferay.portal.kernel.exception.PortalException,
155                            com.liferay.portal.kernel.exception.SystemException {
156                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
157                            folderId, status, mimeTypes, includeMountFolders);
158            }
159    
160            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
161                    long groupId, long folderId, int status, java.lang.String[] mimeTypes,
162                    boolean includeMountFolders, int start, int end,
163                    com.liferay.portal.kernel.util.OrderByComparator obc)
164                    throws com.liferay.portal.kernel.exception.PortalException,
165                            com.liferay.portal.kernel.exception.SystemException {
166                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
167                            folderId, status, mimeTypes, includeMountFolders, start, end, obc);
168            }
169    
170            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
171                    long folderId, int status, boolean includeMountFolders)
172                    throws com.liferay.portal.kernel.exception.SystemException {
173                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
174                            folderId, status, includeMountFolders);
175            }
176    
177            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
178                    long folderId, int status, java.lang.String[] mimeTypes,
179                    boolean includeMountFolders)
180                    throws com.liferay.portal.kernel.exception.SystemException {
181                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
182                            folderId, status, mimeTypes, includeMountFolders);
183            }
184    
185            public int getFoldersCount(long groupId, long parentFolderId)
186                    throws com.liferay.portal.kernel.exception.SystemException {
187                    return _dlFolderService.getFoldersCount(groupId, parentFolderId);
188            }
189    
190            public int getFoldersCount(long groupId, long parentFolderId, int status,
191                    boolean includeMountfolders)
192                    throws com.liferay.portal.kernel.exception.SystemException {
193                    return _dlFolderService.getFoldersCount(groupId, parentFolderId,
194                            status, includeMountfolders);
195            }
196    
197            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
198                    long groupId, long parentFolderId, int start, int end,
199                    com.liferay.portal.kernel.util.OrderByComparator obc)
200                    throws com.liferay.portal.kernel.exception.PortalException,
201                            com.liferay.portal.kernel.exception.SystemException {
202                    return _dlFolderService.getMountFolders(groupId, parentFolderId, start,
203                            end, obc);
204            }
205    
206            public int getMountFoldersCount(long groupId, long parentFolderId)
207                    throws com.liferay.portal.kernel.exception.SystemException {
208                    return _dlFolderService.getMountFoldersCount(groupId, parentFolderId);
209            }
210    
211            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
212                    long groupId, long folderId)
213                    throws com.liferay.portal.kernel.exception.PortalException,
214                            com.liferay.portal.kernel.exception.SystemException {
215                    _dlFolderService.getSubfolderIds(folderIds, groupId, folderId);
216            }
217    
218            public java.util.List<java.lang.Long> getSubfolderIds(long groupId,
219                    long folderId, boolean recurse)
220                    throws com.liferay.portal.kernel.exception.PortalException,
221                            com.liferay.portal.kernel.exception.SystemException {
222                    return _dlFolderService.getSubfolderIds(groupId, folderId, recurse);
223            }
224    
225            public boolean hasFolderLock(long folderId)
226                    throws com.liferay.portal.kernel.exception.PortalException,
227                            com.liferay.portal.kernel.exception.SystemException {
228                    return _dlFolderService.hasFolderLock(folderId);
229            }
230    
231            public boolean hasInheritableLock(long folderId)
232                    throws com.liferay.portal.kernel.exception.PortalException,
233                            com.liferay.portal.kernel.exception.SystemException {
234                    return _dlFolderService.hasInheritableLock(folderId);
235            }
236    
237            public boolean isFolderLocked(long folderId)
238                    throws com.liferay.portal.kernel.exception.SystemException {
239                    return _dlFolderService.isFolderLocked(folderId);
240            }
241    
242            public com.liferay.portal.model.Lock lockFolder(long folderId)
243                    throws com.liferay.portal.kernel.exception.PortalException,
244                            com.liferay.portal.kernel.exception.SystemException {
245                    return _dlFolderService.lockFolder(folderId);
246            }
247    
248            public com.liferay.portal.model.Lock lockFolder(long folderId,
249                    java.lang.String owner, boolean inheritable, long expirationTime)
250                    throws com.liferay.portal.kernel.exception.PortalException,
251                            com.liferay.portal.kernel.exception.SystemException {
252                    return _dlFolderService.lockFolder(folderId, owner, inheritable,
253                            expirationTime);
254            }
255    
256            public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
257                    long folderId, long parentFolderId,
258                    com.liferay.portal.service.ServiceContext serviceContext)
259                    throws com.liferay.portal.kernel.exception.PortalException,
260                            com.liferay.portal.kernel.exception.SystemException {
261                    return _dlFolderService.moveFolder(folderId, parentFolderId,
262                            serviceContext);
263            }
264    
265            public com.liferay.portal.model.Lock refreshFolderLock(
266                    java.lang.String lockUuid, long companyId, long expirationTime)
267                    throws com.liferay.portal.kernel.exception.PortalException,
268                            com.liferay.portal.kernel.exception.SystemException {
269                    return _dlFolderService.refreshFolderLock(lockUuid, companyId,
270                            expirationTime);
271            }
272    
273            public void unlockFolder(long groupId, long folderId,
274                    java.lang.String lockUuid)
275                    throws com.liferay.portal.kernel.exception.PortalException,
276                            com.liferay.portal.kernel.exception.SystemException {
277                    _dlFolderService.unlockFolder(groupId, folderId, lockUuid);
278            }
279    
280            public void unlockFolder(long groupId, long parentFolderId,
281                    java.lang.String name, java.lang.String lockUuid)
282                    throws com.liferay.portal.kernel.exception.PortalException,
283                            com.liferay.portal.kernel.exception.SystemException {
284                    _dlFolderService.unlockFolder(groupId, parentFolderId, name, lockUuid);
285            }
286    
287            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
288                    long folderId, java.lang.String name, java.lang.String description,
289                    long defaultFileEntryTypeId,
290                    java.util.List<java.lang.Long> fileEntryTypeIds,
291                    boolean overrideFileEntryTypes,
292                    com.liferay.portal.service.ServiceContext serviceContext)
293                    throws com.liferay.portal.kernel.exception.PortalException,
294                            com.liferay.portal.kernel.exception.SystemException {
295                    return _dlFolderService.updateFolder(folderId, name, description,
296                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
297                            serviceContext);
298            }
299    
300            public boolean verifyInheritableLock(long folderId,
301                    java.lang.String lockUuid)
302                    throws com.liferay.portal.kernel.exception.PortalException,
303                            com.liferay.portal.kernel.exception.SystemException {
304                    return _dlFolderService.verifyInheritableLock(folderId, lockUuid);
305            }
306    
307            /**
308             * @deprecated Renamed to {@link #getWrappedService}
309             */
310            public DLFolderService getWrappedDLFolderService() {
311                    return _dlFolderService;
312            }
313    
314            /**
315             * @deprecated Renamed to {@link #setWrappedService}
316             */
317            public void setWrappedDLFolderService(DLFolderService dlFolderService) {
318                    _dlFolderService = dlFolderService;
319            }
320    
321            public DLFolderService getWrappedService() {
322                    return _dlFolderService;
323            }
324    
325            public void setWrappedService(DLFolderService dlFolderService) {
326                    _dlFolderService = dlFolderService;
327            }
328    
329            private DLFolderService _dlFolderService;
330    }