Class SegmentsEntryUtil

java.lang.Object
com.liferay.segments.service.persistence.SegmentsEntryUtil

public class SegmentsEntryUtil extends Object
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

See Also:
Generated:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(SegmentsEntry segmentsEntry)
     
    static void
    cacheResult(List<SegmentsEntry> segmentsEntries)
     
    static void
     
    static void
    clearCache(SegmentsEntry segmentsEntry)
     
    static int
    countByActive(boolean active)
    Returns the number of segments entries where active = ?.
    static int
    countByC_SRC(long companyId, String source)
    Returns the number of segments entries where companyId = ? and source = ?.
    static int
    countByC_SRC(long companyId, String[] sources)
    Returns the number of segments entries where companyId = ? and source = any ?.
    static int
    countByERC_G(String externalReferenceCode, long groupId)
    Returns the number of segments entries where externalReferenceCode = ? and groupId = ?.
    static int
    countByG_A(long[] groupIds, boolean active)
    Returns the number of segments entries where groupId = any ? and active = ?.
    static int
    countByG_A(long groupId, boolean active)
    Returns the number of segments entries where groupId = ? and active = ?.
    static int
    countByG_A_SRC(long[] groupIds, boolean active, String[] sources)
    Returns the number of segments entries where groupId = any ? and active = ? and source = any ?.
    static int
    countByG_A_SRC(long groupId, boolean active, String source)
    Returns the number of segments entries where groupId = ? and active = ? and source = ?.
    static int
    countByG_S(long groupId, String segmentsEntryKey)
    Returns the number of segments entries where groupId = ? and segmentsEntryKey = ?.
    static int
    countByG_SRC(long[] groupIds, String[] sources)
    Returns the number of segments entries where groupId = any ? and source = any ?.
    static int
    countByG_SRC(long groupId, String source)
    Returns the number of segments entries where groupId = ? and source = ?.
    static int
    countByGroupId(long groupId)
    Returns the number of segments entries where groupId = ?.
    static int
    countByGroupId(long[] groupIds)
    Returns the number of segments entries where groupId = any ?.
    static int
    countBySegmentsEntryId(long segmentsEntryId)
    Returns the number of segments entries where segmentsEntryId = ?.
    static int
    countBySegmentsEntryId(long[] segmentsEntryIds)
    Returns the number of segments entries where segmentsEntryId = any ?.
    static int
    Returns the number of segments entries where source = ?.
    static int
    Returns the number of segments entries where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of segments entries where uuid = ? and companyId = ?.
    static int
    countByUUID_G(String uuid, long groupId)
    Returns the number of segments entries where uuid = ? and groupId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    create(long segmentsEntryId)
    Creates a new segments entry with the primary key.
    fetchByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where active = ?.
    fetchByC_SRC_First(long companyId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where companyId = ? and source = ?.
    fetchByERC_G(String externalReferenceCode, long groupId)
    Returns the segments entry where externalReferenceCode = ? and groupId = ? or returns null if it could not be found.
    fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
    Returns the segments entry where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where groupId = ? and active = ?.
    fetchByG_A_SRC_First(long groupId, boolean active, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where groupId = ? and active = ? and source = ?.
    fetchByG_S(long groupId, String segmentsEntryKey)
    Returns the segments entry where groupId = ? and segmentsEntryKey = ? or returns null if it could not be found.
    fetchByG_S(long groupId, String segmentsEntryKey, boolean useFinderCache)
    Returns the segments entry where groupId = ? and segmentsEntryKey = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByG_SRC_First(long groupId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where groupId = ? and source = ?.
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where groupId = ?.
    fetchByPrimaryKey(long segmentsEntryId)
    Returns the segments entry with the primary key or returns null if it could not be found.
     
    fetchBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where segmentsEntryId = ?.
    fetchBySource_First(String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where source = ?.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the segments entry where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the segments entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    static int
    filterCountByG_A(long[] groupIds, boolean active)
    Returns the number of segments entries that the user has permission to view where groupId = any ? and active = ?.
    static int
    filterCountByG_A(long groupId, boolean active)
    Returns the number of segments entries that the user has permission to view where groupId = ? and active = ?.
    static int
    filterCountByG_A_SRC(long[] groupIds, boolean active, String[] sources)
    Returns the number of segments entries that the user has permission to view where groupId = any ? and active = ? and source = any ?.
    static int
    filterCountByG_A_SRC(long groupId, boolean active, String source)
    Returns the number of segments entries that the user has permission to view where groupId = ? and active = ? and source = ?.
    static int
    filterCountByG_SRC(long[] groupIds, String[] sources)
    Returns the number of segments entries that the user has permission to view where groupId = any ? and source = any ?.
    static int
    filterCountByG_SRC(long groupId, String source)
    Returns the number of segments entries that the user has permission to view where groupId = ? and source = ?.
    static int
    filterCountByGroupId(long groupId)
    Returns the number of segments entries that the user has permission to view where groupId = ?.
    static int
    filterCountByGroupId(long[] groupIds)
    Returns the number of segments entries that the user has permission to view where groupId = any ?.
    filterFindByG_A(long[] groupIds, boolean active)
    Returns all the segments entries that the user has permission to view where groupId = any ? and active = ?.
    filterFindByG_A(long[] groupIds, boolean active, int start, int end)
    Returns a range of all the segments entries that the user has permission to view where groupId = any ? and active = ?.
    filterFindByG_A(long[] groupIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ? and active = ?.
    filterFindByG_A(long groupId, boolean active)
    Returns all the segments entries that the user has permission to view where groupId = ? and active = ?.
    filterFindByG_A(long groupId, boolean active, int start, int end)
    Returns a range of all the segments entries that the user has permission to view where groupId = ? and active = ?.
    filterFindByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ? and active = ?.
    filterFindByG_A_SRC(long[] groupIds, boolean active, String[] sources)
    Returns all the segments entries that the user has permission to view where groupId = any ? and active = ? and source = any ?.
    filterFindByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end)
    Returns a range of all the segments entries that the user has permission to view where groupId = any ? and active = ? and source = any ?.
    filterFindByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ? and active = ? and source = any ?.
    filterFindByG_A_SRC(long groupId, boolean active, String source)
    Returns all the segments entries that the user has permission to view where groupId = ? and active = ? and source = ?.
    filterFindByG_A_SRC(long groupId, boolean active, String source, int start, int end)
    Returns a range of all the segments entries that the user has permission to view where groupId = ? and active = ? and source = ?.
    filterFindByG_A_SRC(long groupId, boolean active, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ? and active = ? and source = ?.
    filterFindByG_SRC(long[] groupIds, String[] sources)
    Returns all the segments entries that the user has permission to view where groupId = any ? and source = any ?.
    filterFindByG_SRC(long[] groupIds, String[] sources, int start, int end)
    Returns a range of all the segments entries that the user has permission to view where groupId = any ? and source = any ?.
    filterFindByG_SRC(long[] groupIds, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ? and source = any ?.
    filterFindByG_SRC(long groupId, String source)
    Returns all the segments entries that the user has permission to view where groupId = ? and source = ?.
    filterFindByG_SRC(long groupId, String source, int start, int end)
    Returns a range of all the segments entries that the user has permission to view where groupId = ? and source = ?.
    filterFindByG_SRC(long groupId, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ? and source = ?.
    filterFindByGroupId(long groupId)
    Returns all the segments entries that the user has permission to view where groupId = ?.
    filterFindByGroupId(long[] groupIds)
    Returns all the segments entries that the user has permission to view where groupId = any ?.
    filterFindByGroupId(long[] groupIds, int start, int end)
    Returns a range of all the segments entries that the user has permission to view where groupId = any ?.
    filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ?.
    filterFindByGroupId(long groupId, int start, int end)
    Returns a range of all the segments entries that the user has permission to view where groupId = ?.
    filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ?.
    findByActive(boolean active)
    Returns all the segments entries where active = ?.
    findByActive(boolean active, int start, int end)
    Returns a range of all the segments entries where active = ?.
    findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries where active = ?.
    findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the segments entries where active = ?.
    findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where active = ?.
    findByC_SRC(long companyId, String source)
    Returns all the segments entries where companyId = ? and source = ?.
    findByC_SRC(long companyId, String[] sources)
    Returns all the segments entries where companyId = ? and source = any ?.
    findByC_SRC(long companyId, String[] sources, int start, int end)
    Returns a range of all the segments entries where companyId = ? and source = any ?.
    findByC_SRC(long companyId, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries where companyId = ? and source = any ?.
    findByC_SRC(long companyId, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the segments entries where companyId = ? and source = ?, optionally using the finder cache.
    findByC_SRC(long companyId, String source, int start, int end)
    Returns a range of all the segments entries where companyId = ? and source = ?.
    findByC_SRC(long companyId, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries where companyId = ? and source = ?.
    findByC_SRC(long companyId, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the segments entries where companyId = ? and source = ?.
    findByC_SRC_First(long companyId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where companyId = ? and source = ?.
    findByERC_G(String externalReferenceCode, long groupId)
    Returns the segments entry where externalReferenceCode = ? and groupId = ? or throws a NoSuchEntryException if it could not be found.
    findByG_A(long[] groupIds, boolean active)
    Returns all the segments entries where groupId = any ? and active = ?.
    findByG_A(long[] groupIds, boolean active, int start, int end)
    Returns a range of all the segments entries where groupId = any ? and active = ?.
    findByG_A(long[] groupIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries where groupId = any ? and active = ?.
    findByG_A(long[] groupIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the segments entries where groupId = ? and active = ?, optionally using the finder cache.
    findByG_A(long groupId, boolean active)
    Returns all the segments entries where groupId = ? and active = ?.
    findByG_A(long groupId, boolean active, int start, int end)
    Returns a range of all the segments entries where groupId = ? and active = ?.
    findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries where groupId = ? and active = ?.
    findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the segments entries where groupId = ? and active = ?.
    findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where groupId = ? and active = ?.
    findByG_A_SRC(long[] groupIds, boolean active, String[] sources)
    Returns all the segments entries where groupId = any ? and active = ? and source = any ?.
    findByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end)
    Returns a range of all the segments entries where groupId = any ? and active = ? and source = any ?.
    findByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries where groupId = any ? and active = ? and source = any ?.
    findByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the segments entries where groupId = ? and active = ? and source = ?, optionally using the finder cache.
    findByG_A_SRC(long groupId, boolean active, String source)
    Returns all the segments entries where groupId = ? and active = ? and source = ?.
    findByG_A_SRC(long groupId, boolean active, String source, int start, int end)
    Returns a range of all the segments entries where groupId = ? and active = ? and source = ?.
    findByG_A_SRC(long groupId, boolean active, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries where groupId = ? and active = ? and source = ?.
    findByG_A_SRC(long groupId, boolean active, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the segments entries where groupId = ? and active = ? and source = ?.
    findByG_A_SRC_First(long groupId, boolean active, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where groupId = ? and active = ? and source = ?.
    findByG_S(long groupId, String segmentsEntryKey)
    Returns the segments entry where groupId = ? and segmentsEntryKey = ? or throws a NoSuchEntryException if it could not be found.
    findByG_SRC(long[] groupIds, String[] sources)
    Returns all the segments entries where groupId = any ? and source = any ?.
    findByG_SRC(long[] groupIds, String[] sources, int start, int end)
    Returns a range of all the segments entries where groupId = any ? and source = any ?.
    findByG_SRC(long[] groupIds, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries where groupId = any ? and source = any ?.
    findByG_SRC(long[] groupIds, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the segments entries where groupId = ? and source = ?, optionally using the finder cache.
    findByG_SRC(long groupId, String source)
    Returns all the segments entries where groupId = ? and source = ?.
    findByG_SRC(long groupId, String source, int start, int end)
    Returns a range of all the segments entries where groupId = ? and source = ?.
    findByG_SRC(long groupId, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries where groupId = ? and source = ?.
    findByG_SRC(long groupId, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the segments entries where groupId = ? and source = ?.
    findByG_SRC_First(long groupId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where groupId = ? and source = ?.
    findByGroupId(long groupId)
    Returns all the segments entries where groupId = ?.
    findByGroupId(long[] groupIds)
    Returns all the segments entries where groupId = any ?.
    findByGroupId(long[] groupIds, int start, int end)
    Returns a range of all the segments entries where groupId = any ?.
    findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries where groupId = any ?.
    findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the segments entries where groupId = ?, optionally using the finder cache.
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the segments entries where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the segments entries where groupId = ?.
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where groupId = ?.
    findByPrimaryKey(long segmentsEntryId)
    Returns the segments entry with the primary key or throws a NoSuchEntryException if it could not be found.
    findBySegmentsEntryId(long segmentsEntryId)
    Returns all the segments entries where segmentsEntryId = ?.
    findBySegmentsEntryId(long[] segmentsEntryIds)
    Returns all the segments entries where segmentsEntryId = any ?.
    findBySegmentsEntryId(long[] segmentsEntryIds, int start, int end)
    Returns a range of all the segments entries where segmentsEntryId = any ?.
    findBySegmentsEntryId(long[] segmentsEntryIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries where segmentsEntryId = any ?.
    findBySegmentsEntryId(long[] segmentsEntryIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the segments entries where segmentsEntryId = ?, optionally using the finder cache.
    findBySegmentsEntryId(long segmentsEntryId, int start, int end)
    Returns a range of all the segments entries where segmentsEntryId = ?.
    findBySegmentsEntryId(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries where segmentsEntryId = ?.
    findBySegmentsEntryId(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the segments entries where segmentsEntryId = ?.
    findBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where segmentsEntryId = ?.
    Returns all the segments entries where source = ?.
    findBySource(String source, int start, int end)
    Returns a range of all the segments entries where source = ?.
    findBySource(String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries where source = ?.
    findBySource(String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the segments entries where source = ?.
    findBySource_First(String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where source = ?.
    Returns all the segments entries where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the segments entries where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the segments entries where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the segments entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the segments entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns an ordered range of all the segments entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the segments entries where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
    Returns the first segments entry in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the segments entry where uuid = ? and groupId = ? or throws a NoSuchEntryException if it could not be found.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
     
     
    remove(long segmentsEntryId)
    Removes the segments entry with the primary key from the database.
    static void
    removeByActive(boolean active)
    Removes all the segments entries where active = ? from the database.
    static void
    removeByC_SRC(long companyId, String source)
    Removes all the segments entries where companyId = ? and source = ? from the database.
    removeByERC_G(String externalReferenceCode, long groupId)
    Removes the segments entry where externalReferenceCode = ? and groupId = ? from the database.
    static void
    removeByG_A(long groupId, boolean active)
    Removes all the segments entries where groupId = ? and active = ? from the database.
    static void
    removeByG_A_SRC(long groupId, boolean active, String source)
    Removes all the segments entries where groupId = ? and active = ? and source = ? from the database.
    removeByG_S(long groupId, String segmentsEntryKey)
    Removes the segments entry where groupId = ? and segmentsEntryKey = ? from the database.
    static void
    removeByG_SRC(long groupId, String source)
    Removes all the segments entries where groupId = ? and source = ? from the database.
    static void
    removeByGroupId(long groupId)
    Removes all the segments entries where groupId = ? from the database.
    static void
    removeBySegmentsEntryId(long segmentsEntryId)
    Removes all the segments entries where segmentsEntryId = ? from the database.
    static void
    Removes all the segments entries where source = ? from the database.
    static void
    Removes all the segments entries where uuid = ? from the database.
    static void
    removeByUuid_C(String uuid, long companyId)
    Removes all the segments entries where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the segments entry where uuid = ? and groupId = ? from the database.
    static void
     
    update(SegmentsEntry segmentsEntry)
     
    update(SegmentsEntry segmentsEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(SegmentsEntry segmentsEntry)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SegmentsEntryUtil

      public SegmentsEntryUtil()
  • Method Details

    • cacheResult

      public static void cacheResult(List<SegmentsEntry> segmentsEntries)
      See Also:
      • BasePersistence.cacheResult(List)
    • cacheResult

      public static void cacheResult(SegmentsEntry segmentsEntry)
      See Also:
      • BasePersistence.cacheResult(com.liferay.portal.kernel.model.BaseModel)
    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(SegmentsEntry segmentsEntry)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,SegmentsEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<SegmentsEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<SegmentsEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<SegmentsEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static SegmentsEntry update(SegmentsEntry segmentsEntry)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static SegmentsEntry update(SegmentsEntry segmentsEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<SegmentsEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching segments entries
    • findByUuid_First

      public static SegmentsEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
      Returns the first segments entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry
    • fetchByUuid_First

      public static SegmentsEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns the first segments entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry, or null if a matching segments entry could not be found
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the segments entries where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of segments entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching segments entries
    • findByUUID_G

      public static SegmentsEntry findByUUID_G(String uuid, long groupId) throws NoSuchEntryException
      Returns the segments entry where uuid = ? and groupId = ? or throws a NoSuchEntryException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching segments entry
    • fetchByUUID_G

      public static SegmentsEntry fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the segments entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching segments entry, or null if a matching segments entry could not be found
    • removeByUUID_G

      public static SegmentsEntry removeByUUID_G(String uuid, long groupId) throws NoSuchEntryException
      Removes the segments entry where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the segments entry that was removed
      Throws:
      NoSuchEntryException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of segments entries where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching segments entries
    • findByUuid_C

      public static List<SegmentsEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching segments entries
    • findByUuid_C_First

      public static SegmentsEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
      Returns the first segments entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry
    • fetchByUuid_C_First

      public static SegmentsEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns the first segments entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry, or null if a matching segments entry could not be found
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the segments entries where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of segments entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching segments entries
    • findBySegmentsEntryId

      public static List<SegmentsEntry> findBySegmentsEntryId(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the segments entries where segmentsEntryId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      segmentsEntryId - the segments entry ID
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching segments entries
    • findBySegmentsEntryId_First

      public static SegmentsEntry findBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
      Returns the first segments entry in the ordered set where segmentsEntryId = ?.
      Parameters:
      segmentsEntryId - the segments entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry
    • fetchBySegmentsEntryId_First

      public static SegmentsEntry fetchBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns the first segments entry in the ordered set where segmentsEntryId = ?.
      Parameters:
      segmentsEntryId - the segments entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry, or null if a matching segments entry could not be found
    • findBySegmentsEntryId

      public static List<SegmentsEntry> findBySegmentsEntryId(long[] segmentsEntryIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the segments entries where segmentsEntryId = ?, 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      segmentsEntryIds - the segments entry IDs
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching segments entries
    • removeBySegmentsEntryId

      public static void removeBySegmentsEntryId(long segmentsEntryId)
      Removes all the segments entries where segmentsEntryId = ? from the database.
      Parameters:
      segmentsEntryId - the segments entry ID
    • countBySegmentsEntryId

      public static int countBySegmentsEntryId(long segmentsEntryId)
      Returns the number of segments entries where segmentsEntryId = ?.
      Parameters:
      segmentsEntryId - the segments entry ID
      Returns:
      the number of matching segments entries
    • countBySegmentsEntryId

      public static int countBySegmentsEntryId(long[] segmentsEntryIds)
      Returns the number of segments entries where segmentsEntryId = any ?.
      Parameters:
      segmentsEntryIds - the segments entry IDs
      Returns:
      the number of matching segments entries
    • findByGroupId

      public static List<SegmentsEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching segments entries
    • findByGroupId_First

      public static SegmentsEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
      Returns the first segments entry in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry
    • fetchByGroupId_First

      public static SegmentsEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns the first segments entry in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry, or null if a matching segments entry could not be found
    • filterFindByGroupId

      public static List<SegmentsEntry> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries that the user has permission to view
    • filterFindByGroupId

      public static List<SegmentsEntry> filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries that the user has permission to view
    • findByGroupId

      public static List<SegmentsEntry> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching segments entries
    • removeByGroupId

      public static void removeByGroupId(long groupId)
      Removes all the segments entries where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      public static int countByGroupId(long groupId)
      Returns the number of segments entries where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching segments entries
    • countByGroupId

      public static int countByGroupId(long[] groupIds)
      Returns the number of segments entries where groupId = any ?.
      Parameters:
      groupIds - the group IDs
      Returns:
      the number of matching segments entries
    • filterCountByGroupId

      public static int filterCountByGroupId(long groupId)
      Returns the number of segments entries that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching segments entries that the user has permission to view
    • filterCountByGroupId

      public static int filterCountByGroupId(long[] groupIds)
      Returns the number of segments entries that the user has permission to view where groupId = any ?.
      Parameters:
      groupIds - the group IDs
      Returns:
      the number of matching segments entries that the user has permission to view
    • findByActive

      public static List<SegmentsEntry> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      active - the active
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching segments entries
    • findByActive_First

      public static SegmentsEntry findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
      Returns the first segments entry in the ordered set where active = ?.
      Parameters:
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry
    • fetchByActive_First

      public static SegmentsEntry fetchByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns the first segments entry in the ordered set where active = ?.
      Parameters:
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry, or null if a matching segments entry could not be found
    • removeByActive

      public static void removeByActive(boolean active)
      Removes all the segments entries where active = ? from the database.
      Parameters:
      active - the active
    • countByActive

      public static int countByActive(boolean active)
      Returns the number of segments entries where active = ?.
      Parameters:
      active - the active
      Returns:
      the number of matching segments entries
    • findBySource

      public static List<SegmentsEntry> findBySource(String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      source - the source
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching segments entries
    • findBySource_First

      public static SegmentsEntry findBySource_First(String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
      Returns the first segments entry in the ordered set where source = ?.
      Parameters:
      source - the source
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry
    • fetchBySource_First

      public static SegmentsEntry fetchBySource_First(String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns the first segments entry in the ordered set where source = ?.
      Parameters:
      source - the source
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry, or null if a matching segments entry could not be found
    • removeBySource

      public static void removeBySource(String source)
      Removes all the segments entries where source = ? from the database.
      Parameters:
      source - the source
    • countBySource

      public static int countBySource(String source)
      Returns the number of segments entries where source = ?.
      Parameters:
      source - the source
      Returns:
      the number of matching segments entries
    • findByG_S

      public static SegmentsEntry findByG_S(long groupId, String segmentsEntryKey) throws NoSuchEntryException
      Returns the segments entry where groupId = ? and segmentsEntryKey = ? or throws a NoSuchEntryException if it could not be found.
      Parameters:
      groupId - the group ID
      segmentsEntryKey - the segments entry key
      Returns:
      the matching segments entry
    • fetchByG_S

      public static SegmentsEntry fetchByG_S(long groupId, String segmentsEntryKey, boolean useFinderCache)
      Returns the segments entry where groupId = ? and segmentsEntryKey = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      segmentsEntryKey - the segments entry key
      useFinderCache - whether to use the finder cache
      Returns:
      the matching segments entry, or null if a matching segments entry could not be found
    • removeByG_S

      public static SegmentsEntry removeByG_S(long groupId, String segmentsEntryKey) throws NoSuchEntryException
      Removes the segments entry where groupId = ? and segmentsEntryKey = ? from the database.
      Parameters:
      groupId - the group ID
      segmentsEntryKey - the segments entry key
      Returns:
      the segments entry that was removed
      Throws:
      NoSuchEntryException
    • countByG_S

      public static int countByG_S(long groupId, String segmentsEntryKey)
      Returns the number of segments entries where groupId = ? and segmentsEntryKey = ?.
      Parameters:
      groupId - the group ID
      segmentsEntryKey - the segments entry key
      Returns:
      the number of matching segments entries
    • findByG_A

      public static List<SegmentsEntry> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      active - the active
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching segments entries
    • findByG_A_First

      public static SegmentsEntry findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
      Returns the first segments entry in the ordered set where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry
    • fetchByG_A_First

      public static SegmentsEntry fetchByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns the first segments entry in the ordered set where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry, or null if a matching segments entry could not be found
    • filterFindByG_A

      public static List<SegmentsEntry> filterFindByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      active - the active
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries that the user has permission to view
    • filterFindByG_A

      public static List<SegmentsEntry> filterFindByG_A(long[] groupIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      active - the active
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries that the user has permission to view
    • findByG_A

      public static List<SegmentsEntry> findByG_A(long[] groupIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      active - the active
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching segments entries
    • removeByG_A

      public static void removeByG_A(long groupId, boolean active)
      Removes all the segments entries where groupId = ? and active = ? from the database.
      Parameters:
      groupId - the group ID
      active - the active
    • countByG_A

      public static int countByG_A(long groupId, boolean active)
      Returns the number of segments entries where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      Returns:
      the number of matching segments entries
    • countByG_A

      public static int countByG_A(long[] groupIds, boolean active)
      Returns the number of segments entries where groupId = any ? and active = ?.
      Parameters:
      groupIds - the group IDs
      active - the active
      Returns:
      the number of matching segments entries
    • filterCountByG_A

      public static int filterCountByG_A(long groupId, boolean active)
      Returns the number of segments entries that the user has permission to view where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      Returns:
      the number of matching segments entries that the user has permission to view
    • filterCountByG_A

      public static int filterCountByG_A(long[] groupIds, boolean active)
      Returns the number of segments entries that the user has permission to view where groupId = any ? and active = ?.
      Parameters:
      groupIds - the group IDs
      active - the active
      Returns:
      the number of matching segments entries that the user has permission to view
    • findByG_SRC

      public static List<SegmentsEntry> findByG_SRC(long groupId, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      source - the source
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching segments entries
    • findByG_SRC_First

      public static SegmentsEntry findByG_SRC_First(long groupId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
      Returns the first segments entry in the ordered set where groupId = ? and source = ?.
      Parameters:
      groupId - the group ID
      source - the source
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry
    • fetchByG_SRC_First

      public static SegmentsEntry fetchByG_SRC_First(long groupId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns the first segments entry in the ordered set where groupId = ? and source = ?.
      Parameters:
      groupId - the group ID
      source - the source
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry, or null if a matching segments entry could not be found
    • filterFindByG_SRC

      public static List<SegmentsEntry> filterFindByG_SRC(long groupId, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      source - the source
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries that the user has permission to view
    • filterFindByG_SRC

      public static List<SegmentsEntry> filterFindByG_SRC(long[] groupIds, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ? and source = 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      sources - the sources
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries that the user has permission to view
    • findByG_SRC

      public static List<SegmentsEntry> findByG_SRC(long[] groupIds, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      sources - the sources
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching segments entries
    • removeByG_SRC

      public static void removeByG_SRC(long groupId, String source)
      Removes all the segments entries where groupId = ? and source = ? from the database.
      Parameters:
      groupId - the group ID
      source - the source
    • countByG_SRC

      public static int countByG_SRC(long groupId, String source)
      Returns the number of segments entries where groupId = ? and source = ?.
      Parameters:
      groupId - the group ID
      source - the source
      Returns:
      the number of matching segments entries
    • countByG_SRC

      public static int countByG_SRC(long[] groupIds, String[] sources)
      Returns the number of segments entries where groupId = any ? and source = any ?.
      Parameters:
      groupIds - the group IDs
      sources - the sources
      Returns:
      the number of matching segments entries
    • filterCountByG_SRC

      public static int filterCountByG_SRC(long groupId, String source)
      Returns the number of segments entries that the user has permission to view where groupId = ? and source = ?.
      Parameters:
      groupId - the group ID
      source - the source
      Returns:
      the number of matching segments entries that the user has permission to view
    • filterCountByG_SRC

      public static int filterCountByG_SRC(long[] groupIds, String[] sources)
      Returns the number of segments entries that the user has permission to view where groupId = any ? and source = any ?.
      Parameters:
      groupIds - the group IDs
      sources - the sources
      Returns:
      the number of matching segments entries that the user has permission to view
    • findByC_SRC

      public static List<SegmentsEntry> findByC_SRC(long companyId, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the segments entries where companyId = ? 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      companyId - the company ID
      source - the source
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching segments entries
    • findByC_SRC_First

      public static SegmentsEntry findByC_SRC_First(long companyId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
      Returns the first segments entry in the ordered set where companyId = ? and source = ?.
      Parameters:
      companyId - the company ID
      source - the source
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry
    • fetchByC_SRC_First

      public static SegmentsEntry fetchByC_SRC_First(long companyId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns the first segments entry in the ordered set where companyId = ? and source = ?.
      Parameters:
      companyId - the company ID
      source - the source
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry, or null if a matching segments entry could not be found
    • findByC_SRC

      public static List<SegmentsEntry> findByC_SRC(long companyId, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the segments entries where companyId = ? 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      companyId - the company ID
      sources - the sources
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching segments entries
    • removeByC_SRC

      public static void removeByC_SRC(long companyId, String source)
      Removes all the segments entries where companyId = ? and source = ? from the database.
      Parameters:
      companyId - the company ID
      source - the source
    • countByC_SRC

      public static int countByC_SRC(long companyId, String source)
      Returns the number of segments entries where companyId = ? and source = ?.
      Parameters:
      companyId - the company ID
      source - the source
      Returns:
      the number of matching segments entries
    • countByC_SRC

      public static int countByC_SRC(long companyId, String[] sources)
      Returns the number of segments entries where companyId = ? and source = any ?.
      Parameters:
      companyId - the company ID
      sources - the sources
      Returns:
      the number of matching segments entries
    • findByG_A_SRC

      public static List<SegmentsEntry> findByG_A_SRC(long groupId, boolean active, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the segments entries where groupId = ? and active = ? 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      active - the active
      source - the source
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching segments entries
    • findByG_A_SRC_First

      public static SegmentsEntry findByG_A_SRC_First(long groupId, boolean active, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
      Returns the first segments entry in the ordered set where groupId = ? and active = ? and source = ?.
      Parameters:
      groupId - the group ID
      active - the active
      source - the source
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry
    • fetchByG_A_SRC_First

      public static SegmentsEntry fetchByG_A_SRC_First(long groupId, boolean active, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns the first segments entry in the ordered set where groupId = ? and active = ? and source = ?.
      Parameters:
      groupId - the group ID
      active - the active
      source - the source
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments entry, or null if a matching segments entry could not be found
    • filterFindByG_A_SRC

      public static List<SegmentsEntry> filterFindByG_A_SRC(long groupId, boolean active, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ? and active = ? 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      active - the active
      source - the source
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries that the user has permission to view
    • filterFindByG_A_SRC

      public static List<SegmentsEntry> filterFindByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ? and active = ? and source = 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      active - the active
      sources - the sources
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries that the user has permission to view
    • findByG_A_SRC

      public static List<SegmentsEntry> findByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the segments entries where groupId = ? and active = ? 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      active - the active
      sources - the sources
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching segments entries
    • removeByG_A_SRC

      public static void removeByG_A_SRC(long groupId, boolean active, String source)
      Removes all the segments entries where groupId = ? and active = ? and source = ? from the database.
      Parameters:
      groupId - the group ID
      active - the active
      source - the source
    • countByG_A_SRC

      public static int countByG_A_SRC(long groupId, boolean active, String source)
      Returns the number of segments entries where groupId = ? and active = ? and source = ?.
      Parameters:
      groupId - the group ID
      active - the active
      source - the source
      Returns:
      the number of matching segments entries
    • countByG_A_SRC

      public static int countByG_A_SRC(long[] groupIds, boolean active, String[] sources)
      Returns the number of segments entries where groupId = any ? and active = ? and source = any ?.
      Parameters:
      groupIds - the group IDs
      active - the active
      sources - the sources
      Returns:
      the number of matching segments entries
    • filterCountByG_A_SRC

      public static int filterCountByG_A_SRC(long groupId, boolean active, String source)
      Returns the number of segments entries that the user has permission to view where groupId = ? and active = ? and source = ?.
      Parameters:
      groupId - the group ID
      active - the active
      source - the source
      Returns:
      the number of matching segments entries that the user has permission to view
    • filterCountByG_A_SRC

      public static int filterCountByG_A_SRC(long[] groupIds, boolean active, String[] sources)
      Returns the number of segments entries that the user has permission to view where groupId = any ? and active = ? and source = any ?.
      Parameters:
      groupIds - the group IDs
      active - the active
      sources - the sources
      Returns:
      the number of matching segments entries that the user has permission to view
    • findByERC_G

      public static SegmentsEntry findByERC_G(String externalReferenceCode, long groupId) throws NoSuchEntryException
      Returns the segments entry where externalReferenceCode = ? and groupId = ? or throws a NoSuchEntryException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching segments entry
    • fetchByERC_G

      public static SegmentsEntry fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
      Returns the segments entry where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching segments entry, or null if a matching segments entry could not be found
    • removeByERC_G

      public static SegmentsEntry removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchEntryException
      Removes the segments entry where externalReferenceCode = ? and groupId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the segments entry that was removed
      Throws:
      NoSuchEntryException
    • countByERC_G

      public static int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of segments entries where externalReferenceCode = ? and groupId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the number of matching segments entries
    • create

      public static SegmentsEntry create(long segmentsEntryId)
      Creates a new segments entry with the primary key. Does not add the segments entry to the database.
      Parameters:
      segmentsEntryId - the primary key for the new segments entry
      Returns:
      the new segments entry
    • remove

      public static SegmentsEntry remove(long segmentsEntryId) throws NoSuchEntryException
      Removes the segments entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      segmentsEntryId - the primary key of the segments entry
      Returns:
      the segments entry that was removed
    • updateImpl

      public static SegmentsEntry updateImpl(SegmentsEntry segmentsEntry)
    • findByPrimaryKey

      public static SegmentsEntry findByPrimaryKey(long segmentsEntryId) throws NoSuchEntryException
      Returns the segments entry with the primary key or throws a NoSuchEntryException if it could not be found.
      Parameters:
      segmentsEntryId - the primary key of the segments entry
      Returns:
      the segments entry
    • fetchByPrimaryKey

      public static SegmentsEntry fetchByPrimaryKey(long segmentsEntryId)
      Returns the segments entry with the primary key or returns null if it could not be found.
      Parameters:
      segmentsEntryId - the primary key of the segments entry
      Returns:
      the segments entry, or null if a segments entry with the primary key could not be found
    • fetchByUUID_G

      public static SegmentsEntry fetchByUUID_G(String uuid, long groupId)
      Returns the segments entry where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching segments entry, or null if a matching segments entry could not be found
    • fetchByG_S

      public static SegmentsEntry fetchByG_S(long groupId, String segmentsEntryKey)
      Returns the segments entry where groupId = ? and segmentsEntryKey = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      segmentsEntryKey - the segments entry key
      Returns:
      the matching segments entry, or null if a matching segments entry could not be found
    • fetchByERC_G

      public static SegmentsEntry fetchByERC_G(String externalReferenceCode, long groupId)
      Returns the segments entry where externalReferenceCode = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching segments entry, or null if a matching segments entry could not be found
    • findByUuid

      public static List<SegmentsEntry> findByUuid(String uuid)
      Returns all the segments entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching segments entries
    • findByUuid

      public static List<SegmentsEntry> findByUuid(String uuid, int start, int end)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries
    • findByUuid

      public static List<SegmentsEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries
    • findByUuid_C

      public static List<SegmentsEntry> findByUuid_C(String uuid, long companyId)
      Returns all the segments entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching segments entries
    • findByUuid_C

      public static List<SegmentsEntry> findByUuid_C(String uuid, long companyId, int start, int end)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries
    • findByUuid_C

      public static List<SegmentsEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries
    • findBySegmentsEntryId

      public static List<SegmentsEntry> findBySegmentsEntryId(long segmentsEntryId)
      Returns all the segments entries where segmentsEntryId = ?.
      Parameters:
      segmentsEntryId - the segments entry ID
      Returns:
      the matching segments entries
    • findBySegmentsEntryId

      public static List<SegmentsEntry> findBySegmentsEntryId(long segmentsEntryId, int start, int end)
      Returns a range of all the segments entries where segmentsEntryId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      segmentsEntryId - the segments entry ID
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries
    • findBySegmentsEntryId

      public static List<SegmentsEntry> findBySegmentsEntryId(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns an ordered range of all the segments entries where segmentsEntryId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      segmentsEntryId - the segments entry ID
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries
    • findBySegmentsEntryId

      public static List<SegmentsEntry> findBySegmentsEntryId(long[] segmentsEntryIds)
      Returns all the segments entries where segmentsEntryId = any ?.
      Parameters:
      segmentsEntryIds - the segments entry IDs
      Returns:
      the matching segments entries
    • findBySegmentsEntryId

      public static List<SegmentsEntry> findBySegmentsEntryId(long[] segmentsEntryIds, int start, int end)
      Returns a range of all the segments entries where segmentsEntryId = 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      segmentsEntryIds - the segments entry IDs
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries
    • findBySegmentsEntryId

      public static List<SegmentsEntry> findBySegmentsEntryId(long[] segmentsEntryIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns an ordered range of all the segments entries where segmentsEntryId = 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      segmentsEntryIds - the segments entry IDs
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries
    • findByGroupId

      public static List<SegmentsEntry> findByGroupId(long groupId)
      Returns all the segments entries where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching segments entries
    • findByGroupId

      public static List<SegmentsEntry> findByGroupId(long groupId, int start, int end)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries
    • findByGroupId

      public static List<SegmentsEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries
    • findByGroupId

      public static List<SegmentsEntry> findByGroupId(long[] groupIds)
      Returns all the segments entries where groupId = any ?.
      Parameters:
      groupIds - the group IDs
      Returns:
      the matching segments entries
    • findByGroupId

      public static List<SegmentsEntry> findByGroupId(long[] groupIds, int start, int end)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries
    • findByGroupId

      public static List<SegmentsEntry> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries
    • filterFindByGroupId

      public static List<SegmentsEntry> filterFindByGroupId(long groupId)
      Returns all the segments entries that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching segments entries that the user has permission to view
    • filterFindByGroupId

      public static List<SegmentsEntry> filterFindByGroupId(long groupId, int start, int end)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries that the user has permission to view
    • filterFindByGroupId

      public static List<SegmentsEntry> filterFindByGroupId(long[] groupIds)
      Returns all the segments entries that the user has permission to view where groupId = any ?.
      Parameters:
      groupIds - the group IDs
      Returns:
      the matching segments entries that the user has permission to view
    • filterFindByGroupId

      public static List<SegmentsEntry> filterFindByGroupId(long[] groupIds, int start, int end)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries that the user has permission to view
    • findByActive

      public static List<SegmentsEntry> findByActive(boolean active)
      Returns all the segments entries where active = ?.
      Parameters:
      active - the active
      Returns:
      the matching segments entries
    • findByActive

      public static List<SegmentsEntry> findByActive(boolean active, int start, int end)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      active - the active
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries
    • findByActive

      public static List<SegmentsEntry> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      active - the active
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries
    • findBySource

      public static List<SegmentsEntry> findBySource(String source)
      Returns all the segments entries where source = ?.
      Parameters:
      source - the source
      Returns:
      the matching segments entries
    • findBySource

      public static List<SegmentsEntry> findBySource(String source, int start, int end)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      source - the source
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries
    • findBySource

      public static List<SegmentsEntry> findBySource(String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      source - the source
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries
    • findByG_A

      public static List<SegmentsEntry> findByG_A(long groupId, boolean active)
      Returns all the segments entries where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      Returns:
      the matching segments entries
    • findByG_A

      public static List<SegmentsEntry> findByG_A(long groupId, boolean active, int start, int end)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      active - the active
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries
    • findByG_A

      public static List<SegmentsEntry> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      active - the active
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries
    • findByG_A

      public static List<SegmentsEntry> findByG_A(long[] groupIds, boolean active)
      Returns all the segments entries where groupId = any ? and active = ?.
      Parameters:
      groupIds - the group IDs
      active - the active
      Returns:
      the matching segments entries
    • findByG_A

      public static List<SegmentsEntry> findByG_A(long[] groupIds, boolean active, int start, int end)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      active - the active
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries
    • findByG_A

      public static List<SegmentsEntry> findByG_A(long[] groupIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      active - the active
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries
    • filterFindByG_A

      public static List<SegmentsEntry> filterFindByG_A(long groupId, boolean active)
      Returns all the segments entries that the user has permission to view where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      Returns:
      the matching segments entries that the user has permission to view
    • filterFindByG_A

      public static List<SegmentsEntry> filterFindByG_A(long groupId, boolean active, int start, int end)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      active - the active
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries that the user has permission to view
    • filterFindByG_A

      public static List<SegmentsEntry> filterFindByG_A(long[] groupIds, boolean active)
      Returns all the segments entries that the user has permission to view where groupId = any ? and active = ?.
      Parameters:
      groupIds - the group IDs
      active - the active
      Returns:
      the matching segments entries that the user has permission to view
    • filterFindByG_A

      public static List<SegmentsEntry> filterFindByG_A(long[] groupIds, boolean active, int start, int end)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      active - the active
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries that the user has permission to view
    • findByG_SRC

      public static List<SegmentsEntry> findByG_SRC(long groupId, String source)
      Returns all the segments entries where groupId = ? and source = ?.
      Parameters:
      groupId - the group ID
      source - the source
      Returns:
      the matching segments entries
    • findByG_SRC

      public static List<SegmentsEntry> findByG_SRC(long groupId, String source, int start, int end)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      source - the source
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries
    • findByG_SRC

      public static List<SegmentsEntry> findByG_SRC(long groupId, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      source - the source
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries
    • findByG_SRC

      public static List<SegmentsEntry> findByG_SRC(long[] groupIds, String[] sources)
      Returns all the segments entries where groupId = any ? and source = any ?.
      Parameters:
      groupIds - the group IDs
      sources - the sources
      Returns:
      the matching segments entries
    • findByG_SRC

      public static List<SegmentsEntry> findByG_SRC(long[] groupIds, String[] sources, int start, int end)
      Returns a range of all the segments entries where groupId = any ? and source = 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      sources - the sources
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries
    • findByG_SRC

      public static List<SegmentsEntry> findByG_SRC(long[] groupIds, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns an ordered range of all the segments entries where groupId = any ? and source = 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      sources - the sources
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries
    • filterFindByG_SRC

      public static List<SegmentsEntry> filterFindByG_SRC(long groupId, String source)
      Returns all the segments entries that the user has permission to view where groupId = ? and source = ?.
      Parameters:
      groupId - the group ID
      source - the source
      Returns:
      the matching segments entries that the user has permission to view
    • filterFindByG_SRC

      public static List<SegmentsEntry> filterFindByG_SRC(long groupId, String source, int start, int end)
      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      source - the source
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries that the user has permission to view
    • filterFindByG_SRC

      public static List<SegmentsEntry> filterFindByG_SRC(long[] groupIds, String[] sources)
      Returns all the segments entries that the user has permission to view where groupId = any ? and source = any ?.
      Parameters:
      groupIds - the group IDs
      sources - the sources
      Returns:
      the matching segments entries that the user has permission to view
    • filterFindByG_SRC

      public static List<SegmentsEntry> filterFindByG_SRC(long[] groupIds, String[] sources, int start, int end)
      Returns a range of all the segments entries that the user has permission to view where groupId = any ? and source = 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      sources - the sources
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries that the user has permission to view
    • findByC_SRC

      public static List<SegmentsEntry> findByC_SRC(long companyId, String source)
      Returns all the segments entries where companyId = ? and source = ?.
      Parameters:
      companyId - the company ID
      source - the source
      Returns:
      the matching segments entries
    • findByC_SRC

      public static List<SegmentsEntry> findByC_SRC(long companyId, String source, int start, int end)
      Returns a range of all the segments entries where companyId = ? 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      companyId - the company ID
      source - the source
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries
    • findByC_SRC

      public static List<SegmentsEntry> findByC_SRC(long companyId, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns an ordered range of all the segments entries where companyId = ? 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      companyId - the company ID
      source - the source
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries
    • findByC_SRC

      public static List<SegmentsEntry> findByC_SRC(long companyId, String[] sources)
      Returns all the segments entries where companyId = ? and source = any ?.
      Parameters:
      companyId - the company ID
      sources - the sources
      Returns:
      the matching segments entries
    • findByC_SRC

      public static List<SegmentsEntry> findByC_SRC(long companyId, String[] sources, int start, int end)
      Returns a range of all the segments entries where companyId = ? and source = 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      companyId - the company ID
      sources - the sources
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries
    • findByC_SRC

      public static List<SegmentsEntry> findByC_SRC(long companyId, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns an ordered range of all the segments entries where companyId = ? and source = 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      companyId - the company ID
      sources - the sources
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries
    • findByG_A_SRC

      public static List<SegmentsEntry> findByG_A_SRC(long groupId, boolean active, String source)
      Returns all the segments entries where groupId = ? and active = ? and source = ?.
      Parameters:
      groupId - the group ID
      active - the active
      source - the source
      Returns:
      the matching segments entries
    • findByG_A_SRC

      public static List<SegmentsEntry> findByG_A_SRC(long groupId, boolean active, String source, int start, int end)
      Returns a range of all the segments entries where groupId = ? and active = ? 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      active - the active
      source - the source
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries
    • findByG_A_SRC

      public static List<SegmentsEntry> findByG_A_SRC(long groupId, boolean active, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns an ordered range of all the segments entries where groupId = ? and active = ? 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      active - the active
      source - the source
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries
    • findByG_A_SRC

      public static List<SegmentsEntry> findByG_A_SRC(long[] groupIds, boolean active, String[] sources)
      Returns all the segments entries where groupId = any ? and active = ? and source = any ?.
      Parameters:
      groupIds - the group IDs
      active - the active
      sources - the sources
      Returns:
      the matching segments entries
    • findByG_A_SRC

      public static List<SegmentsEntry> findByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end)
      Returns a range of all the segments entries where groupId = any ? and active = ? and source = 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      active - the active
      sources - the sources
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries
    • findByG_A_SRC

      public static List<SegmentsEntry> findByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
      Returns an ordered range of all the segments entries where groupId = any ? and active = ? and source = 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      active - the active
      sources - the sources
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments entries
    • filterFindByG_A_SRC

      public static List<SegmentsEntry> filterFindByG_A_SRC(long groupId, boolean active, String source)
      Returns all the segments entries that the user has permission to view where groupId = ? and active = ? and source = ?.
      Parameters:
      groupId - the group ID
      active - the active
      source - the source
      Returns:
      the matching segments entries that the user has permission to view
    • filterFindByG_A_SRC

      public static List<SegmentsEntry> filterFindByG_A_SRC(long groupId, boolean active, String source, int start, int end)
      Returns a range of all the segments entries that the user has permission to view where groupId = ? and active = ? 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupId - the group ID
      active - the active
      source - the source
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries that the user has permission to view
    • filterFindByG_A_SRC

      public static List<SegmentsEntry> filterFindByG_A_SRC(long[] groupIds, boolean active, String[] sources)
      Returns all the segments entries that the user has permission to view where groupId = any ? and active = ? and source = any ?.
      Parameters:
      groupIds - the group IDs
      active - the active
      sources - the sources
      Returns:
      the matching segments entries that the user has permission to view
    • filterFindByG_A_SRC

      public static List<SegmentsEntry> filterFindByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end)
      Returns a range of all the segments entries that the user has permission to view where groupId = any ? and active = ? and source = 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsEntryModelImpl.

      Parameters:
      groupIds - the group IDs
      active - the active
      sources - the sources
      start - the lower bound of the range of segments entries
      end - the upper bound of the range of segments entries (not inclusive)
      Returns:
      the range of matching segments entries that the user has permission to view
    • getPersistence

      public static SegmentsEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(SegmentsEntryPersistence persistence)