001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class DLFolderServiceWrapper implements DLFolderService,
029 ServiceWrapper<DLFolderService> {
030 public DLFolderServiceWrapper(DLFolderService dlFolderService) {
031 _dlFolderService = dlFolderService;
032 }
033
034
039 public java.lang.String getBeanIdentifier() {
040 return _dlFolderService.getBeanIdentifier();
041 }
042
043
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 java.util.List<java.lang.Long> getFolderIds(long groupId,
118 long folderId)
119 throws com.liferay.portal.kernel.exception.PortalException,
120 com.liferay.portal.kernel.exception.SystemException {
121 return _dlFolderService.getFolderIds(groupId, folderId);
122 }
123
124 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
125 long groupId, long parentFolderId, int status,
126 boolean includeMountfolders, int start, int end,
127 com.liferay.portal.kernel.util.OrderByComparator obc)
128 throws com.liferay.portal.kernel.exception.PortalException,
129 com.liferay.portal.kernel.exception.SystemException {
130 return _dlFolderService.getFolders(groupId, parentFolderId, status,
131 includeMountfolders, start, end, obc);
132 }
133
134 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
135 long groupId, long parentFolderId, int start, int end,
136 com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.kernel.exception.PortalException,
138 com.liferay.portal.kernel.exception.SystemException {
139 return _dlFolderService.getFolders(groupId, parentFolderId, start, end,
140 obc);
141 }
142
143 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
144 long groupId, long folderId, int status, boolean includeMountFolders,
145 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
146 throws com.liferay.portal.kernel.exception.PortalException,
147 com.liferay.portal.kernel.exception.SystemException {
148 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
149 folderId, status, includeMountFolders, start, end, obc);
150 }
151
152 public int getFoldersAndFileEntriesAndFileShortcuts(long groupId,
153 long folderId, int status, java.lang.String[] mimeTypes,
154 boolean includeMountFolders)
155 throws com.liferay.portal.kernel.exception.PortalException,
156 com.liferay.portal.kernel.exception.SystemException {
157 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
158 folderId, status, mimeTypes, includeMountFolders);
159 }
160
161 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
162 long groupId, long folderId, int status, java.lang.String[] mimeTypes,
163 boolean includeMountFolders, int start, int end,
164 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, mimeTypes, includeMountFolders, start, end, obc);
169 }
170
171 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
172 long folderId, int status, boolean includeMountFolders)
173 throws com.liferay.portal.kernel.exception.SystemException {
174 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
175 folderId, status, includeMountFolders);
176 }
177
178 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
179 long folderId, int status, java.lang.String[] mimeTypes,
180 boolean includeMountFolders)
181 throws com.liferay.portal.kernel.exception.SystemException {
182 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
183 folderId, status, mimeTypes, includeMountFolders);
184 }
185
186 public int getFoldersCount(long groupId, long parentFolderId)
187 throws com.liferay.portal.kernel.exception.SystemException {
188 return _dlFolderService.getFoldersCount(groupId, parentFolderId);
189 }
190
191 public int getFoldersCount(long groupId, long parentFolderId, int status,
192 boolean includeMountfolders)
193 throws com.liferay.portal.kernel.exception.SystemException {
194 return _dlFolderService.getFoldersCount(groupId, parentFolderId,
195 status, includeMountfolders);
196 }
197
198 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
199 long groupId, long parentFolderId, int start, int end,
200 com.liferay.portal.kernel.util.OrderByComparator obc)
201 throws com.liferay.portal.kernel.exception.PortalException,
202 com.liferay.portal.kernel.exception.SystemException {
203 return _dlFolderService.getMountFolders(groupId, parentFolderId, start,
204 end, obc);
205 }
206
207 public int getMountFoldersCount(long groupId, long parentFolderId)
208 throws com.liferay.portal.kernel.exception.SystemException {
209 return _dlFolderService.getMountFoldersCount(groupId, parentFolderId);
210 }
211
212 public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
213 long groupId, long folderId)
214 throws com.liferay.portal.kernel.exception.PortalException,
215 com.liferay.portal.kernel.exception.SystemException {
216 _dlFolderService.getSubfolderIds(folderIds, groupId, folderId);
217 }
218
219 public java.util.List<java.lang.Long> getSubfolderIds(long groupId,
220 long folderId, boolean recurse)
221 throws com.liferay.portal.kernel.exception.PortalException,
222 com.liferay.portal.kernel.exception.SystemException {
223 return _dlFolderService.getSubfolderIds(groupId, folderId, recurse);
224 }
225
226 public boolean hasFolderLock(long folderId)
227 throws com.liferay.portal.kernel.exception.PortalException,
228 com.liferay.portal.kernel.exception.SystemException {
229 return _dlFolderService.hasFolderLock(folderId);
230 }
231
232 public boolean hasInheritableLock(long folderId)
233 throws com.liferay.portal.kernel.exception.PortalException,
234 com.liferay.portal.kernel.exception.SystemException {
235 return _dlFolderService.hasInheritableLock(folderId);
236 }
237
238 public boolean isFolderLocked(long folderId)
239 throws com.liferay.portal.kernel.exception.SystemException {
240 return _dlFolderService.isFolderLocked(folderId);
241 }
242
243 public com.liferay.portal.model.Lock lockFolder(long folderId)
244 throws com.liferay.portal.kernel.exception.PortalException,
245 com.liferay.portal.kernel.exception.SystemException {
246 return _dlFolderService.lockFolder(folderId);
247 }
248
249 public com.liferay.portal.model.Lock lockFolder(long folderId,
250 java.lang.String owner, boolean inheritable, long expirationTime)
251 throws com.liferay.portal.kernel.exception.PortalException,
252 com.liferay.portal.kernel.exception.SystemException {
253 return _dlFolderService.lockFolder(folderId, owner, inheritable,
254 expirationTime);
255 }
256
257 public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
258 long folderId, long parentFolderId,
259 com.liferay.portal.service.ServiceContext serviceContext)
260 throws com.liferay.portal.kernel.exception.PortalException,
261 com.liferay.portal.kernel.exception.SystemException {
262 return _dlFolderService.moveFolder(folderId, parentFolderId,
263 serviceContext);
264 }
265
266 public com.liferay.portal.model.Lock refreshFolderLock(
267 java.lang.String lockUuid, long companyId, long expirationTime)
268 throws com.liferay.portal.kernel.exception.PortalException,
269 com.liferay.portal.kernel.exception.SystemException {
270 return _dlFolderService.refreshFolderLock(lockUuid, companyId,
271 expirationTime);
272 }
273
274 public void unlockFolder(long groupId, long parentFolderId,
275 java.lang.String name, java.lang.String lockUuid)
276 throws com.liferay.portal.kernel.exception.PortalException,
277 com.liferay.portal.kernel.exception.SystemException {
278 _dlFolderService.unlockFolder(groupId, parentFolderId, name, lockUuid);
279 }
280
281 public void unlockFolder(long folderId, java.lang.String lockUuid)
282 throws com.liferay.portal.kernel.exception.PortalException,
283 com.liferay.portal.kernel.exception.SystemException {
284 _dlFolderService.unlockFolder(folderId, 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
310 public DLFolderService getWrappedDLFolderService() {
311 return _dlFolderService;
312 }
313
314
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 }