/** * 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.portal.kernel.service; import aQute.bnd.annotation.ProviderType; /** * Provides a wrapper for {@link LayoutPrototypeService}. * * @author Brian Wing Shun Chan * @see LayoutPrototypeService * @generated */ @ProviderType public class LayoutPrototypeServiceWrapper implements LayoutPrototypeService, ServiceWrapper<LayoutPrototypeService> { public LayoutPrototypeServiceWrapper( LayoutPrototypeService layoutPrototypeService) { _layoutPrototypeService = layoutPrototypeService; } /** * @deprecated As of 7.0.0, replaced by {@link #addLayoutPrototype(Map, Map, boolean, ServiceContext)} */ @Deprecated @Override public com.liferay.portal.kernel.model.LayoutPrototype addLayoutPrototype( java.util.Map<java.util.Locale, java.lang.String> nameMap, java.lang.String description, boolean active, ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return _layoutPrototypeService.addLayoutPrototype(nameMap, description, active, serviceContext); } @Override public com.liferay.portal.kernel.model.LayoutPrototype addLayoutPrototype( java.util.Map<java.util.Locale, java.lang.String> nameMap, java.util.Map<java.util.Locale, java.lang.String> descriptionMap, boolean active, ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return _layoutPrototypeService.addLayoutPrototype(nameMap, descriptionMap, active, serviceContext); } @Override public com.liferay.portal.kernel.model.LayoutPrototype fetchLayoutPrototype( long layoutPrototypeId) throws com.liferay.portal.kernel.exception.PortalException { return _layoutPrototypeService.fetchLayoutPrototype(layoutPrototypeId); } @Override public com.liferay.portal.kernel.model.LayoutPrototype getLayoutPrototype( long layoutPrototypeId) throws com.liferay.portal.kernel.exception.PortalException { return _layoutPrototypeService.getLayoutPrototype(layoutPrototypeId); } /** * @deprecated As of 7.0.0, replaced by {@link #updateLayoutPrototype(long, Map, Map, boolean, ServiceContext)} */ @Deprecated @Override public com.liferay.portal.kernel.model.LayoutPrototype updateLayoutPrototype( long layoutPrototypeId, java.util.Map<java.util.Locale, java.lang.String> nameMap, java.lang.String description, boolean active, ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId, nameMap, description, active, serviceContext); } @Override public com.liferay.portal.kernel.model.LayoutPrototype updateLayoutPrototype( long layoutPrototypeId, java.util.Map<java.util.Locale, java.lang.String> nameMap, java.util.Map<java.util.Locale, java.lang.String> descriptionMap, boolean active, ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId, nameMap, descriptionMap, active, serviceContext); } /** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ @Override public java.lang.String getOSGiServiceIdentifier() { return _layoutPrototypeService.getOSGiServiceIdentifier(); } @Override public java.util.List<com.liferay.portal.kernel.model.LayoutPrototype> search( long companyId, java.lang.Boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> obc) throws com.liferay.portal.kernel.exception.PortalException { return _layoutPrototypeService.search(companyId, active, obc); } @Override public void deleteLayoutPrototype(long layoutPrototypeId) throws com.liferay.portal.kernel.exception.PortalException { _layoutPrototypeService.deleteLayoutPrototype(layoutPrototypeId); } @Override public LayoutPrototypeService getWrappedService() { return _layoutPrototypeService; } @Override public void setWrappedService(LayoutPrototypeService layoutPrototypeService) { _layoutPrototypeService = layoutPrototypeService; } private LayoutPrototypeService _layoutPrototypeService; }