/** * 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.calendar.service; import aQute.bnd.annotation.ProviderType; import com.liferay.portal.kernel.service.ServiceWrapper; /** * Provides a wrapper for {@link CalendarResourceService}. * * @author Eduardo Lundgren * @see CalendarResourceService * @generated */ @ProviderType public class CalendarResourceServiceWrapper implements CalendarResourceService, ServiceWrapper<CalendarResourceService> { public CalendarResourceServiceWrapper( CalendarResourceService calendarResourceService) { _calendarResourceService = calendarResourceService; } @Override public com.liferay.calendar.model.CalendarResource addCalendarResource( long groupId, long classNameId, long classPK, java.lang.String classUuid, java.lang.String code, java.util.Map<java.util.Locale, java.lang.String> nameMap, java.util.Map<java.util.Locale, java.lang.String> descriptionMap, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return _calendarResourceService.addCalendarResource(groupId, classNameId, classPK, classUuid, code, nameMap, descriptionMap, active, serviceContext); } @Override public com.liferay.calendar.model.CalendarResource deleteCalendarResource( long calendarResourceId) throws com.liferay.portal.kernel.exception.PortalException { return _calendarResourceService.deleteCalendarResource(calendarResourceId); } @Override public com.liferay.calendar.model.CalendarResource fetchCalendarResource( long classNameId, long classPK) throws com.liferay.portal.kernel.exception.PortalException { return _calendarResourceService.fetchCalendarResource(classNameId, classPK); } @Override public com.liferay.calendar.model.CalendarResource getCalendarResource( long calendarResourceId) throws com.liferay.portal.kernel.exception.PortalException { return _calendarResourceService.getCalendarResource(calendarResourceId); } @Override public com.liferay.calendar.model.CalendarResource updateCalendarResource( long calendarResourceId, java.util.Map<java.util.Locale, java.lang.String> nameMap, java.util.Map<java.util.Locale, java.lang.String> descriptionMap, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return _calendarResourceService.updateCalendarResource(calendarResourceId, nameMap, descriptionMap, active, serviceContext); } @Override public int searchCount(long companyId, long[] groupIds, long[] classNameIds, java.lang.String code, java.lang.String name, java.lang.String description, boolean active, boolean andOperator) { return _calendarResourceService.searchCount(companyId, groupIds, classNameIds, code, name, description, active, andOperator); } @Override public int searchCount(long companyId, long[] groupIds, long[] classNameIds, java.lang.String keywords, boolean active) { return _calendarResourceService.searchCount(companyId, groupIds, classNameIds, keywords, active); } /** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ @Override public java.lang.String getOSGiServiceIdentifier() { return _calendarResourceService.getOSGiServiceIdentifier(); } @Override public java.util.List<com.liferay.calendar.model.CalendarResource> search( long companyId, long[] groupIds, long[] classNameIds, java.lang.String code, java.lang.String name, java.lang.String description, boolean active, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.calendar.model.CalendarResource> orderByComparator) { return _calendarResourceService.search(companyId, groupIds, classNameIds, code, name, description, active, andOperator, start, end, orderByComparator); } @Override public java.util.List<com.liferay.calendar.model.CalendarResource> search( long companyId, long[] groupIds, long[] classNameIds, java.lang.String keywords, boolean active, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.calendar.model.CalendarResource> orderByComparator) { return _calendarResourceService.search(companyId, groupIds, classNameIds, keywords, active, andOperator, start, end, orderByComparator); } @Override public CalendarResourceService getWrappedService() { return _calendarResourceService; } @Override public void setWrappedService( CalendarResourceService calendarResourceService) { _calendarResourceService = calendarResourceService; } private CalendarResourceService _calendarResourceService; }