com.liferay.segments.service.persistence.SegmentsExperienceUtil 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.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.service.ServiceContext;
import com.liferay.portal.kernel.util.OrderByComparator;
import com.liferay.segments.model.SegmentsExperience;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* The persistence utility for the segments experience service. This utility wraps com.liferay.segments.service.persistence.impl.SegmentsExperiencePersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
*
*
* Caching information and settings can be found in portal.properties
*
*
* @author Eduardo Garcia
* @see SegmentsExperiencePersistence
* @generated
*/
public class SegmentsExperienceUtil {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this class directly. Modify service.xml
and rerun ServiceBuilder to regenerate this class.
*/
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache()
*/
public static void clearCache() {
getPersistence().clearCache();
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache(com.liferay.portal.kernel.model.BaseModel)
*/
public static void clearCache(SegmentsExperience segmentsExperience) {
getPersistence().clearCache(segmentsExperience);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
*/
public static long countWithDynamicQuery(DynamicQuery dynamicQuery) {
return getPersistence().countWithDynamicQuery(dynamicQuery);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#fetchByPrimaryKeys(Set)
*/
public static Map fetchByPrimaryKeys(
Set primaryKeys) {
return getPersistence().fetchByPrimaryKeys(primaryKeys);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
*/
public static List findWithDynamicQuery(
DynamicQuery dynamicQuery) {
return getPersistence().findWithDynamicQuery(dynamicQuery);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
*/
public static List findWithDynamicQuery(
DynamicQuery dynamicQuery, int start, int end) {
return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
*/
public static List findWithDynamicQuery(
DynamicQuery dynamicQuery, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findWithDynamicQuery(
dynamicQuery, start, end, orderByComparator);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel)
*/
public static SegmentsExperience update(
SegmentsExperience segmentsExperience) {
return getPersistence().update(segmentsExperience);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
*/
public static SegmentsExperience update(
SegmentsExperience segmentsExperience, ServiceContext serviceContext) {
return getPersistence().update(segmentsExperience, serviceContext);
}
/**
* Returns all the segments experiences where uuid = ?.
*
* @param uuid the uuid
* @return the matching segments experiences
*/
public static List findByUuid(String uuid) {
return getPersistence().findByUuid(uuid);
}
/**
* Returns a range of all the segments experiences 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 SegmentsExperienceModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences
*/
public static List findByUuid(
String uuid, int start, int end) {
return getPersistence().findByUuid(uuid, start, end);
}
/**
* Returns an ordered range of all the segments experiences 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 SegmentsExperienceModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences
*/
public static List findByUuid(
String uuid, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByUuid(uuid, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments experiences 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 SegmentsExperienceModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (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 experiences
*/
public static List findByUuid(
String uuid, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByUuid(
uuid, start, end, orderByComparator, useFinderCache);
}
/**
* Returns the first segments experience 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 experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByUuid_First(
String uuid,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByUuid_First(uuid, orderByComparator);
}
/**
* Returns the first segments experience 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 experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByUuid_First(
String uuid, OrderByComparator orderByComparator) {
return getPersistence().fetchByUuid_First(uuid, orderByComparator);
}
/**
* Returns the last segments experience 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 experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByUuid_Last(
String uuid,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByUuid_Last(uuid, orderByComparator);
}
/**
* Returns the last segments experience 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 experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByUuid_Last(
String uuid, OrderByComparator orderByComparator) {
return getPersistence().fetchByUuid_Last(uuid, orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set where uuid = ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] findByUuid_PrevAndNext(
long segmentsExperienceId, String uuid,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByUuid_PrevAndNext(
segmentsExperienceId, uuid, orderByComparator);
}
/**
* Removes all the segments experiences where uuid = ? from the database.
*
* @param uuid the uuid
*/
public static void removeByUuid(String uuid) {
getPersistence().removeByUuid(uuid);
}
/**
* Returns the number of segments experiences where uuid = ?.
*
* @param uuid the uuid
* @return the number of matching segments experiences
*/
public static int countByUuid(String uuid) {
return getPersistence().countByUuid(uuid);
}
/**
* Returns the segments experience where uuid = ? and groupId = ? or throws a NoSuchExperienceException
if it could not be found.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByUUID_G(String uuid, long groupId)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByUUID_G(uuid, groupId);
}
/**
* Returns the segments experience 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 experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByUUID_G(String uuid, long groupId) {
return getPersistence().fetchByUUID_G(uuid, groupId);
}
/**
* Returns the segments experience 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 experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByUUID_G(
String uuid, long groupId, boolean useFinderCache) {
return getPersistence().fetchByUUID_G(uuid, groupId, useFinderCache);
}
/**
* Removes the segments experience where uuid = ? and groupId = ? from the database.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the segments experience that was removed
*/
public static SegmentsExperience removeByUUID_G(String uuid, long groupId)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().removeByUUID_G(uuid, groupId);
}
/**
* Returns the number of segments experiences where uuid = ? and groupId = ?.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the number of matching segments experiences
*/
public static int countByUUID_G(String uuid, long groupId) {
return getPersistence().countByUUID_G(uuid, groupId);
}
/**
* Returns all the segments experiences where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the matching segments experiences
*/
public static List findByUuid_C(
String uuid, long companyId) {
return getPersistence().findByUuid_C(uuid, companyId);
}
/**
* Returns a range of all the segments experiences 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 SegmentsExperienceModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences
*/
public static List findByUuid_C(
String uuid, long companyId, int start, int end) {
return getPersistence().findByUuid_C(uuid, companyId, start, end);
}
/**
* Returns an ordered range of all the segments experiences 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 SegmentsExperienceModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences
*/
public static List findByUuid_C(
String uuid, long companyId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByUuid_C(
uuid, companyId, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments experiences 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 SegmentsExperienceModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (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 experiences
*/
public static List findByUuid_C(
String uuid, long companyId, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByUuid_C(
uuid, companyId, start, end, orderByComparator, useFinderCache);
}
/**
* Returns the first segments experience 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 experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByUuid_C_First(
String uuid, long companyId,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByUuid_C_First(
uuid, companyId, orderByComparator);
}
/**
* Returns the first segments experience 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 experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByUuid_C_First(
String uuid, long companyId,
OrderByComparator orderByComparator) {
return getPersistence().fetchByUuid_C_First(
uuid, companyId, orderByComparator);
}
/**
* Returns the last segments experience 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 experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByUuid_C_Last(
String uuid, long companyId,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByUuid_C_Last(
uuid, companyId, orderByComparator);
}
/**
* Returns the last segments experience 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 experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByUuid_C_Last(
String uuid, long companyId,
OrderByComparator orderByComparator) {
return getPersistence().fetchByUuid_C_Last(
uuid, companyId, orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set where uuid = ? and companyId = ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @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 experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] findByUuid_C_PrevAndNext(
long segmentsExperienceId, String uuid, long companyId,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByUuid_C_PrevAndNext(
segmentsExperienceId, uuid, companyId, orderByComparator);
}
/**
* Removes all the segments experiences where uuid = ? and companyId = ? from the database.
*
* @param uuid the uuid
* @param companyId the company ID
*/
public static void removeByUuid_C(String uuid, long companyId) {
getPersistence().removeByUuid_C(uuid, companyId);
}
/**
* Returns the number of segments experiences where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the number of matching segments experiences
*/
public static int countByUuid_C(String uuid, long companyId) {
return getPersistence().countByUuid_C(uuid, companyId);
}
/**
* Returns all the segments experiences where groupId = ?.
*
* @param groupId the group ID
* @return the matching segments experiences
*/
public static List findByGroupId(long groupId) {
return getPersistence().findByGroupId(groupId);
}
/**
* Returns a range of all the segments experiences 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences
*/
public static List findByGroupId(
long groupId, int start, int end) {
return getPersistence().findByGroupId(groupId, start, end);
}
/**
* Returns an ordered range of all the segments experiences 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences
*/
public static List findByGroupId(
long groupId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByGroupId(
groupId, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments experiences 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (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 experiences
*/
public static List findByGroupId(
long groupId, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByGroupId(
groupId, start, end, orderByComparator, useFinderCache);
}
/**
* Returns the first segments experience 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 experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByGroupId_First(
long groupId,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByGroupId_First(groupId, orderByComparator);
}
/**
* Returns the first segments experience 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 experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByGroupId_First(
long groupId, OrderByComparator orderByComparator) {
return getPersistence().fetchByGroupId_First(
groupId, orderByComparator);
}
/**
* Returns the last segments experience 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 experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByGroupId_Last(
long groupId,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByGroupId_Last(groupId, orderByComparator);
}
/**
* Returns the last segments experience 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 experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByGroupId_Last(
long groupId, OrderByComparator orderByComparator) {
return getPersistence().fetchByGroupId_Last(groupId, orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set where groupId = ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] findByGroupId_PrevAndNext(
long segmentsExperienceId, long groupId,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByGroupId_PrevAndNext(
segmentsExperienceId, groupId, orderByComparator);
}
/**
* Returns all the segments experiences that the user has permission to view where groupId = ?.
*
* @param groupId the group ID
* @return the matching segments experiences that the user has permission to view
*/
public static List filterFindByGroupId(long groupId) {
return getPersistence().filterFindByGroupId(groupId);
}
/**
* Returns a range of all the segments experiences 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences that the user has permission to view
*/
public static List filterFindByGroupId(
long groupId, int start, int end) {
return getPersistence().filterFindByGroupId(groupId, start, end);
}
/**
* Returns an ordered range of all the segments experiences 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences that the user has permission to view
*/
public static List filterFindByGroupId(
long groupId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().filterFindByGroupId(
groupId, start, end, orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set of segments experiences that the user has permission to view where groupId = ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] filterFindByGroupId_PrevAndNext(
long segmentsExperienceId, long groupId,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().filterFindByGroupId_PrevAndNext(
segmentsExperienceId, groupId, orderByComparator);
}
/**
* Removes all the segments experiences where groupId = ? from the database.
*
* @param groupId the group ID
*/
public static void removeByGroupId(long groupId) {
getPersistence().removeByGroupId(groupId);
}
/**
* Returns the number of segments experiences where groupId = ?.
*
* @param groupId the group ID
* @return the number of matching segments experiences
*/
public static int countByGroupId(long groupId) {
return getPersistence().countByGroupId(groupId);
}
/**
* Returns the number of segments experiences that the user has permission to view where groupId = ?.
*
* @param groupId the group ID
* @return the number of matching segments experiences that the user has permission to view
*/
public static int filterCountByGroupId(long groupId) {
return getPersistence().filterCountByGroupId(groupId);
}
/**
* Returns all the segments experiences where segmentsEntryId = ?.
*
* @param segmentsEntryId the segments entry ID
* @return the matching segments experiences
*/
public static List findBySegmentsEntryId(
long segmentsEntryId) {
return getPersistence().findBySegmentsEntryId(segmentsEntryId);
}
/**
* Returns a range of all the segments experiences where segmentsEntryId = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param segmentsEntryId the segments entry ID
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences
*/
public static List findBySegmentsEntryId(
long segmentsEntryId, int start, int end) {
return getPersistence().findBySegmentsEntryId(
segmentsEntryId, start, end);
}
/**
* Returns an ordered range of all the segments experiences where segmentsEntryId = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param segmentsEntryId the segments entry ID
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences
*/
public static List findBySegmentsEntryId(
long segmentsEntryId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findBySegmentsEntryId(
segmentsEntryId, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments experiences where segmentsEntryId = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param segmentsEntryId the segments entry ID
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (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 experiences
*/
public static List findBySegmentsEntryId(
long segmentsEntryId, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findBySegmentsEntryId(
segmentsEntryId, start, end, orderByComparator, useFinderCache);
}
/**
* Returns the first segments experience in the ordered set where segmentsEntryId = ?.
*
* @param segmentsEntryId the segments entry ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findBySegmentsEntryId_First(
long segmentsEntryId,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findBySegmentsEntryId_First(
segmentsEntryId, orderByComparator);
}
/**
* Returns the first segments experience in the ordered set where segmentsEntryId = ?.
*
* @param segmentsEntryId the segments entry ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchBySegmentsEntryId_First(
long segmentsEntryId,
OrderByComparator orderByComparator) {
return getPersistence().fetchBySegmentsEntryId_First(
segmentsEntryId, orderByComparator);
}
/**
* Returns the last segments experience in the ordered set where segmentsEntryId = ?.
*
* @param segmentsEntryId the segments entry ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findBySegmentsEntryId_Last(
long segmentsEntryId,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findBySegmentsEntryId_Last(
segmentsEntryId, orderByComparator);
}
/**
* Returns the last segments experience in the ordered set where segmentsEntryId = ?.
*
* @param segmentsEntryId the segments entry ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchBySegmentsEntryId_Last(
long segmentsEntryId,
OrderByComparator orderByComparator) {
return getPersistence().fetchBySegmentsEntryId_Last(
segmentsEntryId, orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set where segmentsEntryId = ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @param segmentsEntryId the segments entry ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] findBySegmentsEntryId_PrevAndNext(
long segmentsExperienceId, long segmentsEntryId,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findBySegmentsEntryId_PrevAndNext(
segmentsExperienceId, segmentsEntryId, orderByComparator);
}
/**
* Removes all the segments experiences where segmentsEntryId = ? from the database.
*
* @param segmentsEntryId the segments entry ID
*/
public static void removeBySegmentsEntryId(long segmentsEntryId) {
getPersistence().removeBySegmentsEntryId(segmentsEntryId);
}
/**
* Returns the number of segments experiences where segmentsEntryId = ?.
*
* @param segmentsEntryId the segments entry ID
* @return the number of matching segments experiences
*/
public static int countBySegmentsEntryId(long segmentsEntryId) {
return getPersistence().countBySegmentsEntryId(segmentsEntryId);
}
/**
* Returns all the segments experiences where groupId = ? and plid = ?.
*
* @param groupId the group ID
* @param plid the plid
* @return the matching segments experiences
*/
public static List findByG_P(long groupId, long plid) {
return getPersistence().findByG_P(groupId, plid);
}
/**
* Returns a range of all the segments experiences where groupId = ? and plid = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences
*/
public static List findByG_P(
long groupId, long plid, int start, int end) {
return getPersistence().findByG_P(groupId, plid, start, end);
}
/**
* Returns an ordered range of all the segments experiences where groupId = ? and plid = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences
*/
public static List findByG_P(
long groupId, long plid, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByG_P(
groupId, plid, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments experiences where groupId = ? and plid = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (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 experiences
*/
public static List findByG_P(
long groupId, long plid, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByG_P(
groupId, plid, start, end, orderByComparator, useFinderCache);
}
/**
* Returns the first segments experience in the ordered set where groupId = ? and plid = ?.
*
* @param groupId the group ID
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByG_P_First(
long groupId, long plid,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_P_First(
groupId, plid, orderByComparator);
}
/**
* Returns the first segments experience in the ordered set where groupId = ? and plid = ?.
*
* @param groupId the group ID
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByG_P_First(
long groupId, long plid,
OrderByComparator orderByComparator) {
return getPersistence().fetchByG_P_First(
groupId, plid, orderByComparator);
}
/**
* Returns the last segments experience in the ordered set where groupId = ? and plid = ?.
*
* @param groupId the group ID
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByG_P_Last(
long groupId, long plid,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_P_Last(
groupId, plid, orderByComparator);
}
/**
* Returns the last segments experience in the ordered set where groupId = ? and plid = ?.
*
* @param groupId the group ID
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByG_P_Last(
long groupId, long plid,
OrderByComparator orderByComparator) {
return getPersistence().fetchByG_P_Last(
groupId, plid, orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set where groupId = ? and plid = ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @param groupId the group ID
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] findByG_P_PrevAndNext(
long segmentsExperienceId, long groupId, long plid,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_P_PrevAndNext(
segmentsExperienceId, groupId, plid, orderByComparator);
}
/**
* Returns all the segments experiences that the user has permission to view where groupId = ? and plid = ?.
*
* @param groupId the group ID
* @param plid the plid
* @return the matching segments experiences that the user has permission to view
*/
public static List filterFindByG_P(
long groupId, long plid) {
return getPersistence().filterFindByG_P(groupId, plid);
}
/**
* Returns a range of all the segments experiences that the user has permission to view where groupId = ? and plid = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences that the user has permission to view
*/
public static List filterFindByG_P(
long groupId, long plid, int start, int end) {
return getPersistence().filterFindByG_P(groupId, plid, start, end);
}
/**
* Returns an ordered range of all the segments experiences that the user has permissions to view where groupId = ? and plid = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences that the user has permission to view
*/
public static List filterFindByG_P(
long groupId, long plid, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().filterFindByG_P(
groupId, plid, start, end, orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set of segments experiences that the user has permission to view where groupId = ? and plid = ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @param groupId the group ID
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] filterFindByG_P_PrevAndNext(
long segmentsExperienceId, long groupId, long plid,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().filterFindByG_P_PrevAndNext(
segmentsExperienceId, groupId, plid, orderByComparator);
}
/**
* Removes all the segments experiences where groupId = ? and plid = ? from the database.
*
* @param groupId the group ID
* @param plid the plid
*/
public static void removeByG_P(long groupId, long plid) {
getPersistence().removeByG_P(groupId, plid);
}
/**
* Returns the number of segments experiences where groupId = ? and plid = ?.
*
* @param groupId the group ID
* @param plid the plid
* @return the number of matching segments experiences
*/
public static int countByG_P(long groupId, long plid) {
return getPersistence().countByG_P(groupId, plid);
}
/**
* Returns the number of segments experiences that the user has permission to view where groupId = ? and plid = ?.
*
* @param groupId the group ID
* @param plid the plid
* @return the number of matching segments experiences that the user has permission to view
*/
public static int filterCountByG_P(long groupId, long plid) {
return getPersistence().filterCountByG_P(groupId, plid);
}
/**
* Returns all the segments experiences where groupId = ? and segmentsEntryId = ? and plid = ?.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @return the matching segments experiences
*/
public static List findByG_S_P(
long groupId, long segmentsEntryId, long plid) {
return getPersistence().findByG_S_P(groupId, segmentsEntryId, plid);
}
/**
* Returns a range of all the segments experiences where groupId = ? and segmentsEntryId = ? and plid = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences
*/
public static List findByG_S_P(
long groupId, long segmentsEntryId, long plid, int start, int end) {
return getPersistence().findByG_S_P(
groupId, segmentsEntryId, plid, start, end);
}
/**
* Returns an ordered range of all the segments experiences where groupId = ? and segmentsEntryId = ? and plid = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences
*/
public static List findByG_S_P(
long groupId, long segmentsEntryId, long plid, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByG_S_P(
groupId, segmentsEntryId, plid, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments experiences where groupId = ? and segmentsEntryId = ? and plid = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (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 experiences
*/
public static List findByG_S_P(
long groupId, long segmentsEntryId, long plid, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByG_S_P(
groupId, segmentsEntryId, plid, start, end, orderByComparator,
useFinderCache);
}
/**
* Returns the first segments experience in the ordered set where groupId = ? and segmentsEntryId = ? and plid = ?.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByG_S_P_First(
long groupId, long segmentsEntryId, long plid,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_S_P_First(
groupId, segmentsEntryId, plid, orderByComparator);
}
/**
* Returns the first segments experience in the ordered set where groupId = ? and segmentsEntryId = ? and plid = ?.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByG_S_P_First(
long groupId, long segmentsEntryId, long plid,
OrderByComparator orderByComparator) {
return getPersistence().fetchByG_S_P_First(
groupId, segmentsEntryId, plid, orderByComparator);
}
/**
* Returns the last segments experience in the ordered set where groupId = ? and segmentsEntryId = ? and plid = ?.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByG_S_P_Last(
long groupId, long segmentsEntryId, long plid,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_S_P_Last(
groupId, segmentsEntryId, plid, orderByComparator);
}
/**
* Returns the last segments experience in the ordered set where groupId = ? and segmentsEntryId = ? and plid = ?.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByG_S_P_Last(
long groupId, long segmentsEntryId, long plid,
OrderByComparator orderByComparator) {
return getPersistence().fetchByG_S_P_Last(
groupId, segmentsEntryId, plid, orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set where groupId = ? and segmentsEntryId = ? and plid = ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] findByG_S_P_PrevAndNext(
long segmentsExperienceId, long groupId, long segmentsEntryId,
long plid, OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_S_P_PrevAndNext(
segmentsExperienceId, groupId, segmentsEntryId, plid,
orderByComparator);
}
/**
* Returns all the segments experiences that the user has permission to view where groupId = ? and segmentsEntryId = ? and plid = ?.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @return the matching segments experiences that the user has permission to view
*/
public static List filterFindByG_S_P(
long groupId, long segmentsEntryId, long plid) {
return getPersistence().filterFindByG_S_P(
groupId, segmentsEntryId, plid);
}
/**
* Returns a range of all the segments experiences that the user has permission to view where groupId = ? and segmentsEntryId = ? and plid = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences that the user has permission to view
*/
public static List filterFindByG_S_P(
long groupId, long segmentsEntryId, long plid, int start, int end) {
return getPersistence().filterFindByG_S_P(
groupId, segmentsEntryId, plid, start, end);
}
/**
* Returns an ordered range of all the segments experiences that the user has permissions to view where groupId = ? and segmentsEntryId = ? and plid = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences that the user has permission to view
*/
public static List filterFindByG_S_P(
long groupId, long segmentsEntryId, long plid, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().filterFindByG_S_P(
groupId, segmentsEntryId, plid, start, end, orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set of segments experiences that the user has permission to view where groupId = ? and segmentsEntryId = ? and plid = ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] filterFindByG_S_P_PrevAndNext(
long segmentsExperienceId, long groupId, long segmentsEntryId,
long plid, OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().filterFindByG_S_P_PrevAndNext(
segmentsExperienceId, groupId, segmentsEntryId, plid,
orderByComparator);
}
/**
* Removes all the segments experiences where groupId = ? and segmentsEntryId = ? and plid = ? from the database.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
*/
public static void removeByG_S_P(
long groupId, long segmentsEntryId, long plid) {
getPersistence().removeByG_S_P(groupId, segmentsEntryId, plid);
}
/**
* Returns the number of segments experiences where groupId = ? and segmentsEntryId = ? and plid = ?.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @return the number of matching segments experiences
*/
public static int countByG_S_P(
long groupId, long segmentsEntryId, long plid) {
return getPersistence().countByG_S_P(groupId, segmentsEntryId, plid);
}
/**
* Returns the number of segments experiences that the user has permission to view where groupId = ? and segmentsEntryId = ? and plid = ?.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @return the number of matching segments experiences that the user has permission to view
*/
public static int filterCountByG_S_P(
long groupId, long segmentsEntryId, long plid) {
return getPersistence().filterCountByG_S_P(
groupId, segmentsEntryId, plid);
}
/**
* Returns the segments experience where groupId = ? and segmentsExperienceKey = ? and plid = ? or throws a NoSuchExperienceException
if it could not be found.
*
* @param groupId the group ID
* @param segmentsExperienceKey the segments experience key
* @param plid the plid
* @return the matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByG_SEK_P(
long groupId, String segmentsExperienceKey, long plid)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_SEK_P(
groupId, segmentsExperienceKey, plid);
}
/**
* Returns the segments experience where groupId = ? and segmentsExperienceKey = ? and plid = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param groupId the group ID
* @param segmentsExperienceKey the segments experience key
* @param plid the plid
* @return the matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByG_SEK_P(
long groupId, String segmentsExperienceKey, long plid) {
return getPersistence().fetchByG_SEK_P(
groupId, segmentsExperienceKey, plid);
}
/**
* Returns the segments experience where groupId = ? and segmentsExperienceKey = ? and plid = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param groupId the group ID
* @param segmentsExperienceKey the segments experience key
* @param plid the plid
* @param useFinderCache whether to use the finder cache
* @return the matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByG_SEK_P(
long groupId, String segmentsExperienceKey, long plid,
boolean useFinderCache) {
return getPersistence().fetchByG_SEK_P(
groupId, segmentsExperienceKey, plid, useFinderCache);
}
/**
* Removes the segments experience where groupId = ? and segmentsExperienceKey = ? and plid = ? from the database.
*
* @param groupId the group ID
* @param segmentsExperienceKey the segments experience key
* @param plid the plid
* @return the segments experience that was removed
*/
public static SegmentsExperience removeByG_SEK_P(
long groupId, String segmentsExperienceKey, long plid)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().removeByG_SEK_P(
groupId, segmentsExperienceKey, plid);
}
/**
* Returns the number of segments experiences where groupId = ? and segmentsExperienceKey = ? and plid = ?.
*
* @param groupId the group ID
* @param segmentsExperienceKey the segments experience key
* @param plid the plid
* @return the number of matching segments experiences
*/
public static int countByG_SEK_P(
long groupId, String segmentsExperienceKey, long plid) {
return getPersistence().countByG_SEK_P(
groupId, segmentsExperienceKey, plid);
}
/**
* Returns the segments experience where groupId = ? and plid = ? and priority = ? or throws a NoSuchExperienceException
if it could not be found.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @return the matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByG_P_P(
long groupId, long plid, int priority)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_P_P(groupId, plid, priority);
}
/**
* Returns the segments experience where groupId = ? and plid = ? and priority = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @return the matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByG_P_P(
long groupId, long plid, int priority) {
return getPersistence().fetchByG_P_P(groupId, plid, priority);
}
/**
* Returns the segments experience where groupId = ? and plid = ? and priority = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param useFinderCache whether to use the finder cache
* @return the matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByG_P_P(
long groupId, long plid, int priority, boolean useFinderCache) {
return getPersistence().fetchByG_P_P(
groupId, plid, priority, useFinderCache);
}
/**
* Removes the segments experience where groupId = ? and plid = ? and priority = ? from the database.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @return the segments experience that was removed
*/
public static SegmentsExperience removeByG_P_P(
long groupId, long plid, int priority)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().removeByG_P_P(groupId, plid, priority);
}
/**
* Returns the number of segments experiences where groupId = ? and plid = ? and priority = ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @return the number of matching segments experiences
*/
public static int countByG_P_P(long groupId, long plid, int priority) {
return getPersistence().countByG_P_P(groupId, plid, priority);
}
/**
* Returns all the segments experiences where groupId = ? and plid = ? and priority > ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @return the matching segments experiences
*/
public static List findByG_P_GtP(
long groupId, long plid, int priority) {
return getPersistence().findByG_P_GtP(groupId, plid, priority);
}
/**
* Returns a range of all the segments experiences where groupId = ? and plid = ? and priority > ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences
*/
public static List findByG_P_GtP(
long groupId, long plid, int priority, int start, int end) {
return getPersistence().findByG_P_GtP(
groupId, plid, priority, start, end);
}
/**
* Returns an ordered range of all the segments experiences where groupId = ? and plid = ? and priority > ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences
*/
public static List findByG_P_GtP(
long groupId, long plid, int priority, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByG_P_GtP(
groupId, plid, priority, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments experiences where groupId = ? and plid = ? and priority > ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (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 experiences
*/
public static List findByG_P_GtP(
long groupId, long plid, int priority, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByG_P_GtP(
groupId, plid, priority, start, end, orderByComparator,
useFinderCache);
}
/**
* Returns the first segments experience in the ordered set where groupId = ? and plid = ? and priority > ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByG_P_GtP_First(
long groupId, long plid, int priority,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_P_GtP_First(
groupId, plid, priority, orderByComparator);
}
/**
* Returns the first segments experience in the ordered set where groupId = ? and plid = ? and priority > ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByG_P_GtP_First(
long groupId, long plid, int priority,
OrderByComparator orderByComparator) {
return getPersistence().fetchByG_P_GtP_First(
groupId, plid, priority, orderByComparator);
}
/**
* Returns the last segments experience in the ordered set where groupId = ? and plid = ? and priority > ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByG_P_GtP_Last(
long groupId, long plid, int priority,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_P_GtP_Last(
groupId, plid, priority, orderByComparator);
}
/**
* Returns the last segments experience in the ordered set where groupId = ? and plid = ? and priority > ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByG_P_GtP_Last(
long groupId, long plid, int priority,
OrderByComparator orderByComparator) {
return getPersistence().fetchByG_P_GtP_Last(
groupId, plid, priority, orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set where groupId = ? and plid = ? and priority > ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] findByG_P_GtP_PrevAndNext(
long segmentsExperienceId, long groupId, long plid, int priority,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_P_GtP_PrevAndNext(
segmentsExperienceId, groupId, plid, priority, orderByComparator);
}
/**
* Returns all the segments experiences that the user has permission to view where groupId = ? and plid = ? and priority > ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @return the matching segments experiences that the user has permission to view
*/
public static List filterFindByG_P_GtP(
long groupId, long plid, int priority) {
return getPersistence().filterFindByG_P_GtP(groupId, plid, priority);
}
/**
* Returns a range of all the segments experiences that the user has permission to view where groupId = ? and plid = ? and priority > ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences that the user has permission to view
*/
public static List filterFindByG_P_GtP(
long groupId, long plid, int priority, int start, int end) {
return getPersistence().filterFindByG_P_GtP(
groupId, plid, priority, start, end);
}
/**
* Returns an ordered range of all the segments experiences that the user has permissions to view where groupId = ? and plid = ? and priority > ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences that the user has permission to view
*/
public static List filterFindByG_P_GtP(
long groupId, long plid, int priority, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().filterFindByG_P_GtP(
groupId, plid, priority, start, end, orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set of segments experiences that the user has permission to view where groupId = ? and plid = ? and priority > ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] filterFindByG_P_GtP_PrevAndNext(
long segmentsExperienceId, long groupId, long plid, int priority,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().filterFindByG_P_GtP_PrevAndNext(
segmentsExperienceId, groupId, plid, priority, orderByComparator);
}
/**
* Removes all the segments experiences where groupId = ? and plid = ? and priority > ? from the database.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
*/
public static void removeByG_P_GtP(long groupId, long plid, int priority) {
getPersistence().removeByG_P_GtP(groupId, plid, priority);
}
/**
* Returns the number of segments experiences where groupId = ? and plid = ? and priority > ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @return the number of matching segments experiences
*/
public static int countByG_P_GtP(long groupId, long plid, int priority) {
return getPersistence().countByG_P_GtP(groupId, plid, priority);
}
/**
* Returns the number of segments experiences that the user has permission to view where groupId = ? and plid = ? and priority > ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @return the number of matching segments experiences that the user has permission to view
*/
public static int filterCountByG_P_GtP(
long groupId, long plid, int priority) {
return getPersistence().filterCountByG_P_GtP(groupId, plid, priority);
}
/**
* Returns all the segments experiences where groupId = ? and plid = ? and priority < ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @return the matching segments experiences
*/
public static List findByG_P_LtP(
long groupId, long plid, int priority) {
return getPersistence().findByG_P_LtP(groupId, plid, priority);
}
/**
* Returns a range of all the segments experiences where groupId = ? and plid = ? and priority < ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences
*/
public static List findByG_P_LtP(
long groupId, long plid, int priority, int start, int end) {
return getPersistence().findByG_P_LtP(
groupId, plid, priority, start, end);
}
/**
* Returns an ordered range of all the segments experiences where groupId = ? and plid = ? and priority < ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences
*/
public static List findByG_P_LtP(
long groupId, long plid, int priority, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByG_P_LtP(
groupId, plid, priority, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments experiences where groupId = ? and plid = ? and priority < ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (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 experiences
*/
public static List findByG_P_LtP(
long groupId, long plid, int priority, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByG_P_LtP(
groupId, plid, priority, start, end, orderByComparator,
useFinderCache);
}
/**
* Returns the first segments experience in the ordered set where groupId = ? and plid = ? and priority < ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByG_P_LtP_First(
long groupId, long plid, int priority,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_P_LtP_First(
groupId, plid, priority, orderByComparator);
}
/**
* Returns the first segments experience in the ordered set where groupId = ? and plid = ? and priority < ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByG_P_LtP_First(
long groupId, long plid, int priority,
OrderByComparator orderByComparator) {
return getPersistence().fetchByG_P_LtP_First(
groupId, plid, priority, orderByComparator);
}
/**
* Returns the last segments experience in the ordered set where groupId = ? and plid = ? and priority < ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByG_P_LtP_Last(
long groupId, long plid, int priority,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_P_LtP_Last(
groupId, plid, priority, orderByComparator);
}
/**
* Returns the last segments experience in the ordered set where groupId = ? and plid = ? and priority < ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByG_P_LtP_Last(
long groupId, long plid, int priority,
OrderByComparator orderByComparator) {
return getPersistence().fetchByG_P_LtP_Last(
groupId, plid, priority, orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set where groupId = ? and plid = ? and priority < ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] findByG_P_LtP_PrevAndNext(
long segmentsExperienceId, long groupId, long plid, int priority,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_P_LtP_PrevAndNext(
segmentsExperienceId, groupId, plid, priority, orderByComparator);
}
/**
* Returns all the segments experiences that the user has permission to view where groupId = ? and plid = ? and priority < ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @return the matching segments experiences that the user has permission to view
*/
public static List filterFindByG_P_LtP(
long groupId, long plid, int priority) {
return getPersistence().filterFindByG_P_LtP(groupId, plid, priority);
}
/**
* Returns a range of all the segments experiences that the user has permission to view where groupId = ? and plid = ? and priority < ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences that the user has permission to view
*/
public static List filterFindByG_P_LtP(
long groupId, long plid, int priority, int start, int end) {
return getPersistence().filterFindByG_P_LtP(
groupId, plid, priority, start, end);
}
/**
* Returns an ordered range of all the segments experiences that the user has permissions to view where groupId = ? and plid = ? and priority < ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences that the user has permission to view
*/
public static List filterFindByG_P_LtP(
long groupId, long plid, int priority, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().filterFindByG_P_LtP(
groupId, plid, priority, start, end, orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set of segments experiences that the user has permission to view where groupId = ? and plid = ? and priority < ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] filterFindByG_P_LtP_PrevAndNext(
long segmentsExperienceId, long groupId, long plid, int priority,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().filterFindByG_P_LtP_PrevAndNext(
segmentsExperienceId, groupId, plid, priority, orderByComparator);
}
/**
* Removes all the segments experiences where groupId = ? and plid = ? and priority < ? from the database.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
*/
public static void removeByG_P_LtP(long groupId, long plid, int priority) {
getPersistence().removeByG_P_LtP(groupId, plid, priority);
}
/**
* Returns the number of segments experiences where groupId = ? and plid = ? and priority < ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @return the number of matching segments experiences
*/
public static int countByG_P_LtP(long groupId, long plid, int priority) {
return getPersistence().countByG_P_LtP(groupId, plid, priority);
}
/**
* Returns the number of segments experiences that the user has permission to view where groupId = ? and plid = ? and priority < ?.
*
* @param groupId the group ID
* @param plid the plid
* @param priority the priority
* @return the number of matching segments experiences that the user has permission to view
*/
public static int filterCountByG_P_LtP(
long groupId, long plid, int priority) {
return getPersistence().filterCountByG_P_LtP(groupId, plid, priority);
}
/**
* Returns all the segments experiences where groupId = ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param plid the plid
* @param active the active
* @return the matching segments experiences
*/
public static List findByG_P_A(
long groupId, long plid, boolean active) {
return getPersistence().findByG_P_A(groupId, plid, active);
}
/**
* Returns a range of all the segments experiences where groupId = ? and plid = ? and active = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param active the active
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences
*/
public static List findByG_P_A(
long groupId, long plid, boolean active, int start, int end) {
return getPersistence().findByG_P_A(groupId, plid, active, start, end);
}
/**
* Returns an ordered range of all the segments experiences where groupId = ? and plid = ? and active = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param active the active
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences
*/
public static List findByG_P_A(
long groupId, long plid, boolean active, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByG_P_A(
groupId, plid, active, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments experiences where groupId = ? and plid = ? and active = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param active the active
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (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 experiences
*/
public static List findByG_P_A(
long groupId, long plid, boolean active, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByG_P_A(
groupId, plid, active, start, end, orderByComparator,
useFinderCache);
}
/**
* Returns the first segments experience in the ordered set where groupId = ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param plid the plid
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByG_P_A_First(
long groupId, long plid, boolean active,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_P_A_First(
groupId, plid, active, orderByComparator);
}
/**
* Returns the first segments experience in the ordered set where groupId = ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param plid the plid
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByG_P_A_First(
long groupId, long plid, boolean active,
OrderByComparator orderByComparator) {
return getPersistence().fetchByG_P_A_First(
groupId, plid, active, orderByComparator);
}
/**
* Returns the last segments experience in the ordered set where groupId = ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param plid the plid
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByG_P_A_Last(
long groupId, long plid, boolean active,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_P_A_Last(
groupId, plid, active, orderByComparator);
}
/**
* Returns the last segments experience in the ordered set where groupId = ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param plid the plid
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByG_P_A_Last(
long groupId, long plid, boolean active,
OrderByComparator orderByComparator) {
return getPersistence().fetchByG_P_A_Last(
groupId, plid, active, orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set where groupId = ? and plid = ? and active = ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @param groupId the group ID
* @param plid the plid
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] findByG_P_A_PrevAndNext(
long segmentsExperienceId, long groupId, long plid, boolean active,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_P_A_PrevAndNext(
segmentsExperienceId, groupId, plid, active, orderByComparator);
}
/**
* Returns all the segments experiences that the user has permission to view where groupId = ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param plid the plid
* @param active the active
* @return the matching segments experiences that the user has permission to view
*/
public static List filterFindByG_P_A(
long groupId, long plid, boolean active) {
return getPersistence().filterFindByG_P_A(groupId, plid, active);
}
/**
* Returns a range of all the segments experiences that the user has permission to view where groupId = ? and plid = ? and active = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param active the active
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences that the user has permission to view
*/
public static List filterFindByG_P_A(
long groupId, long plid, boolean active, int start, int end) {
return getPersistence().filterFindByG_P_A(
groupId, plid, active, start, end);
}
/**
* Returns an ordered range of all the segments experiences that the user has permissions to view where groupId = ? and plid = ? and active = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param plid the plid
* @param active the active
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences that the user has permission to view
*/
public static List filterFindByG_P_A(
long groupId, long plid, boolean active, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().filterFindByG_P_A(
groupId, plid, active, start, end, orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set of segments experiences that the user has permission to view where groupId = ? and plid = ? and active = ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @param groupId the group ID
* @param plid the plid
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] filterFindByG_P_A_PrevAndNext(
long segmentsExperienceId, long groupId, long plid, boolean active,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().filterFindByG_P_A_PrevAndNext(
segmentsExperienceId, groupId, plid, active, orderByComparator);
}
/**
* Removes all the segments experiences where groupId = ? and plid = ? and active = ? from the database.
*
* @param groupId the group ID
* @param plid the plid
* @param active the active
*/
public static void removeByG_P_A(long groupId, long plid, boolean active) {
getPersistence().removeByG_P_A(groupId, plid, active);
}
/**
* Returns the number of segments experiences where groupId = ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param plid the plid
* @param active the active
* @return the number of matching segments experiences
*/
public static int countByG_P_A(long groupId, long plid, boolean active) {
return getPersistence().countByG_P_A(groupId, plid, active);
}
/**
* Returns the number of segments experiences that the user has permission to view where groupId = ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param plid the plid
* @param active the active
* @return the number of matching segments experiences that the user has permission to view
*/
public static int filterCountByG_P_A(
long groupId, long plid, boolean active) {
return getPersistence().filterCountByG_P_A(groupId, plid, active);
}
/**
* Returns all the segments experiences where groupId = ? and segmentsEntryId = ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param active the active
* @return the matching segments experiences
*/
public static List findByG_S_P_A(
long groupId, long segmentsEntryId, long plid, boolean active) {
return getPersistence().findByG_S_P_A(
groupId, segmentsEntryId, plid, active);
}
/**
* Returns a range of all the segments experiences where groupId = ? and segmentsEntryId = ? and plid = ? and active = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param active the active
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences
*/
public static List findByG_S_P_A(
long groupId, long segmentsEntryId, long plid, boolean active,
int start, int end) {
return getPersistence().findByG_S_P_A(
groupId, segmentsEntryId, plid, active, start, end);
}
/**
* Returns an ordered range of all the segments experiences where groupId = ? and segmentsEntryId = ? and plid = ? and active = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param active the active
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences
*/
public static List findByG_S_P_A(
long groupId, long segmentsEntryId, long plid, boolean active,
int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByG_S_P_A(
groupId, segmentsEntryId, plid, active, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the segments experiences where groupId = ? and segmentsEntryId = ? and plid = ? and active = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param active the active
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (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 experiences
*/
public static List findByG_S_P_A(
long groupId, long segmentsEntryId, long plid, boolean active,
int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByG_S_P_A(
groupId, segmentsEntryId, plid, active, start, end,
orderByComparator, useFinderCache);
}
/**
* Returns the first segments experience in the ordered set where groupId = ? and segmentsEntryId = ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByG_S_P_A_First(
long groupId, long segmentsEntryId, long plid, boolean active,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_S_P_A_First(
groupId, segmentsEntryId, plid, active, orderByComparator);
}
/**
* Returns the first segments experience in the ordered set where groupId = ? and segmentsEntryId = ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByG_S_P_A_First(
long groupId, long segmentsEntryId, long plid, boolean active,
OrderByComparator orderByComparator) {
return getPersistence().fetchByG_S_P_A_First(
groupId, segmentsEntryId, plid, active, orderByComparator);
}
/**
* Returns the last segments experience in the ordered set where groupId = ? and segmentsEntryId = ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByG_S_P_A_Last(
long groupId, long segmentsEntryId, long plid, boolean active,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_S_P_A_Last(
groupId, segmentsEntryId, plid, active, orderByComparator);
}
/**
* Returns the last segments experience in the ordered set where groupId = ? and segmentsEntryId = ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByG_S_P_A_Last(
long groupId, long segmentsEntryId, long plid, boolean active,
OrderByComparator orderByComparator) {
return getPersistence().fetchByG_S_P_A_Last(
groupId, segmentsEntryId, plid, active, orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set where groupId = ? and segmentsEntryId = ? and plid = ? and active = ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] findByG_S_P_A_PrevAndNext(
long segmentsExperienceId, long groupId, long segmentsEntryId,
long plid, boolean active,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByG_S_P_A_PrevAndNext(
segmentsExperienceId, groupId, segmentsEntryId, plid, active,
orderByComparator);
}
/**
* Returns all the segments experiences that the user has permission to view where groupId = ? and segmentsEntryId = ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param active the active
* @return the matching segments experiences that the user has permission to view
*/
public static List filterFindByG_S_P_A(
long groupId, long segmentsEntryId, long plid, boolean active) {
return getPersistence().filterFindByG_S_P_A(
groupId, segmentsEntryId, plid, active);
}
/**
* Returns a range of all the segments experiences that the user has permission to view where groupId = ? and segmentsEntryId = ? and plid = ? and active = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param active the active
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences that the user has permission to view
*/
public static List filterFindByG_S_P_A(
long groupId, long segmentsEntryId, long plid, boolean active,
int start, int end) {
return getPersistence().filterFindByG_S_P_A(
groupId, segmentsEntryId, plid, active, start, end);
}
/**
* Returns an ordered range of all the segments experiences that the user has permissions to view where groupId = ? and segmentsEntryId = ? and plid = ? and active = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param active the active
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences that the user has permission to view
*/
public static List filterFindByG_S_P_A(
long groupId, long segmentsEntryId, long plid, boolean active,
int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().filterFindByG_S_P_A(
groupId, segmentsEntryId, plid, active, start, end,
orderByComparator);
}
/**
* Returns the segments experiences before and after the current segments experience in the ordered set of segments experiences that the user has permission to view where groupId = ? and segmentsEntryId = ? and plid = ? and active = ?.
*
* @param segmentsExperienceId the primary key of the current segments experience
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience[] filterFindByG_S_P_A_PrevAndNext(
long segmentsExperienceId, long groupId, long segmentsEntryId,
long plid, boolean active,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().filterFindByG_S_P_A_PrevAndNext(
segmentsExperienceId, groupId, segmentsEntryId, plid, active,
orderByComparator);
}
/**
* Returns all the segments experiences that the user has permission to view where groupId = ? and segmentsEntryId = any ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param segmentsEntryIds the segments entry IDs
* @param plid the plid
* @param active the active
* @return the matching segments experiences that the user has permission to view
*/
public static List filterFindByG_S_P_A(
long groupId, long[] segmentsEntryIds, long plid, boolean active) {
return getPersistence().filterFindByG_S_P_A(
groupId, segmentsEntryIds, plid, active);
}
/**
* Returns a range of all the segments experiences that the user has permission to view where groupId = ? and segmentsEntryId = any ? and plid = ? and active = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param segmentsEntryIds the segments entry IDs
* @param plid the plid
* @param active the active
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences that the user has permission to view
*/
public static List filterFindByG_S_P_A(
long groupId, long[] segmentsEntryIds, long plid, boolean active,
int start, int end) {
return getPersistence().filterFindByG_S_P_A(
groupId, segmentsEntryIds, plid, active, start, end);
}
/**
* Returns an ordered range of all the segments experiences that the user has permission to view where groupId = ? and segmentsEntryId = any ? and plid = ? and active = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param segmentsEntryIds the segments entry IDs
* @param plid the plid
* @param active the active
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences that the user has permission to view
*/
public static List filterFindByG_S_P_A(
long groupId, long[] segmentsEntryIds, long plid, boolean active,
int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().filterFindByG_S_P_A(
groupId, segmentsEntryIds, plid, active, start, end,
orderByComparator);
}
/**
* Returns all the segments experiences where groupId = ? and segmentsEntryId = any ? and plid = ? and active = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param segmentsEntryIds the segments entry IDs
* @param plid the plid
* @param active the active
* @return the matching segments experiences
*/
public static List findByG_S_P_A(
long groupId, long[] segmentsEntryIds, long plid, boolean active) {
return getPersistence().findByG_S_P_A(
groupId, segmentsEntryIds, plid, active);
}
/**
* Returns a range of all the segments experiences where groupId = ? and segmentsEntryId = any ? and plid = ? and active = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param segmentsEntryIds the segments entry IDs
* @param plid the plid
* @param active the active
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of matching segments experiences
*/
public static List findByG_S_P_A(
long groupId, long[] segmentsEntryIds, long plid, boolean active,
int start, int end) {
return getPersistence().findByG_S_P_A(
groupId, segmentsEntryIds, plid, active, start, end);
}
/**
* Returns an ordered range of all the segments experiences where groupId = ? and segmentsEntryId = any ? and plid = ? and active = ?.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param segmentsEntryIds the segments entry IDs
* @param plid the plid
* @param active the active
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments experiences
*/
public static List findByG_S_P_A(
long groupId, long[] segmentsEntryIds, long plid, boolean active,
int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByG_S_P_A(
groupId, segmentsEntryIds, plid, active, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the segments experiences where groupId = ? and segmentsEntryId = ? and plid = ? and active = ?, optionally using the finder cache.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param groupId the group ID
* @param segmentsEntryIds the segments entry IDs
* @param plid the plid
* @param active the active
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (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 experiences
*/
public static List findByG_S_P_A(
long groupId, long[] segmentsEntryIds, long plid, boolean active,
int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByG_S_P_A(
groupId, segmentsEntryIds, plid, active, start, end,
orderByComparator, useFinderCache);
}
/**
* Removes all the segments experiences where groupId = ? and segmentsEntryId = ? and plid = ? and active = ? from the database.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param active the active
*/
public static void removeByG_S_P_A(
long groupId, long segmentsEntryId, long plid, boolean active) {
getPersistence().removeByG_S_P_A(
groupId, segmentsEntryId, plid, active);
}
/**
* Returns the number of segments experiences where groupId = ? and segmentsEntryId = ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param active the active
* @return the number of matching segments experiences
*/
public static int countByG_S_P_A(
long groupId, long segmentsEntryId, long plid, boolean active) {
return getPersistence().countByG_S_P_A(
groupId, segmentsEntryId, plid, active);
}
/**
* Returns the number of segments experiences where groupId = ? and segmentsEntryId = any ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param segmentsEntryIds the segments entry IDs
* @param plid the plid
* @param active the active
* @return the number of matching segments experiences
*/
public static int countByG_S_P_A(
long groupId, long[] segmentsEntryIds, long plid, boolean active) {
return getPersistence().countByG_S_P_A(
groupId, segmentsEntryIds, plid, active);
}
/**
* Returns the number of segments experiences that the user has permission to view where groupId = ? and segmentsEntryId = ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param segmentsEntryId the segments entry ID
* @param plid the plid
* @param active the active
* @return the number of matching segments experiences that the user has permission to view
*/
public static int filterCountByG_S_P_A(
long groupId, long segmentsEntryId, long plid, boolean active) {
return getPersistence().filterCountByG_S_P_A(
groupId, segmentsEntryId, plid, active);
}
/**
* Returns the number of segments experiences that the user has permission to view where groupId = ? and segmentsEntryId = any ? and plid = ? and active = ?.
*
* @param groupId the group ID
* @param segmentsEntryIds the segments entry IDs
* @param plid the plid
* @param active the active
* @return the number of matching segments experiences that the user has permission to view
*/
public static int filterCountByG_S_P_A(
long groupId, long[] segmentsEntryIds, long plid, boolean active) {
return getPersistence().filterCountByG_S_P_A(
groupId, segmentsEntryIds, plid, active);
}
/**
* Returns the segments experience where externalReferenceCode = ? and groupId = ? or throws a NoSuchExperienceException
if it could not be found.
*
* @param externalReferenceCode the external reference code
* @param groupId the group ID
* @return the matching segments experience
* @throws NoSuchExperienceException if a matching segments experience could not be found
*/
public static SegmentsExperience findByERC_G(
String externalReferenceCode, long groupId)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByERC_G(externalReferenceCode, groupId);
}
/**
* Returns the segments experience where externalReferenceCode = ? and groupId = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param externalReferenceCode the external reference code
* @param groupId the group ID
* @return the matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByERC_G(
String externalReferenceCode, long groupId) {
return getPersistence().fetchByERC_G(externalReferenceCode, groupId);
}
/**
* Returns the segments experience where externalReferenceCode = ? and groupId = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param externalReferenceCode the external reference code
* @param groupId the group ID
* @param useFinderCache whether to use the finder cache
* @return the matching segments experience, or null
if a matching segments experience could not be found
*/
public static SegmentsExperience fetchByERC_G(
String externalReferenceCode, long groupId, boolean useFinderCache) {
return getPersistence().fetchByERC_G(
externalReferenceCode, groupId, useFinderCache);
}
/**
* Removes the segments experience where externalReferenceCode = ? and groupId = ? from the database.
*
* @param externalReferenceCode the external reference code
* @param groupId the group ID
* @return the segments experience that was removed
*/
public static SegmentsExperience removeByERC_G(
String externalReferenceCode, long groupId)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().removeByERC_G(externalReferenceCode, groupId);
}
/**
* Returns the number of segments experiences where externalReferenceCode = ? and groupId = ?.
*
* @param externalReferenceCode the external reference code
* @param groupId the group ID
* @return the number of matching segments experiences
*/
public static int countByERC_G(String externalReferenceCode, long groupId) {
return getPersistence().countByERC_G(externalReferenceCode, groupId);
}
/**
* Caches the segments experience in the entity cache if it is enabled.
*
* @param segmentsExperience the segments experience
*/
public static void cacheResult(SegmentsExperience segmentsExperience) {
getPersistence().cacheResult(segmentsExperience);
}
/**
* Caches the segments experiences in the entity cache if it is enabled.
*
* @param segmentsExperiences the segments experiences
*/
public static void cacheResult(
List segmentsExperiences) {
getPersistence().cacheResult(segmentsExperiences);
}
/**
* Creates a new segments experience with the primary key. Does not add the segments experience to the database.
*
* @param segmentsExperienceId the primary key for the new segments experience
* @return the new segments experience
*/
public static SegmentsExperience create(long segmentsExperienceId) {
return getPersistence().create(segmentsExperienceId);
}
/**
* Removes the segments experience with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param segmentsExperienceId the primary key of the segments experience
* @return the segments experience that was removed
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience remove(long segmentsExperienceId)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().remove(segmentsExperienceId);
}
public static SegmentsExperience updateImpl(
SegmentsExperience segmentsExperience) {
return getPersistence().updateImpl(segmentsExperience);
}
/**
* Returns the segments experience with the primary key or throws a NoSuchExperienceException
if it could not be found.
*
* @param segmentsExperienceId the primary key of the segments experience
* @return the segments experience
* @throws NoSuchExperienceException if a segments experience with the primary key could not be found
*/
public static SegmentsExperience findByPrimaryKey(long segmentsExperienceId)
throws com.liferay.segments.exception.NoSuchExperienceException {
return getPersistence().findByPrimaryKey(segmentsExperienceId);
}
/**
* Returns the segments experience with the primary key or returns null
if it could not be found.
*
* @param segmentsExperienceId the primary key of the segments experience
* @return the segments experience, or null
if a segments experience with the primary key could not be found
*/
public static SegmentsExperience fetchByPrimaryKey(
long segmentsExperienceId) {
return getPersistence().fetchByPrimaryKey(segmentsExperienceId);
}
/**
* Returns all the segments experiences.
*
* @return the segments experiences
*/
public static List findAll() {
return getPersistence().findAll();
}
/**
* Returns a range of all the segments experiences.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @return the range of segments experiences
*/
public static List findAll(int start, int end) {
return getPersistence().findAll(start, end);
}
/**
* Returns an ordered range of all the segments experiences.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of segments experiences
*/
public static List findAll(
int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findAll(start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments experiences.
*
*
* 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 SegmentsExperienceModelImpl
.
*
*
* @param start the lower bound of the range of segments experiences
* @param end the upper bound of the range of segments experiences (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 experiences
*/
public static List findAll(
int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findAll(
start, end, orderByComparator, useFinderCache);
}
/**
* Removes all the segments experiences from the database.
*/
public static void removeAll() {
getPersistence().removeAll();
}
/**
* Returns the number of segments experiences.
*
* @return the number of segments experiences
*/
public static int countAll() {
return getPersistence().countAll();
}
public static SegmentsExperiencePersistence getPersistence() {
return _persistence;
}
public static void setPersistence(
SegmentsExperiencePersistence persistence) {
_persistence = persistence;
}
private static volatile SegmentsExperiencePersistence _persistence;
}