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

com.liferay.segments.service.SegmentsExperimentRelLocalServiceWrapper Maven / Gradle / Ivy

The newest version!
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */

package com.liferay.segments.service;

import com.liferay.petra.function.UnsafeFunction;
import com.liferay.portal.kernel.service.ServiceWrapper;
import com.liferay.portal.kernel.service.persistence.BasePersistence;
import com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence;
import com.liferay.segments.model.SegmentsExperimentRel;

/**
 * Provides a wrapper for {@link SegmentsExperimentRelLocalService}.
 *
 * @author Eduardo Garcia
 * @see SegmentsExperimentRelLocalService
 * @generated
 */
public class SegmentsExperimentRelLocalServiceWrapper
	implements SegmentsExperimentRelLocalService,
			   ServiceWrapper {

	public SegmentsExperimentRelLocalServiceWrapper() {
		this(null);
	}

	public SegmentsExperimentRelLocalServiceWrapper(
		SegmentsExperimentRelLocalService segmentsExperimentRelLocalService) {

		_segmentsExperimentRelLocalService = segmentsExperimentRelLocalService;
	}

	@Override
	public SegmentsExperimentRel addSegmentsExperimentRel(
			long segmentsExperimentId, long segmentsExperienceId,
			com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _segmentsExperimentRelLocalService.addSegmentsExperimentRel(
			segmentsExperimentId, segmentsExperienceId, serviceContext);
	}

	/**
	 * Adds the segments experiment rel to the database. Also notifies the appropriate model listeners.
	 *
	 * 

* Important: Inspect SegmentsExperimentRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there. *

* * @param segmentsExperimentRel the segments experiment rel * @return the segments experiment rel that was added */ @Override public SegmentsExperimentRel addSegmentsExperimentRel( SegmentsExperimentRel segmentsExperimentRel) { return _segmentsExperimentRelLocalService.addSegmentsExperimentRel( segmentsExperimentRel); } /** * @throws PortalException */ @Override public com.liferay.portal.kernel.model.PersistedModel createPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentRelLocalService.createPersistedModel( primaryKeyObj); } /** * Creates a new segments experiment rel with the primary key. Does not add the segments experiment rel to the database. * * @param segmentsExperimentRelId the primary key for the new segments experiment rel * @return the new segments experiment rel */ @Override public SegmentsExperimentRel createSegmentsExperimentRel( long segmentsExperimentRelId) { return _segmentsExperimentRelLocalService.createSegmentsExperimentRel( segmentsExperimentRelId); } /** * @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 _segmentsExperimentRelLocalService.deletePersistedModel( persistedModel); } /** * Deletes the segments experiment rel with the primary key from the database. Also notifies the appropriate model listeners. * *

* Important: Inspect SegmentsExperimentRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there. *

* * @param segmentsExperimentRelId the primary key of the segments experiment rel * @return the segments experiment rel that was removed * @throws PortalException if a segments experiment rel with the primary key could not be found */ @Override public SegmentsExperimentRel deleteSegmentsExperimentRel( long segmentsExperimentRelId) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentRelLocalService.deleteSegmentsExperimentRel( segmentsExperimentRelId); } /** * Deletes the segments experiment rel from the database. Also notifies the appropriate model listeners. * *

* Important: Inspect SegmentsExperimentRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there. *

* * @param segmentsExperimentRel the segments experiment rel * @return the segments experiment rel that was removed * @throws PortalException */ @Override public SegmentsExperimentRel deleteSegmentsExperimentRel( SegmentsExperimentRel segmentsExperimentRel) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentRelLocalService.deleteSegmentsExperimentRel( segmentsExperimentRel); } @Override public SegmentsExperimentRel deleteSegmentsExperimentRel( SegmentsExperimentRel segmentsExperimentRel, boolean force) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentRelLocalService.deleteSegmentsExperimentRel( segmentsExperimentRel, force); } @Override public void deleteSegmentsExperimentRels(long segmentsExperimentId) throws com.liferay.portal.kernel.exception.PortalException { _segmentsExperimentRelLocalService.deleteSegmentsExperimentRels( segmentsExperimentId); } @Override public T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) { return _segmentsExperimentRelLocalService.dslQuery(dslQuery); } @Override public int dslQueryCount( com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) { return _segmentsExperimentRelLocalService.dslQueryCount(dslQuery); } @Override public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { return _segmentsExperimentRelLocalService.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 _segmentsExperimentRelLocalService.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, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsExperimentRelModelImpl. *

* * @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 _segmentsExperimentRelLocalService.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, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsExperimentRelModelImpl. *

* * @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 _segmentsExperimentRelLocalService.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 _segmentsExperimentRelLocalService.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 _segmentsExperimentRelLocalService.dynamicQueryCount( dynamicQuery, projection); } @Override public SegmentsExperimentRel fetchSegmentsExperimentRel( long segmentsExperimentRelId) { return _segmentsExperimentRelLocalService.fetchSegmentsExperimentRel( segmentsExperimentRelId); } @Override public SegmentsExperimentRel fetchSegmentsExperimentRel( long segmentsExperimentId, long segmentsExperienceId) { return _segmentsExperimentRelLocalService.fetchSegmentsExperimentRel( segmentsExperimentId, segmentsExperienceId); } @Override public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() { return _segmentsExperimentRelLocalService.getActionableDynamicQuery(); } @Override public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() { return _segmentsExperimentRelLocalService. getIndexableActionableDynamicQuery(); } /** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ @Override public String getOSGiServiceIdentifier() { return _segmentsExperimentRelLocalService.getOSGiServiceIdentifier(); } /** * @throws PortalException */ @Override public com.liferay.portal.kernel.model.PersistedModel getPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentRelLocalService.getPersistedModel( primaryKeyObj); } /** * Returns the segments experiment rel with the primary key. * * @param segmentsExperimentRelId the primary key of the segments experiment rel * @return the segments experiment rel * @throws PortalException if a segments experiment rel with the primary key could not be found */ @Override public SegmentsExperimentRel getSegmentsExperimentRel( long segmentsExperimentRelId) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentRelLocalService.getSegmentsExperimentRel( segmentsExperimentRelId); } @Override public SegmentsExperimentRel getSegmentsExperimentRel( long segmentsExperimentId, long segmentsExperienceId) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentRelLocalService.getSegmentsExperimentRel( segmentsExperimentId, segmentsExperienceId); } /** * Returns a range of all the segments experiment rels. * *

* 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, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsExperimentRelModelImpl. *

* * @param start the lower bound of the range of segments experiment rels * @param end the upper bound of the range of segments experiment rels (not inclusive) * @return the range of segments experiment rels */ @Override public java.util.List getSegmentsExperimentRels( int start, int end) { return _segmentsExperimentRelLocalService.getSegmentsExperimentRels( start, end); } @Override public java.util.List getSegmentsExperimentRels( long segmentsExperimentId) { return _segmentsExperimentRelLocalService.getSegmentsExperimentRels( segmentsExperimentId); } @Override public java.util.List getSegmentsExperimentRelsBySegmentsExperienceId( long segmentsExperienceId) { return _segmentsExperimentRelLocalService. getSegmentsExperimentRelsBySegmentsExperienceId( segmentsExperienceId); } /** * Returns the number of segments experiment rels. * * @return the number of segments experiment rels */ @Override public int getSegmentsExperimentRelsCount() { return _segmentsExperimentRelLocalService. getSegmentsExperimentRelsCount(); } @Override public SegmentsExperimentRel updateSegmentsExperimentRel( long segmentsExperimentRelId, double split) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentRelLocalService.updateSegmentsExperimentRel( segmentsExperimentRelId, split); } @Override public SegmentsExperimentRel updateSegmentsExperimentRel( long segmentsExperimentId, long segmentsExperienceId, double split) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentRelLocalService.updateSegmentsExperimentRel( segmentsExperimentId, segmentsExperienceId, split); } @Override public SegmentsExperimentRel updateSegmentsExperimentRel( long segmentsExperimentRelId, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentRelLocalService.updateSegmentsExperimentRel( segmentsExperimentRelId, name, serviceContext); } /** * Updates the segments experiment rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * *

* Important: Inspect SegmentsExperimentRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there. *

* * @param segmentsExperimentRel the segments experiment rel * @return the segments experiment rel that was updated */ @Override public SegmentsExperimentRel updateSegmentsExperimentRel( SegmentsExperimentRel segmentsExperimentRel) { return _segmentsExperimentRelLocalService.updateSegmentsExperimentRel( segmentsExperimentRel); } @Override public BasePersistence getBasePersistence() { return _segmentsExperimentRelLocalService.getBasePersistence(); } @Override public CTPersistence getCTPersistence() { return _segmentsExperimentRelLocalService.getCTPersistence(); } @Override public Class getModelClass() { return _segmentsExperimentRelLocalService.getModelClass(); } @Override public R updateWithUnsafeFunction( UnsafeFunction, R, E> updateUnsafeFunction) throws E { return _segmentsExperimentRelLocalService.updateWithUnsafeFunction( updateUnsafeFunction); } @Override public SegmentsExperimentRelLocalService getWrappedService() { return _segmentsExperimentRelLocalService; } @Override public void setWrappedService( SegmentsExperimentRelLocalService segmentsExperimentRelLocalService) { _segmentsExperimentRelLocalService = segmentsExperimentRelLocalService; } private SegmentsExperimentRelLocalService _segmentsExperimentRelLocalService; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy