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