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