com.liferay.segments.service.persistence.SegmentsExperimentPersistence Maven / Gradle / Ivy
/**
* 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.persistence;
import com.liferay.portal.kernel.service.persistence.BasePersistence;
import com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence;
import com.liferay.segments.exception.NoSuchExperimentException;
import com.liferay.segments.model.SegmentsExperiment;
import org.osgi.annotation.versioning.ProviderType;
/**
* The persistence interface for the segments experiment service.
*
*
* Caching information and settings can be found in portal.properties
*
*
* @author Eduardo Garcia
* @see SegmentsExperimentUtil
* @generated
*/
@ProviderType
public interface SegmentsExperimentPersistence
extends BasePersistence,
CTPersistence {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link SegmentsExperimentUtil} to access the segments experiment persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
*/
/**
* Returns all the segments experiments where uuid = ?.
*
* @param uuid the uuid
* @return the matching segments experiments
*/
public java.util.List findByUuid(String uuid);
/**
* Returns a range of all the segments experiments where uuid = ?.
*
*
* 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 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 SegmentsExperimentModelImpl
.
*
*
* @param uuid the uuid
* @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 matching segments experiments
*/
public java.util.List findByUuid(
String uuid, int start, int end);
/**
* Returns an ordered range of all the segments experiments where uuid = ?.
*
*
* 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 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 SegmentsExperimentModelImpl
.
*
*
* @param uuid the uuid
* @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 ordered range of matching segments experiments
*/
public java.util.List findByUuid(
String uuid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the segments experiments where uuid = ?.
*
*
* 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 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 SegmentsExperimentModelImpl
.
*
*
* @param uuid the uuid
* @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
)
* @param useFinderCache whether to use the finder cache
* @return the ordered range of matching segments experiments
*/
public java.util.List findByUuid(
String uuid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first segments experiment in the ordered set where uuid = ?.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experiment
* @throws NoSuchExperimentException if a matching segments experiment could not be found
*/
public SegmentsExperiment findByUuid_First(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchExperimentException;
/**
* Returns the first segments experiment in the ordered set where uuid = ?.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experiment, or null
if a matching segments experiment could not be found
*/
public SegmentsExperiment fetchByUuid_First(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last segments experiment in the ordered set where uuid = ?.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experiment
* @throws NoSuchExperimentException if a matching segments experiment could not be found
*/
public SegmentsExperiment findByUuid_Last(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchExperimentException;
/**
* Returns the last segments experiment in the ordered set where uuid = ?.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experiment, or null
if a matching segments experiment could not be found
*/
public SegmentsExperiment fetchByUuid_Last(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the segments experiments before and after the current segments experiment in the ordered set where uuid = ?.
*
* @param segmentsExperimentId the primary key of the current segments experiment
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experiment
* @throws NoSuchExperimentException if a segments experiment with the primary key could not be found
*/
public SegmentsExperiment[] findByUuid_PrevAndNext(
long segmentsExperimentId, String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchExperimentException;
/**
* Removes all the segments experiments where uuid = ? from the database.
*
* @param uuid the uuid
*/
public void removeByUuid(String uuid);
/**
* Returns the number of segments experiments where uuid = ?.
*
* @param uuid the uuid
* @return the number of matching segments experiments
*/
public int countByUuid(String uuid);
/**
* Returns the segments experiment where uuid = ? and groupId = ? or throws a NoSuchExperimentException
if it could not be found.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the matching segments experiment
* @throws NoSuchExperimentException if a matching segments experiment could not be found
*/
public SegmentsExperiment findByUUID_G(String uuid, long groupId)
throws NoSuchExperimentException;
/**
* Returns the segments experiment where uuid = ? and groupId = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the matching segments experiment, or null
if a matching segments experiment could not be found
*/
public SegmentsExperiment fetchByUUID_G(String uuid, long groupId);
/**
* Returns the segments experiment where uuid = ? and groupId = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param uuid the uuid
* @param groupId the group ID
* @param useFinderCache whether to use the finder cache
* @return the matching segments experiment, or null
if a matching segments experiment could not be found
*/
public SegmentsExperiment fetchByUUID_G(
String uuid, long groupId, boolean useFinderCache);
/**
* Removes the segments experiment where uuid = ? and groupId = ? from the database.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the segments experiment that was removed
*/
public SegmentsExperiment removeByUUID_G(String uuid, long groupId)
throws NoSuchExperimentException;
/**
* Returns the number of segments experiments where uuid = ? and groupId = ?.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the number of matching segments experiments
*/
public int countByUUID_G(String uuid, long groupId);
/**
* Returns all the segments experiments where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the matching segments experiments
*/
public java.util.List findByUuid_C(
String uuid, long companyId);
/**
* Returns a range of all the segments experiments where uuid = ? and companyId = ?.
*
*
* 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 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 SegmentsExperimentModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @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 matching segments experiments
*/
public java.util.List findByUuid_C(
String uuid, long companyId, int start, int end);
/**
* Returns an ordered range of all the segments experiments where uuid = ? and companyId = ?.
*
*
* 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 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 SegmentsExperimentModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @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 ordered range of matching segments experiments
*/
public java.util.List findByUuid_C(
String uuid, long companyId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the segments experiments where uuid = ? and companyId = ?.
*
*
* 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 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 SegmentsExperimentModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @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
)
* @param useFinderCache whether to use the finder cache
* @return the ordered range of matching segments experiments
*/
public java.util.List findByUuid_C(
String uuid, long companyId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first segments experiment in the ordered set where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experiment
* @throws NoSuchExperimentException if a matching segments experiment could not be found
*/
public SegmentsExperiment findByUuid_C_First(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchExperimentException;
/**
* Returns the first segments experiment in the ordered set where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experiment, or null
if a matching segments experiment could not be found
*/
public SegmentsExperiment fetchByUuid_C_First(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last segments experiment in the ordered set where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experiment
* @throws NoSuchExperimentException if a matching segments experiment could not be found
*/
public SegmentsExperiment findByUuid_C_Last(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchExperimentException;
/**
* Returns the last segments experiment in the ordered set where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experiment, or null
if a matching segments experiment could not be found
*/
public SegmentsExperiment fetchByUuid_C_Last(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the segments experiments before and after the current segments experiment in the ordered set where uuid = ? and companyId = ?.
*
* @param segmentsExperimentId the primary key of the current segments experiment
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experiment
* @throws NoSuchExperimentException if a segments experiment with the primary key could not be found
*/
public SegmentsExperiment[] findByUuid_C_PrevAndNext(
long segmentsExperimentId, String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchExperimentException;
/**
* Removes all the segments experiments where uuid = ? and companyId = ? from the database.
*
* @param uuid the uuid
* @param companyId the company ID
*/
public void removeByUuid_C(String uuid, long companyId);
/**
* Returns the number of segments experiments where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the number of matching segments experiments
*/
public int countByUuid_C(String uuid, long companyId);
/**
* Returns all the segments experiments where groupId = ?.
*
* @param groupId the group ID
* @return the matching segments experiments
*/
public java.util.List findByGroupId(long groupId);
/**
* Returns a range of all the segments experiments where groupId = ?.
*
*
* 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 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 SegmentsExperimentModelImpl
.
*
*
* @param groupId the group ID
* @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 matching segments experiments
*/
public java.util.List findByGroupId(
long groupId, int start, int end);
/**
* Returns an ordered range of all the segments experiments where groupId = ?.
*
*
* 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 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 SegmentsExperimentModelImpl
.
*
*
* @param groupId the group ID
* @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 ordered range of matching segments experiments
*/
public java.util.List findByGroupId(
long groupId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the segments experiments where groupId = ?.
*
*
* 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 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 SegmentsExperimentModelImpl
.
*
*
* @param groupId the group ID
* @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
)
* @param useFinderCache whether to use the finder cache
* @return the ordered range of matching segments experiments
*/
public java.util.List findByGroupId(
long groupId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first segments experiment in the ordered set where groupId = ?.
*
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experiment
* @throws NoSuchExperimentException if a matching segments experiment could not be found
*/
public SegmentsExperiment findByGroupId_First(
long groupId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchExperimentException;
/**
* Returns the first segments experiment in the ordered set where groupId = ?.
*
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experiment, or null
if a matching segments experiment could not be found
*/
public SegmentsExperiment fetchByGroupId_First(
long groupId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last segments experiment in the ordered set where groupId = ?.
*
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experiment
* @throws NoSuchExperimentException if a matching segments experiment could not be found
*/
public SegmentsExperiment findByGroupId_Last(
long groupId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchExperimentException;
/**
* Returns the last segments experiment in the ordered set where groupId = ?.
*
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experiment, or null
if a matching segments experiment could not be found
*/
public SegmentsExperiment fetchByGroupId_Last(
long groupId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the segments experiments before and after the current segments experiment in the ordered set where groupId = ?.
*
* @param segmentsExperimentId the primary key of the current segments experiment
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experiment
* @throws NoSuchExperimentException if a segments experiment with the primary key could not be found
*/
public SegmentsExperiment[] findByGroupId_PrevAndNext(
long segmentsExperimentId, long groupId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchExperimentException;
/**
* Returns all the segments experiments that the user has permission to view where groupId = ?.
*
* @param groupId the group ID
* @return the matching segments experiments that the user has permission to view
*/
public java.util.List filterFindByGroupId(long groupId);
/**
* Returns a range of all the segments experiments that the user has permission to view where groupId = ?.
*
*
* 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 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 SegmentsExperimentModelImpl
.
*
*
* @param groupId the group ID
* @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 matching segments experiments that the user has permission to view
*/
public java.util.List filterFindByGroupId(
long groupId, int start, int end);
/**
* Returns an ordered range of all the segments experiments that the user has permissions to view where groupId = ?.
*
*
* 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 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 SegmentsExperimentModelImpl
.
*
*
* @param groupId the group ID
* @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 ordered range of matching segments experiments that the user has permission to view
*/
public java.util.List filterFindByGroupId(
long groupId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the segments experiments before and after the current segments experiment in the ordered set of segments experiments that the user has permission to view where groupId = ?.
*
* @param segmentsExperimentId the primary key of the current segments experiment
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experiment
* @throws NoSuchExperimentException if a segments experiment with the primary key could not be found
*/
public SegmentsExperiment[] filterFindByGroupId_PrevAndNext(
long segmentsExperimentId, long groupId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchExperimentException;
/**
* Removes all the segments experiments where groupId = ? from the database.
*
* @param groupId the group ID
*/
public void removeByGroupId(long groupId);
/**
* Returns the number of segments experiments where groupId = ?.
*
* @param groupId the group ID
* @return the number of matching segments experiments
*/
public int countByGroupId(long groupId);
/**
* Returns the number of segments experiments that the user has permission to view where groupId = ?.
*
* @param groupId the group ID
* @return the number of matching segments experiments that the user has permission to view
*/
public int filterCountByGroupId(long groupId);
/**
* Returns all the segments experiments where segmentsExperimentKey = ?.
*
* @param segmentsExperimentKey the segments experiment key
* @return the matching segments experiments
*/
public java.util.List findBySegmentsExperimentKey(
String segmentsExperimentKey);
/**
* Returns a range of all the segments experiments where segmentsExperimentKey = ?.
*
*
* 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 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 SegmentsExperimentModelImpl
.
*
*
* @param segmentsExperimentKey the segments experiment key
* @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 matching segments experiments
*/
public java.util.List findBySegmentsExperimentKey(
String segmentsExperimentKey, int start, int end);
/**
* Returns an ordered range of all the segments experiments where segmentsExperimentKey = ?.
*
*
* 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 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 SegmentsExperimentModelImpl
.
*
*
* @param segmentsExperimentKey the segments experiment key
* @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 ordered range of matching segments experiments
*/
public java.util.List findBySegmentsExperimentKey(
String segmentsExperimentKey, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the segments experiments where segmentsExperimentKey = ?.
*
*
* 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 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 SegmentsExperimentModelImpl
.
*
*
* @param segmentsExperimentKey the segments experiment key
* @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
)
* @param useFinderCache whether to use the finder cache
* @return the ordered range of matching segments experiments
*/
public java.util.List findBySegmentsExperimentKey(
String segmentsExperimentKey, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first segments experiment in the ordered set where segmentsExperimentKey = ?.
*
* @param segmentsExperimentKey the segments experiment key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experiment
* @throws NoSuchExperimentException if a matching segments experiment could not be found
*/
public SegmentsExperiment findBySegmentsExperimentKey_First(
String segmentsExperimentKey,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchExperimentException;
/**
* Returns the first segments experiment in the ordered set where segmentsExperimentKey = ?.
*
* @param segmentsExperimentKey the segments experiment key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experiment, or null
if a matching segments experiment could not be found
*/
public SegmentsExperiment fetchBySegmentsExperimentKey_First(
String segmentsExperimentKey,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last segments experiment in the ordered set where segmentsExperimentKey = ?.
*
* @param segmentsExperimentKey the segments experiment key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experiment
* @throws NoSuchExperimentException if a matching segments experiment could not be found
*/
public SegmentsExperiment findBySegmentsExperimentKey_Last(
String segmentsExperimentKey,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchExperimentException;
/**
* Returns the last segments experiment in the ordered set where segmentsExperimentKey = ?.
*
* @param segmentsExperimentKey the segments experiment key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experiment, or null
if a matching segments experiment could not be found
*/
public SegmentsExperiment fetchBySegmentsExperimentKey_Last(
String segmentsExperimentKey,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the segments experiments before and after the current segments experiment in the ordered set where segmentsExperimentKey = ?.
*
* @param segmentsExperimentId the primary key of the current segments experiment
* @param segmentsExperimentKey the segments experiment key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experiment
* @throws NoSuchExperimentException if a segments experiment with the primary key could not be found
*/
public SegmentsExperiment[] findBySegmentsExperimentKey_PrevAndNext(
long segmentsExperimentId, String segmentsExperimentKey,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchExperimentException;
/**
* Removes all the segments experiments where segmentsExperimentKey = ? from the database.
*
* @param segmentsExperimentKey the segments experiment key
*/
public void removeBySegmentsExperimentKey(String segmentsExperimentKey);
/**
* Returns the number of segments experiments where segmentsExperimentKey = ?.
*
* @param segmentsExperimentKey the segments experiment key
* @return the number of matching segments experiments
*/
public int countBySegmentsExperimentKey(String segmentsExperimentKey);
/**
* Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or throws a NoSuchExperimentException
if it could not be found.
*
* @param groupId the group ID
* @param segmentsExperimentKey the segments experiment key
* @return the matching segments experiment
* @throws NoSuchExperimentException if a matching segments experiment could not be found
*/
public SegmentsExperiment findByG_S(
long groupId, String segmentsExperimentKey)
throws NoSuchExperimentException;
/**
* Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param groupId the group ID
* @param segmentsExperimentKey the segments experiment key
* @return the matching segments experiment, or null
if a matching segments experiment could not be found
*/
public SegmentsExperiment fetchByG_S(
long groupId, String segmentsExperimentKey);
/**
* Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param groupId the group ID
* @param segmentsExperimentKey the segments experiment key
* @param useFinderCache whether to use the finder cache
* @return the matching segments experiment, or null
if a matching segments experiment could not be found
*/
public SegmentsExperiment fetchByG_S(
long groupId, String segmentsExperimentKey, boolean useFinderCache);
/**
* Removes the segments experiment where groupId = ? and segmentsExperimentKey = ? from the database.
*
* @param groupId the group ID
* @param segmentsExperimentKey the segments experiment key
* @return the segments experiment that was removed
*/
public SegmentsExperiment removeByG_S(
long groupId, String segmentsExperimentKey)
throws NoSuchExperimentException;
/**
* Returns the number of segments experiments where groupId = ? and segmentsExperimentKey = ?.
*
* @param groupId the group ID
* @param segmentsExperimentKey the segments experiment key
* @return the number of matching segments experiments
*/
public int countByG_S(long groupId, String segmentsExperimentKey);
/**
* Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or throws a NoSuchExperimentException
if it could not be found.
*
* @param groupId the group ID
* @param segmentsExperienceId the segments experience ID
* @param plid the plid
* @return the matching segments experiment
* @throws NoSuchExperimentException if a matching segments experiment could not be found
*/
public SegmentsExperiment findByG_S_P(
long groupId, long segmentsExperienceId, long plid)
throws NoSuchExperimentException;
/**
* Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param groupId the group ID
* @param segmentsExperienceId the segments experience ID
* @param plid the plid
* @return the matching segments experiment, or null
if a matching segments experiment could not be found
*/
public SegmentsExperiment fetchByG_S_P(
long groupId, long segmentsExperienceId, long plid);
/**
* Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param groupId the group ID
* @param segmentsExperienceId the segments experience ID
* @param plid the plid
* @param useFinderCache whether to use the finder cache
* @return the matching segments experiment, or null
if a matching segments experiment could not be found
*/
public SegmentsExperiment fetchByG_S_P(
long groupId, long segmentsExperienceId, long plid,
boolean useFinderCache);
/**
* Removes the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? from the database.
*
* @param groupId the group ID
* @param segmentsExperienceId the segments experience ID
* @param plid the plid
* @return the segments experiment that was removed
*/
public SegmentsExperiment removeByG_S_P(
long groupId, long segmentsExperienceId, long plid)
throws NoSuchExperimentException;
/**
* Returns the number of segments experiments where groupId = ? and segmentsExperienceId = ? and plid = ?.
*
* @param groupId the group ID
* @param segmentsExperienceId the segments experience ID
* @param plid the plid
* @return the number of matching segments experiments
*/
public int countByG_S_P(long groupId, long segmentsExperienceId, long plid);
/**
* Caches the segments experiment in the entity cache if it is enabled.
*
* @param segmentsExperiment the segments experiment
*/
public void cacheResult(SegmentsExperiment segmentsExperiment);
/**
* Caches the segments experiments in the entity cache if it is enabled.
*
* @param segmentsExperiments the segments experiments
*/
public void cacheResult(
java.util.List segmentsExperiments);
/**
* 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
*/
public SegmentsExperiment create(long segmentsExperimentId);
/**
* Removes the segments experiment with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param segmentsExperimentId the primary key of the segments experiment
* @return the segments experiment that was removed
* @throws NoSuchExperimentException if a segments experiment with the primary key could not be found
*/
public SegmentsExperiment remove(long segmentsExperimentId)
throws NoSuchExperimentException;
public SegmentsExperiment updateImpl(SegmentsExperiment segmentsExperiment);
/**
* Returns the segments experiment with the primary key or throws a NoSuchExperimentException
if it could not be found.
*
* @param segmentsExperimentId the primary key of the segments experiment
* @return the segments experiment
* @throws NoSuchExperimentException if a segments experiment with the primary key could not be found
*/
public SegmentsExperiment findByPrimaryKey(long segmentsExperimentId)
throws NoSuchExperimentException;
/**
* Returns the segments experiment with the primary key or returns null
if it could not be found.
*
* @param segmentsExperimentId the primary key of the segments experiment
* @return the segments experiment, or null
if a segments experiment with the primary key could not be found
*/
public SegmentsExperiment fetchByPrimaryKey(long segmentsExperimentId);
/**
* Returns all the segments experiments.
*
* @return the segments experiments
*/
public java.util.List findAll();
/**
* 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 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 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
*/
public java.util.List findAll(int start, int end);
/**
* Returns an ordered 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 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 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)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of segments experiments
*/
public java.util.List findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered 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 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 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)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param useFinderCache whether to use the finder cache
* @return the ordered range of segments experiments
*/
public java.util.List findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Removes all the segments experiments from the database.
*/
public void removeAll();
/**
* Returns the number of segments experiments.
*
* @return the number of segments experiments
*/
public int countAll();
}