001
014
015 package com.liferay.portlet.journal.service;
016
017
026 public class JournalStructureServiceWrapper implements JournalStructureService {
027 public JournalStructureServiceWrapper(
028 JournalStructureService journalStructureService) {
029 _journalStructureService = journalStructureService;
030 }
031
032 public com.liferay.portlet.journal.model.JournalStructure addStructure(
033 long groupId, java.lang.String structureId, boolean autoStructureId,
034 java.lang.String parentStructureId, java.lang.String name,
035 java.lang.String description, java.lang.String xsd,
036 com.liferay.portal.service.ServiceContext serviceContext)
037 throws com.liferay.portal.kernel.exception.PortalException,
038 com.liferay.portal.kernel.exception.SystemException {
039 return _journalStructureService.addStructure(groupId, structureId,
040 autoStructureId, parentStructureId, name, description, xsd,
041 serviceContext);
042 }
043
044 public com.liferay.portlet.journal.model.JournalStructure copyStructure(
045 long groupId, java.lang.String oldStructureId,
046 java.lang.String newStructureId, boolean autoStructureId)
047 throws com.liferay.portal.kernel.exception.PortalException,
048 com.liferay.portal.kernel.exception.SystemException {
049 return _journalStructureService.copyStructure(groupId, oldStructureId,
050 newStructureId, autoStructureId);
051 }
052
053 public void deleteStructure(long groupId, java.lang.String structureId)
054 throws com.liferay.portal.kernel.exception.PortalException,
055 com.liferay.portal.kernel.exception.SystemException {
056 _journalStructureService.deleteStructure(groupId, structureId);
057 }
058
059 public com.liferay.portlet.journal.model.JournalStructure getStructure(
060 long groupId, java.lang.String structureId)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException {
063 return _journalStructureService.getStructure(groupId, structureId);
064 }
065
066 public com.liferay.portlet.journal.model.JournalStructure updateStructure(
067 long groupId, java.lang.String structureId,
068 java.lang.String parentStructureId, java.lang.String name,
069 java.lang.String description, java.lang.String xsd,
070 com.liferay.portal.service.ServiceContext serviceContext)
071 throws com.liferay.portal.kernel.exception.PortalException,
072 com.liferay.portal.kernel.exception.SystemException {
073 return _journalStructureService.updateStructure(groupId, structureId,
074 parentStructureId, name, description, xsd, serviceContext);
075 }
076
077 public JournalStructureService getWrappedJournalStructureService() {
078 return _journalStructureService;
079 }
080
081 private JournalStructureService _journalStructureService;
082 }