1
22
23 package com.liferay.portlet.documentlibrary.service;
24
25
26
42 public class DLFolderLocalServiceWrapper implements DLFolderLocalService {
43 public DLFolderLocalServiceWrapper(
44 DLFolderLocalService dlFolderLocalService) {
45 _dlFolderLocalService = dlFolderLocalService;
46 }
47
48 public com.liferay.portlet.documentlibrary.model.DLFolder addDLFolder(
49 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
50 throws com.liferay.portal.SystemException {
51 return _dlFolderLocalService.addDLFolder(dlFolder);
52 }
53
54 public com.liferay.portlet.documentlibrary.model.DLFolder createDLFolder(
55 long folderId) {
56 return _dlFolderLocalService.createDLFolder(folderId);
57 }
58
59 public void deleteDLFolder(long folderId)
60 throws com.liferay.portal.PortalException,
61 com.liferay.portal.SystemException {
62 _dlFolderLocalService.deleteDLFolder(folderId);
63 }
64
65 public void deleteDLFolder(
66 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
67 throws com.liferay.portal.SystemException {
68 _dlFolderLocalService.deleteDLFolder(dlFolder);
69 }
70
71 public java.util.List<Object> dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
73 throws com.liferay.portal.SystemException {
74 return _dlFolderLocalService.dynamicQuery(dynamicQuery);
75 }
76
77 public java.util.List<Object> dynamicQuery(
78 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79 int end) throws com.liferay.portal.SystemException {
80 return _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end);
81 }
82
83 public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolder(
84 long folderId)
85 throws com.liferay.portal.PortalException,
86 com.liferay.portal.SystemException {
87 return _dlFolderLocalService.getDLFolder(folderId);
88 }
89
90 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
91 int start, int end) throws com.liferay.portal.SystemException {
92 return _dlFolderLocalService.getDLFolders(start, end);
93 }
94
95 public int getDLFoldersCount() throws com.liferay.portal.SystemException {
96 return _dlFolderLocalService.getDLFoldersCount();
97 }
98
99 public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
100 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
101 throws com.liferay.portal.SystemException {
102 return _dlFolderLocalService.updateDLFolder(dlFolder);
103 }
104
105 public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
106 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
107 boolean merge) throws com.liferay.portal.SystemException {
108 return _dlFolderLocalService.updateDLFolder(dlFolder, merge);
109 }
110
111 public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
112 long userId, long groupId, long parentFolderId, java.lang.String name,
113 java.lang.String description,
114 com.liferay.portal.service.ServiceContext serviceContext)
115 throws com.liferay.portal.PortalException,
116 com.liferay.portal.SystemException {
117 return _dlFolderLocalService.addFolder(userId, groupId, parentFolderId,
118 name, description, serviceContext);
119 }
120
121 public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
122 java.lang.String uuid, long userId, long groupId, long parentFolderId,
123 java.lang.String name, java.lang.String description,
124 com.liferay.portal.service.ServiceContext serviceContext)
125 throws com.liferay.portal.PortalException,
126 com.liferay.portal.SystemException {
127 return _dlFolderLocalService.addFolder(uuid, userId, groupId,
128 parentFolderId, name, description, serviceContext);
129 }
130
131 public void addFolderResources(long folderId,
132 boolean addCommunityPermissions, boolean addGuestPermissions)
133 throws com.liferay.portal.PortalException,
134 com.liferay.portal.SystemException {
135 _dlFolderLocalService.addFolderResources(folderId,
136 addCommunityPermissions, addGuestPermissions);
137 }
138
139 public void addFolderResources(
140 com.liferay.portlet.documentlibrary.model.DLFolder folder,
141 boolean addCommunityPermissions, boolean addGuestPermissions)
142 throws com.liferay.portal.PortalException,
143 com.liferay.portal.SystemException {
144 _dlFolderLocalService.addFolderResources(folder,
145 addCommunityPermissions, addGuestPermissions);
146 }
147
148 public void addFolderResources(long folderId,
149 java.lang.String[] communityPermissions,
150 java.lang.String[] guestPermissions)
151 throws com.liferay.portal.PortalException,
152 com.liferay.portal.SystemException {
153 _dlFolderLocalService.addFolderResources(folderId,
154 communityPermissions, guestPermissions);
155 }
156
157 public void addFolderResources(
158 com.liferay.portlet.documentlibrary.model.DLFolder folder,
159 java.lang.String[] communityPermissions,
160 java.lang.String[] guestPermissions)
161 throws com.liferay.portal.PortalException,
162 com.liferay.portal.SystemException {
163 _dlFolderLocalService.addFolderResources(folder, communityPermissions,
164 guestPermissions);
165 }
166
167 public void deleteFolder(long folderId)
168 throws com.liferay.portal.PortalException,
169 com.liferay.portal.SystemException {
170 _dlFolderLocalService.deleteFolder(folderId);
171 }
172
173 public void deleteFolder(
174 com.liferay.portlet.documentlibrary.model.DLFolder folder)
175 throws com.liferay.portal.PortalException,
176 com.liferay.portal.SystemException {
177 _dlFolderLocalService.deleteFolder(folder);
178 }
179
180 public void deleteFolders(long groupId)
181 throws com.liferay.portal.PortalException,
182 com.liferay.portal.SystemException {
183 _dlFolderLocalService.deleteFolders(groupId);
184 }
185
186 public java.util.List<Object> getFileEntriesAndFileShortcuts(
187 long folderId, int start, int end)
188 throws com.liferay.portal.SystemException {
189 return _dlFolderLocalService.getFileEntriesAndFileShortcuts(folderId,
190 start, end);
191 }
192
193 public java.util.List<Object> getFileEntriesAndFileShortcuts(
194 java.util.List<Long> folderIds, int start, int end)
195 throws com.liferay.portal.SystemException {
196 return _dlFolderLocalService.getFileEntriesAndFileShortcuts(folderIds,
197 start, end);
198 }
199
200 public int getFileEntriesAndFileShortcutsCount(long folderId)
201 throws com.liferay.portal.SystemException {
202 return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(folderId);
203 }
204
205 public int getFileEntriesAndFileShortcutsCount(
206 java.util.List<Long> folderIds)
207 throws com.liferay.portal.SystemException {
208 return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(folderIds);
209 }
210
211 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
212 long folderId)
213 throws com.liferay.portal.PortalException,
214 com.liferay.portal.SystemException {
215 return _dlFolderLocalService.getFolder(folderId);
216 }
217
218 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
219 long groupId, long parentFolderId, java.lang.String name)
220 throws com.liferay.portal.PortalException,
221 com.liferay.portal.SystemException {
222 return _dlFolderLocalService.getFolder(groupId, parentFolderId, name);
223 }
224
225 public java.util.List<Object> getFoldersAndFileEntriesAndFileShortcuts(
226 long folderId, int start, int end)
227 throws com.liferay.portal.SystemException {
228 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(folderId,
229 start, end);
230 }
231
232 public java.util.List<Object> getFoldersAndFileEntriesAndFileShortcuts(
233 java.util.List<Long> folderIds, int start, int end)
234 throws com.liferay.portal.SystemException {
235 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(folderIds,
236 start, end);
237 }
238
239 public int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId)
240 throws com.liferay.portal.SystemException {
241 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(folderId);
242 }
243
244 public int getFoldersAndFileEntriesAndFileShortcutsCount(
245 java.util.List<Long> folderIds)
246 throws com.liferay.portal.SystemException {
247 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(folderIds);
248 }
249
250 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
251 long companyId) throws com.liferay.portal.SystemException {
252 return _dlFolderLocalService.getFolders(companyId);
253 }
254
255 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
256 long groupId, long parentFolderId)
257 throws com.liferay.portal.SystemException {
258 return _dlFolderLocalService.getFolders(groupId, parentFolderId);
259 }
260
261 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
262 long groupId, long parentFolderId, int start, int end)
263 throws com.liferay.portal.SystemException {
264 return _dlFolderLocalService.getFolders(groupId, parentFolderId, start,
265 end);
266 }
267
268 public int getFoldersCount(long groupId, long parentFolderId)
269 throws com.liferay.portal.SystemException {
270 return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId);
271 }
272
273 public void getSubfolderIds(java.util.List<Long> folderIds, long groupId,
274 long folderId) throws com.liferay.portal.SystemException {
275 _dlFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
276 }
277
278 public void reIndex(java.lang.String[] ids)
279 throws com.liferay.portal.SystemException {
280 _dlFolderLocalService.reIndex(ids);
281 }
282
283 public com.liferay.portal.kernel.search.Hits search(long companyId,
284 long groupId, long userId, long[] folderIds, java.lang.String keywords,
285 int start, int end) throws com.liferay.portal.SystemException {
286 return _dlFolderLocalService.search(companyId, groupId, userId,
287 folderIds, keywords, start, end);
288 }
289
290 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
291 long folderId, long parentFolderId, java.lang.String name,
292 java.lang.String description,
293 com.liferay.portal.service.ServiceContext serviceContext)
294 throws com.liferay.portal.PortalException,
295 com.liferay.portal.SystemException {
296 return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
297 name, description, serviceContext);
298 }
299
300 public DLFolderLocalService getWrappedDLFolderLocalService() {
301 return _dlFolderLocalService;
302 }
303
304 private DLFolderLocalService _dlFolderLocalService;
305 }