001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class DLContentLocalServiceWrapper implements DLContentLocalService,
029 ServiceWrapper<DLContentLocalService> {
030 public DLContentLocalServiceWrapper(
031 DLContentLocalService dlContentLocalService) {
032 _dlContentLocalService = dlContentLocalService;
033 }
034
035
042 public com.liferay.portlet.documentlibrary.model.DLContent addDLContent(
043 com.liferay.portlet.documentlibrary.model.DLContent dlContent)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _dlContentLocalService.addDLContent(dlContent);
046 }
047
048
054 public com.liferay.portlet.documentlibrary.model.DLContent createDLContent(
055 long contentId) {
056 return _dlContentLocalService.createDLContent(contentId);
057 }
058
059
066 public void deleteDLContent(long contentId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 _dlContentLocalService.deleteDLContent(contentId);
070 }
071
072
078 public void deleteDLContent(
079 com.liferay.portlet.documentlibrary.model.DLContent dlContent)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 _dlContentLocalService.deleteDLContent(dlContent);
082 }
083
084
091 @SuppressWarnings("rawtypes")
092 public java.util.List dynamicQuery(
093 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
094 throws com.liferay.portal.kernel.exception.SystemException {
095 return _dlContentLocalService.dynamicQuery(dynamicQuery);
096 }
097
098
111 @SuppressWarnings("rawtypes")
112 public java.util.List dynamicQuery(
113 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
114 int end) throws com.liferay.portal.kernel.exception.SystemException {
115 return _dlContentLocalService.dynamicQuery(dynamicQuery, start, end);
116 }
117
118
132 @SuppressWarnings("rawtypes")
133 public java.util.List dynamicQuery(
134 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
135 int end,
136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 return _dlContentLocalService.dynamicQuery(dynamicQuery, start, end,
139 orderByComparator);
140 }
141
142
149 public long dynamicQueryCount(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return _dlContentLocalService.dynamicQueryCount(dynamicQuery);
153 }
154
155 public com.liferay.portlet.documentlibrary.model.DLContent fetchDLContent(
156 long contentId)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return _dlContentLocalService.fetchDLContent(contentId);
159 }
160
161
169 public com.liferay.portlet.documentlibrary.model.DLContent getDLContent(
170 long contentId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return _dlContentLocalService.getDLContent(contentId);
174 }
175
176 public com.liferay.portal.model.PersistedModel getPersistedModel(
177 java.io.Serializable primaryKeyObj)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _dlContentLocalService.getPersistedModel(primaryKeyObj);
181 }
182
183
195 public java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getDLContents(
196 int start, int end)
197 throws com.liferay.portal.kernel.exception.SystemException {
198 return _dlContentLocalService.getDLContents(start, end);
199 }
200
201
207 public int getDLContentsCount()
208 throws com.liferay.portal.kernel.exception.SystemException {
209 return _dlContentLocalService.getDLContentsCount();
210 }
211
212
219 public com.liferay.portlet.documentlibrary.model.DLContent updateDLContent(
220 com.liferay.portlet.documentlibrary.model.DLContent dlContent)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _dlContentLocalService.updateDLContent(dlContent);
223 }
224
225
233 public com.liferay.portlet.documentlibrary.model.DLContent updateDLContent(
234 com.liferay.portlet.documentlibrary.model.DLContent dlContent,
235 boolean merge)
236 throws com.liferay.portal.kernel.exception.SystemException {
237 return _dlContentLocalService.updateDLContent(dlContent, merge);
238 }
239
240 public com.liferay.portlet.documentlibrary.model.DLContentDataBlobModel getDataBlobModel(
241 java.io.Serializable primaryKey)
242 throws com.liferay.portal.kernel.exception.SystemException {
243 return _dlContentLocalService.getDataBlobModel(primaryKey);
244 }
245
246
251 public java.lang.String getBeanIdentifier() {
252 return _dlContentLocalService.getBeanIdentifier();
253 }
254
255
260 public void setBeanIdentifier(java.lang.String beanIdentifier) {
261 _dlContentLocalService.setBeanIdentifier(beanIdentifier);
262 }
263
264 public com.liferay.portlet.documentlibrary.model.DLContent addContent(
265 long companyId, long repositoryId, java.lang.String path,
266 java.lang.String version, byte[] bytes)
267 throws com.liferay.portal.kernel.exception.SystemException {
268 return _dlContentLocalService.addContent(companyId, repositoryId, path,
269 version, bytes);
270 }
271
272 public com.liferay.portlet.documentlibrary.model.DLContent addContent(
273 long companyId, long repositoryId, java.lang.String path,
274 java.lang.String version, java.io.InputStream inputStream, long size)
275 throws com.liferay.portal.kernel.exception.SystemException {
276 return _dlContentLocalService.addContent(companyId, repositoryId, path,
277 version, inputStream, size);
278 }
279
280 public void deleteContent(long companyId, long repositoryId,
281 java.lang.String path, java.lang.String version)
282 throws com.liferay.portal.kernel.exception.PortalException,
283 com.liferay.portal.kernel.exception.SystemException {
284 _dlContentLocalService.deleteContent(companyId, repositoryId, path,
285 version);
286 }
287
288 public void deleteContents(long companyId, long repositoryId,
289 java.lang.String path)
290 throws com.liferay.portal.kernel.exception.SystemException {
291 _dlContentLocalService.deleteContents(companyId, repositoryId, path);
292 }
293
294 public void deleteContentsByDirectory(long companyId, long repositoryId,
295 java.lang.String dirName)
296 throws com.liferay.portal.kernel.exception.SystemException {
297 _dlContentLocalService.deleteContentsByDirectory(companyId,
298 repositoryId, dirName);
299 }
300
301 public com.liferay.portlet.documentlibrary.model.DLContent getContent(
302 long companyId, long repositoryId, java.lang.String path)
303 throws com.liferay.portal.kernel.exception.SystemException,
304 com.liferay.portlet.documentlibrary.NoSuchContentException {
305 return _dlContentLocalService.getContent(companyId, repositoryId, path);
306 }
307
308 public com.liferay.portlet.documentlibrary.model.DLContent getContent(
309 long companyId, long repositoryId, java.lang.String path,
310 java.lang.String version)
311 throws com.liferay.portal.kernel.exception.SystemException,
312 com.liferay.portlet.documentlibrary.NoSuchContentException {
313 return _dlContentLocalService.getContent(companyId, repositoryId, path,
314 version);
315 }
316
317 public java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getContents(
318 long companyId, long repositoryId)
319 throws com.liferay.portal.kernel.exception.SystemException {
320 return _dlContentLocalService.getContents(companyId, repositoryId);
321 }
322
323 public java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getContents(
324 long companyId, long repositoryId, java.lang.String path)
325 throws com.liferay.portal.kernel.exception.SystemException {
326 return _dlContentLocalService.getContents(companyId, repositoryId, path);
327 }
328
329 public java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getContentsByDirectory(
330 long companyId, long repositoryId, java.lang.String dirName)
331 throws com.liferay.portal.kernel.exception.SystemException {
332 return _dlContentLocalService.getContentsByDirectory(companyId,
333 repositoryId, dirName);
334 }
335
336 public boolean hasContent(long companyId, long repositoryId,
337 java.lang.String path, java.lang.String version)
338 throws com.liferay.portal.kernel.exception.SystemException {
339 return _dlContentLocalService.hasContent(companyId, repositoryId, path,
340 version);
341 }
342
343 public void updateDLContent(long companyId, long oldRepositoryId,
344 long newRepositoryId, java.lang.String oldPath, java.lang.String newPath)
345 throws com.liferay.portal.kernel.exception.SystemException {
346 _dlContentLocalService.updateDLContent(companyId, oldRepositoryId,
347 newRepositoryId, oldPath, newPath);
348 }
349
350
353 public DLContentLocalService getWrappedDLContentLocalService() {
354 return _dlContentLocalService;
355 }
356
357
360 public void setWrappedDLContentLocalService(
361 DLContentLocalService dlContentLocalService) {
362 _dlContentLocalService = dlContentLocalService;
363 }
364
365 public DLContentLocalService getWrappedService() {
366 return _dlContentLocalService;
367 }
368
369 public void setWrappedService(DLContentLocalService dlContentLocalService) {
370 _dlContentLocalService = dlContentLocalService;
371 }
372
373 private DLContentLocalService _dlContentLocalService;
374 }