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
067 public com.liferay.portlet.documentlibrary.model.DLContent deleteDLContent(
068 long contentId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _dlContentLocalService.deleteDLContent(contentId);
072 }
073
074
081 public com.liferay.portlet.documentlibrary.model.DLContent deleteDLContent(
082 com.liferay.portlet.documentlibrary.model.DLContent dlContent)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _dlContentLocalService.deleteDLContent(dlContent);
085 }
086
087 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088 return _dlContentLocalService.dynamicQuery();
089 }
090
091
098 @SuppressWarnings("rawtypes")
099 public java.util.List dynamicQuery(
100 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _dlContentLocalService.dynamicQuery(dynamicQuery);
103 }
104
105
118 @SuppressWarnings("rawtypes")
119 public java.util.List dynamicQuery(
120 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121 int end) throws com.liferay.portal.kernel.exception.SystemException {
122 return _dlContentLocalService.dynamicQuery(dynamicQuery, start, end);
123 }
124
125
139 @SuppressWarnings("rawtypes")
140 public java.util.List dynamicQuery(
141 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142 int end,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _dlContentLocalService.dynamicQuery(dynamicQuery, start, end,
146 orderByComparator);
147 }
148
149
156 public long dynamicQueryCount(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _dlContentLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portlet.documentlibrary.model.DLContent fetchDLContent(
163 long contentId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _dlContentLocalService.fetchDLContent(contentId);
166 }
167
168
176 public com.liferay.portlet.documentlibrary.model.DLContent getDLContent(
177 long contentId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _dlContentLocalService.getDLContent(contentId);
181 }
182
183 public com.liferay.portal.model.PersistedModel getPersistedModel(
184 java.io.Serializable primaryKeyObj)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _dlContentLocalService.getPersistedModel(primaryKeyObj);
188 }
189
190
202 public java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getDLContents(
203 int start, int end)
204 throws com.liferay.portal.kernel.exception.SystemException {
205 return _dlContentLocalService.getDLContents(start, end);
206 }
207
208
214 public int getDLContentsCount()
215 throws com.liferay.portal.kernel.exception.SystemException {
216 return _dlContentLocalService.getDLContentsCount();
217 }
218
219
226 public com.liferay.portlet.documentlibrary.model.DLContent updateDLContent(
227 com.liferay.portlet.documentlibrary.model.DLContent dlContent)
228 throws com.liferay.portal.kernel.exception.SystemException {
229 return _dlContentLocalService.updateDLContent(dlContent);
230 }
231
232
240 public com.liferay.portlet.documentlibrary.model.DLContent updateDLContent(
241 com.liferay.portlet.documentlibrary.model.DLContent dlContent,
242 boolean merge)
243 throws com.liferay.portal.kernel.exception.SystemException {
244 return _dlContentLocalService.updateDLContent(dlContent, merge);
245 }
246
247 public com.liferay.portlet.documentlibrary.model.DLContentDataBlobModel getDataBlobModel(
248 java.io.Serializable primaryKey)
249 throws com.liferay.portal.kernel.exception.SystemException {
250 return _dlContentLocalService.getDataBlobModel(primaryKey);
251 }
252
253
258 public java.lang.String getBeanIdentifier() {
259 return _dlContentLocalService.getBeanIdentifier();
260 }
261
262
267 public void setBeanIdentifier(java.lang.String beanIdentifier) {
268 _dlContentLocalService.setBeanIdentifier(beanIdentifier);
269 }
270
271 public com.liferay.portlet.documentlibrary.model.DLContent addContent(
272 long companyId, long repositoryId, java.lang.String path,
273 java.lang.String version, byte[] bytes)
274 throws com.liferay.portal.kernel.exception.SystemException {
275 return _dlContentLocalService.addContent(companyId, repositoryId, path,
276 version, bytes);
277 }
278
279 public com.liferay.portlet.documentlibrary.model.DLContent addContent(
280 long companyId, long repositoryId, java.lang.String path,
281 java.lang.String version, java.io.InputStream inputStream, long size)
282 throws com.liferay.portal.kernel.exception.SystemException {
283 return _dlContentLocalService.addContent(companyId, repositoryId, path,
284 version, inputStream, size);
285 }
286
287 public void deleteContent(long companyId, long repositoryId,
288 java.lang.String path, java.lang.String version)
289 throws com.liferay.portal.kernel.exception.PortalException,
290 com.liferay.portal.kernel.exception.SystemException {
291 _dlContentLocalService.deleteContent(companyId, repositoryId, path,
292 version);
293 }
294
295 public void deleteContents(long companyId, long repositoryId,
296 java.lang.String path)
297 throws com.liferay.portal.kernel.exception.SystemException {
298 _dlContentLocalService.deleteContents(companyId, repositoryId, path);
299 }
300
301 public void deleteContentsByDirectory(long companyId, long repositoryId,
302 java.lang.String dirName)
303 throws com.liferay.portal.kernel.exception.SystemException {
304 _dlContentLocalService.deleteContentsByDirectory(companyId,
305 repositoryId, dirName);
306 }
307
308 public com.liferay.portlet.documentlibrary.model.DLContent getContent(
309 long companyId, long repositoryId, java.lang.String path)
310 throws com.liferay.portal.kernel.exception.SystemException,
311 com.liferay.portlet.documentlibrary.NoSuchContentException {
312 return _dlContentLocalService.getContent(companyId, repositoryId, path);
313 }
314
315 public com.liferay.portlet.documentlibrary.model.DLContent getContent(
316 long companyId, long repositoryId, java.lang.String path,
317 java.lang.String version)
318 throws com.liferay.portal.kernel.exception.SystemException,
319 com.liferay.portlet.documentlibrary.NoSuchContentException {
320 return _dlContentLocalService.getContent(companyId, repositoryId, path,
321 version);
322 }
323
324 public java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getContents(
325 long companyId, long repositoryId)
326 throws com.liferay.portal.kernel.exception.SystemException {
327 return _dlContentLocalService.getContents(companyId, repositoryId);
328 }
329
330 public java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getContents(
331 long companyId, long repositoryId, java.lang.String path)
332 throws com.liferay.portal.kernel.exception.SystemException {
333 return _dlContentLocalService.getContents(companyId, repositoryId, path);
334 }
335
336 public java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getContentsByDirectory(
337 long companyId, long repositoryId, java.lang.String dirName)
338 throws com.liferay.portal.kernel.exception.SystemException {
339 return _dlContentLocalService.getContentsByDirectory(companyId,
340 repositoryId, dirName);
341 }
342
343 public boolean hasContent(long companyId, long repositoryId,
344 java.lang.String path, java.lang.String version)
345 throws com.liferay.portal.kernel.exception.SystemException {
346 return _dlContentLocalService.hasContent(companyId, repositoryId, path,
347 version);
348 }
349
350 public void updateDLContent(long companyId, long oldRepositoryId,
351 long newRepositoryId, java.lang.String oldPath, java.lang.String newPath)
352 throws com.liferay.portal.kernel.exception.SystemException {
353 _dlContentLocalService.updateDLContent(companyId, oldRepositoryId,
354 newRepositoryId, oldPath, newPath);
355 }
356
357
360 public DLContentLocalService getWrappedDLContentLocalService() {
361 return _dlContentLocalService;
362 }
363
364
367 public void setWrappedDLContentLocalService(
368 DLContentLocalService dlContentLocalService) {
369 _dlContentLocalService = dlContentLocalService;
370 }
371
372 public DLContentLocalService getWrappedService() {
373 return _dlContentLocalService;
374 }
375
376 public void setWrappedService(DLContentLocalService dlContentLocalService) {
377 _dlContentLocalService = dlContentLocalService;
378 }
379
380 private DLContentLocalService _dlContentLocalService;
381 }