001
014
015 package com.liferay.portlet.dynamicdatalists.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class DDLRecordLocalServiceWrapper implements DDLRecordLocalService,
029 ServiceWrapper<DDLRecordLocalService> {
030 public DDLRecordLocalServiceWrapper(
031 DDLRecordLocalService ddlRecordLocalService) {
032 _ddlRecordLocalService = ddlRecordLocalService;
033 }
034
035
042 public com.liferay.portlet.dynamicdatalists.model.DDLRecord addDDLRecord(
043 com.liferay.portlet.dynamicdatalists.model.DDLRecord ddlRecord)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _ddlRecordLocalService.addDDLRecord(ddlRecord);
046 }
047
048
054 public com.liferay.portlet.dynamicdatalists.model.DDLRecord createDDLRecord(
055 long recordId) {
056 return _ddlRecordLocalService.createDDLRecord(recordId);
057 }
058
059
067 public com.liferay.portlet.dynamicdatalists.model.DDLRecord deleteDDLRecord(
068 long recordId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _ddlRecordLocalService.deleteDDLRecord(recordId);
072 }
073
074
081 public com.liferay.portlet.dynamicdatalists.model.DDLRecord deleteDDLRecord(
082 com.liferay.portlet.dynamicdatalists.model.DDLRecord ddlRecord)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _ddlRecordLocalService.deleteDDLRecord(ddlRecord);
085 }
086
087 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088 return _ddlRecordLocalService.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 _ddlRecordLocalService.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 _ddlRecordLocalService.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 _ddlRecordLocalService.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 _ddlRecordLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchDDLRecord(
163 long recordId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _ddlRecordLocalService.fetchDDLRecord(recordId);
166 }
167
168
176 public com.liferay.portlet.dynamicdatalists.model.DDLRecord getDDLRecord(
177 long recordId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _ddlRecordLocalService.getDDLRecord(recordId);
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 _ddlRecordLocalService.getPersistedModel(primaryKeyObj);
188 }
189
190
199 public com.liferay.portlet.dynamicdatalists.model.DDLRecord getDDLRecordByUuidAndGroupId(
200 java.lang.String uuid, long groupId)
201 throws com.liferay.portal.kernel.exception.PortalException,
202 com.liferay.portal.kernel.exception.SystemException {
203 return _ddlRecordLocalService.getDDLRecordByUuidAndGroupId(uuid, groupId);
204 }
205
206
218 public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getDDLRecords(
219 int start, int end)
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return _ddlRecordLocalService.getDDLRecords(start, end);
222 }
223
224
230 public int getDDLRecordsCount()
231 throws com.liferay.portal.kernel.exception.SystemException {
232 return _ddlRecordLocalService.getDDLRecordsCount();
233 }
234
235
242 public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateDDLRecord(
243 com.liferay.portlet.dynamicdatalists.model.DDLRecord ddlRecord)
244 throws com.liferay.portal.kernel.exception.SystemException {
245 return _ddlRecordLocalService.updateDDLRecord(ddlRecord);
246 }
247
248
256 public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateDDLRecord(
257 com.liferay.portlet.dynamicdatalists.model.DDLRecord ddlRecord,
258 boolean merge)
259 throws com.liferay.portal.kernel.exception.SystemException {
260 return _ddlRecordLocalService.updateDDLRecord(ddlRecord, merge);
261 }
262
263
268 public java.lang.String getBeanIdentifier() {
269 return _ddlRecordLocalService.getBeanIdentifier();
270 }
271
272
277 public void setBeanIdentifier(java.lang.String beanIdentifier) {
278 _ddlRecordLocalService.setBeanIdentifier(beanIdentifier);
279 }
280
281 public com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(
282 long userId, long groupId, long recordSetId, int displayIndex,
283 com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
284 com.liferay.portal.service.ServiceContext serviceContext)
285 throws com.liferay.portal.kernel.exception.PortalException,
286 com.liferay.portal.kernel.exception.SystemException {
287 return _ddlRecordLocalService.addRecord(userId, groupId, recordSetId,
288 displayIndex, fields, serviceContext);
289 }
290
291 public com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(
292 long userId, long groupId, long recordSetId, int displayIndex,
293 java.util.Map<java.lang.String, java.io.Serializable> fieldsMap,
294 com.liferay.portal.service.ServiceContext serviceContext)
295 throws com.liferay.portal.kernel.exception.PortalException,
296 com.liferay.portal.kernel.exception.SystemException {
297 return _ddlRecordLocalService.addRecord(userId, groupId, recordSetId,
298 displayIndex, fieldsMap, serviceContext);
299 }
300
301 public void deleteRecord(
302 com.liferay.portlet.dynamicdatalists.model.DDLRecord record)
303 throws com.liferay.portal.kernel.exception.PortalException,
304 com.liferay.portal.kernel.exception.SystemException {
305 _ddlRecordLocalService.deleteRecord(record);
306 }
307
308 public void deleteRecord(long recordId)
309 throws com.liferay.portal.kernel.exception.PortalException,
310 com.liferay.portal.kernel.exception.SystemException {
311 _ddlRecordLocalService.deleteRecord(recordId);
312 }
313
314 public void deleteRecords(long recordSetId)
315 throws com.liferay.portal.kernel.exception.PortalException,
316 com.liferay.portal.kernel.exception.SystemException {
317 _ddlRecordLocalService.deleteRecords(recordSetId);
318 }
319
320 public com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchRecord(
321 long recordId)
322 throws com.liferay.portal.kernel.exception.SystemException {
323 return _ddlRecordLocalService.fetchRecord(recordId);
324 }
325
326 public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getLatestRecordVersion(
327 long recordId)
328 throws com.liferay.portal.kernel.exception.PortalException,
329 com.liferay.portal.kernel.exception.SystemException {
330 return _ddlRecordLocalService.getLatestRecordVersion(recordId);
331 }
332
333 public com.liferay.portlet.dynamicdatalists.model.DDLRecord getRecord(
334 long recordId)
335 throws com.liferay.portal.kernel.exception.PortalException,
336 com.liferay.portal.kernel.exception.SystemException {
337 return _ddlRecordLocalService.getRecord(recordId);
338 }
339
340 public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getRecords(
341 long recordSetId)
342 throws com.liferay.portal.kernel.exception.SystemException {
343 return _ddlRecordLocalService.getRecords(recordSetId);
344 }
345
346 public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getRecords(
347 long recordSetId, int status, int start, int end,
348 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
349 throws com.liferay.portal.kernel.exception.SystemException {
350 return _ddlRecordLocalService.getRecords(recordSetId, status, start,
351 end, orderByComparator);
352 }
353
354 public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getRecords(
355 long recordSetId, long userId)
356 throws com.liferay.portal.kernel.exception.SystemException {
357 return _ddlRecordLocalService.getRecords(recordSetId, userId);
358 }
359
360 public int getRecordsCount(long recordSetId, int status)
361 throws com.liferay.portal.kernel.exception.SystemException {
362 return _ddlRecordLocalService.getRecordsCount(recordSetId, status);
363 }
364
365 public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getRecordVersion(
366 long recordVersionId)
367 throws com.liferay.portal.kernel.exception.PortalException,
368 com.liferay.portal.kernel.exception.SystemException {
369 return _ddlRecordLocalService.getRecordVersion(recordVersionId);
370 }
371
372 public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getRecordVersion(
373 long recordId, java.lang.String version)
374 throws com.liferay.portal.kernel.exception.PortalException,
375 com.liferay.portal.kernel.exception.SystemException {
376 return _ddlRecordLocalService.getRecordVersion(recordId, version);
377 }
378
379 public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> getRecordVersions(
380 long recordId, int start, int end,
381 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
382 throws com.liferay.portal.kernel.exception.SystemException {
383 return _ddlRecordLocalService.getRecordVersions(recordId, start, end,
384 orderByComparator);
385 }
386
387 public int getRecordVersionsCount(long recordId)
388 throws com.liferay.portal.kernel.exception.SystemException {
389 return _ddlRecordLocalService.getRecordVersionsCount(recordId);
390 }
391
392 public void revertRecordVersion(long userId, long recordId,
393 java.lang.String version,
394 com.liferay.portal.service.ServiceContext serviceContext)
395 throws com.liferay.portal.kernel.exception.PortalException,
396 com.liferay.portal.kernel.exception.SystemException {
397 _ddlRecordLocalService.revertRecordVersion(userId, recordId, version,
398 serviceContext);
399 }
400
401 public void updateAsset(long userId,
402 com.liferay.portlet.dynamicdatalists.model.DDLRecord record,
403 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion recordVersion,
404 long[] assetCategoryIds, java.lang.String[] assetTagNames,
405 java.util.Locale locale)
406 throws com.liferay.portal.kernel.exception.PortalException,
407 com.liferay.portal.kernel.exception.SystemException {
408 _ddlRecordLocalService.updateAsset(userId, record, recordVersion,
409 assetCategoryIds, assetTagNames, locale);
410 }
411
412 public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
413 long userId, long recordId, boolean majorVersion, int displayIndex,
414 com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
415 boolean mergeFields,
416 com.liferay.portal.service.ServiceContext serviceContext)
417 throws com.liferay.portal.kernel.exception.PortalException,
418 com.liferay.portal.kernel.exception.SystemException {
419 return _ddlRecordLocalService.updateRecord(userId, recordId,
420 majorVersion, displayIndex, fields, mergeFields, serviceContext);
421 }
422
423 public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
424 long userId, long recordId, int displayIndex,
425 java.util.Map<java.lang.String, java.io.Serializable> fieldsMap,
426 boolean mergeFields,
427 com.liferay.portal.service.ServiceContext serviceContext)
428 throws com.liferay.portal.kernel.exception.PortalException,
429 com.liferay.portal.kernel.exception.SystemException {
430 return _ddlRecordLocalService.updateRecord(userId, recordId,
431 displayIndex, fieldsMap, mergeFields, serviceContext);
432 }
433
434 public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateStatus(
435 long userId, long recordVersionId, int status,
436 com.liferay.portal.service.ServiceContext serviceContext)
437 throws com.liferay.portal.kernel.exception.PortalException,
438 com.liferay.portal.kernel.exception.SystemException {
439 return _ddlRecordLocalService.updateStatus(userId, recordVersionId,
440 status, serviceContext);
441 }
442
443
446 public DDLRecordLocalService getWrappedDDLRecordLocalService() {
447 return _ddlRecordLocalService;
448 }
449
450
453 public void setWrappedDDLRecordLocalService(
454 DDLRecordLocalService ddlRecordLocalService) {
455 _ddlRecordLocalService = ddlRecordLocalService;
456 }
457
458 public DDLRecordLocalService getWrappedService() {
459 return _ddlRecordLocalService;
460 }
461
462 public void setWrappedService(DDLRecordLocalService ddlRecordLocalService) {
463 _ddlRecordLocalService = ddlRecordLocalService;
464 }
465
466 private DDLRecordLocalService _ddlRecordLocalService;
467 }