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 public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
035 long groupId, long repositoryId, boolean mountPoint,
036 long parentFolderId, java.lang.String name,
037 java.lang.String description,
038 com.liferay.portal.service.ServiceContext serviceContext)
039 throws com.liferay.portal.kernel.exception.PortalException,
040 com.liferay.portal.kernel.exception.SystemException {
041 return _dlFolderService.addFolder(groupId, repositoryId, mountPoint,
042 parentFolderId, name, description, serviceContext);
043 }
044
045 public void deleteFolder(long folderId)
046 throws com.liferay.portal.kernel.exception.PortalException,
047 com.liferay.portal.kernel.exception.SystemException {
048 _dlFolderService.deleteFolder(folderId);
049 }
050
051 public void deleteFolder(long groupId, long parentFolderId,
052 java.lang.String name)
053 throws com.liferay.portal.kernel.exception.PortalException,
054 com.liferay.portal.kernel.exception.SystemException {
055 _dlFolderService.deleteFolder(groupId, parentFolderId, name);
056 }
057
058 public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
059 long groupId, long folderId, int status, int start, int end)
060 throws com.liferay.portal.kernel.exception.SystemException {
061 return _dlFolderService.getFileEntriesAndFileShortcuts(groupId,
062 folderId, status, start, end);
063 }
064
065 public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
066 int status) throws com.liferay.portal.kernel.exception.SystemException {
067 return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
068 folderId, status);
069 }
070
071 public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
072 int status, java.lang.String[] mimeTypes)
073 throws com.liferay.portal.kernel.exception.SystemException {
074 return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
075 folderId, status, mimeTypes);
076 }
077
078 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
079 long folderId)
080 throws com.liferay.portal.kernel.exception.PortalException,
081 com.liferay.portal.kernel.exception.SystemException {
082 return _dlFolderService.getFolder(folderId);
083 }
084
085 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
086 long groupId, long parentFolderId, java.lang.String name)
087 throws com.liferay.portal.kernel.exception.PortalException,
088 com.liferay.portal.kernel.exception.SystemException {
089 return _dlFolderService.getFolder(groupId, parentFolderId, name);
090 }
091
092 public long[] getFolderIds(long groupId, long folderId)
093 throws com.liferay.portal.kernel.exception.SystemException {
094 return _dlFolderService.getFolderIds(groupId, folderId);
095 }
096
097 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
098 long groupId, long parentFolderId, boolean includeMountfolders,
099 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return _dlFolderService.getFolders(groupId, parentFolderId,
102 includeMountfolders, start, end, obc);
103 }
104
105 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
106 long groupId, long parentFolderId, int start, int end,
107 com.liferay.portal.kernel.util.OrderByComparator obc)
108 throws com.liferay.portal.kernel.exception.SystemException {
109 return _dlFolderService.getFolders(groupId, parentFolderId, start, end,
110 obc);
111 }
112
113 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
114 long groupId, long folderId, int status, boolean includeMountFolders,
115 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.kernel.exception.SystemException {
117 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
118 folderId, status, includeMountFolders, start, end, obc);
119 }
120
121 public int getFoldersAndFileEntriesAndFileShortcuts(long groupId,
122 long folderId, int status, java.lang.String[] mimeTypes,
123 boolean includeMountFolders)
124 throws com.liferay.portal.kernel.exception.SystemException {
125 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
126 folderId, status, mimeTypes, includeMountFolders);
127 }
128
129 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
130 long groupId, long folderId, int status, java.lang.String[] mimeTypes,
131 boolean includeMountFolders, int start, int end,
132 com.liferay.portal.kernel.util.OrderByComparator obc)
133 throws com.liferay.portal.kernel.exception.SystemException {
134 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
135 folderId, status, mimeTypes, includeMountFolders, start, end, obc);
136 }
137
138 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
139 long folderId, int status, boolean includeMountFolders)
140 throws com.liferay.portal.kernel.exception.SystemException {
141 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
142 folderId, status, includeMountFolders);
143 }
144
145 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
146 long folderId, int status, java.lang.String[] mimeTypes,
147 boolean includeMountFolders)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
150 folderId, status, mimeTypes, includeMountFolders);
151 }
152
153 public int getFoldersCount(long groupId, long parentFolderId)
154 throws com.liferay.portal.kernel.exception.SystemException {
155 return _dlFolderService.getFoldersCount(groupId, parentFolderId);
156 }
157
158 public int getFoldersCount(long groupId, long parentFolderId,
159 boolean includeMountfolders)
160 throws com.liferay.portal.kernel.exception.SystemException {
161 return _dlFolderService.getFoldersCount(groupId, parentFolderId,
162 includeMountfolders);
163 }
164
165 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
166 long groupId, long parentFolderId, int start, int end,
167 com.liferay.portal.kernel.util.OrderByComparator obc)
168 throws com.liferay.portal.kernel.exception.SystemException {
169 return _dlFolderService.getMountFolders(groupId, parentFolderId, start,
170 end, obc);
171 }
172
173 public int getMountFoldersCount(long groupId, long parentFolderId)
174 throws com.liferay.portal.kernel.exception.SystemException {
175 return _dlFolderService.getMountFoldersCount(groupId, parentFolderId);
176 }
177
178 public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
179 long groupId, long folderId)
180 throws com.liferay.portal.kernel.exception.SystemException {
181 _dlFolderService.getSubfolderIds(folderIds, groupId, folderId);
182 }
183
184 public java.util.List<java.lang.Long> getSubfolderIds(long groupId,
185 long folderId, boolean recurse)
186 throws com.liferay.portal.kernel.exception.SystemException {
187 return _dlFolderService.getSubfolderIds(groupId, folderId, recurse);
188 }
189
190 public boolean hasFolderLock(long folderId)
191 throws com.liferay.portal.kernel.exception.PortalException,
192 com.liferay.portal.kernel.exception.SystemException {
193 return _dlFolderService.hasFolderLock(folderId);
194 }
195
196 public boolean hasInheritableLock(long folderId)
197 throws com.liferay.portal.kernel.exception.PortalException,
198 com.liferay.portal.kernel.exception.SystemException {
199 return _dlFolderService.hasInheritableLock(folderId);
200 }
201
202 public boolean isFolderLocked(long folderId)
203 throws com.liferay.portal.kernel.exception.SystemException {
204 return _dlFolderService.isFolderLocked(folderId);
205 }
206
207 public com.liferay.portal.model.Lock lockFolder(long folderId)
208 throws com.liferay.portal.kernel.exception.PortalException,
209 com.liferay.portal.kernel.exception.SystemException {
210 return _dlFolderService.lockFolder(folderId);
211 }
212
213 public com.liferay.portal.model.Lock lockFolder(long folderId,
214 java.lang.String owner, boolean inheritable, long expirationTime)
215 throws com.liferay.portal.kernel.exception.PortalException,
216 com.liferay.portal.kernel.exception.SystemException {
217 return _dlFolderService.lockFolder(folderId, owner, inheritable,
218 expirationTime);
219 }
220
221 public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
222 long folderId, long parentFolderId,
223 com.liferay.portal.service.ServiceContext serviceContext)
224 throws com.liferay.portal.kernel.exception.PortalException,
225 com.liferay.portal.kernel.exception.SystemException {
226 return _dlFolderService.moveFolder(folderId, parentFolderId,
227 serviceContext);
228 }
229
230 public com.liferay.portal.model.Lock refreshFolderLock(
231 java.lang.String lockUuid, long expirationTime)
232 throws com.liferay.portal.kernel.exception.PortalException,
233 com.liferay.portal.kernel.exception.SystemException {
234 return _dlFolderService.refreshFolderLock(lockUuid, expirationTime);
235 }
236
237 public void unlockFolder(long groupId, long folderId,
238 java.lang.String lockUuid)
239 throws com.liferay.portal.kernel.exception.PortalException,
240 com.liferay.portal.kernel.exception.SystemException {
241 _dlFolderService.unlockFolder(groupId, folderId, lockUuid);
242 }
243
244 public void unlockFolder(long groupId, long parentFolderId,
245 java.lang.String name, java.lang.String lockUuid)
246 throws com.liferay.portal.kernel.exception.PortalException,
247 com.liferay.portal.kernel.exception.SystemException {
248 _dlFolderService.unlockFolder(groupId, parentFolderId, name, lockUuid);
249 }
250
251 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
252 long folderId, java.lang.String name, java.lang.String description,
253 long defaultFileEntryTypeId,
254 java.util.List<java.lang.Long> fileEntryTypeIds,
255 boolean overrideFileEntryTypes,
256 com.liferay.portal.service.ServiceContext serviceContext)
257 throws com.liferay.portal.kernel.exception.PortalException,
258 com.liferay.portal.kernel.exception.SystemException {
259 return _dlFolderService.updateFolder(folderId, name, description,
260 defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
261 serviceContext);
262 }
263
264 public boolean verifyInheritableLock(long folderId,
265 java.lang.String lockUuid)
266 throws com.liferay.portal.kernel.exception.PortalException,
267 com.liferay.portal.kernel.exception.SystemException {
268 return _dlFolderService.verifyInheritableLock(folderId, lockUuid);
269 }
270
271
274 public DLFolderService getWrappedDLFolderService() {
275 return _dlFolderService;
276 }
277
278
281 public void setWrappedDLFolderService(DLFolderService dlFolderService) {
282 _dlFolderService = dlFolderService;
283 }
284
285 public DLFolderService getWrappedService() {
286 return _dlFolderService;
287 }
288
289 public void setWrappedService(DLFolderService dlFolderService) {
290 _dlFolderService = dlFolderService;
291 }
292
293 private DLFolderService _dlFolderService;
294 }