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

com.liferay.segments.service.SegmentsExperimentLocalServiceWrapper 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.SegmentsExperiment;

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

	public SegmentsExperimentLocalServiceWrapper() {
		this(null);
	}

	public SegmentsExperimentLocalServiceWrapper(
		SegmentsExperimentLocalService segmentsExperimentLocalService) {

		_segmentsExperimentLocalService = segmentsExperimentLocalService;
	}

	@Override
	public SegmentsExperiment addSegmentsExperiment(
			long segmentsExperienceId, long plid, String name,
			String description, String goal, String goalTarget,
			com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _segmentsExperimentLocalService.addSegmentsExperiment(
			segmentsExperienceId, plid, name, description, goal, goalTarget,
			serviceContext);
	}

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

* Important: Inspect SegmentsExperimentLocalServiceImpl 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 segmentsExperiment the segments experiment * @return the segments experiment that was added */ @Override public SegmentsExperiment addSegmentsExperiment( SegmentsExperiment segmentsExperiment) { return _segmentsExperimentLocalService.addSegmentsExperiment( segmentsExperiment); } /** * @throws PortalException */ @Override public com.liferay.portal.kernel.model.PersistedModel createPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentLocalService.createPersistedModel( primaryKeyObj); } /** * Creates a new segments experiment with the primary key. Does not add the segments experiment to the database. * * @param segmentsExperimentId the primary key for the new segments experiment * @return the new segments experiment */ @Override public SegmentsExperiment createSegmentsExperiment( long segmentsExperimentId) { return _segmentsExperimentLocalService.createSegmentsExperiment( segmentsExperimentId); } /** * @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 _segmentsExperimentLocalService.deletePersistedModel( persistedModel); } /** * Deletes the segments experiment with the primary key from the database. Also notifies the appropriate model listeners. * *

* Important: Inspect SegmentsExperimentLocalServiceImpl 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 segmentsExperimentId the primary key of the segments experiment * @return the segments experiment that was removed * @throws PortalException if a segments experiment with the primary key could not be found */ @Override public SegmentsExperiment deleteSegmentsExperiment( long segmentsExperimentId) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentLocalService.deleteSegmentsExperiment( segmentsExperimentId); } @Override public SegmentsExperiment deleteSegmentsExperiment( long groupId, long segmentsExperienceId, long plid) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentLocalService.deleteSegmentsExperiment( groupId, segmentsExperienceId, plid); } /** * Deletes the segments experiment from the database. Also notifies the appropriate model listeners. * *

* Important: Inspect SegmentsExperimentLocalServiceImpl 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 segmentsExperiment the segments experiment * @return the segments experiment that was removed * @throws PortalException */ @Override public SegmentsExperiment deleteSegmentsExperiment( SegmentsExperiment segmentsExperiment) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentLocalService.deleteSegmentsExperiment( segmentsExperiment); } @Override public SegmentsExperiment deleteSegmentsExperiment( SegmentsExperiment segmentsExperiment, boolean force) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentLocalService.deleteSegmentsExperiment( segmentsExperiment, force); } @Override public T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) { return _segmentsExperimentLocalService.dslQuery(dslQuery); } @Override public int dslQueryCount( com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) { return _segmentsExperimentLocalService.dslQueryCount(dslQuery); } @Override public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { return _segmentsExperimentLocalService.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 _segmentsExperimentLocalService.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.SegmentsExperimentModelImpl. *

* * @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 _segmentsExperimentLocalService.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.SegmentsExperimentModelImpl. *

* * @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 _segmentsExperimentLocalService.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 _segmentsExperimentLocalService.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 _segmentsExperimentLocalService.dynamicQueryCount( dynamicQuery, projection); } @Override public SegmentsExperiment fetchSegmentsExperiment( long segmentsExperimentId) { return _segmentsExperimentLocalService.fetchSegmentsExperiment( segmentsExperimentId); } @Override public SegmentsExperiment fetchSegmentsExperiment( long groupId, long segmentsExperienceId, long plid) { return _segmentsExperimentLocalService.fetchSegmentsExperiment( groupId, segmentsExperienceId, plid); } @Override public SegmentsExperiment fetchSegmentsExperiment( long groupId, String segmentsExperimentKey) { return _segmentsExperimentLocalService.fetchSegmentsExperiment( groupId, segmentsExperimentKey); } /** * Returns the segments experiment matching the UUID and group. * * @param uuid the segments experiment's UUID * @param groupId the primary key of the group * @return the matching segments experiment, or null if a matching segments experiment could not be found */ @Override public SegmentsExperiment fetchSegmentsExperimentByUuidAndGroupId( String uuid, long groupId) { return _segmentsExperimentLocalService. fetchSegmentsExperimentByUuidAndGroupId(uuid, groupId); } @Override public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() { return _segmentsExperimentLocalService.getActionableDynamicQuery(); } @Override public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery( com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) { return _segmentsExperimentLocalService.getExportActionableDynamicQuery( portletDataContext); } @Override public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() { return _segmentsExperimentLocalService. getIndexableActionableDynamicQuery(); } /** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ @Override public String getOSGiServiceIdentifier() { return _segmentsExperimentLocalService.getOSGiServiceIdentifier(); } /** * @throws PortalException */ @Override public com.liferay.portal.kernel.model.PersistedModel getPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentLocalService.getPersistedModel(primaryKeyObj); } @Override public java.util.List getSegmentsEntrySegmentsExperiments(long segmentsEntryId) { return _segmentsExperimentLocalService. getSegmentsEntrySegmentsExperiments(segmentsEntryId); } /** * Returns the segments experiment with the primary key. * * @param segmentsExperimentId the primary key of the segments experiment * @return the segments experiment * @throws PortalException if a segments experiment with the primary key could not be found */ @Override public SegmentsExperiment getSegmentsExperiment(long segmentsExperimentId) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentLocalService.getSegmentsExperiment( segmentsExperimentId); } @Override public SegmentsExperiment getSegmentsExperiment( String segmentsExperimentKey) throws com.liferay.segments.exception.NoSuchExperimentException { return _segmentsExperimentLocalService.getSegmentsExperiment( segmentsExperimentKey); } /** * Returns the segments experiment matching the UUID and group. * * @param uuid the segments experiment's UUID * @param groupId the primary key of the group * @return the matching segments experiment * @throws PortalException if a matching segments experiment could not be found */ @Override public SegmentsExperiment getSegmentsExperimentByUuidAndGroupId( String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentLocalService. getSegmentsExperimentByUuidAndGroupId(uuid, groupId); } /** * Returns a range of all the segments experiments. * *

* 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.SegmentsExperimentModelImpl. *

* * @param start the lower bound of the range of segments experiments * @param end the upper bound of the range of segments experiments (not inclusive) * @return the range of segments experiments */ @Override public java.util.List getSegmentsExperiments( int start, int end) { return _segmentsExperimentLocalService.getSegmentsExperiments( start, end); } /** * Returns all the segments experiments matching the UUID and company. * * @param uuid the UUID of the segments experiments * @param companyId the primary key of the company * @return the matching segments experiments, or an empty list if no matches were found */ @Override public java.util.List getSegmentsExperimentsByUuidAndCompanyId(String uuid, long companyId) { return _segmentsExperimentLocalService. getSegmentsExperimentsByUuidAndCompanyId(uuid, companyId); } /** * Returns a range of segments experiments matching the UUID and company. * * @param uuid the UUID of the segments experiments * @param companyId the primary key of the company * @param start the lower bound of the range of segments experiments * @param end the upper bound of the range of segments experiments (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the range of matching segments experiments, or an empty list if no matches were found */ @Override public java.util.List getSegmentsExperimentsByUuidAndCompanyId( String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) { return _segmentsExperimentLocalService. getSegmentsExperimentsByUuidAndCompanyId( uuid, companyId, start, end, orderByComparator); } /** * Returns the number of segments experiments. * * @return the number of segments experiments */ @Override public int getSegmentsExperimentsCount() { return _segmentsExperimentLocalService.getSegmentsExperimentsCount(); } @Override public SegmentsExperiment runSegmentsExperiment( long segmentsExperimentId, double confidenceLevel, java.util.Map segmentsExperienceIdSplitMap, String type) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentLocalService.runSegmentsExperiment( segmentsExperimentId, confidenceLevel, segmentsExperienceIdSplitMap, type); } @Override public SegmentsExperiment updateSegmentsExperiment( long segmentsExperimentId, String name, String description, String goal, String goalTarget) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentLocalService.updateSegmentsExperiment( segmentsExperimentId, name, description, goal, goalTarget); } /** * Updates the segments experiment in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * *

* Important: Inspect SegmentsExperimentLocalServiceImpl 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 segmentsExperiment the segments experiment * @return the segments experiment that was updated */ @Override public SegmentsExperiment updateSegmentsExperiment( SegmentsExperiment segmentsExperiment) { return _segmentsExperimentLocalService.updateSegmentsExperiment( segmentsExperiment); } @Override public SegmentsExperiment updateSegmentsExperimentStatus( long segmentsExperimentId, int status) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentLocalService.updateSegmentsExperimentStatus( segmentsExperimentId, status); } @Override public SegmentsExperiment updateSegmentsExperimentStatus( long segmentsExperimentId, long winnerSegmentsExperienceId, int status) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsExperimentLocalService.updateSegmentsExperimentStatus( segmentsExperimentId, winnerSegmentsExperienceId, status); } @Override public BasePersistence getBasePersistence() { return _segmentsExperimentLocalService.getBasePersistence(); } @Override public CTPersistence getCTPersistence() { return _segmentsExperimentLocalService.getCTPersistence(); } @Override public Class getModelClass() { return _segmentsExperimentLocalService.getModelClass(); } @Override public R updateWithUnsafeFunction( UnsafeFunction, R, E> updateUnsafeFunction) throws E { return _segmentsExperimentLocalService.updateWithUnsafeFunction( updateUnsafeFunction); } @Override public SegmentsExperimentLocalService getWrappedService() { return _segmentsExperimentLocalService; } @Override public void setWrappedService( SegmentsExperimentLocalService segmentsExperimentLocalService) { _segmentsExperimentLocalService = segmentsExperimentLocalService; } private SegmentsExperimentLocalService _segmentsExperimentLocalService; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy