001
014
015 package com.liferay.portlet.messageboards.service;
016
017
026 public class MBCategoryServiceWrapper implements MBCategoryService {
027 public MBCategoryServiceWrapper(MBCategoryService mbCategoryService) {
028 _mbCategoryService = mbCategoryService;
029 }
030
031 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
032 long parentCategoryId, java.lang.String name,
033 java.lang.String description, java.lang.String emailAddress,
034 java.lang.String inProtocol, java.lang.String inServerName,
035 int inServerPort, boolean inUseSSL, java.lang.String inUserName,
036 java.lang.String inPassword, int inReadInterval,
037 java.lang.String outEmailAddress, boolean outCustom,
038 java.lang.String outServerName, int outServerPort, boolean outUseSSL,
039 java.lang.String outUserName, java.lang.String outPassword,
040 boolean allowAnonymous, boolean mailingListActive,
041 com.liferay.portal.service.ServiceContext serviceContext)
042 throws com.liferay.portal.kernel.exception.PortalException,
043 com.liferay.portal.kernel.exception.SystemException {
044 return _mbCategoryService.addCategory(parentCategoryId, name,
045 description, emailAddress, inProtocol, inServerName, inServerPort,
046 inUseSSL, inUserName, inPassword, inReadInterval, outEmailAddress,
047 outCustom, outServerName, outServerPort, outUseSSL, outUserName,
048 outPassword, allowAnonymous, mailingListActive, serviceContext);
049 }
050
051
057 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
058 long parentCategoryId, java.lang.String name,
059 java.lang.String description, java.lang.String emailAddress,
060 java.lang.String inProtocol, java.lang.String inServerName,
061 int inServerPort, boolean inUseSSL, java.lang.String inUserName,
062 java.lang.String inPassword, int inReadInterval,
063 java.lang.String outEmailAddress, boolean outCustom,
064 java.lang.String outServerName, int outServerPort, boolean outUseSSL,
065 java.lang.String outUserName, java.lang.String outPassword,
066 boolean mailingListActive,
067 com.liferay.portal.service.ServiceContext serviceContext)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException {
070 return _mbCategoryService.addCategory(parentCategoryId, name,
071 description, emailAddress, inProtocol, inServerName, inServerPort,
072 inUseSSL, inUserName, inPassword, inReadInterval, outEmailAddress,
073 outCustom, outServerName, outServerPort, outUseSSL, outUserName,
074 outPassword, mailingListActive, serviceContext);
075 }
076
077 public void deleteCategory(long groupId, long categoryId)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException {
080 _mbCategoryService.deleteCategory(groupId, categoryId);
081 }
082
083 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
084 long groupId)
085 throws com.liferay.portal.kernel.exception.SystemException {
086 return _mbCategoryService.getCategories(groupId);
087 }
088
089 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
090 long groupId, long parentCategoryId, int start, int end)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _mbCategoryService.getCategories(groupId, parentCategoryId,
093 start, end);
094 }
095
096 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
097 long groupId, long[] parentCategoryIds, int start, int end)
098 throws com.liferay.portal.kernel.exception.SystemException {
099 return _mbCategoryService.getCategories(groupId, parentCategoryIds,
100 start, end);
101 }
102
103 public int getCategoriesCount(long groupId, long parentCategoryId)
104 throws com.liferay.portal.kernel.exception.SystemException {
105 return _mbCategoryService.getCategoriesCount(groupId, parentCategoryId);
106 }
107
108 public int getCategoriesCount(long groupId, long[] parentCategoryIds)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return _mbCategoryService.getCategoriesCount(groupId, parentCategoryIds);
111 }
112
113 public com.liferay.portlet.messageboards.model.MBCategory getCategory(
114 long categoryId)
115 throws com.liferay.portal.kernel.exception.PortalException,
116 com.liferay.portal.kernel.exception.SystemException {
117 return _mbCategoryService.getCategory(categoryId);
118 }
119
120 public long[] getCategoryIds(long groupId, long categoryId)
121 throws com.liferay.portal.kernel.exception.SystemException {
122 return _mbCategoryService.getCategoryIds(groupId, categoryId);
123 }
124
125 public java.util.List<java.lang.Long> getSubcategoryIds(
126 java.util.List<java.lang.Long> categoryIds, long groupId,
127 long categoryId)
128 throws com.liferay.portal.kernel.exception.SystemException {
129 return _mbCategoryService.getSubcategoryIds(categoryIds, groupId,
130 categoryId);
131 }
132
133 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getSubscribedCategories(
134 long groupId, long userId, int start, int end)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 return _mbCategoryService.getSubscribedCategories(groupId, userId,
137 start, end);
138 }
139
140 public int getSubscribedCategoriesCount(long groupId, long userId)
141 throws com.liferay.portal.kernel.exception.SystemException {
142 return _mbCategoryService.getSubscribedCategoriesCount(groupId, userId);
143 }
144
145 public void subscribeCategory(long groupId, long categoryId)
146 throws com.liferay.portal.kernel.exception.PortalException,
147 com.liferay.portal.kernel.exception.SystemException {
148 _mbCategoryService.subscribeCategory(groupId, categoryId);
149 }
150
151 public void unsubscribeCategory(long groupId, long categoryId)
152 throws com.liferay.portal.kernel.exception.PortalException,
153 com.liferay.portal.kernel.exception.SystemException {
154 _mbCategoryService.unsubscribeCategory(groupId, categoryId);
155 }
156
157 public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
158 long categoryId, long parentCategoryId, java.lang.String name,
159 java.lang.String description, java.lang.String emailAddress,
160 java.lang.String inProtocol, java.lang.String inServerName,
161 int inServerPort, boolean inUseSSL, java.lang.String inUserName,
162 java.lang.String inPassword, int inReadInterval,
163 java.lang.String outEmailAddress, boolean outCustom,
164 java.lang.String outServerName, int outServerPort, boolean outUseSSL,
165 java.lang.String outUserName, java.lang.String outPassword,
166 boolean allowAnonymous, boolean mailingListActive,
167 boolean mergeWithParentCategory,
168 com.liferay.portal.service.ServiceContext serviceContext)
169 throws com.liferay.portal.kernel.exception.PortalException,
170 com.liferay.portal.kernel.exception.SystemException {
171 return _mbCategoryService.updateCategory(categoryId, parentCategoryId,
172 name, description, emailAddress, inProtocol, inServerName,
173 inServerPort, inUseSSL, inUserName, inPassword, inReadInterval,
174 outEmailAddress, outCustom, outServerName, outServerPort,
175 outUseSSL, outUserName, outPassword, allowAnonymous,
176 mailingListActive, mergeWithParentCategory, serviceContext);
177 }
178
179
185 public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
186 long categoryId, long parentCategoryId, java.lang.String name,
187 java.lang.String description, java.lang.String emailAddress,
188 java.lang.String inProtocol, java.lang.String inServerName,
189 int inServerPort, boolean inUseSSL, java.lang.String inUserName,
190 java.lang.String inPassword, int inReadInterval,
191 java.lang.String outEmailAddress, boolean outCustom,
192 java.lang.String outServerName, int outServerPort, boolean outUseSSL,
193 java.lang.String outUserName, java.lang.String outPassword,
194 boolean mailingListActive, boolean mergeWithParentCategory,
195 com.liferay.portal.service.ServiceContext serviceContext)
196 throws com.liferay.portal.kernel.exception.PortalException,
197 com.liferay.portal.kernel.exception.SystemException {
198 return _mbCategoryService.updateCategory(categoryId, parentCategoryId,
199 name, description, emailAddress, inProtocol, inServerName,
200 inServerPort, inUseSSL, inUserName, inPassword, inReadInterval,
201 outEmailAddress, outCustom, outServerName, outServerPort,
202 outUseSSL, outUserName, outPassword, mailingListActive,
203 mergeWithParentCategory, serviceContext);
204 }
205
206 public MBCategoryService getWrappedMBCategoryService() {
207 return _mbCategoryService;
208 }
209
210 public void setWrappedMBCategoryService(MBCategoryService mbCategoryService) {
211 _mbCategoryService = mbCategoryService;
212 }
213
214 private MBCategoryService _mbCategoryService;
215 }