/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ package com.liferay.message.boards.kernel.service; import aQute.bnd.annotation.ProviderType; import com.liferay.portal.kernel.service.ServiceWrapper; /** * Provides a wrapper for {@link MBCategoryService}. * * @author Brian Wing Shun Chan * @see MBCategoryService * @generated */ @ProviderType public class MBCategoryServiceWrapper implements MBCategoryService, ServiceWrapper<MBCategoryService> { public MBCategoryServiceWrapper(MBCategoryService mbCategoryService) { _mbCategoryService = mbCategoryService; } @Override public com.liferay.message.boards.kernel.model.MBCategory addCategory( long parentCategoryId, java.lang.String name, java.lang.String description, java.lang.String displayStyle, java.lang.String emailAddress, java.lang.String inProtocol, java.lang.String inServerName, int inServerPort, boolean inUseSSL, java.lang.String inUserName, java.lang.String inPassword, int inReadInterval, java.lang.String outEmailAddress, boolean outCustom, java.lang.String outServerName, int outServerPort, boolean outUseSSL, java.lang.String outUserName, java.lang.String outPassword, boolean mailingListActive, boolean allowAnonymousEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return _mbCategoryService.addCategory(parentCategoryId, name, description, displayStyle, emailAddress, inProtocol, inServerName, inServerPort, inUseSSL, inUserName, inPassword, inReadInterval, outEmailAddress, outCustom, outServerName, outServerPort, outUseSSL, outUserName, outPassword, mailingListActive, allowAnonymousEmail, serviceContext); } @Override public com.liferay.message.boards.kernel.model.MBCategory addCategory( long userId, long parentCategoryId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return _mbCategoryService.addCategory(userId, parentCategoryId, name, description, serviceContext); } @Override public com.liferay.message.boards.kernel.model.MBCategory getCategory( long categoryId) throws com.liferay.portal.kernel.exception.PortalException { return _mbCategoryService.getCategory(categoryId); } @Override public com.liferay.message.boards.kernel.model.MBCategory moveCategory( long categoryId, long parentCategoryId, boolean mergeWithParentCategory) throws com.liferay.portal.kernel.exception.PortalException { return _mbCategoryService.moveCategory(categoryId, parentCategoryId, mergeWithParentCategory); } @Override public com.liferay.message.boards.kernel.model.MBCategory moveCategoryFromTrash( long categoryId, long newCategoryId) throws com.liferay.portal.kernel.exception.PortalException { return _mbCategoryService.moveCategoryFromTrash(categoryId, newCategoryId); } @Override public com.liferay.message.boards.kernel.model.MBCategory moveCategoryToTrash( long categoryId) throws com.liferay.portal.kernel.exception.PortalException { return _mbCategoryService.moveCategoryToTrash(categoryId); } @Override public com.liferay.message.boards.kernel.model.MBCategory updateCategory( long categoryId, long parentCategoryId, java.lang.String name, java.lang.String description, java.lang.String displayStyle, java.lang.String emailAddress, java.lang.String inProtocol, java.lang.String inServerName, int inServerPort, boolean inUseSSL, java.lang.String inUserName, java.lang.String inPassword, int inReadInterval, java.lang.String outEmailAddress, boolean outCustom, java.lang.String outServerName, int outServerPort, boolean outUseSSL, java.lang.String outUserName, java.lang.String outPassword, boolean mailingListActive, boolean allowAnonymousEmail, boolean mergeWithParentCategory, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return _mbCategoryService.updateCategory(categoryId, parentCategoryId, name, description, displayStyle, emailAddress, inProtocol, inServerName, inServerPort, inUseSSL, inUserName, inPassword, inReadInterval, outEmailAddress, outCustom, outServerName, outServerPort, outUseSSL, outUserName, outPassword, mailingListActive, allowAnonymousEmail, mergeWithParentCategory, serviceContext); } @Override public int getCategoriesAndThreadsCount(long groupId, long categoryId) { return _mbCategoryService.getCategoriesAndThreadsCount(groupId, categoryId); } @Override public int getCategoriesAndThreadsCount(long groupId, long categoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) { return _mbCategoryService.getCategoriesAndThreadsCount(groupId, categoryId, queryDefinition); } @Override public int getCategoriesAndThreadsCount(long groupId, long categoryId, int status) { return _mbCategoryService.getCategoriesAndThreadsCount(groupId, categoryId, status); } @Override public int getCategoriesCount(long groupId, long excludedCategoryId, long parentCategoryId, int status) { return _mbCategoryService.getCategoriesCount(groupId, excludedCategoryId, parentCategoryId, status); } @Override public int getCategoriesCount(long groupId, long parentCategoryId) { return _mbCategoryService.getCategoriesCount(groupId, parentCategoryId); } @Override public int getCategoriesCount(long groupId, long parentCategoryId, int status) { return _mbCategoryService.getCategoriesCount(groupId, parentCategoryId, status); } @Override public int getCategoriesCount(long groupId, long[] excludedCategoryIds, long[] parentCategoryIds, int status) { return _mbCategoryService.getCategoriesCount(groupId, excludedCategoryIds, parentCategoryIds, status); } @Override public int getCategoriesCount(long groupId, long[] parentCategoryIds) { return _mbCategoryService.getCategoriesCount(groupId, parentCategoryIds); } @Override public int getCategoriesCount(long groupId, long[] parentCategoryIds, int status) { return _mbCategoryService.getCategoriesCount(groupId, parentCategoryIds, status); } @Override public int getSubscribedCategoriesCount(long groupId, long userId) { return _mbCategoryService.getSubscribedCategoriesCount(groupId, userId); } /** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ @Override public java.lang.String getOSGiServiceIdentifier() { return _mbCategoryService.getOSGiServiceIdentifier(); } @Override public java.util.List<com.liferay.message.boards.kernel.model.MBCategory> getCategories( long groupId) { return _mbCategoryService.getCategories(groupId); } @Override public java.util.List<com.liferay.message.boards.kernel.model.MBCategory> getCategories( long groupId, int status) { return _mbCategoryService.getCategories(groupId, status); } @Override public java.util.List<com.liferay.message.boards.kernel.model.MBCategory> getCategories( long groupId, long excludedCategoryId, long parentCategoryId, int status, int start, int end) { return _mbCategoryService.getCategories(groupId, excludedCategoryId, parentCategoryId, status, start, end); } @Override public java.util.List<com.liferay.message.boards.kernel.model.MBCategory> getCategories( long groupId, long parentCategoryId, int start, int end) { return _mbCategoryService.getCategories(groupId, parentCategoryId, start, end); } @Override public java.util.List<com.liferay.message.boards.kernel.model.MBCategory> getCategories( long groupId, long parentCategoryId, int status, int start, int end) { return _mbCategoryService.getCategories(groupId, parentCategoryId, status, start, end); } @Override public java.util.List<com.liferay.message.boards.kernel.model.MBCategory> getCategories( long groupId, long[] excludedCategoryIds, long[] parentCategoryIds, int status, int start, int end) { return _mbCategoryService.getCategories(groupId, excludedCategoryIds, parentCategoryIds, status, start, end); } @Override public java.util.List<com.liferay.message.boards.kernel.model.MBCategory> getCategories( long groupId, long[] parentCategoryIds, int start, int end) { return _mbCategoryService.getCategories(groupId, parentCategoryIds, start, end); } @Override public java.util.List<com.liferay.message.boards.kernel.model.MBCategory> getCategories( long groupId, long[] parentCategoryIds, int status, int start, int end) { return _mbCategoryService.getCategories(groupId, parentCategoryIds, status, start, end); } @Override public java.util.List<java.lang.Object> getCategoriesAndThreads( long groupId, long categoryId) { return _mbCategoryService.getCategoriesAndThreads(groupId, categoryId); } @Override public java.util.List<java.lang.Object> getCategoriesAndThreads( long groupId, long categoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) { return _mbCategoryService.getCategoriesAndThreads(groupId, categoryId, queryDefinition); } @Override public java.util.List<java.lang.Object> getCategoriesAndThreads( long groupId, long categoryId, int status) { return _mbCategoryService.getCategoriesAndThreads(groupId, categoryId, status); } @Override public java.util.List<java.lang.Object> getCategoriesAndThreads( long groupId, long categoryId, int status, int start, int end) { return _mbCategoryService.getCategoriesAndThreads(groupId, categoryId, status, start, end); } @Override public java.util.List<java.lang.Object> getCategoriesAndThreads( long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> obc) { return _mbCategoryService.getCategoriesAndThreads(groupId, categoryId, status, start, end, obc); } @Override public java.util.List<java.lang.Long> getSubcategoryIds( java.util.List<java.lang.Long> categoryIds, long groupId, long categoryId) { return _mbCategoryService.getSubcategoryIds(categoryIds, groupId, categoryId); } @Override public java.util.List<com.liferay.message.boards.kernel.model.MBCategory> getSubscribedCategories( long groupId, long userId, int start, int end) { return _mbCategoryService.getSubscribedCategories(groupId, userId, start, end); } @Override public long[] getCategoryIds(long groupId, long categoryId) { return _mbCategoryService.getCategoryIds(groupId, categoryId); } @Override public void deleteCategory(long categoryId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException { _mbCategoryService.deleteCategory(categoryId, includeTrashedEntries); } @Override public void deleteCategory(long groupId, long categoryId) throws com.liferay.portal.kernel.exception.PortalException { _mbCategoryService.deleteCategory(groupId, categoryId); } @Override public void restoreCategoryFromTrash(long categoryId) throws com.liferay.portal.kernel.exception.PortalException { _mbCategoryService.restoreCategoryFromTrash(categoryId); } @Override public void subscribeCategory(long groupId, long categoryId) throws com.liferay.portal.kernel.exception.PortalException { _mbCategoryService.subscribeCategory(groupId, categoryId); } @Override public void unsubscribeCategory(long groupId, long categoryId) throws com.liferay.portal.kernel.exception.PortalException { _mbCategoryService.unsubscribeCategory(groupId, categoryId); } @Override public MBCategoryService getWrappedService() { return _mbCategoryService; } @Override public void setWrappedService(MBCategoryService mbCategoryService) { _mbCategoryService = mbCategoryService; } private MBCategoryService _mbCategoryService; }