001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017
026 public class DLFolderLocalServiceWrapper implements DLFolderLocalService {
027 public DLFolderLocalServiceWrapper(
028 DLFolderLocalService dlFolderLocalService) {
029 _dlFolderLocalService = dlFolderLocalService;
030 }
031
032 public com.liferay.portlet.documentlibrary.model.DLFolder addDLFolder(
033 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
034 throws com.liferay.portal.kernel.exception.SystemException {
035 return _dlFolderLocalService.addDLFolder(dlFolder);
036 }
037
038 public com.liferay.portlet.documentlibrary.model.DLFolder createDLFolder(
039 long folderId) {
040 return _dlFolderLocalService.createDLFolder(folderId);
041 }
042
043 public void deleteDLFolder(long folderId)
044 throws com.liferay.portal.kernel.exception.PortalException,
045 com.liferay.portal.kernel.exception.SystemException {
046 _dlFolderLocalService.deleteDLFolder(folderId);
047 }
048
049 public void deleteDLFolder(
050 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
051 throws com.liferay.portal.kernel.exception.SystemException {
052 _dlFolderLocalService.deleteDLFolder(dlFolder);
053 }
054
055 @SuppressWarnings("unchecked")
056 public java.util.List dynamicQuery(
057 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
058 throws com.liferay.portal.kernel.exception.SystemException {
059 return _dlFolderLocalService.dynamicQuery(dynamicQuery);
060 }
061
062 @SuppressWarnings("unchecked")
063 public java.util.List dynamicQuery(
064 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
065 int end) throws com.liferay.portal.kernel.exception.SystemException {
066 return _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end);
067 }
068
069 @SuppressWarnings("unchecked")
070 public java.util.List dynamicQuery(
071 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
072 int end,
073 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
074 throws com.liferay.portal.kernel.exception.SystemException {
075 return _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end,
076 orderByComparator);
077 }
078
079 public long dynamicQueryCount(
080 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
081 throws com.liferay.portal.kernel.exception.SystemException {
082 return _dlFolderLocalService.dynamicQueryCount(dynamicQuery);
083 }
084
085 public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolder(
086 long folderId)
087 throws com.liferay.portal.kernel.exception.PortalException,
088 com.liferay.portal.kernel.exception.SystemException {
089 return _dlFolderLocalService.getDLFolder(folderId);
090 }
091
092 public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolderByUuidAndGroupId(
093 java.lang.String uuid, long groupId)
094 throws com.liferay.portal.kernel.exception.PortalException,
095 com.liferay.portal.kernel.exception.SystemException {
096 return _dlFolderLocalService.getDLFolderByUuidAndGroupId(uuid, groupId);
097 }
098
099 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
100 int start, int end)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _dlFolderLocalService.getDLFolders(start, end);
103 }
104
105 public int getDLFoldersCount()
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return _dlFolderLocalService.getDLFoldersCount();
108 }
109
110 public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
111 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
112 throws com.liferay.portal.kernel.exception.SystemException {
113 return _dlFolderLocalService.updateDLFolder(dlFolder);
114 }
115
116 public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
117 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
118 boolean merge)
119 throws com.liferay.portal.kernel.exception.SystemException {
120 return _dlFolderLocalService.updateDLFolder(dlFolder, merge);
121 }
122
123 public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
124 long userId, long groupId, long parentFolderId, java.lang.String name,
125 java.lang.String description,
126 com.liferay.portal.service.ServiceContext serviceContext)
127 throws com.liferay.portal.kernel.exception.PortalException,
128 com.liferay.portal.kernel.exception.SystemException {
129 return _dlFolderLocalService.addFolder(userId, groupId, parentFolderId,
130 name, description, serviceContext);
131 }
132
133 public void addFolderResources(
134 com.liferay.portlet.documentlibrary.model.DLFolder folder,
135 boolean addCommunityPermissions, boolean addGuestPermissions)
136 throws com.liferay.portal.kernel.exception.PortalException,
137 com.liferay.portal.kernel.exception.SystemException {
138 _dlFolderLocalService.addFolderResources(folder,
139 addCommunityPermissions, addGuestPermissions);
140 }
141
142 public void addFolderResources(
143 com.liferay.portlet.documentlibrary.model.DLFolder folder,
144 java.lang.String[] communityPermissions,
145 java.lang.String[] guestPermissions)
146 throws com.liferay.portal.kernel.exception.PortalException,
147 com.liferay.portal.kernel.exception.SystemException {
148 _dlFolderLocalService.addFolderResources(folder, communityPermissions,
149 guestPermissions);
150 }
151
152 public void addFolderResources(long folderId,
153 boolean addCommunityPermissions, boolean addGuestPermissions)
154 throws com.liferay.portal.kernel.exception.PortalException,
155 com.liferay.portal.kernel.exception.SystemException {
156 _dlFolderLocalService.addFolderResources(folderId,
157 addCommunityPermissions, addGuestPermissions);
158 }
159
160 public void addFolderResources(long folderId,
161 java.lang.String[] communityPermissions,
162 java.lang.String[] guestPermissions)
163 throws com.liferay.portal.kernel.exception.PortalException,
164 com.liferay.portal.kernel.exception.SystemException {
165 _dlFolderLocalService.addFolderResources(folderId,
166 communityPermissions, guestPermissions);
167 }
168
169 public void deleteFolder(
170 com.liferay.portlet.documentlibrary.model.DLFolder folder)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 _dlFolderLocalService.deleteFolder(folder);
174 }
175
176 public void deleteFolder(long folderId)
177 throws com.liferay.portal.kernel.exception.PortalException,
178 com.liferay.portal.kernel.exception.SystemException {
179 _dlFolderLocalService.deleteFolder(folderId);
180 }
181
182 public void deleteFolders(long groupId)
183 throws com.liferay.portal.kernel.exception.PortalException,
184 com.liferay.portal.kernel.exception.SystemException {
185 _dlFolderLocalService.deleteFolders(groupId);
186 }
187
188 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getCompanyFolders(
189 long companyId, int start, int end)
190 throws com.liferay.portal.kernel.exception.SystemException {
191 return _dlFolderLocalService.getCompanyFolders(companyId, start, end);
192 }
193
194 public int getCompanyFoldersCount(long companyId)
195 throws com.liferay.portal.kernel.exception.SystemException {
196 return _dlFolderLocalService.getCompanyFoldersCount(companyId);
197 }
198
199 public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
200 long groupId, java.util.List<java.lang.Long> folderIds, int status,
201 int start, int end)
202 throws com.liferay.portal.kernel.exception.SystemException {
203 return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
204 folderIds, status, start, end);
205 }
206
207 public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
208 long groupId, long folderId, int status, int start, int end)
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
211 folderId, status, start, end);
212 }
213
214 public int getFileEntriesAndFileShortcutsCount(long groupId,
215 java.util.List<java.lang.Long> folderIds, int status)
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
218 folderIds, status);
219 }
220
221 public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
222 int status) throws com.liferay.portal.kernel.exception.SystemException {
223 return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
224 folderId, status);
225 }
226
227 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
228 long folderId)
229 throws com.liferay.portal.kernel.exception.PortalException,
230 com.liferay.portal.kernel.exception.SystemException {
231 return _dlFolderLocalService.getFolder(folderId);
232 }
233
234 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
235 long groupId, long parentFolderId, java.lang.String name)
236 throws com.liferay.portal.kernel.exception.PortalException,
237 com.liferay.portal.kernel.exception.SystemException {
238 return _dlFolderLocalService.getFolder(groupId, parentFolderId, name);
239 }
240
241 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
242 long companyId)
243 throws com.liferay.portal.kernel.exception.SystemException {
244 return _dlFolderLocalService.getFolders(companyId);
245 }
246
247 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
248 long groupId, long parentFolderId)
249 throws com.liferay.portal.kernel.exception.SystemException {
250 return _dlFolderLocalService.getFolders(groupId, parentFolderId);
251 }
252
253 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
254 long groupId, long parentFolderId, int start, int end)
255 throws com.liferay.portal.kernel.exception.SystemException {
256 return _dlFolderLocalService.getFolders(groupId, parentFolderId, start,
257 end);
258 }
259
260 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
261 long groupId, java.util.List<java.lang.Long> folderIds, int status,
262 int start, int end)
263 throws com.liferay.portal.kernel.exception.SystemException {
264 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
265 folderIds, status, start, end);
266 }
267
268 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
269 long groupId, long folderId, int status, int start, int end)
270 throws com.liferay.portal.kernel.exception.SystemException {
271 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
272 folderId, status, start, end);
273 }
274
275 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
276 java.util.List<java.lang.Long> folderIds, int status)
277 throws com.liferay.portal.kernel.exception.SystemException {
278 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
279 folderIds, status);
280 }
281
282 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
283 long folderId, int status)
284 throws com.liferay.portal.kernel.exception.SystemException {
285 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
286 folderId, status);
287 }
288
289 public int getFoldersCount(long groupId, long parentFolderId)
290 throws com.liferay.portal.kernel.exception.SystemException {
291 return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId);
292 }
293
294 public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
295 long groupId, long folderId)
296 throws com.liferay.portal.kernel.exception.SystemException {
297 _dlFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
298 }
299
300 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
301 long folderId, long parentFolderId, java.lang.String name,
302 java.lang.String description,
303 com.liferay.portal.service.ServiceContext serviceContext)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException {
306 return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
307 name, description, serviceContext);
308 }
309
310 public DLFolderLocalService getWrappedDLFolderLocalService() {
311 return _dlFolderLocalService;
312 }
313
314 private DLFolderLocalService _dlFolderLocalService;
315 }