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