All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.portal.kernel.service.LayoutPrototypeLocalServiceWrapper Maven / Gradle / Ivy

There is a newer version: 7.4.3.112-ga112
Show newest version
/**
 * 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 LayoutPrototypeLocalService}.
 *
 * @author Brian Wing Shun Chan
 * @see LayoutPrototypeLocalService
 * @generated
 */
@ProviderType
public class LayoutPrototypeLocalServiceWrapper
	implements LayoutPrototypeLocalService,
			   ServiceWrapper {

	public LayoutPrototypeLocalServiceWrapper(
		LayoutPrototypeLocalService layoutPrototypeLocalService) {

		_layoutPrototypeLocalService = layoutPrototypeLocalService;
	}

	/**
	 * Adds the layout prototype to the database. Also notifies the appropriate model listeners.
	 *
	 * @param layoutPrototype the layout prototype
	 * @return the layout prototype that was added
	 */
	@Override
	public com.liferay.portal.kernel.model.LayoutPrototype addLayoutPrototype(
		com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) {

		return _layoutPrototypeLocalService.addLayoutPrototype(layoutPrototype);
	}

	@Override
	public com.liferay.portal.kernel.model.LayoutPrototype addLayoutPrototype(
			long userId, long companyId,
			java.util.Map nameMap,
			java.util.Map descriptionMap,
			boolean active, ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _layoutPrototypeLocalService.addLayoutPrototype(
			userId, companyId, nameMap, descriptionMap, active, serviceContext);
	}

	/**
	 * @deprecated As of Wilberforce (7.0.x), replaced by {@link
	 #addLayoutPrototype(long, long, Map, Map, boolean,
	 ServiceContext)}
	 */
	@Deprecated
	@Override
	public com.liferay.portal.kernel.model.LayoutPrototype addLayoutPrototype(
			long userId, long companyId,
			java.util.Map nameMap, String description,
			boolean active, ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _layoutPrototypeLocalService.addLayoutPrototype(
			userId, companyId, nameMap, description, active, serviceContext);
	}

	/**
	 * Creates a new layout prototype with the primary key. Does not add the layout prototype to the database.
	 *
	 * @param layoutPrototypeId the primary key for the new layout prototype
	 * @return the new layout prototype
	 */
	@Override
	public com.liferay.portal.kernel.model.LayoutPrototype
		createLayoutPrototype(long layoutPrototypeId) {

		return _layoutPrototypeLocalService.createLayoutPrototype(
			layoutPrototypeId);
	}

	/**
	 * Deletes the layout prototype from the database. Also notifies the appropriate model listeners.
	 *
	 * @param layoutPrototype the layout prototype
	 * @return the layout prototype that was removed
	 * @throws PortalException
	 */
	@Override
	public com.liferay.portal.kernel.model.LayoutPrototype
			deleteLayoutPrototype(
				com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _layoutPrototypeLocalService.deleteLayoutPrototype(
			layoutPrototype);
	}

	/**
	 * Deletes the layout prototype with the primary key from the database. Also notifies the appropriate model listeners.
	 *
	 * @param layoutPrototypeId the primary key of the layout prototype
	 * @return the layout prototype that was removed
	 * @throws PortalException if a layout prototype with the primary key could not be found
	 */
	@Override
	public com.liferay.portal.kernel.model.LayoutPrototype
			deleteLayoutPrototype(long layoutPrototypeId)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _layoutPrototypeLocalService.deleteLayoutPrototype(
			layoutPrototypeId);
	}

	@Override
	public void deleteNondefaultLayoutPrototypes(long companyId)
		throws com.liferay.portal.kernel.exception.PortalException {

		_layoutPrototypeLocalService.deleteNondefaultLayoutPrototypes(
			companyId);
	}

	/**
	 * @throws PortalException
	 */
	@Override
	public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(
			com.liferay.portal.kernel.model.PersistedModel persistedModel)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _layoutPrototypeLocalService.deletePersistedModel(
			persistedModel);
	}

	@Override
	public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
		return _layoutPrototypeLocalService.dynamicQuery();
	}

	/**
	 * Performs a dynamic query on the database and returns the matching rows.
	 *
	 * @param dynamicQuery the dynamic query
	 * @return the matching rows
	 */
	@Override
	public  java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {

		return _layoutPrototypeLocalService.dynamicQuery(dynamicQuery);
	}

	/**
	 * Performs a dynamic query on the database and returns a range of the matching rows.
	 *
	 * 

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.LayoutPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param dynamicQuery the dynamic query * @param start the lower bound of the range of model instances * @param end the upper bound of the range of model instances (not inclusive) * @return the range of matching rows */ @Override public java.util.List dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) { return _layoutPrototypeLocalService.dynamicQuery( dynamicQuery, start, end); } /** * Performs a dynamic query on the database and returns an ordered range of the matching rows. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.LayoutPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param dynamicQuery the dynamic query * @param start the lower bound of the range of model instances * @param end the upper bound of the range of model instances (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching rows */ @Override public java.util.List dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) { return _layoutPrototypeLocalService.dynamicQuery( dynamicQuery, start, end, orderByComparator); } /** * Returns the number of rows matching the dynamic query. * * @param dynamicQuery the dynamic query * @return the number of rows matching the dynamic query */ @Override public long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { return _layoutPrototypeLocalService.dynamicQueryCount(dynamicQuery); } /** * Returns the number of rows matching the dynamic query. * * @param dynamicQuery the dynamic query * @param projection the projection to apply to the query * @return the number of rows matching the dynamic query */ @Override public long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) { return _layoutPrototypeLocalService.dynamicQueryCount( dynamicQuery, projection); } @Override public com.liferay.portal.kernel.model.LayoutPrototype fetchLayoutPrototype( long layoutPrototypeId) { return _layoutPrototypeLocalService.fetchLayoutPrototype( layoutPrototypeId); } @Override public com.liferay.portal.kernel.model.LayoutPrototype fetchLayoutPrototype( long companyId, String name, java.util.Locale locale) { return _layoutPrototypeLocalService.fetchLayoutPrototype( companyId, name, locale); } /** * Returns the layout prototype with the matching UUID and company. * * @param uuid the layout prototype's UUID * @param companyId the primary key of the company * @return the matching layout prototype, or null if a matching layout prototype could not be found */ @Override public com.liferay.portal.kernel.model.LayoutPrototype fetchLayoutPrototypeByUuidAndCompanyId(String uuid, long companyId) { return _layoutPrototypeLocalService. fetchLayoutPrototypeByUuidAndCompanyId(uuid, companyId); } @Override public com.liferay.portal.kernel.model.LayoutPrototype fetchLayoutProtoype( long companyId, String name) { return _layoutPrototypeLocalService.fetchLayoutProtoype( companyId, name); } @Override public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() { return _layoutPrototypeLocalService.getActionableDynamicQuery(); } @Override public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery( com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) { return _layoutPrototypeLocalService.getExportActionableDynamicQuery( portletDataContext); } @Override public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() { return _layoutPrototypeLocalService. getIndexableActionableDynamicQuery(); } /** * Returns the layout prototype with the primary key. * * @param layoutPrototypeId the primary key of the layout prototype * @return the layout prototype * @throws PortalException if a layout prototype with the primary key could not be found */ @Override public com.liferay.portal.kernel.model.LayoutPrototype getLayoutPrototype( long layoutPrototypeId) throws com.liferay.portal.kernel.exception.PortalException { return _layoutPrototypeLocalService.getLayoutPrototype( layoutPrototypeId); } @Override public com.liferay.portal.kernel.model.LayoutPrototype getLayoutPrototype( long companyId, String name) throws com.liferay.portal.kernel.exception.PortalException { return _layoutPrototypeLocalService.getLayoutPrototype(companyId, name); } @Override public com.liferay.portal.kernel.model.LayoutPrototype getLayoutPrototype( long companyId, String name, java.util.Locale locale) throws com.liferay.portal.kernel.exception.PortalException { return _layoutPrototypeLocalService.getLayoutPrototype( companyId, name, locale); } /** * Returns the layout prototype with the matching UUID and company. * * @param uuid the layout prototype's UUID * @param companyId the primary key of the company * @return the matching layout prototype * @throws PortalException if a matching layout prototype could not be found */ @Override public com.liferay.portal.kernel.model.LayoutPrototype getLayoutPrototypeByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException { return _layoutPrototypeLocalService. getLayoutPrototypeByUuidAndCompanyId(uuid, companyId); } /** * Returns a range of all the layout prototypes. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.LayoutPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param start the lower bound of the range of layout prototypes * @param end the upper bound of the range of layout prototypes (not inclusive) * @return the range of layout prototypes */ @Override public java.util.List getLayoutPrototypes(int start, int end) { return _layoutPrototypeLocalService.getLayoutPrototypes(start, end); } /** * Returns the number of layout prototypes. * * @return the number of layout prototypes */ @Override public int getLayoutPrototypesCount() { return _layoutPrototypeLocalService.getLayoutPrototypesCount(); } /** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ @Override public String getOSGiServiceIdentifier() { return _layoutPrototypeLocalService.getOSGiServiceIdentifier(); } @Override public com.liferay.portal.kernel.model.PersistedModel getPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException { return _layoutPrototypeLocalService.getPersistedModel(primaryKeyObj); } @Override public java.util.List search( long companyId, Boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) { return _layoutPrototypeLocalService.search( companyId, active, start, end, obc); } @Override public int searchCount(long companyId, Boolean active) { return _layoutPrototypeLocalService.searchCount(companyId, active); } /** * Updates the layout prototype in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * * @param layoutPrototype the layout prototype * @return the layout prototype that was updated */ @Override public com.liferay.portal.kernel.model.LayoutPrototype updateLayoutPrototype( com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) { return _layoutPrototypeLocalService.updateLayoutPrototype( layoutPrototype); } @Override public com.liferay.portal.kernel.model.LayoutPrototype updateLayoutPrototype( long layoutPrototypeId, java.util.Map nameMap, java.util.Map descriptionMap, boolean active, ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return _layoutPrototypeLocalService.updateLayoutPrototype( layoutPrototypeId, nameMap, descriptionMap, active, serviceContext); } /** * @deprecated As of Wilberforce (7.0.x), replaced by {@link #updateLayoutPrototype(long, Map, Map, boolean, ServiceContext)} */ @Deprecated @Override public com.liferay.portal.kernel.model.LayoutPrototype updateLayoutPrototype( long layoutPrototypeId, java.util.Map nameMap, String description, boolean active, ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return _layoutPrototypeLocalService.updateLayoutPrototype( layoutPrototypeId, nameMap, description, active, serviceContext); } @Override public LayoutPrototypeLocalService getWrappedService() { return _layoutPrototypeLocalService; } @Override public void setWrappedService( LayoutPrototypeLocalService layoutPrototypeLocalService) { _layoutPrototypeLocalService = layoutPrototypeLocalService; } private LayoutPrototypeLocalService _layoutPrototypeLocalService; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy