001
014
015 package com.liferay.portlet.journal.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class JournalStructureServiceWrapper implements JournalStructureService,
029 ServiceWrapper<JournalStructureService> {
030 public JournalStructureServiceWrapper(
031 JournalStructureService journalStructureService) {
032 _journalStructureService = journalStructureService;
033 }
034
035
040 public java.lang.String getBeanIdentifier() {
041 return _journalStructureService.getBeanIdentifier();
042 }
043
044
049 public void setBeanIdentifier(java.lang.String beanIdentifier) {
050 _journalStructureService.setBeanIdentifier(beanIdentifier);
051 }
052
053 public com.liferay.portlet.journal.model.JournalStructure addStructure(
054 long groupId, java.lang.String structureId, boolean autoStructureId,
055 java.lang.String parentStructureId,
056 java.util.Map<java.util.Locale, java.lang.String> nameMap,
057 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
058 java.lang.String xsd,
059 com.liferay.portal.service.ServiceContext serviceContext)
060 throws com.liferay.portal.kernel.exception.PortalException,
061 com.liferay.portal.kernel.exception.SystemException {
062 return _journalStructureService.addStructure(groupId, structureId,
063 autoStructureId, parentStructureId, nameMap, descriptionMap, xsd,
064 serviceContext);
065 }
066
067 public com.liferay.portlet.journal.model.JournalStructure copyStructure(
068 long groupId, java.lang.String oldStructureId,
069 java.lang.String newStructureId, boolean autoStructureId)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _journalStructureService.copyStructure(groupId, oldStructureId,
073 newStructureId, autoStructureId);
074 }
075
076 public void deleteStructure(long groupId, java.lang.String structureId)
077 throws com.liferay.portal.kernel.exception.PortalException,
078 com.liferay.portal.kernel.exception.SystemException {
079 _journalStructureService.deleteStructure(groupId, structureId);
080 }
081
082 public com.liferay.portlet.journal.model.JournalStructure getStructure(
083 long groupId, java.lang.String structureId)
084 throws com.liferay.portal.kernel.exception.PortalException,
085 com.liferay.portal.kernel.exception.SystemException {
086 return _journalStructureService.getStructure(groupId, structureId);
087 }
088
089 public com.liferay.portlet.journal.model.JournalStructure getStructure(
090 long groupId, java.lang.String structureId,
091 boolean includeGlobalStructures)
092 throws com.liferay.portal.kernel.exception.PortalException,
093 com.liferay.portal.kernel.exception.SystemException {
094 return _journalStructureService.getStructure(groupId, structureId,
095 includeGlobalStructures);
096 }
097
098 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
099 long groupId)
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return _journalStructureService.getStructures(groupId);
102 }
103
104 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
105 long[] groupIds)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return _journalStructureService.getStructures(groupIds);
108 }
109
110 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
111 long companyId, long[] groupIds, java.lang.String keywords, int start,
112 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.kernel.exception.SystemException {
114 return _journalStructureService.search(companyId, groupIds, keywords,
115 start, end, obc);
116 }
117
118 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
119 long companyId, long[] groupIds, java.lang.String structureId,
120 java.lang.String name, java.lang.String description,
121 boolean andOperator, int start, int end,
122 com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.kernel.exception.SystemException {
124 return _journalStructureService.search(companyId, groupIds,
125 structureId, name, description, andOperator, start, end, obc);
126 }
127
128 public int searchCount(long companyId, long[] groupIds,
129 java.lang.String keywords)
130 throws com.liferay.portal.kernel.exception.SystemException {
131 return _journalStructureService.searchCount(companyId, groupIds,
132 keywords);
133 }
134
135 public int searchCount(long companyId, long[] groupIds,
136 java.lang.String structureId, java.lang.String name,
137 java.lang.String description, boolean andOperator)
138 throws com.liferay.portal.kernel.exception.SystemException {
139 return _journalStructureService.searchCount(companyId, groupIds,
140 structureId, name, description, andOperator);
141 }
142
143 public com.liferay.portlet.journal.model.JournalStructure updateStructure(
144 long groupId, java.lang.String structureId,
145 java.lang.String parentStructureId,
146 java.util.Map<java.util.Locale, java.lang.String> nameMap,
147 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
148 java.lang.String xsd,
149 com.liferay.portal.service.ServiceContext serviceContext)
150 throws com.liferay.portal.kernel.exception.PortalException,
151 com.liferay.portal.kernel.exception.SystemException {
152 return _journalStructureService.updateStructure(groupId, structureId,
153 parentStructureId, nameMap, descriptionMap, xsd, serviceContext);
154 }
155
156
159 public JournalStructureService getWrappedJournalStructureService() {
160 return _journalStructureService;
161 }
162
163
166 public void setWrappedJournalStructureService(
167 JournalStructureService journalStructureService) {
168 _journalStructureService = journalStructureService;
169 }
170
171 public JournalStructureService getWrappedService() {
172 return _journalStructureService;
173 }
174
175 public void setWrappedService(
176 JournalStructureService journalStructureService) {
177 _journalStructureService = journalStructureService;
178 }
179
180 private JournalStructureService _journalStructureService;
181 }