com.liferay.segments.service.persistence.SegmentsEntryUtil 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.SegmentsEntry;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* The persistence utility for the segments entry service. This utility wraps com.liferay.segments.service.persistence.impl.SegmentsEntryPersistenceImpl
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 SegmentsEntryPersistence
* @generated
*/
public class SegmentsEntryUtil {
/*
* 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(SegmentsEntry segmentsEntry) {
getPersistence().clearCache(segmentsEntry);
}
/**
* @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 SegmentsEntry update(SegmentsEntry segmentsEntry) {
return getPersistence().update(segmentsEntry);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
*/
public static SegmentsEntry update(
SegmentsEntry segmentsEntry, ServiceContext serviceContext) {
return getPersistence().update(segmentsEntry, serviceContext);
}
/**
* Returns all the segments entries where uuid = ?.
*
* @param uuid the uuid
* @return the matching segments entries
*/
public static List findByUuid(String uuid) {
return getPersistence().findByUuid(uuid);
}
/**
* Returns a range of all the segments entries 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 SegmentsEntryModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries
*/
public static List findByUuid(
String uuid, int start, int end) {
return getPersistence().findByUuid(uuid, start, end);
}
/**
* Returns an ordered range of all the segments entries 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 SegmentsEntryModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries
*/
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 entries 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 SegmentsEntryModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (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 entries
*/
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 entry 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 entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findByUuid_First(
String uuid, OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByUuid_First(uuid, orderByComparator);
}
/**
* Returns the first segments entry 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 entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByUuid_First(
String uuid, OrderByComparator orderByComparator) {
return getPersistence().fetchByUuid_First(uuid, orderByComparator);
}
/**
* Returns the last segments entry 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 entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findByUuid_Last(
String uuid, OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByUuid_Last(uuid, orderByComparator);
}
/**
* Returns the last segments entry 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 entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByUuid_Last(
String uuid, OrderByComparator orderByComparator) {
return getPersistence().fetchByUuid_Last(uuid, orderByComparator);
}
/**
* Returns the segments entries before and after the current segments entry in the ordered set where uuid = ?.
*
* @param segmentsEntryId the primary key of the current segments entry
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments entry
* @throws NoSuchEntryException if a segments entry with the primary key could not be found
*/
public static SegmentsEntry[] findByUuid_PrevAndNext(
long segmentsEntryId, String uuid,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByUuid_PrevAndNext(
segmentsEntryId, uuid, orderByComparator);
}
/**
* Removes all the segments entries where uuid = ? from the database.
*
* @param uuid the uuid
*/
public static void removeByUuid(String uuid) {
getPersistence().removeByUuid(uuid);
}
/**
* Returns the number of segments entries where uuid = ?.
*
* @param uuid the uuid
* @return the number of matching segments entries
*/
public static int countByUuid(String uuid) {
return getPersistence().countByUuid(uuid);
}
/**
* Returns the segments entry where uuid = ? and groupId = ? or throws a NoSuchEntryException
if it could not be found.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the matching segments entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findByUUID_G(String uuid, long groupId)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByUUID_G(uuid, groupId);
}
/**
* Returns the segments entry 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 entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByUUID_G(String uuid, long groupId) {
return getPersistence().fetchByUUID_G(uuid, groupId);
}
/**
* Returns the segments entry 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 entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByUUID_G(
String uuid, long groupId, boolean useFinderCache) {
return getPersistence().fetchByUUID_G(uuid, groupId, useFinderCache);
}
/**
* Removes the segments entry where uuid = ? and groupId = ? from the database.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the segments entry that was removed
*/
public static SegmentsEntry removeByUUID_G(String uuid, long groupId)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().removeByUUID_G(uuid, groupId);
}
/**
* Returns the number of segments entries where uuid = ? and groupId = ?.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the number of matching segments entries
*/
public static int countByUUID_G(String uuid, long groupId) {
return getPersistence().countByUUID_G(uuid, groupId);
}
/**
* Returns all the segments entries where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the matching segments entries
*/
public static List findByUuid_C(
String uuid, long companyId) {
return getPersistence().findByUuid_C(uuid, companyId);
}
/**
* Returns a range of all the segments entries 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 SegmentsEntryModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries
*/
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 entries 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 SegmentsEntryModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries
*/
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 entries 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 SegmentsEntryModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (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 entries
*/
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 entry 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 entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findByUuid_C_First(
String uuid, long companyId,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByUuid_C_First(
uuid, companyId, orderByComparator);
}
/**
* Returns the first segments entry 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 entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByUuid_C_First(
String uuid, long companyId,
OrderByComparator orderByComparator) {
return getPersistence().fetchByUuid_C_First(
uuid, companyId, orderByComparator);
}
/**
* Returns the last segments entry 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 entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findByUuid_C_Last(
String uuid, long companyId,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByUuid_C_Last(
uuid, companyId, orderByComparator);
}
/**
* Returns the last segments entry 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 entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByUuid_C_Last(
String uuid, long companyId,
OrderByComparator orderByComparator) {
return getPersistence().fetchByUuid_C_Last(
uuid, companyId, orderByComparator);
}
/**
* Returns the segments entries before and after the current segments entry in the ordered set where uuid = ? and companyId = ?.
*
* @param segmentsEntryId the primary key of the current segments entry
* @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 entry
* @throws NoSuchEntryException if a segments entry with the primary key could not be found
*/
public static SegmentsEntry[] findByUuid_C_PrevAndNext(
long segmentsEntryId, String uuid, long companyId,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByUuid_C_PrevAndNext(
segmentsEntryId, uuid, companyId, orderByComparator);
}
/**
* Removes all the segments entries 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 entries where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the number of matching segments entries
*/
public static int countByUuid_C(String uuid, long companyId) {
return getPersistence().countByUuid_C(uuid, companyId);
}
/**
* Returns all the segments entries where groupId = ?.
*
* @param groupId the group ID
* @return the matching segments entries
*/
public static List findByGroupId(long groupId) {
return getPersistence().findByGroupId(groupId);
}
/**
* Returns a range of all the segments entries 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 SegmentsEntryModelImpl
.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries
*/
public static List findByGroupId(
long groupId, int start, int end) {
return getPersistence().findByGroupId(groupId, start, end);
}
/**
* Returns an ordered range of all the segments entries 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 SegmentsEntryModelImpl
.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries
*/
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 entries 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 SegmentsEntryModelImpl
.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (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 entries
*/
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 entry 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 entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findByGroupId_First(
long groupId, OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByGroupId_First(groupId, orderByComparator);
}
/**
* Returns the first segments entry 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 entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByGroupId_First(
long groupId, OrderByComparator orderByComparator) {
return getPersistence().fetchByGroupId_First(
groupId, orderByComparator);
}
/**
* Returns the last segments entry 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 entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findByGroupId_Last(
long groupId, OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByGroupId_Last(groupId, orderByComparator);
}
/**
* Returns the last segments entry 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 entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByGroupId_Last(
long groupId, OrderByComparator orderByComparator) {
return getPersistence().fetchByGroupId_Last(groupId, orderByComparator);
}
/**
* Returns the segments entries before and after the current segments entry in the ordered set where groupId = ?.
*
* @param segmentsEntryId the primary key of the current segments entry
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments entry
* @throws NoSuchEntryException if a segments entry with the primary key could not be found
*/
public static SegmentsEntry[] findByGroupId_PrevAndNext(
long segmentsEntryId, long groupId,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByGroupId_PrevAndNext(
segmentsEntryId, groupId, orderByComparator);
}
/**
* Returns all the segments entries that the user has permission to view where groupId = ?.
*
* @param groupId the group ID
* @return the matching segments entries that the user has permission to view
*/
public static List filterFindByGroupId(long groupId) {
return getPersistence().filterFindByGroupId(groupId);
}
/**
* Returns a range of all the segments entries 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 SegmentsEntryModelImpl
.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries 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 entries 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 SegmentsEntryModelImpl
.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries 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 entries before and after the current segments entry in the ordered set of segments entries that the user has permission to view where groupId = ?.
*
* @param segmentsEntryId the primary key of the current segments entry
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments entry
* @throws NoSuchEntryException if a segments entry with the primary key could not be found
*/
public static SegmentsEntry[] filterFindByGroupId_PrevAndNext(
long segmentsEntryId, long groupId,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().filterFindByGroupId_PrevAndNext(
segmentsEntryId, groupId, orderByComparator);
}
/**
* Returns all the segments entries that the user has permission to view where groupId = any ?.
*
* @param groupIds the group IDs
* @return the matching segments entries that the user has permission to view
*/
public static List filterFindByGroupId(long[] groupIds) {
return getPersistence().filterFindByGroupId(groupIds);
}
/**
* Returns a range of all the segments entries that the user has permission to view where groupId = any ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries that the user has permission to view
*/
public static List filterFindByGroupId(
long[] groupIds, int start, int end) {
return getPersistence().filterFindByGroupId(groupIds, start, end);
}
/**
* Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries that the user has permission to view
*/
public static List filterFindByGroupId(
long[] groupIds, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().filterFindByGroupId(
groupIds, start, end, orderByComparator);
}
/**
* Returns all the segments entries where groupId = any ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @return the matching segments entries
*/
public static List findByGroupId(long[] groupIds) {
return getPersistence().findByGroupId(groupIds);
}
/**
* Returns a range of all the segments entries where groupId = any ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries
*/
public static List findByGroupId(
long[] groupIds, int start, int end) {
return getPersistence().findByGroupId(groupIds, start, end);
}
/**
* Returns an ordered range of all the segments entries where groupId = any ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries
*/
public static List findByGroupId(
long[] groupIds, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByGroupId(
groupIds, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments entries where groupId = ?, 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (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 entries
*/
public static List findByGroupId(
long[] groupIds, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByGroupId(
groupIds, start, end, orderByComparator, useFinderCache);
}
/**
* Removes all the segments entries where groupId = ? from the database.
*
* @param groupId the group ID
*/
public static void removeByGroupId(long groupId) {
getPersistence().removeByGroupId(groupId);
}
/**
* Returns the number of segments entries where groupId = ?.
*
* @param groupId the group ID
* @return the number of matching segments entries
*/
public static int countByGroupId(long groupId) {
return getPersistence().countByGroupId(groupId);
}
/**
* Returns the number of segments entries where groupId = any ?.
*
* @param groupIds the group IDs
* @return the number of matching segments entries
*/
public static int countByGroupId(long[] groupIds) {
return getPersistence().countByGroupId(groupIds);
}
/**
* Returns the number of segments entries that the user has permission to view where groupId = ?.
*
* @param groupId the group ID
* @return the number of matching segments entries that the user has permission to view
*/
public static int filterCountByGroupId(long groupId) {
return getPersistence().filterCountByGroupId(groupId);
}
/**
* Returns the number of segments entries that the user has permission to view where groupId = any ?.
*
* @param groupIds the group IDs
* @return the number of matching segments entries that the user has permission to view
*/
public static int filterCountByGroupId(long[] groupIds) {
return getPersistence().filterCountByGroupId(groupIds);
}
/**
* Returns all the segments entries where companyId = ?.
*
* @param companyId the company ID
* @return the matching segments entries
*/
public static List findByCompanyId(long companyId) {
return getPersistence().findByCompanyId(companyId);
}
/**
* Returns a range of all the segments entries where 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 SegmentsEntryModelImpl
.
*
*
* @param companyId the company ID
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries
*/
public static List findByCompanyId(
long companyId, int start, int end) {
return getPersistence().findByCompanyId(companyId, start, end);
}
/**
* Returns an ordered range of all the segments entries where 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 SegmentsEntryModelImpl
.
*
*
* @param companyId the company ID
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries
*/
public static List findByCompanyId(
long companyId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByCompanyId(
companyId, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments entries where 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 SegmentsEntryModelImpl
.
*
*
* @param companyId the company ID
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (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 entries
*/
public static List findByCompanyId(
long companyId, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByCompanyId(
companyId, start, end, orderByComparator, useFinderCache);
}
/**
* Returns the first segments entry in the ordered set where companyId = ?.
*
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findByCompanyId_First(
long companyId, OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByCompanyId_First(
companyId, orderByComparator);
}
/**
* Returns the first segments entry in the ordered set where companyId = ?.
*
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByCompanyId_First(
long companyId, OrderByComparator orderByComparator) {
return getPersistence().fetchByCompanyId_First(
companyId, orderByComparator);
}
/**
* Returns the last segments entry in the ordered set where companyId = ?.
*
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findByCompanyId_Last(
long companyId, OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByCompanyId_Last(
companyId, orderByComparator);
}
/**
* Returns the last segments entry in the ordered set where companyId = ?.
*
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByCompanyId_Last(
long companyId, OrderByComparator orderByComparator) {
return getPersistence().fetchByCompanyId_Last(
companyId, orderByComparator);
}
/**
* Returns the segments entries before and after the current segments entry in the ordered set where companyId = ?.
*
* @param segmentsEntryId the primary key of the current segments entry
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments entry
* @throws NoSuchEntryException if a segments entry with the primary key could not be found
*/
public static SegmentsEntry[] findByCompanyId_PrevAndNext(
long segmentsEntryId, long companyId,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByCompanyId_PrevAndNext(
segmentsEntryId, companyId, orderByComparator);
}
/**
* Returns all the segments entries where companyId = any ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param companyIds the company IDs
* @return the matching segments entries
*/
public static List findByCompanyId(long[] companyIds) {
return getPersistence().findByCompanyId(companyIds);
}
/**
* Returns a range of all the segments entries where companyId = any ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param companyIds the company IDs
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries
*/
public static List findByCompanyId(
long[] companyIds, int start, int end) {
return getPersistence().findByCompanyId(companyIds, start, end);
}
/**
* Returns an ordered range of all the segments entries where companyId = any ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param companyIds the company IDs
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries
*/
public static List findByCompanyId(
long[] companyIds, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByCompanyId(
companyIds, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments entries where companyId = ?, 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 SegmentsEntryModelImpl
.
*
*
* @param companyIds the company IDs
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (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 entries
*/
public static List findByCompanyId(
long[] companyIds, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByCompanyId(
companyIds, start, end, orderByComparator, useFinderCache);
}
/**
* Removes all the segments entries where companyId = ? from the database.
*
* @param companyId the company ID
*/
public static void removeByCompanyId(long companyId) {
getPersistence().removeByCompanyId(companyId);
}
/**
* Returns the number of segments entries where companyId = ?.
*
* @param companyId the company ID
* @return the number of matching segments entries
*/
public static int countByCompanyId(long companyId) {
return getPersistence().countByCompanyId(companyId);
}
/**
* Returns the number of segments entries where companyId = any ?.
*
* @param companyIds the company IDs
* @return the number of matching segments entries
*/
public static int countByCompanyId(long[] companyIds) {
return getPersistence().countByCompanyId(companyIds);
}
/**
* Returns all the segments entries where active = ?.
*
* @param active the active
* @return the matching segments entries
*/
public static List findByActive(boolean active) {
return getPersistence().findByActive(active);
}
/**
* Returns a range of all the segments entries where 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 SegmentsEntryModelImpl
.
*
*
* @param active the active
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries
*/
public static List findByActive(
boolean active, int start, int end) {
return getPersistence().findByActive(active, start, end);
}
/**
* Returns an ordered range of all the segments entries where 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 SegmentsEntryModelImpl
.
*
*
* @param active the active
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries
*/
public static List findByActive(
boolean active, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByActive(
active, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments entries where 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 SegmentsEntryModelImpl
.
*
*
* @param active the active
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (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 entries
*/
public static List findByActive(
boolean active, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByActive(
active, start, end, orderByComparator, useFinderCache);
}
/**
* Returns the first segments entry in the ordered set where active = ?.
*
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findByActive_First(
boolean active, OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByActive_First(active, orderByComparator);
}
/**
* Returns the first segments entry in the ordered set where active = ?.
*
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByActive_First(
boolean active, OrderByComparator orderByComparator) {
return getPersistence().fetchByActive_First(active, orderByComparator);
}
/**
* Returns the last segments entry in the ordered set where active = ?.
*
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findByActive_Last(
boolean active, OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByActive_Last(active, orderByComparator);
}
/**
* Returns the last segments entry in the ordered set where active = ?.
*
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByActive_Last(
boolean active, OrderByComparator orderByComparator) {
return getPersistence().fetchByActive_Last(active, orderByComparator);
}
/**
* Returns the segments entries before and after the current segments entry in the ordered set where active = ?.
*
* @param segmentsEntryId the primary key of the current segments entry
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments entry
* @throws NoSuchEntryException if a segments entry with the primary key could not be found
*/
public static SegmentsEntry[] findByActive_PrevAndNext(
long segmentsEntryId, boolean active,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByActive_PrevAndNext(
segmentsEntryId, active, orderByComparator);
}
/**
* Removes all the segments entries where active = ? from the database.
*
* @param active the active
*/
public static void removeByActive(boolean active) {
getPersistence().removeByActive(active);
}
/**
* Returns the number of segments entries where active = ?.
*
* @param active the active
* @return the number of matching segments entries
*/
public static int countByActive(boolean active) {
return getPersistence().countByActive(active);
}
/**
* Returns all the segments entries where source = ?.
*
* @param source the source
* @return the matching segments entries
*/
public static List findBySource(String source) {
return getPersistence().findBySource(source);
}
/**
* Returns a range of all the segments entries where source = ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param source the source
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries
*/
public static List findBySource(
String source, int start, int end) {
return getPersistence().findBySource(source, start, end);
}
/**
* Returns an ordered range of all the segments entries where source = ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param source the source
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries
*/
public static List findBySource(
String source, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findBySource(
source, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments entries where source = ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param source the source
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (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 entries
*/
public static List findBySource(
String source, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findBySource(
source, start, end, orderByComparator, useFinderCache);
}
/**
* Returns the first segments entry in the ordered set where source = ?.
*
* @param source the source
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findBySource_First(
String source, OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findBySource_First(source, orderByComparator);
}
/**
* Returns the first segments entry in the ordered set where source = ?.
*
* @param source the source
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchBySource_First(
String source, OrderByComparator orderByComparator) {
return getPersistence().fetchBySource_First(source, orderByComparator);
}
/**
* Returns the last segments entry in the ordered set where source = ?.
*
* @param source the source
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findBySource_Last(
String source, OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findBySource_Last(source, orderByComparator);
}
/**
* Returns the last segments entry in the ordered set where source = ?.
*
* @param source the source
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchBySource_Last(
String source, OrderByComparator orderByComparator) {
return getPersistence().fetchBySource_Last(source, orderByComparator);
}
/**
* Returns the segments entries before and after the current segments entry in the ordered set where source = ?.
*
* @param segmentsEntryId the primary key of the current segments entry
* @param source the source
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments entry
* @throws NoSuchEntryException if a segments entry with the primary key could not be found
*/
public static SegmentsEntry[] findBySource_PrevAndNext(
long segmentsEntryId, String source,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findBySource_PrevAndNext(
segmentsEntryId, source, orderByComparator);
}
/**
* Removes all the segments entries where source = ? from the database.
*
* @param source the source
*/
public static void removeBySource(String source) {
getPersistence().removeBySource(source);
}
/**
* Returns the number of segments entries where source = ?.
*
* @param source the source
* @return the number of matching segments entries
*/
public static int countBySource(String source) {
return getPersistence().countBySource(source);
}
/**
* Returns the segments entry where groupId = ? and segmentsEntryKey = ? or throws a NoSuchEntryException
if it could not be found.
*
* @param groupId the group ID
* @param segmentsEntryKey the segments entry key
* @return the matching segments entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findByG_S(long groupId, String segmentsEntryKey)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByG_S(groupId, segmentsEntryKey);
}
/**
* Returns the segments entry where groupId = ? and segmentsEntryKey = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param groupId the group ID
* @param segmentsEntryKey the segments entry key
* @return the matching segments entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByG_S(
long groupId, String segmentsEntryKey) {
return getPersistence().fetchByG_S(groupId, segmentsEntryKey);
}
/**
* Returns the segments entry where groupId = ? and segmentsEntryKey = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param groupId the group ID
* @param segmentsEntryKey the segments entry key
* @param useFinderCache whether to use the finder cache
* @return the matching segments entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByG_S(
long groupId, String segmentsEntryKey, boolean useFinderCache) {
return getPersistence().fetchByG_S(
groupId, segmentsEntryKey, useFinderCache);
}
/**
* Removes the segments entry where groupId = ? and segmentsEntryKey = ? from the database.
*
* @param groupId the group ID
* @param segmentsEntryKey the segments entry key
* @return the segments entry that was removed
*/
public static SegmentsEntry removeByG_S(
long groupId, String segmentsEntryKey)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().removeByG_S(groupId, segmentsEntryKey);
}
/**
* Returns the number of segments entries where groupId = ? and segmentsEntryKey = ?.
*
* @param groupId the group ID
* @param segmentsEntryKey the segments entry key
* @return the number of matching segments entries
*/
public static int countByG_S(long groupId, String segmentsEntryKey) {
return getPersistence().countByG_S(groupId, segmentsEntryKey);
}
/**
* Returns all the segments entries where groupId = ? and active = ?.
*
* @param groupId the group ID
* @param active the active
* @return the matching segments entries
*/
public static List findByG_A(long groupId, boolean active) {
return getPersistence().findByG_A(groupId, active);
}
/**
* Returns a range of all the segments entries where groupId = ? 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 SegmentsEntryModelImpl
.
*
*
* @param groupId the group ID
* @param active the active
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries
*/
public static List findByG_A(
long groupId, boolean active, int start, int end) {
return getPersistence().findByG_A(groupId, active, start, end);
}
/**
* Returns an ordered range of all the segments entries where groupId = ? 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 SegmentsEntryModelImpl
.
*
*
* @param groupId the group ID
* @param active the active
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries
*/
public static List findByG_A(
long groupId, boolean active, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByG_A(
groupId, active, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments entries where groupId = ? 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 SegmentsEntryModelImpl
.
*
*
* @param groupId the group ID
* @param active the active
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (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 entries
*/
public static List findByG_A(
long groupId, boolean active, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByG_A(
groupId, active, start, end, orderByComparator, useFinderCache);
}
/**
* Returns the first segments entry in the ordered set where groupId = ? and active = ?.
*
* @param groupId the group ID
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findByG_A_First(
long groupId, boolean active,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByG_A_First(
groupId, active, orderByComparator);
}
/**
* Returns the first segments entry in the ordered set where groupId = ? and active = ?.
*
* @param groupId the group ID
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByG_A_First(
long groupId, boolean active,
OrderByComparator orderByComparator) {
return getPersistence().fetchByG_A_First(
groupId, active, orderByComparator);
}
/**
* Returns the last segments entry in the ordered set where groupId = ? and active = ?.
*
* @param groupId the group ID
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findByG_A_Last(
long groupId, boolean active,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByG_A_Last(
groupId, active, orderByComparator);
}
/**
* Returns the last segments entry in the ordered set where groupId = ? and active = ?.
*
* @param groupId the group ID
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByG_A_Last(
long groupId, boolean active,
OrderByComparator orderByComparator) {
return getPersistence().fetchByG_A_Last(
groupId, active, orderByComparator);
}
/**
* Returns the segments entries before and after the current segments entry in the ordered set where groupId = ? and active = ?.
*
* @param segmentsEntryId the primary key of the current segments entry
* @param groupId the group ID
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments entry
* @throws NoSuchEntryException if a segments entry with the primary key could not be found
*/
public static SegmentsEntry[] findByG_A_PrevAndNext(
long segmentsEntryId, long groupId, boolean active,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByG_A_PrevAndNext(
segmentsEntryId, groupId, active, orderByComparator);
}
/**
* Returns all the segments entries that the user has permission to view where groupId = ? and active = ?.
*
* @param groupId the group ID
* @param active the active
* @return the matching segments entries that the user has permission to view
*/
public static List filterFindByG_A(
long groupId, boolean active) {
return getPersistence().filterFindByG_A(groupId, active);
}
/**
* Returns a range of all the segments entries that the user has permission to view where groupId = ? 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 SegmentsEntryModelImpl
.
*
*
* @param groupId the group ID
* @param active the active
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries that the user has permission to view
*/
public static List filterFindByG_A(
long groupId, boolean active, int start, int end) {
return getPersistence().filterFindByG_A(groupId, active, start, end);
}
/**
* Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ? 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 SegmentsEntryModelImpl
.
*
*
* @param groupId the group ID
* @param active the active
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries that the user has permission to view
*/
public static List filterFindByG_A(
long groupId, boolean active, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().filterFindByG_A(
groupId, active, start, end, orderByComparator);
}
/**
* Returns the segments entries before and after the current segments entry in the ordered set of segments entries that the user has permission to view where groupId = ? and active = ?.
*
* @param segmentsEntryId the primary key of the current segments entry
* @param groupId the group ID
* @param active the active
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments entry
* @throws NoSuchEntryException if a segments entry with the primary key could not be found
*/
public static SegmentsEntry[] filterFindByG_A_PrevAndNext(
long segmentsEntryId, long groupId, boolean active,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().filterFindByG_A_PrevAndNext(
segmentsEntryId, groupId, active, orderByComparator);
}
/**
* Returns all the segments entries that the user has permission to view where groupId = any ? and active = ?.
*
* @param groupIds the group IDs
* @param active the active
* @return the matching segments entries that the user has permission to view
*/
public static List filterFindByG_A(
long[] groupIds, boolean active) {
return getPersistence().filterFindByG_A(groupIds, active);
}
/**
* Returns a range of all the segments entries that the user has permission to view where groupId = any ? 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param active the active
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries that the user has permission to view
*/
public static List filterFindByG_A(
long[] groupIds, boolean active, int start, int end) {
return getPersistence().filterFindByG_A(groupIds, active, start, end);
}
/**
* Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ? 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param active the active
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries that the user has permission to view
*/
public static List filterFindByG_A(
long[] groupIds, boolean active, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().filterFindByG_A(
groupIds, active, start, end, orderByComparator);
}
/**
* Returns all the segments entries where groupId = any ? 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param active the active
* @return the matching segments entries
*/
public static List findByG_A(
long[] groupIds, boolean active) {
return getPersistence().findByG_A(groupIds, active);
}
/**
* Returns a range of all the segments entries where groupId = any ? 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param active the active
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries
*/
public static List findByG_A(
long[] groupIds, boolean active, int start, int end) {
return getPersistence().findByG_A(groupIds, active, start, end);
}
/**
* Returns an ordered range of all the segments entries where groupId = any ? 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param active the active
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries
*/
public static List findByG_A(
long[] groupIds, boolean active, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByG_A(
groupIds, active, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments entries where groupId = ? 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param active the active
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (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 entries
*/
public static List findByG_A(
long[] groupIds, boolean active, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByG_A(
groupIds, active, start, end, orderByComparator, useFinderCache);
}
/**
* Removes all the segments entries where groupId = ? and active = ? from the database.
*
* @param groupId the group ID
* @param active the active
*/
public static void removeByG_A(long groupId, boolean active) {
getPersistence().removeByG_A(groupId, active);
}
/**
* Returns the number of segments entries where groupId = ? and active = ?.
*
* @param groupId the group ID
* @param active the active
* @return the number of matching segments entries
*/
public static int countByG_A(long groupId, boolean active) {
return getPersistence().countByG_A(groupId, active);
}
/**
* Returns the number of segments entries where groupId = any ? and active = ?.
*
* @param groupIds the group IDs
* @param active the active
* @return the number of matching segments entries
*/
public static int countByG_A(long[] groupIds, boolean active) {
return getPersistence().countByG_A(groupIds, active);
}
/**
* Returns the number of segments entries that the user has permission to view where groupId = ? and active = ?.
*
* @param groupId the group ID
* @param active the active
* @return the number of matching segments entries that the user has permission to view
*/
public static int filterCountByG_A(long groupId, boolean active) {
return getPersistence().filterCountByG_A(groupId, active);
}
/**
* Returns the number of segments entries that the user has permission to view where groupId = any ? and active = ?.
*
* @param groupIds the group IDs
* @param active the active
* @return the number of matching segments entries that the user has permission to view
*/
public static int filterCountByG_A(long[] groupIds, boolean active) {
return getPersistence().filterCountByG_A(groupIds, active);
}
/**
* Returns all the segments entries where groupId = ? and source = ?.
*
* @param groupId the group ID
* @param source the source
* @return the matching segments entries
*/
public static List findByG_SRC(long groupId, String source) {
return getPersistence().findByG_SRC(groupId, source);
}
/**
* Returns a range of all the segments entries where groupId = ? and source = ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param groupId the group ID
* @param source the source
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries
*/
public static List findByG_SRC(
long groupId, String source, int start, int end) {
return getPersistence().findByG_SRC(groupId, source, start, end);
}
/**
* Returns an ordered range of all the segments entries where groupId = ? and source = ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param groupId the group ID
* @param source the source
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries
*/
public static List findByG_SRC(
long groupId, String source, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByG_SRC(
groupId, source, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments entries where groupId = ? and source = ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param groupId the group ID
* @param source the source
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (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 entries
*/
public static List findByG_SRC(
long groupId, String source, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByG_SRC(
groupId, source, start, end, orderByComparator, useFinderCache);
}
/**
* Returns the first segments entry in the ordered set where groupId = ? and source = ?.
*
* @param groupId the group ID
* @param source the source
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findByG_SRC_First(
long groupId, String source,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByG_SRC_First(
groupId, source, orderByComparator);
}
/**
* Returns the first segments entry in the ordered set where groupId = ? and source = ?.
*
* @param groupId the group ID
* @param source the source
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching segments entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByG_SRC_First(
long groupId, String source,
OrderByComparator orderByComparator) {
return getPersistence().fetchByG_SRC_First(
groupId, source, orderByComparator);
}
/**
* Returns the last segments entry in the ordered set where groupId = ? and source = ?.
*
* @param groupId the group ID
* @param source the source
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments entry
* @throws NoSuchEntryException if a matching segments entry could not be found
*/
public static SegmentsEntry findByG_SRC_Last(
long groupId, String source,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByG_SRC_Last(
groupId, source, orderByComparator);
}
/**
* Returns the last segments entry in the ordered set where groupId = ? and source = ?.
*
* @param groupId the group ID
* @param source the source
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching segments entry, or null
if a matching segments entry could not be found
*/
public static SegmentsEntry fetchByG_SRC_Last(
long groupId, String source,
OrderByComparator orderByComparator) {
return getPersistence().fetchByG_SRC_Last(
groupId, source, orderByComparator);
}
/**
* Returns the segments entries before and after the current segments entry in the ordered set where groupId = ? and source = ?.
*
* @param segmentsEntryId the primary key of the current segments entry
* @param groupId the group ID
* @param source the source
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments entry
* @throws NoSuchEntryException if a segments entry with the primary key could not be found
*/
public static SegmentsEntry[] findByG_SRC_PrevAndNext(
long segmentsEntryId, long groupId, String source,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByG_SRC_PrevAndNext(
segmentsEntryId, groupId, source, orderByComparator);
}
/**
* Returns all the segments entries that the user has permission to view where groupId = ? and source = ?.
*
* @param groupId the group ID
* @param source the source
* @return the matching segments entries that the user has permission to view
*/
public static List filterFindByG_SRC(
long groupId, String source) {
return getPersistence().filterFindByG_SRC(groupId, source);
}
/**
* Returns a range of all the segments entries that the user has permission to view where groupId = ? and source = ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param groupId the group ID
* @param source the source
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries that the user has permission to view
*/
public static List filterFindByG_SRC(
long groupId, String source, int start, int end) {
return getPersistence().filterFindByG_SRC(groupId, source, start, end);
}
/**
* Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ? and source = ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param groupId the group ID
* @param source the source
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries that the user has permission to view
*/
public static List filterFindByG_SRC(
long groupId, String source, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().filterFindByG_SRC(
groupId, source, start, end, orderByComparator);
}
/**
* Returns the segments entries before and after the current segments entry in the ordered set of segments entries that the user has permission to view where groupId = ? and source = ?.
*
* @param segmentsEntryId the primary key of the current segments entry
* @param groupId the group ID
* @param source the source
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next segments entry
* @throws NoSuchEntryException if a segments entry with the primary key could not be found
*/
public static SegmentsEntry[] filterFindByG_SRC_PrevAndNext(
long segmentsEntryId, long groupId, String source,
OrderByComparator orderByComparator)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().filterFindByG_SRC_PrevAndNext(
segmentsEntryId, groupId, source, orderByComparator);
}
/**
* Returns all the segments entries that the user has permission to view where groupId = any ? and source = ?.
*
* @param groupIds the group IDs
* @param source the source
* @return the matching segments entries that the user has permission to view
*/
public static List filterFindByG_SRC(
long[] groupIds, String source) {
return getPersistence().filterFindByG_SRC(groupIds, source);
}
/**
* Returns a range of all the segments entries that the user has permission to view where groupId = any ? and source = ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param source the source
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries that the user has permission to view
*/
public static List filterFindByG_SRC(
long[] groupIds, String source, int start, int end) {
return getPersistence().filterFindByG_SRC(groupIds, source, start, end);
}
/**
* Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ? and source = ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param source the source
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries that the user has permission to view
*/
public static List filterFindByG_SRC(
long[] groupIds, String source, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().filterFindByG_SRC(
groupIds, source, start, end, orderByComparator);
}
/**
* Returns all the segments entries where groupId = any ? and source = ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param source the source
* @return the matching segments entries
*/
public static List findByG_SRC(
long[] groupIds, String source) {
return getPersistence().findByG_SRC(groupIds, source);
}
/**
* Returns a range of all the segments entries where groupId = any ? and source = ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param source the source
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of matching segments entries
*/
public static List findByG_SRC(
long[] groupIds, String source, int start, int end) {
return getPersistence().findByG_SRC(groupIds, source, start, end);
}
/**
* Returns an ordered range of all the segments entries where groupId = any ? and source = ?.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param source the source
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching segments entries
*/
public static List findByG_SRC(
long[] groupIds, String source, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findByG_SRC(
groupIds, source, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments entries where groupId = ? and source = ?, 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 SegmentsEntryModelImpl
.
*
*
* @param groupIds the group IDs
* @param source the source
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (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 entries
*/
public static List findByG_SRC(
long[] groupIds, String source, int start, int end,
OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findByG_SRC(
groupIds, source, start, end, orderByComparator, useFinderCache);
}
/**
* Removes all the segments entries where groupId = ? and source = ? from the database.
*
* @param groupId the group ID
* @param source the source
*/
public static void removeByG_SRC(long groupId, String source) {
getPersistence().removeByG_SRC(groupId, source);
}
/**
* Returns the number of segments entries where groupId = ? and source = ?.
*
* @param groupId the group ID
* @param source the source
* @return the number of matching segments entries
*/
public static int countByG_SRC(long groupId, String source) {
return getPersistence().countByG_SRC(groupId, source);
}
/**
* Returns the number of segments entries where groupId = any ? and source = ?.
*
* @param groupIds the group IDs
* @param source the source
* @return the number of matching segments entries
*/
public static int countByG_SRC(long[] groupIds, String source) {
return getPersistence().countByG_SRC(groupIds, source);
}
/**
* Returns the number of segments entries that the user has permission to view where groupId = ? and source = ?.
*
* @param groupId the group ID
* @param source the source
* @return the number of matching segments entries that the user has permission to view
*/
public static int filterCountByG_SRC(long groupId, String source) {
return getPersistence().filterCountByG_SRC(groupId, source);
}
/**
* Returns the number of segments entries that the user has permission to view where groupId = any ? and source = ?.
*
* @param groupIds the group IDs
* @param source the source
* @return the number of matching segments entries that the user has permission to view
*/
public static int filterCountByG_SRC(long[] groupIds, String source) {
return getPersistence().filterCountByG_SRC(groupIds, source);
}
/**
* Caches the segments entry in the entity cache if it is enabled.
*
* @param segmentsEntry the segments entry
*/
public static void cacheResult(SegmentsEntry segmentsEntry) {
getPersistence().cacheResult(segmentsEntry);
}
/**
* Caches the segments entries in the entity cache if it is enabled.
*
* @param segmentsEntries the segments entries
*/
public static void cacheResult(List segmentsEntries) {
getPersistence().cacheResult(segmentsEntries);
}
/**
* Creates a new segments entry with the primary key. Does not add the segments entry to the database.
*
* @param segmentsEntryId the primary key for the new segments entry
* @return the new segments entry
*/
public static SegmentsEntry create(long segmentsEntryId) {
return getPersistence().create(segmentsEntryId);
}
/**
* Removes the segments entry with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param segmentsEntryId the primary key of the segments entry
* @return the segments entry that was removed
* @throws NoSuchEntryException if a segments entry with the primary key could not be found
*/
public static SegmentsEntry remove(long segmentsEntryId)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().remove(segmentsEntryId);
}
public static SegmentsEntry updateImpl(SegmentsEntry segmentsEntry) {
return getPersistence().updateImpl(segmentsEntry);
}
/**
* Returns the segments entry with the primary key or throws a NoSuchEntryException
if it could not be found.
*
* @param segmentsEntryId the primary key of the segments entry
* @return the segments entry
* @throws NoSuchEntryException if a segments entry with the primary key could not be found
*/
public static SegmentsEntry findByPrimaryKey(long segmentsEntryId)
throws com.liferay.segments.exception.NoSuchEntryException {
return getPersistence().findByPrimaryKey(segmentsEntryId);
}
/**
* Returns the segments entry with the primary key or returns null
if it could not be found.
*
* @param segmentsEntryId the primary key of the segments entry
* @return the segments entry, or null
if a segments entry with the primary key could not be found
*/
public static SegmentsEntry fetchByPrimaryKey(long segmentsEntryId) {
return getPersistence().fetchByPrimaryKey(segmentsEntryId);
}
/**
* Returns all the segments entries.
*
* @return the segments entries
*/
public static List findAll() {
return getPersistence().findAll();
}
/**
* Returns a range of all the segments entries.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @return the range of segments entries
*/
public static List findAll(int start, int end) {
return getPersistence().findAll(start, end);
}
/**
* Returns an ordered range of all the segments entries.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of segments entries
*/
public static List findAll(
int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findAll(start, end, orderByComparator);
}
/**
* Returns an ordered range of all the segments entries.
*
*
* 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 SegmentsEntryModelImpl
.
*
*
* @param start the lower bound of the range of segments entries
* @param end the upper bound of the range of segments entries (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 entries
*/
public static List findAll(
int start, int end, OrderByComparator orderByComparator,
boolean useFinderCache) {
return getPersistence().findAll(
start, end, orderByComparator, useFinderCache);
}
/**
* Removes all the segments entries from the database.
*/
public static void removeAll() {
getPersistence().removeAll();
}
/**
* Returns the number of segments entries.
*
* @return the number of segments entries
*/
public static int countAll() {
return getPersistence().countAll();
}
public static SegmentsEntryPersistence getPersistence() {
return _persistence;
}
public static void setPersistence(SegmentsEntryPersistence persistence) {
_persistence = persistence;
}
private static volatile SegmentsEntryPersistence _persistence;
}