Class SegmentsEntryUtil
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(SegmentsEntry segmentsEntry) Caches the segments entry in the entity cache if it is enabled.static void
cacheResult
(List<SegmentsEntry> segmentsEntries) Caches the segments entries in the entity cache if it is enabled.static void
static void
clearCache
(SegmentsEntry segmentsEntry) static int
countAll()
Returns the number of segments entries.static int
countByActive
(boolean active) Returns the number of segments entries where active = ?.static int
countByCompanyId
(long companyId) Returns the number of segments entries where companyId = ?.static int
countByCompanyId
(long[] companyIds) Returns the number of segments entries where companyId = any ?.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_S
(long groupId, String segmentsEntryKey) Returns the number of segments entries where groupId = ? and segmentsEntryKey = ?.static int
countByG_SRC
(long[] groupIds, String source) Returns the number of segments entries where groupId = any ? and source = ?.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
countBySource
(String source) Returns the number of segments entries where source = ?.static int
countByUuid
(String uuid) 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) static SegmentsEntry
create
(long segmentsEntryId) Creates a new segments entry with the primary key.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 = ?.static SegmentsEntry
fetchByActive_Last
(boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where active = ?.static SegmentsEntry
fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where companyId = ?.static SegmentsEntry
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where companyId = ?.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 = ?.static SegmentsEntry
fetchByG_A_Last
(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where groupId = ? and active = ?.static SegmentsEntry
fetchByG_S
(long groupId, String segmentsEntryKey) Returns the segments entry where groupId = ? and segmentsEntryKey = ? or returnsnull
if it could not be found.static SegmentsEntry
fetchByG_S
(long groupId, String segmentsEntryKey, boolean useFinderCache) Returns the segments entry where groupId = ? and segmentsEntryKey = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.static SegmentsEntry
fetchByG_SRC_Last
(long groupId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where groupId = ? and source = ?.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 = ?.static SegmentsEntry
fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where groupId = ?.static SegmentsEntry
fetchByPrimaryKey
(long segmentsEntryId) Returns the segments entry with the primary key or returnsnull
if it could not be found.static Map<Serializable,
SegmentsEntry> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.static SegmentsEntry
fetchBySource_Last
(String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where source = ?.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 = ?.static SegmentsEntry
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where uuid = ? and companyId = ?.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 = ?.static SegmentsEntry
fetchByUUID_G
(String uuid, long groupId) Returns the segments entry where uuid = ? and groupId = ? or returnsnull
if it could not be found.static SegmentsEntry
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the segments entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static SegmentsEntry
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where uuid = ?.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_SRC
(long[] groupIds, String source) Returns the number of segments entries that the user has permission to view where groupId = any ? and source = ?.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 ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static SegmentsEntry[]
filterFindByG_A_PrevAndNext
(long segmentsEntryId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the segments entries before and after the current segments entry in the ordered set of segments entries that the user has permission to view where groupId = ? and active = ?.static List<SegmentsEntry>
filterFindByG_SRC
(long[] groupIds, String source) Returns all the segments entries that the user has permission to view where groupId = any ? and source = ?.static List<SegmentsEntry>
filterFindByG_SRC
(long[] groupIds, String source, int start, int end) Returns a range of all the segments entries that the user has permission to view where groupId = any ? and source = ?.static List<SegmentsEntry>
filterFindByG_SRC
(long[] groupIds, 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 permission to view where groupId = any ? and source = ?.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 = ?.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 = ?.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 = ?.static SegmentsEntry[]
filterFindByG_SRC_PrevAndNext
(long segmentsEntryId, long groupId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the segments entries before and after the current segments entry in the ordered set of segments entries that the user has permission to view where groupId = ? and source = ?.static List<SegmentsEntry>
filterFindByGroupId
(long groupId) Returns all the segments entries that the user has permission to view where groupId = ?.static List<SegmentsEntry>
filterFindByGroupId
(long[] groupIds) Returns all the segments entries that the user has permission to view where groupId = any ?.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 ?.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 ?.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 = ?.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 = ?.static SegmentsEntry[]
filterFindByGroupId_PrevAndNext
(long segmentsEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the segments entries before and after the current segments entry in the ordered set of segments entries that the user has permission to view where groupId = ?.static List<SegmentsEntry>
findAll()
Returns all the segments entries.static List<SegmentsEntry>
findAll
(int start, int end) Returns a range of all the segments entries.static List<SegmentsEntry>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries.static List<SegmentsEntry>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries.static List<SegmentsEntry>
findByActive
(boolean active) Returns all the segments entries where active = ?.static List<SegmentsEntry>
findByActive
(boolean active, int start, int end) Returns a range of all the segments entries where active = ?.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 = ?.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 = ?.static SegmentsEntry
findByActive_First
(boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where active = ?.static SegmentsEntry
findByActive_Last
(boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where active = ?.static SegmentsEntry[]
findByActive_PrevAndNext
(long segmentsEntryId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the segments entries before and after the current segments entry in the ordered set where active = ?.static List<SegmentsEntry>
findByCompanyId
(long companyId) Returns all the segments entries where companyId = ?.static List<SegmentsEntry>
findByCompanyId
(long[] companyIds) Returns all the segments entries where companyId = any ?.static List<SegmentsEntry>
findByCompanyId
(long[] companyIds, int start, int end) Returns a range of all the segments entries where companyId = any ?.static List<SegmentsEntry>
findByCompanyId
(long[] companyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where companyId = any ?.static List<SegmentsEntry>
findByCompanyId
(long[] companyIds, 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 = ?, optionally using the finder cache.static List<SegmentsEntry>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the segments entries where companyId = ?.static List<SegmentsEntry>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where companyId = ?.static List<SegmentsEntry>
findByCompanyId
(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 companyId = ?.static SegmentsEntry
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where companyId = ?.static SegmentsEntry
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where companyId = ?.static SegmentsEntry[]
findByCompanyId_PrevAndNext
(long segmentsEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the segments entries before and after the current segments entry in the ordered set where companyId = ?.static List<SegmentsEntry>
findByG_A
(long[] groupIds, boolean active) Returns all the segments entries where groupId = any ? and active = ?.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 = ?.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 = ?.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.static List<SegmentsEntry>
findByG_A
(long groupId, boolean active) Returns all the segments entries where groupId = ? and active = ?.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 = ?.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 = ?.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 = ?.static SegmentsEntry
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 = ?.static SegmentsEntry
findByG_A_Last
(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where groupId = ? and active = ?.static SegmentsEntry[]
findByG_A_PrevAndNext
(long segmentsEntryId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the segments entries before and after the current segments entry in the ordered set where groupId = ? and active = ?.static SegmentsEntry
Returns the segments entry where groupId = ? and segmentsEntryKey = ? or throws aNoSuchEntryException
if it could not be found.static List<SegmentsEntry>
findByG_SRC
(long[] groupIds, String source) Returns all the segments entries where groupId = any ? and source = ?.static List<SegmentsEntry>
findByG_SRC
(long[] groupIds, String source, int start, int end) Returns a range of all the segments entries where groupId = any ? and source = ?.static List<SegmentsEntry>
findByG_SRC
(long[] groupIds, 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 = any ? and source = ?.static List<SegmentsEntry>
findByG_SRC
(long[] groupIds, 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 = ?, optionally using the finder cache.static List<SegmentsEntry>
findByG_SRC
(long groupId, String source) Returns all the segments entries where groupId = ? and source = ?.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 = ?.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 = ?.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 = ?.static SegmentsEntry
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 = ?.static SegmentsEntry
findByG_SRC_Last
(long groupId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where groupId = ? and source = ?.static SegmentsEntry[]
findByG_SRC_PrevAndNext
(long segmentsEntryId, long groupId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the segments entries before and after the current segments entry in the ordered set where groupId = ? and source = ?.static List<SegmentsEntry>
findByGroupId
(long groupId) Returns all the segments entries where groupId = ?.static List<SegmentsEntry>
findByGroupId
(long[] groupIds) Returns all the segments entries where groupId = any ?.static List<SegmentsEntry>
findByGroupId
(long[] groupIds, int start, int end) Returns a range of all the segments entries where groupId = any ?.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 ?.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.static List<SegmentsEntry>
findByGroupId
(long groupId, int start, int end) Returns a range of all the segments entries where groupId = ?.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 = ?.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 = ?.static SegmentsEntry
findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where groupId = ?.static SegmentsEntry
findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where groupId = ?.static SegmentsEntry[]
findByGroupId_PrevAndNext
(long segmentsEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the segments entries before and after the current segments entry in the ordered set where groupId = ?.static SegmentsEntry
findByPrimaryKey
(long segmentsEntryId) Returns the segments entry with the primary key or throws aNoSuchEntryException
if it could not be found.static List<SegmentsEntry>
findBySource
(String source) Returns all the segments entries where source = ?.static List<SegmentsEntry>
findBySource
(String source, int start, int end) Returns a range of all the segments entries where source = ?.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 = ?.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 = ?.static SegmentsEntry
findBySource_First
(String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where source = ?.static SegmentsEntry
findBySource_Last
(String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where source = ?.static SegmentsEntry[]
findBySource_PrevAndNext
(long segmentsEntryId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the segments entries before and after the current segments entry in the ordered set where source = ?.static List<SegmentsEntry>
findByUuid
(String uuid) Returns all the segments entries where uuid = ?.static List<SegmentsEntry>
findByUuid
(String uuid, int start, int end) Returns a range of all the segments entries where uuid = ?.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 = ?.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 = ?.static List<SegmentsEntry>
findByUuid_C
(String uuid, long companyId) Returns all the segments entries where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.static SegmentsEntry
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 = ?.static SegmentsEntry
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where uuid = ? and companyId = ?.static SegmentsEntry[]
findByUuid_C_PrevAndNext
(long segmentsEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the segments entries before and after the current segments entry in the ordered set where uuid = ? and companyId = ?.static SegmentsEntry
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where uuid = ?.static SegmentsEntry
findByUUID_G
(String uuid, long groupId) Returns the segments entry where uuid = ? and groupId = ? or throws aNoSuchEntryException
if it could not be found.static SegmentsEntry
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where uuid = ?.static SegmentsEntry[]
findByUuid_PrevAndNext
(long segmentsEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the segments entries before and after the current segments entry in the ordered set where uuid = ?.static List<SegmentsEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<SegmentsEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<SegmentsEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) static SegmentsEntryPersistence
static SegmentsEntry
remove
(long segmentsEntryId) Removes the segments entry with the primary key from the database.static void
Removes all the segments entries from the database.static void
removeByActive
(boolean active) Removes all the segments entries where active = ? from the database.static void
removeByCompanyId
(long companyId) Removes all the segments entries where companyId = ? from the database.static void
removeByG_A
(long groupId, boolean active) Removes all the segments entries where groupId = ? and active = ? from the database.static SegmentsEntry
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
removeBySource
(String source) Removes all the segments entries where source = ? from the database.static void
removeByUuid
(String uuid) 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.static SegmentsEntry
removeByUUID_G
(String uuid, long groupId) Removes the segments entry where uuid = ? and groupId = ? from the database.static void
setPersistence
(SegmentsEntryPersistence persistence) static SegmentsEntry
update
(SegmentsEntry segmentsEntry) static SegmentsEntry
update
(SegmentsEntry segmentsEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static SegmentsEntry
updateImpl
(SegmentsEntry segmentsEntry)
-
Constructor Details
-
SegmentsEntryUtil
public SegmentsEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
- 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
- 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
Returns all the segments entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching segments entries
-
findByUuid
Returns a range of all the segments entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of segments entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered 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, 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry, or
null
if a matching segments entry could not be found
-
findByUuid_Last
public static SegmentsEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the last segments entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
fetchByUuid_Last
public static SegmentsEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry, or
null
if a matching segments entry could not be found
-
findByUuid_PrevAndNext
public static SegmentsEntry[] findByUuid_PrevAndNext(long segmentsEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the segments entries before and after the current segments entry in the ordered set where uuid = ?.- Parameters:
segmentsEntryId
- the primary key of the current segments entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next segments entry
- Throws:
NoSuchEntryException
- if a segments entry with the primary key could not be foundNoSuchEntryException
-
removeByUuid
Removes all the segments entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of segments entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching segments entries
-
findByUUID_G
Returns the segments entry where uuid = ? and groupId = ? or throws aNoSuchEntryException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
fetchByUUID_G
Returns the segments entry where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching segments entry, or
null
if a matching segments entry could not be found
-
fetchByUUID_G
Returns the segments entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching segments entry, or
null
if a matching segments entry could not be found
-
removeByUUID_G
Removes the segments entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the segments entry that was removed
- Throws:
NoSuchEntryException
-
countByUUID_G
Returns the number of segments entries where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching segments entries
-
findByUuid_C
Returns all the segments entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching segments entries
-
findByUuid_C
Returns a range of all the segments entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of segments entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered 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, 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry, or
null
if a matching segments entry could not be found
-
findByUuid_C_Last
public static SegmentsEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the last segments entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
fetchByUuid_C_Last
public static SegmentsEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry, or
null
if a matching segments entry could not be found
-
findByUuid_C_PrevAndNext
public static SegmentsEntry[] findByUuid_C_PrevAndNext(long segmentsEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the segments entries before and after the current segments entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
segmentsEntryId
- the primary key of the current segments entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next segments entry
- Throws:
NoSuchEntryException
- if a segments entry with the primary key could not be foundNoSuchEntryException
-
removeByUuid_C
Removes all the segments entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of segments entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching segments entries
-
findByGroupId
Returns all the segments entries where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching segments entries
-
findByGroupId
Returns a range of all the segments entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of segments entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered 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, 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry, or
null
if a matching segments entry could not be found
-
findByGroupId_Last
public static SegmentsEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the last segments entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
fetchByGroupId_Last
public static SegmentsEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry, or
null
if a matching segments entry could not be found
-
findByGroupId_PrevAndNext
public static SegmentsEntry[] findByGroupId_PrevAndNext(long segmentsEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the segments entries before and after the current segments entry in the ordered set where groupId = ?.- Parameters:
segmentsEntryId
- the primary key of the current segments entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next segments entry
- Throws:
NoSuchEntryException
- if a segments entry with the primary key could not be foundNoSuchEntryException
-
filterFindByGroupId
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of segments entriesend
- 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 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching segments entries that the user has permission to view
-
filterFindByGroupId_PrevAndNext
public static SegmentsEntry[] filterFindByGroupId_PrevAndNext(long segmentsEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the segments entries before and after the current segments entry in the ordered set of segments entries that the user has permission to view where groupId = ?.- Parameters:
segmentsEntryId
- the primary key of the current segments entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next segments entry
- Throws:
NoSuchEntryException
- if a segments entry with the primary key could not be foundNoSuchEntryException
-
filterFindByGroupId
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of segments entriesend
- 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, 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching segments entries that the user has permission to view
-
findByGroupId
Returns all the segments entries where groupId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDs- Returns:
- the matching segments entries
-
findByGroupId
Returns a range of all the segments entries where groupId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of segments entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered 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, 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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
-
findByCompanyId
Returns all the segments entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching segments entries
-
findByCompanyId
Returns a range of all the segments entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries
-
findByCompanyId
public static List<SegmentsEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching segments entries
-
findByCompanyId
public static List<SegmentsEntry> findByCompanyId(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 companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
findByCompanyId_First
public static SegmentsEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the first segments entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
fetchByCompanyId_First
public static SegmentsEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry, or
null
if a matching segments entry could not be found
-
findByCompanyId_Last
public static SegmentsEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the last segments entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
fetchByCompanyId_Last
public static SegmentsEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry, or
null
if a matching segments entry could not be found
-
findByCompanyId_PrevAndNext
public static SegmentsEntry[] findByCompanyId_PrevAndNext(long segmentsEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the segments entries before and after the current segments entry in the ordered set where companyId = ?.- Parameters:
segmentsEntryId
- the primary key of the current segments entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next segments entry
- Throws:
NoSuchEntryException
- if a segments entry with the primary key could not be foundNoSuchEntryException
-
findByCompanyId
Returns all the segments entries where companyId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
companyIds
- the company IDs- Returns:
- the matching segments entries
-
findByCompanyId
Returns a range of all the segments entries where companyId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
companyIds
- the company IDsstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries
-
findByCompanyId
public static List<SegmentsEntry> findByCompanyId(long[] companyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where companyId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
companyIds
- the company IDsstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching segments entries
-
findByCompanyId
public static List<SegmentsEntry> findByCompanyId(long[] companyIds, 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 = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
companyIds
- the company IDsstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the segments entries where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of segments entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching segments entries
-
countByCompanyId
public static int countByCompanyId(long[] companyIds) Returns the number of segments entries where companyId = any ?.- Parameters:
companyIds
- the company IDs- Returns:
- the number of matching segments entries
-
findByActive
Returns all the segments entries where active = ?.- Parameters:
active
- the active- Returns:
- the matching segments entries
-
findByActive
Returns a range of all the segments entries where active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
active
- the activestart
- the lower bound of the range of segments entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
active
- the activestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered 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, 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
active
- the activestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
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 activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry, or
null
if a matching segments entry could not be found
-
findByActive_Last
public static SegmentsEntry findByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the last segments entry in the ordered set where active = ?.- Parameters:
active
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
fetchByActive_Last
public static SegmentsEntry fetchByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where active = ?.- Parameters:
active
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry, or
null
if a matching segments entry could not be found
-
findByActive_PrevAndNext
public static SegmentsEntry[] findByActive_PrevAndNext(long segmentsEntryId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the segments entries before and after the current segments entry in the ordered set where active = ?.- Parameters:
segmentsEntryId
- the primary key of the current segments entryactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next segments entry
- Throws:
NoSuchEntryException
- if a segments entry with the primary key could not be foundNoSuchEntryException
-
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
Returns all the segments entries where source = ?.- Parameters:
source
- the source- Returns:
- the matching segments entries
-
findBySource
Returns a range of all the segments entries where source = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
source
- the sourcestart
- the lower bound of the range of segments entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
source
- the sourcestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered 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, 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
source
- the sourcestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 sourceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
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 sourceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry, or
null
if a matching segments entry could not be found
-
findBySource_Last
public static SegmentsEntry findBySource_Last(String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the last segments entry in the ordered set where source = ?.- Parameters:
source
- the sourceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
fetchBySource_Last
public static SegmentsEntry fetchBySource_Last(String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where source = ?.- Parameters:
source
- the sourceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry, or
null
if a matching segments entry could not be found
-
findBySource_PrevAndNext
public static SegmentsEntry[] findBySource_PrevAndNext(long segmentsEntryId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the segments entries before and after the current segments entry in the ordered set where source = ?.- Parameters:
segmentsEntryId
- the primary key of the current segments entrysource
- the sourceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next segments entry
- Throws:
NoSuchEntryException
- if a segments entry with the primary key could not be foundNoSuchEntryException
-
removeBySource
Removes all the segments entries where source = ? from the database.- Parameters:
source
- the source
-
countBySource
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 aNoSuchEntryException
if it could not be found.- Parameters:
groupId
- the group IDsegmentsEntryKey
- the segments entry key- Returns:
- the matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
fetchByG_S
Returns the segments entry where groupId = ? and segmentsEntryKey = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDsegmentsEntryKey
- the segments entry key- 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, boolean useFinderCache) Returns the segments entry where groupId = ? and segmentsEntryKey = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDsegmentsEntryKey
- the segments entry keyuseFinderCache
- 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 IDsegmentsEntryKey
- the segments entry key- Returns:
- the segments entry that was removed
- Throws:
NoSuchEntryException
-
countByG_S
Returns the number of segments entries where groupId = ? and segmentsEntryKey = ?.- Parameters:
groupId
- the group IDsegmentsEntryKey
- the segments entry key- Returns:
- the number of matching segments entries
-
findByG_A
Returns all the segments entries where groupId = ? and active = ?.- Parameters:
groupId
- the group IDactive
- the active- Returns:
- the matching segments entries
-
findByG_A
Returns a range of all the segments entries where groupId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupId
- the group IDactive
- the activestart
- the lower bound of the range of segments entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupId
- the group IDactive
- the activestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered 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, 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupId
- the group IDactive
- the activestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
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 IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry, or
null
if a matching segments entry could not be found
-
findByG_A_Last
public static SegmentsEntry findByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the last segments entry in the ordered set where groupId = ? and active = ?.- Parameters:
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
fetchByG_A_Last
public static SegmentsEntry fetchByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where groupId = ? and active = ?.- Parameters:
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry, or
null
if a matching segments entry could not be found
-
findByG_A_PrevAndNext
public static SegmentsEntry[] findByG_A_PrevAndNext(long segmentsEntryId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the segments entries before and after the current segments entry in the ordered set where groupId = ? and active = ?.- Parameters:
segmentsEntryId
- the primary key of the current segments entrygroupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next segments entry
- Throws:
NoSuchEntryException
- if a segments entry with the primary key could not be foundNoSuchEntryException
-
filterFindByG_A
Returns all the segments entries that the user has permission to view where groupId = ? and active = ?.- Parameters:
groupId
- the group IDactive
- the active- Returns:
- the matching segments entries that the user has permission to view
-
filterFindByG_A
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupId
- the group IDactive
- the activestart
- the lower bound of the range of segments entriesend
- 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 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupId
- the group IDactive
- the activestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching segments entries that the user has permission to view
-
filterFindByG_A_PrevAndNext
public static SegmentsEntry[] filterFindByG_A_PrevAndNext(long segmentsEntryId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the segments entries before and after the current segments entry in the ordered set of segments entries that the user has permission to view where groupId = ? and active = ?.- Parameters:
segmentsEntryId
- the primary key of the current segments entrygroupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next segments entry
- Throws:
NoSuchEntryException
- if a segments entry with the primary key could not be foundNoSuchEntryException
-
filterFindByG_A
Returns all the segments entries that the user has permission to view where groupId = any ? and active = ?.- Parameters:
groupIds
- the group IDsactive
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDsactive
- the activestart
- the lower bound of the range of segments entriesend
- 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, 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDsactive
- the activestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching segments entries that the user has permission to view
-
findByG_A
Returns all the segments entries where groupId = any ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDsactive
- the active- Returns:
- the matching segments entries
-
findByG_A
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDsactive
- the activestart
- the lower bound of the range of segments entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDsactive
- the activestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered 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, 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDsactive
- the activestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDactive
- 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 IDactive
- 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 IDsactive
- 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 IDactive
- 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 IDsactive
- the active- Returns:
- the number of matching segments entries that the user has permission to view
-
findByG_SRC
Returns all the segments entries where groupId = ? and source = ?.- Parameters:
groupId
- the group IDsource
- the source- Returns:
- the matching segments entries
-
findByG_SRC
Returns a range of all the segments entries where groupId = ? and source = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupId
- the group IDsource
- the sourcestart
- the lower bound of the range of segments entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupId
- the group IDsource
- the sourcestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered 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, 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupId
- the group IDsource
- the sourcestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDsource
- the sourceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
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 IDsource
- the sourceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry, or
null
if a matching segments entry could not be found
-
findByG_SRC_Last
public static SegmentsEntry findByG_SRC_Last(long groupId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the last segments entry in the ordered set where groupId = ? and source = ?.- Parameters:
groupId
- the group IDsource
- the sourceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry
- Throws:
NoSuchEntryException
- if a matching segments entry could not be foundNoSuchEntryException
-
fetchByG_SRC_Last
public static SegmentsEntry fetchByG_SRC_Last(long groupId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the last segments entry in the ordered set where groupId = ? and source = ?.- Parameters:
groupId
- the group IDsource
- the sourceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry, or
null
if a matching segments entry could not be found
-
findByG_SRC_PrevAndNext
public static SegmentsEntry[] findByG_SRC_PrevAndNext(long segmentsEntryId, long groupId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the segments entries before and after the current segments entry in the ordered set where groupId = ? and source = ?.- Parameters:
segmentsEntryId
- the primary key of the current segments entrygroupId
- the group IDsource
- the sourceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next segments entry
- Throws:
NoSuchEntryException
- if a segments entry with the primary key could not be foundNoSuchEntryException
-
filterFindByG_SRC
Returns all the segments entries that the user has permission to view where groupId = ? and source = ?.- Parameters:
groupId
- the group IDsource
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupId
- the group IDsource
- the sourcestart
- the lower bound of the range of segments entriesend
- 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 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupId
- the group IDsource
- the sourcestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching segments entries that the user has permission to view
-
filterFindByG_SRC_PrevAndNext
public static SegmentsEntry[] filterFindByG_SRC_PrevAndNext(long segmentsEntryId, long groupId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the segments entries before and after the current segments entry in the ordered set of segments entries that the user has permission to view where groupId = ? and source = ?.- Parameters:
segmentsEntryId
- the primary key of the current segments entrygroupId
- the group IDsource
- the sourceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next segments entry
- Throws:
NoSuchEntryException
- if a segments entry with the primary key could not be foundNoSuchEntryException
-
filterFindByG_SRC
Returns all the segments entries that the user has permission to view where groupId = any ? and source = ?.- Parameters:
groupIds
- the group IDssource
- the source- Returns:
- the matching segments entries that the user has permission to view
-
filterFindByG_SRC
public static List<SegmentsEntry> filterFindByG_SRC(long[] groupIds, String source, int start, int end) Returns a range of all the segments entries that the user has permission to view where groupId = any ? and source = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDssource
- the sourcestart
- the lower bound of the range of segments entriesend
- 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 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 permission to view where groupId = any ? and source = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDssource
- the sourcestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching segments entries that the user has permission to view
-
findByG_SRC
Returns all the segments entries where groupId = any ? and source = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDssource
- the source- Returns:
- the matching segments entries
-
findByG_SRC
Returns a range of all the segments entries where groupId = any ? and source = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDssource
- the sourcestart
- the lower bound of the range of segments entriesend
- 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 source, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDssource
- the sourcestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching segments entries
-
findByG_SRC
public static List<SegmentsEntry> findByG_SRC(long[] groupIds, 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 = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
groupIds
- the group IDssource
- the sourcestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
removeByG_SRC
Removes all the segments entries where groupId = ? and source = ? from the database.- Parameters:
groupId
- the group IDsource
- the source
-
countByG_SRC
Returns the number of segments entries where groupId = ? and source = ?.- Parameters:
groupId
- the group IDsource
- the source- Returns:
- the number of matching segments entries
-
countByG_SRC
Returns the number of segments entries where groupId = any ? and source = ?.- Parameters:
groupIds
- the group IDssource
- the source- Returns:
- the number of matching segments entries
-
filterCountByG_SRC
Returns the number of segments entries that the user has permission to view where groupId = ? and source = ?.- Parameters:
groupId
- the group IDsource
- the source- Returns:
- the number of matching segments entries that the user has permission to view
-
filterCountByG_SRC
Returns the number of segments entries that the user has permission to view where groupId = any ? and source = ?.- Parameters:
groupIds
- the group IDssource
- the source- Returns:
- the number of matching segments entries that the user has permission to view
-
cacheResult
Caches the segments entry in the entity cache if it is enabled.- Parameters:
segmentsEntry
- the segments entry
-
cacheResult
Caches the segments entries in the entity cache if it is enabled.- Parameters:
segmentsEntries
- the segments entries
-
create
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
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
- Throws:
NoSuchEntryException
- if a segments entry with the primary key could not be foundNoSuchEntryException
-
updateImpl
-
findByPrimaryKey
Returns the segments entry with the primary key or throws aNoSuchEntryException
if it could not be found.- Parameters:
segmentsEntryId
- the primary key of the segments entry- Returns:
- the segments entry
- Throws:
NoSuchEntryException
- if a segments entry with the primary key could not be foundNoSuchEntryException
-
fetchByPrimaryKey
Returns the segments entry with the primary key or returnsnull
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
-
findAll
Returns all the segments entries.- Returns:
- the segments entries
-
findAll
Returns a range of all the segments entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
start
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of segments entries
-
findAll
public static List<SegmentsEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
start
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of segments entries
-
findAll
public static List<SegmentsEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryModelImpl
.- Parameters:
start
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of segments entries
-
removeAll
public static void removeAll()Removes all the segments entries from the database. -
countAll
public static int countAll()Returns the number of segments entries.- Returns:
- the number of segments entries
-
getPersistence
-
setPersistence
-