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 java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
090 long groupId)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _journalStructureService.getStructures(groupId);
093 }
094
095 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
096 long companyId, long[] groupIds, java.lang.String keywords, int start,
097 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
098 throws com.liferay.portal.kernel.exception.SystemException {
099 return _journalStructureService.search(companyId, groupIds, keywords,
100 start, end, obc);
101 }
102
103 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
104 long companyId, long[] groupIds, java.lang.String structureId,
105 java.lang.String name, java.lang.String description,
106 boolean andOperator, int start, int end,
107 com.liferay.portal.kernel.util.OrderByComparator obc)
108 throws com.liferay.portal.kernel.exception.SystemException {
109 return _journalStructureService.search(companyId, groupIds,
110 structureId, name, description, andOperator, start, end, obc);
111 }
112
113 public int searchCount(long companyId, long[] groupIds,
114 java.lang.String keywords)
115 throws com.liferay.portal.kernel.exception.SystemException {
116 return _journalStructureService.searchCount(companyId, groupIds,
117 keywords);
118 }
119
120 public int searchCount(long companyId, long[] groupIds,
121 java.lang.String structureId, java.lang.String name,
122 java.lang.String description, boolean andOperator)
123 throws com.liferay.portal.kernel.exception.SystemException {
124 return _journalStructureService.searchCount(companyId, groupIds,
125 structureId, name, description, andOperator);
126 }
127
128 public com.liferay.portlet.journal.model.JournalStructure updateStructure(
129 long groupId, java.lang.String structureId,
130 java.lang.String parentStructureId,
131 java.util.Map<java.util.Locale, java.lang.String> nameMap,
132 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
133 java.lang.String xsd,
134 com.liferay.portal.service.ServiceContext serviceContext)
135 throws com.liferay.portal.kernel.exception.PortalException,
136 com.liferay.portal.kernel.exception.SystemException {
137 return _journalStructureService.updateStructure(groupId, structureId,
138 parentStructureId, nameMap, descriptionMap, xsd, serviceContext);
139 }
140
141
144 public JournalStructureService getWrappedJournalStructureService() {
145 return _journalStructureService;
146 }
147
148
151 public void setWrappedJournalStructureService(
152 JournalStructureService journalStructureService) {
153 _journalStructureService = journalStructureService;
154 }
155
156 public JournalStructureService getWrappedService() {
157 return _journalStructureService;
158 }
159
160 public void setWrappedService(
161 JournalStructureService journalStructureService) {
162 _journalStructureService = journalStructureService;
163 }
164
165 private JournalStructureService _journalStructureService;
166 }