001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class DLFolderServiceWrapper implements DLFolderService,
030 ServiceWrapper<DLFolderService> {
031 public DLFolderServiceWrapper(DLFolderService dlFolderService) {
032 _dlFolderService = dlFolderService;
033 }
034
035 @Override
036 public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
037 long groupId, long repositoryId, boolean mountPoint,
038 long parentFolderId, java.lang.String name,
039 java.lang.String description,
040 com.liferay.portal.service.ServiceContext serviceContext)
041 throws com.liferay.portal.kernel.exception.PortalException {
042 return _dlFolderService.addFolder(groupId, repositoryId, mountPoint,
043 parentFolderId, name, description, serviceContext);
044 }
045
046 @Override
047 public void deleteFolder(long folderId)
048 throws com.liferay.portal.kernel.exception.PortalException {
049 _dlFolderService.deleteFolder(folderId);
050 }
051
052 @Override
053 public void deleteFolder(long folderId, boolean includeTrashedEntries)
054 throws com.liferay.portal.kernel.exception.PortalException {
055 _dlFolderService.deleteFolder(folderId, includeTrashedEntries);
056 }
057
058 @Override
059 public void deleteFolder(long groupId, long parentFolderId,
060 java.lang.String name)
061 throws com.liferay.portal.kernel.exception.PortalException {
062 _dlFolderService.deleteFolder(groupId, parentFolderId, name);
063 }
064
065 @Override
066 public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
067 long groupId, long folderId, int status, int start, int end)
068 throws com.liferay.portal.kernel.exception.PortalException {
069 return _dlFolderService.getFileEntriesAndFileShortcuts(groupId,
070 folderId, status, start, end);
071 }
072
073 @Override
074 public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
075 int status) throws com.liferay.portal.kernel.exception.PortalException {
076 return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
077 folderId, status);
078 }
079
080 @Override
081 public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
082 int status, java.lang.String[] mimeTypes)
083 throws com.liferay.portal.kernel.exception.PortalException {
084 return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
085 folderId, status, mimeTypes);
086 }
087
088 @Override
089 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
090 long folderId)
091 throws com.liferay.portal.kernel.exception.PortalException {
092 return _dlFolderService.getFolder(folderId);
093 }
094
095 @Override
096 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
097 long groupId, long parentFolderId, java.lang.String name)
098 throws com.liferay.portal.kernel.exception.PortalException {
099 return _dlFolderService.getFolder(groupId, parentFolderId, name);
100 }
101
102 @Override
103 public java.util.List<java.lang.Long> getFolderIds(long groupId,
104 long folderId)
105 throws com.liferay.portal.kernel.exception.PortalException {
106 return _dlFolderService.getFolderIds(groupId, folderId);
107 }
108
109 @Override
110 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
111 long groupId, long parentFolderId, int start, int end,
112 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> obc)
113 throws com.liferay.portal.kernel.exception.PortalException {
114 return _dlFolderService.getFolders(groupId, parentFolderId, start, end,
115 obc);
116 }
117
118 @Override
119 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
120 long groupId, long parentFolderId, int status,
121 boolean includeMountfolders, int start, int end,
122 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> obc)
123 throws com.liferay.portal.kernel.exception.PortalException {
124 return _dlFolderService.getFolders(groupId, parentFolderId, status,
125 includeMountfolders, start, end, obc);
126 }
127
128 @Override
129 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
130 long groupId, long folderId, java.lang.String[] mimeTypes,
131 boolean includeMountFolders,
132 com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition)
133 throws com.liferay.portal.kernel.exception.PortalException {
134 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
135 folderId, mimeTypes, includeMountFolders, queryDefinition);
136 }
137
138 @Override
139 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
140 long groupId, long folderId, int status, boolean includeMountFolders,
141 int start, int end,
142 com.liferay.portal.kernel.util.OrderByComparator<?> obc)
143 throws com.liferay.portal.kernel.exception.PortalException {
144 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
145 folderId, status, includeMountFolders, start, end, obc);
146 }
147
148 @Override
149 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
150 long groupId, long folderId, int status, java.lang.String[] mimeTypes,
151 boolean includeMountFolders, int start, int end,
152 com.liferay.portal.kernel.util.OrderByComparator<?> obc)
153 throws com.liferay.portal.kernel.exception.PortalException {
154 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
155 folderId, status, mimeTypes, includeMountFolders, start, end, obc);
156 }
157
158 @Override
159 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
160 long folderId, java.lang.String[] mimeTypes,
161 boolean includeMountFolders,
162 com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition)
163 throws com.liferay.portal.kernel.exception.PortalException {
164 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
165 folderId, mimeTypes, includeMountFolders, queryDefinition);
166 }
167
168 @Override
169 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
170 long folderId, int status, boolean includeMountFolders)
171 throws com.liferay.portal.kernel.exception.PortalException {
172 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
173 folderId, status, includeMountFolders);
174 }
175
176 @Override
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.PortalException {
181 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
182 folderId, status, mimeTypes, includeMountFolders);
183 }
184
185 @Override
186 public int getFoldersCount(long groupId, long parentFolderId)
187 throws com.liferay.portal.kernel.exception.PortalException {
188 return _dlFolderService.getFoldersCount(groupId, parentFolderId);
189 }
190
191 @Override
192 public int getFoldersCount(long groupId, long parentFolderId, int status,
193 boolean includeMountfolders)
194 throws com.liferay.portal.kernel.exception.PortalException {
195 return _dlFolderService.getFoldersCount(groupId, parentFolderId,
196 status, includeMountfolders);
197 }
198
199 @Override
200 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
201 long groupId, long parentFolderId, int start, int end,
202 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> obc)
203 throws com.liferay.portal.kernel.exception.PortalException {
204 return _dlFolderService.getMountFolders(groupId, parentFolderId, start,
205 end, obc);
206 }
207
208 @Override
209 public int getMountFoldersCount(long groupId, long parentFolderId)
210 throws com.liferay.portal.kernel.exception.PortalException {
211 return _dlFolderService.getMountFoldersCount(groupId, parentFolderId);
212 }
213
214
219 @Override
220 public java.lang.String getOSGiServiceIdentifier() {
221 return _dlFolderService.getOSGiServiceIdentifier();
222 }
223
224
228 @Deprecated
229 @Override
230 public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
231 long groupId, long folderId)
232 throws com.liferay.portal.kernel.exception.PortalException {
233 _dlFolderService.getSubfolderIds(folderIds, groupId, folderId);
234 }
235
236 @Override
237 public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
238 long groupId, long folderId, boolean recurse)
239 throws com.liferay.portal.kernel.exception.PortalException {
240 _dlFolderService.getSubfolderIds(folderIds, groupId, folderId, recurse);
241 }
242
243 @Override
244 public java.util.List<java.lang.Long> getSubfolderIds(long groupId,
245 long folderId, boolean recurse)
246 throws com.liferay.portal.kernel.exception.PortalException {
247 return _dlFolderService.getSubfolderIds(groupId, folderId, recurse);
248 }
249
250 @Override
251 public boolean hasFolderLock(long folderId)
252 throws com.liferay.portal.kernel.exception.PortalException {
253 return _dlFolderService.hasFolderLock(folderId);
254 }
255
256 @Override
257 public boolean hasInheritableLock(long folderId)
258 throws com.liferay.portal.kernel.exception.PortalException {
259 return _dlFolderService.hasInheritableLock(folderId);
260 }
261
262 @Override
263 public boolean isFolderLocked(long folderId) {
264 return _dlFolderService.isFolderLocked(folderId);
265 }
266
267 @Override
268 public com.liferay.portal.kernel.lock.Lock lockFolder(long folderId)
269 throws com.liferay.portal.kernel.exception.PortalException {
270 return _dlFolderService.lockFolder(folderId);
271 }
272
273 @Override
274 public com.liferay.portal.kernel.lock.Lock lockFolder(long folderId,
275 java.lang.String owner, boolean inheritable, long expirationTime)
276 throws com.liferay.portal.kernel.exception.PortalException {
277 return _dlFolderService.lockFolder(folderId, owner, inheritable,
278 expirationTime);
279 }
280
281 @Override
282 public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
283 long folderId, long parentFolderId,
284 com.liferay.portal.service.ServiceContext serviceContext)
285 throws com.liferay.portal.kernel.exception.PortalException {
286 return _dlFolderService.moveFolder(folderId, parentFolderId,
287 serviceContext);
288 }
289
290 @Override
291 public com.liferay.portal.kernel.lock.Lock refreshFolderLock(
292 java.lang.String lockUuid, long companyId, long expirationTime)
293 throws com.liferay.portal.kernel.exception.PortalException {
294 return _dlFolderService.refreshFolderLock(lockUuid, companyId,
295 expirationTime);
296 }
297
298 @Override
299 public void unlockFolder(long folderId, java.lang.String lockUuid)
300 throws com.liferay.portal.kernel.exception.PortalException {
301 _dlFolderService.unlockFolder(folderId, lockUuid);
302 }
303
304 @Override
305 public void unlockFolder(long groupId, long parentFolderId,
306 java.lang.String name, java.lang.String lockUuid)
307 throws com.liferay.portal.kernel.exception.PortalException {
308 _dlFolderService.unlockFolder(groupId, parentFolderId, name, lockUuid);
309 }
310
311
316 @Deprecated
317 @Override
318 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
319 long folderId, java.lang.String name, java.lang.String description,
320 long defaultFileEntryTypeId,
321 java.util.List<java.lang.Long> fileEntryTypeIds,
322 boolean overrideFileEntryTypes,
323 com.liferay.portal.service.ServiceContext serviceContext)
324 throws com.liferay.portal.kernel.exception.PortalException {
325 return _dlFolderService.updateFolder(folderId, name, description,
326 defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
327 serviceContext);
328 }
329
330 @Override
331 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
332 long folderId, java.lang.String name, java.lang.String description,
333 long defaultFileEntryTypeId,
334 java.util.List<java.lang.Long> fileEntryTypeIds, int restrictionType,
335 com.liferay.portal.service.ServiceContext serviceContext)
336 throws com.liferay.portal.kernel.exception.PortalException {
337 return _dlFolderService.updateFolder(folderId, name, description,
338 defaultFileEntryTypeId, fileEntryTypeIds, restrictionType,
339 serviceContext);
340 }
341
342 @Override
343 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
344 long folderId, long parentFolderId, java.lang.String name,
345 java.lang.String description, long defaultFileEntryTypeId,
346 java.util.List<java.lang.Long> fileEntryTypeIds, int restrictionType,
347 com.liferay.portal.service.ServiceContext serviceContext)
348 throws com.liferay.portal.kernel.exception.PortalException {
349 return _dlFolderService.updateFolder(folderId, parentFolderId, name,
350 description, defaultFileEntryTypeId, fileEntryTypeIds,
351 restrictionType, serviceContext);
352 }
353
354 @Override
355 public boolean verifyInheritableLock(long folderId,
356 java.lang.String lockUuid)
357 throws com.liferay.portal.kernel.exception.PortalException {
358 return _dlFolderService.verifyInheritableLock(folderId, lockUuid);
359 }
360
361 @Override
362 public DLFolderService getWrappedService() {
363 return _dlFolderService;
364 }
365
366 @Override
367 public void setWrappedService(DLFolderService dlFolderService) {
368 _dlFolderService = dlFolderService;
369 }
370
371 private DLFolderService _dlFolderService;
372 }