public class SegmentsEntryUtil
extends java.lang.Object
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
SegmentsEntryPersistence
Constructor and Description |
---|
SegmentsEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<SegmentsEntry> segmentsEntries)
Caches the segments entries in the entity cache if it is enabled.
|
static void |
cacheResult(SegmentsEntry segmentsEntry)
Caches the segments entry in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(SegmentsEntry segmentsEntry) |
static int |
countAll()
Returns the number of segments entries.
|
static int |
countByA_T(boolean active,
java.lang.String type)
Returns the number of segments entries where active = ? and type = ?.
|
static int |
countByG_A_S_T(long[] groupIds,
boolean active,
java.lang.String source,
java.lang.String type)
Returns the number of segments entries where groupId = any ? and active = ? and source = ? and type = ?.
|
static int |
countByG_A_S_T(long groupId,
boolean active,
java.lang.String source,
java.lang.String type)
Returns the number of segments entries where groupId = ? and active = ? and source = ? and type = ?.
|
static int |
countByG_A_T(long[] groupIds,
boolean active,
java.lang.String type)
Returns the number of segments entries where groupId = any ? and active = ? and type = ?.
|
static int |
countByG_A_T(long groupId,
boolean active,
java.lang.String type)
Returns the number of segments entries where groupId = ? and active = ? and type = ?.
|
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,
java.lang.String segmentsEntryKey)
Returns the number of segments entries where groupId = ? and segmentsEntryKey = ?.
|
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(java.lang.String source)
Returns the number of segments entries where source = ?.
|
static int |
countByType(java.lang.String type)
Returns the number of segments entries where type = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of segments entries where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of segments entries where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of segments entries where uuid = ?.
|
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 |
fetchByA_T_First(boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the first segments entry in the ordered set where active = ? and type = ?.
|
static SegmentsEntry |
fetchByA_T_Last(boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the last segments entry in the ordered set where active = ? and type = ?.
|
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_A_S_T_First(long groupId,
boolean active,
java.lang.String source,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the first segments entry in the ordered set where groupId = ? and active = ? and source = ? and type = ?.
|
static SegmentsEntry |
fetchByG_A_S_T_Last(long groupId,
boolean active,
java.lang.String source,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the last segments entry in the ordered set where groupId = ? and active = ? and source = ? and type = ?.
|
static SegmentsEntry |
fetchByG_A_T_First(long groupId,
boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the first segments entry in the ordered set where groupId = ? and active = ? and type = ?.
|
static SegmentsEntry |
fetchByG_A_T_Last(long groupId,
boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the last segments entry in the ordered set where groupId = ? and active = ? and type = ?.
|
static SegmentsEntry |
fetchByG_S(long groupId,
java.lang.String segmentsEntryKey)
Returns the segments entry where groupId = ? and segmentsEntryKey = ? or returns
null if it could not be found. |
static SegmentsEntry |
fetchByG_S(long groupId,
java.lang.String segmentsEntryKey,
boolean useFinderCache)
Returns the segments entry where groupId = ? and segmentsEntryKey = ? or returns
null if it could not be found, optionally using the finder cache. |
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 returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,SegmentsEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static SegmentsEntry |
fetchBySource_First(java.lang.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(java.lang.String source,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the last segments entry in the ordered set where source = ?.
|
static SegmentsEntry |
fetchByType_First(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the first segments entry in the ordered set where type = ?.
|
static SegmentsEntry |
fetchByType_Last(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the last segments entry in the ordered set where type = ?.
|
static SegmentsEntry |
fetchByUuid_C_First(java.lang.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(java.lang.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(java.lang.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(java.lang.String uuid,
long groupId)
Returns the segments entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
static SegmentsEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the segments entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static SegmentsEntry |
fetchByUuid_Last(java.lang.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_S_T(long[] groupIds,
boolean active,
java.lang.String source,
java.lang.String type)
Returns the number of segments entries that the user has permission to view where groupId = any ? and active = ? and source = ? and type = ?.
|
static int |
filterCountByG_A_S_T(long groupId,
boolean active,
java.lang.String source,
java.lang.String type)
Returns the number of segments entries that the user has permission to view where groupId = ? and active = ? and source = ? and type = ?.
|
static int |
filterCountByG_A_T(long[] groupIds,
boolean active,
java.lang.String type)
Returns the number of segments entries that the user has permission to view where groupId = any ? and active = ? and type = ?.
|
static int |
filterCountByG_A_T(long groupId,
boolean active,
java.lang.String type)
Returns the number of segments entries that the user has permission to view where groupId = ? and active = ? and type = ?.
|
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 |
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 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 SegmentsEntry[] |
filterFindByG_A_S_T_PrevAndNext(long segmentsEntryId,
long groupId,
boolean active,
java.lang.String source,
java.lang.String type,
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 = ? and source = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
filterFindByG_A_S_T(long[] groupIds,
boolean active,
java.lang.String source,
java.lang.String type)
Returns all the segments entries that the user has permission to view where groupId = any ? and active = ? and source = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
filterFindByG_A_S_T(long[] groupIds,
boolean active,
java.lang.String source,
java.lang.String type,
int start,
int end)
Returns a range of all the segments entries that the user has permission to view where groupId = any ? and active = ? and source = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
filterFindByG_A_S_T(long[] groupIds,
boolean active,
java.lang.String source,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ? and active = ? and source = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
filterFindByG_A_S_T(long groupId,
boolean active,
java.lang.String source,
java.lang.String type)
Returns all the segments entries that the user has permission to view where groupId = ? and active = ? and source = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
filterFindByG_A_S_T(long groupId,
boolean active,
java.lang.String source,
java.lang.String type,
int start,
int end)
Returns a range of all the segments entries that the user has permission to view where groupId = ? and active = ? and source = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
filterFindByG_A_S_T(long groupId,
boolean active,
java.lang.String source,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ? and active = ? and source = ? and type = ?.
|
static SegmentsEntry[] |
filterFindByG_A_T_PrevAndNext(long segmentsEntryId,
long groupId,
boolean active,
java.lang.String type,
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 = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
filterFindByG_A_T(long[] groupIds,
boolean active,
java.lang.String type)
Returns all the segments entries that the user has permission to view where groupId = any ? and active = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
filterFindByG_A_T(long[] groupIds,
boolean active,
java.lang.String type,
int start,
int end)
Returns a range of all the segments entries that the user has permission to view where groupId = any ? and active = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
filterFindByG_A_T(long[] groupIds,
boolean active,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ? and active = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
filterFindByG_A_T(long groupId,
boolean active,
java.lang.String type)
Returns all the segments entries that the user has permission to view where groupId = ? and active = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
filterFindByG_A_T(long groupId,
boolean active,
java.lang.String type,
int start,
int end)
Returns a range of all the segments entries that the user has permission to view where groupId = ? and active = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
filterFindByG_A_T(long groupId,
boolean active,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ? and active = ? and type = ?.
|
static java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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[] |
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 java.util.List<SegmentsEntry> |
filterFindByGroupId(long groupId)
Returns all the segments entries that the user has permission to view where groupId = ?.
|
static java.util.List<SegmentsEntry> |
filterFindByGroupId(long[] groupIds)
Returns all the segments entries that the user has permission to view where groupId = any ?.
|
static java.util.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 java.util.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 java.util.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 java.util.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 java.util.List<SegmentsEntry> |
findAll()
Returns all the segments entries.
|
static java.util.List<SegmentsEntry> |
findAll(int start,
int end)
Returns a range of all the segments entries.
|
static java.util.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 java.util.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 SegmentsEntry |
findByA_T_First(boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the first segments entry in the ordered set where active = ? and type = ?.
|
static SegmentsEntry |
findByA_T_Last(boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the last segments entry in the ordered set where active = ? and type = ?.
|
static SegmentsEntry[] |
findByA_T_PrevAndNext(long segmentsEntryId,
boolean active,
java.lang.String type,
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 = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByA_T(boolean active,
java.lang.String type)
Returns all the segments entries where active = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByA_T(boolean active,
java.lang.String type,
int start,
int end)
Returns a range of all the segments entries where active = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByA_T(boolean active,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns an ordered range of all the segments entries where active = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByA_T(boolean active,
java.lang.String type,
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 = ? and type = ?.
|
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 |
findByG_A_S_T_First(long groupId,
boolean active,
java.lang.String source,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the first segments entry in the ordered set where groupId = ? and active = ? and source = ? and type = ?.
|
static SegmentsEntry |
findByG_A_S_T_Last(long groupId,
boolean active,
java.lang.String source,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the last segments entry in the ordered set where groupId = ? and active = ? and source = ? and type = ?.
|
static SegmentsEntry[] |
findByG_A_S_T_PrevAndNext(long segmentsEntryId,
long groupId,
boolean active,
java.lang.String source,
java.lang.String type,
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 = ? and source = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByG_A_S_T(long[] groupIds,
boolean active,
java.lang.String source,
java.lang.String type)
Returns all the segments entries where groupId = any ? and active = ? and source = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByG_A_S_T(long[] groupIds,
boolean active,
java.lang.String source,
java.lang.String type,
int start,
int end)
Returns a range of all the segments entries where groupId = any ? and active = ? and source = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByG_A_S_T(long[] groupIds,
boolean active,
java.lang.String source,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns an ordered range of all the segments entries where groupId = any ? and active = ? and source = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByG_A_S_T(long[] groupIds,
boolean active,
java.lang.String source,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the segments entries where groupId = ? and active = ? and source = ? and type = ?, optionally using the finder cache.
|
static java.util.List<SegmentsEntry> |
findByG_A_S_T(long groupId,
boolean active,
java.lang.String source,
java.lang.String type)
Returns all the segments entries where groupId = ? and active = ? and source = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByG_A_S_T(long groupId,
boolean active,
java.lang.String source,
java.lang.String type,
int start,
int end)
Returns a range of all the segments entries where groupId = ? and active = ? and source = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByG_A_S_T(long groupId,
boolean active,
java.lang.String source,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns an ordered range of all the segments entries where groupId = ? and active = ? and source = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByG_A_S_T(long groupId,
boolean active,
java.lang.String source,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the segments entries where groupId = ? and active = ? and source = ? and type = ?.
|
static SegmentsEntry |
findByG_A_T_First(long groupId,
boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the first segments entry in the ordered set where groupId = ? and active = ? and type = ?.
|
static SegmentsEntry |
findByG_A_T_Last(long groupId,
boolean active,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the last segments entry in the ordered set where groupId = ? and active = ? and type = ?.
|
static SegmentsEntry[] |
findByG_A_T_PrevAndNext(long segmentsEntryId,
long groupId,
boolean active,
java.lang.String type,
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 = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByG_A_T(long[] groupIds,
boolean active,
java.lang.String type)
Returns all the segments entries where groupId = any ? and active = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByG_A_T(long[] groupIds,
boolean active,
java.lang.String type,
int start,
int end)
Returns a range of all the segments entries where groupId = any ? and active = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByG_A_T(long[] groupIds,
boolean active,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns an ordered range of all the segments entries where groupId = any ? and active = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByG_A_T(long[] groupIds,
boolean active,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the segments entries where groupId = ? and active = ? and type = ?, optionally using the finder cache.
|
static java.util.List<SegmentsEntry> |
findByG_A_T(long groupId,
boolean active,
java.lang.String type)
Returns all the segments entries where groupId = ? and active = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByG_A_T(long groupId,
boolean active,
java.lang.String type,
int start,
int end)
Returns a range of all the segments entries where groupId = ? and active = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByG_A_T(long groupId,
boolean active,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns an ordered range of all the segments entries where groupId = ? and active = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByG_A_T(long groupId,
boolean active,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the segments entries where groupId = ? and active = ? and type = ?.
|
static java.util.List<SegmentsEntry> |
findByG_A(long[] groupIds,
boolean active)
Returns all the segments entries where groupId = any ? and active = ?.
|
static java.util.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 java.util.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 java.util.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 java.util.List<SegmentsEntry> |
findByG_A(long groupId,
boolean active)
Returns all the segments entries where groupId = ? and active = ?.
|
static java.util.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 java.util.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 java.util.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_S(long groupId,
java.lang.String segmentsEntryKey)
Returns the segments entry where groupId = ? and segmentsEntryKey = ? or throws a
NoSuchEntryException if it could not be found. |
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 java.util.List<SegmentsEntry> |
findByGroupId(long groupId)
Returns all the segments entries where groupId = ?.
|
static java.util.List<SegmentsEntry> |
findByGroupId(long[] groupIds)
Returns all the segments entries where groupId = any ?.
|
static java.util.List<SegmentsEntry> |
findByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the segments entries where groupId = any ?.
|
static java.util.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 java.util.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 java.util.List<SegmentsEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the segments entries where groupId = ?.
|
static java.util.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 java.util.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 |
findByPrimaryKey(long segmentsEntryId)
Returns the segments entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
static SegmentsEntry |
findBySource_First(java.lang.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(java.lang.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,
java.lang.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 java.util.List<SegmentsEntry> |
findBySource(java.lang.String source)
Returns all the segments entries where source = ?.
|
static java.util.List<SegmentsEntry> |
findBySource(java.lang.String source,
int start,
int end)
Returns a range of all the segments entries where source = ?.
|
static java.util.List<SegmentsEntry> |
findBySource(java.lang.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 java.util.List<SegmentsEntry> |
findBySource(java.lang.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 |
findByType_First(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the first segments entry in the ordered set where type = ?.
|
static SegmentsEntry |
findByType_Last(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the last segments entry in the ordered set where type = ?.
|
static SegmentsEntry[] |
findByType_PrevAndNext(long segmentsEntryId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns the segments entries before and after the current segments entry in the ordered set where type = ?.
|
static java.util.List<SegmentsEntry> |
findByType(java.lang.String type)
Returns all the segments entries where type = ?.
|
static java.util.List<SegmentsEntry> |
findByType(java.lang.String type,
int start,
int end)
Returns a range of all the segments entries where type = ?.
|
static java.util.List<SegmentsEntry> |
findByType(java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Returns an ordered range of all the segments entries where type = ?.
|
static java.util.List<SegmentsEntry> |
findByType(java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the segments entries where type = ?.
|
static SegmentsEntry |
findByUuid_C_First(java.lang.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(java.lang.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,
java.lang.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 java.util.List<SegmentsEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the segments entries where uuid = ? and companyId = ?.
|
static java.util.List<SegmentsEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the segments entries where uuid = ? and companyId = ?.
|
static java.util.List<SegmentsEntry> |
findByUuid_C(java.lang.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 java.util.List<SegmentsEntry> |
findByUuid_C(java.lang.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_First(java.lang.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(java.lang.String uuid,
long groupId)
Returns the segments entry where uuid = ? and groupId = ? or throws a
NoSuchEntryException if it could not be found. |
static SegmentsEntry |
findByUuid_Last(java.lang.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,
java.lang.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 java.util.List<SegmentsEntry> |
findByUuid(java.lang.String uuid)
Returns all the segments entries where uuid = ?.
|
static java.util.List<SegmentsEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the segments entries where uuid = ?.
|
static java.util.List<SegmentsEntry> |
findByUuid(java.lang.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 java.util.List<SegmentsEntry> |
findByUuid(java.lang.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 java.util.List<SegmentsEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<SegmentsEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.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 |
getPersistence() |
static SegmentsEntry |
remove(long segmentsEntryId)
Removes the segments entry with the primary key from the database.
|
static void |
removeAll()
Removes all the segments entries from the database.
|
static void |
removeByA_T(boolean active,
java.lang.String type)
Removes all the segments entries where active = ? and type = ? from the database.
|
static void |
removeByG_A_S_T(long groupId,
boolean active,
java.lang.String source,
java.lang.String type)
Removes all the segments entries where groupId = ? and active = ? and source = ? and type = ? from the database.
|
static void |
removeByG_A_T(long groupId,
boolean active,
java.lang.String type)
Removes all the segments entries where groupId = ? and active = ? and type = ? 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,
java.lang.String segmentsEntryKey)
Removes the segments entry where groupId = ? and segmentsEntryKey = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the segments entries where groupId = ? from the database.
|
static void |
removeBySource(java.lang.String source)
Removes all the segments entries where source = ? from the database.
|
static void |
removeByType(java.lang.String type)
Removes all the segments entries where type = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the segments entries where uuid = ? and companyId = ? from the database.
|
static SegmentsEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the segments entry where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the segments entries where uuid = ? from the database.
|
static SegmentsEntry |
update(SegmentsEntry segmentsEntry) |
static SegmentsEntry |
update(SegmentsEntry segmentsEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static SegmentsEntry |
updateImpl(SegmentsEntry segmentsEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(SegmentsEntry segmentsEntry)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,SegmentsEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<SegmentsEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<SegmentsEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<SegmentsEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static SegmentsEntry update(SegmentsEntry segmentsEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static SegmentsEntry update(SegmentsEntry segmentsEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<SegmentsEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<SegmentsEntry> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<SegmentsEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SegmentsEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry[] findByUuid_PrevAndNext(long segmentsEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
segmentsEntryId
- the primary key of the current segments entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a segments entry with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static SegmentsEntry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching segments entry could not be foundpublic static SegmentsEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching segments entry could not be foundpublic static SegmentsEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryException
uuid
- the uuidgroupId
- the group IDNoSuchEntryException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<SegmentsEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SegmentsEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<SegmentsEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<SegmentsEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SegmentsEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry[] findByUuid_C_PrevAndNext(long segmentsEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
segmentsEntryId
- the primary key of the current segments entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a segments entry with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SegmentsEntry> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<SegmentsEntry> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<SegmentsEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SegmentsEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry[] findByGroupId_PrevAndNext(long segmentsEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
segmentsEntryId
- the primary key of the current segments entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a segments entry with the primary key could not be foundpublic static java.util.List<SegmentsEntry> filterFindByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<SegmentsEntry> filterFindByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static SegmentsEntry[] filterFindByGroupId_PrevAndNext(long segmentsEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
segmentsEntryId
- the primary key of the current segments entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a segments entry with the primary key could not be foundpublic static java.util.List<SegmentsEntry> filterFindByGroupId(long[] groupIds)
groupIds
- the group IDspublic static java.util.List<SegmentsEntry> filterFindByGroupId(long[] groupIds, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<SegmentsEntry> findByGroupId(long[] groupIds)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDspublic static java.util.List<SegmentsEntry> findByGroupId(long[] groupIds, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsstart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<SegmentsEntry> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long[] groupIds)
groupIds
- the group IDspublic static int filterCountByGroupId(long groupId)
groupId
- the group IDpublic static int filterCountByGroupId(long[] groupIds)
groupIds
- the group IDspublic static java.util.List<SegmentsEntry> findBySource(java.lang.String source)
source
- the sourcepublic static java.util.List<SegmentsEntry> findBySource(java.lang.String source, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
source
- the sourcestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> findBySource(java.lang.String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<SegmentsEntry> findBySource(java.lang.String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SegmentsEntry findBySource_First(java.lang.String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
source
- the sourceorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchBySource_First(java.lang.String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
source
- the sourceorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry findBySource_Last(java.lang.String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
source
- the sourceorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchBySource_Last(java.lang.String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
source
- the sourceorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry[] findBySource_PrevAndNext(long segmentsEntryId, java.lang.String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
segmentsEntryId
- the primary key of the current segments entrysource
- the sourceorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a segments entry with the primary key could not be foundpublic static void removeBySource(java.lang.String source)
source
- the sourcepublic static int countBySource(java.lang.String source)
source
- the sourcepublic static java.util.List<SegmentsEntry> findByType(java.lang.String type)
type
- the typepublic static java.util.List<SegmentsEntry> findByType(java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
type
- the typestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> findByType(java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
type
- the typestart
- 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 (optionally null
)public static java.util.List<SegmentsEntry> findByType(java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
type
- the typestart
- 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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SegmentsEntry findByType_First(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByType_First(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry findByType_Last(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByType_Last(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry[] findByType_PrevAndNext(long segmentsEntryId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
segmentsEntryId
- the primary key of the current segments entrytype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a segments entry with the primary key could not be foundpublic static void removeByType(java.lang.String type)
type
- the typepublic static int countByType(java.lang.String type)
type
- the typepublic static SegmentsEntry findByG_S(long groupId, java.lang.String segmentsEntryKey) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.groupId
- the group IDsegmentsEntryKey
- the segments entry keyNoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByG_S(long groupId, java.lang.String segmentsEntryKey)
null
if it could not be found. Uses the finder cache.groupId
- the group IDsegmentsEntryKey
- the segments entry keynull
if a matching segments entry could not be foundpublic static SegmentsEntry fetchByG_S(long groupId, java.lang.String segmentsEntryKey, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDsegmentsEntryKey
- the segments entry keyuseFinderCache
- whether to use the finder cachenull
if a matching segments entry could not be foundpublic static SegmentsEntry removeByG_S(long groupId, java.lang.String segmentsEntryKey) throws NoSuchEntryException
groupId
- the group IDsegmentsEntryKey
- the segments entry keyNoSuchEntryException
public static int countByG_S(long groupId, java.lang.String segmentsEntryKey)
groupId
- the group IDsegmentsEntryKey
- the segments entry keypublic static java.util.List<SegmentsEntry> findByG_A(long groupId, boolean active)
groupId
- the group IDactive
- the activepublic static java.util.List<SegmentsEntry> findByG_A(long groupId, boolean active, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<SegmentsEntry> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<SegmentsEntry> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SegmentsEntry findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry findByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry[] findByG_A_PrevAndNext(long segmentsEntryId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
segmentsEntryId
- the primary key of the current segments entrygroupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a segments entry with the primary key could not be foundpublic static java.util.List<SegmentsEntry> filterFindByG_A(long groupId, boolean active)
groupId
- the group IDactive
- the activepublic static java.util.List<SegmentsEntry> filterFindByG_A(long groupId, boolean active, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<SegmentsEntry> filterFindByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static SegmentsEntry[] filterFindByG_A_PrevAndNext(long segmentsEntryId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
segmentsEntryId
- the primary key of the current segments entrygroupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a segments entry with the primary key could not be foundpublic static java.util.List<SegmentsEntry> filterFindByG_A(long[] groupIds, boolean active)
groupIds
- the group IDsactive
- the activepublic static java.util.List<SegmentsEntry> filterFindByG_A(long[] groupIds, boolean active, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<SegmentsEntry> filterFindByG_A(long[] groupIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<SegmentsEntry> findByG_A(long[] groupIds, boolean active)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsactive
- the activepublic static java.util.List<SegmentsEntry> findByG_A(long[] groupIds, boolean active, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<SegmentsEntry> findByG_A(long[] groupIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<SegmentsEntry> findByG_A(long[] groupIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_A(long groupId, boolean active)
groupId
- the group IDactive
- the activepublic static int countByG_A(long groupId, boolean active)
groupId
- the group IDactive
- the activepublic static int countByG_A(long[] groupIds, boolean active)
groupIds
- the group IDsactive
- the activepublic static int filterCountByG_A(long groupId, boolean active)
groupId
- the group IDactive
- the activepublic static int filterCountByG_A(long[] groupIds, boolean active)
groupIds
- the group IDsactive
- the activepublic static java.util.List<SegmentsEntry> findByA_T(boolean active, java.lang.String type)
active
- the activetype
- the typepublic static java.util.List<SegmentsEntry> findByA_T(boolean active, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
active
- the activetype
- the typestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> findByA_T(boolean active, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
active
- the activetype
- the typestart
- 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 (optionally null
)public static java.util.List<SegmentsEntry> findByA_T(boolean active, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
active
- the activetype
- the typestart
- 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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SegmentsEntry findByA_T_First(boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
active
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByA_T_First(boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
active
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry findByA_T_Last(boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
active
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByA_T_Last(boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
active
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry[] findByA_T_PrevAndNext(long segmentsEntryId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
segmentsEntryId
- the primary key of the current segments entryactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a segments entry with the primary key could not be foundpublic static void removeByA_T(boolean active, java.lang.String type)
active
- the activetype
- the typepublic static int countByA_T(boolean active, java.lang.String type)
active
- the activetype
- the typepublic static java.util.List<SegmentsEntry> findByG_A_T(long groupId, boolean active, java.lang.String type)
groupId
- the group IDactive
- the activetype
- the typepublic static java.util.List<SegmentsEntry> findByG_A_T(long groupId, boolean active, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDactive
- the activetype
- the typestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> findByG_A_T(long groupId, boolean active, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDactive
- the activetype
- the typestart
- 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 (optionally null
)public static java.util.List<SegmentsEntry> findByG_A_T(long groupId, boolean active, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDactive
- the activetype
- the typestart
- 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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SegmentsEntry findByG_A_T_First(long groupId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByG_A_T_First(long groupId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
groupId
- the group IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry findByG_A_T_Last(long groupId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByG_A_T_Last(long groupId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
groupId
- the group IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry[] findByG_A_T_PrevAndNext(long segmentsEntryId, long groupId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
segmentsEntryId
- the primary key of the current segments entrygroupId
- the group IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a segments entry with the primary key could not be foundpublic static java.util.List<SegmentsEntry> filterFindByG_A_T(long groupId, boolean active, java.lang.String type)
groupId
- the group IDactive
- the activetype
- the typepublic static java.util.List<SegmentsEntry> filterFindByG_A_T(long groupId, boolean active, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDactive
- the activetype
- the typestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> filterFindByG_A_T(long groupId, boolean active, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDactive
- the activetype
- the typestart
- 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 (optionally null
)public static SegmentsEntry[] filterFindByG_A_T_PrevAndNext(long segmentsEntryId, long groupId, boolean active, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
segmentsEntryId
- the primary key of the current segments entrygroupId
- the group IDactive
- the activetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a segments entry with the primary key could not be foundpublic static java.util.List<SegmentsEntry> filterFindByG_A_T(long[] groupIds, boolean active, java.lang.String type)
groupIds
- the group IDsactive
- the activetype
- the typepublic static java.util.List<SegmentsEntry> filterFindByG_A_T(long[] groupIds, boolean active, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsactive
- the activetype
- the typestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> filterFindByG_A_T(long[] groupIds, boolean active, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsactive
- the activetype
- the typestart
- 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 (optionally null
)public static java.util.List<SegmentsEntry> findByG_A_T(long[] groupIds, boolean active, java.lang.String type)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsactive
- the activetype
- the typepublic static java.util.List<SegmentsEntry> findByG_A_T(long[] groupIds, boolean active, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsactive
- the activetype
- the typestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> findByG_A_T(long[] groupIds, boolean active, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsactive
- the activetype
- the typestart
- 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 (optionally null
)public static java.util.List<SegmentsEntry> findByG_A_T(long[] groupIds, boolean active, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDactive
- the activetype
- the typestart
- 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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_A_T(long groupId, boolean active, java.lang.String type)
groupId
- the group IDactive
- the activetype
- the typepublic static int countByG_A_T(long groupId, boolean active, java.lang.String type)
groupId
- the group IDactive
- the activetype
- the typepublic static int countByG_A_T(long[] groupIds, boolean active, java.lang.String type)
groupIds
- the group IDsactive
- the activetype
- the typepublic static int filterCountByG_A_T(long groupId, boolean active, java.lang.String type)
groupId
- the group IDactive
- the activetype
- the typepublic static int filterCountByG_A_T(long[] groupIds, boolean active, java.lang.String type)
groupIds
- the group IDsactive
- the activetype
- the typepublic static java.util.List<SegmentsEntry> findByG_A_S_T(long groupId, boolean active, java.lang.String source, java.lang.String type)
groupId
- the group IDactive
- the activesource
- the sourcetype
- the typepublic static java.util.List<SegmentsEntry> findByG_A_S_T(long groupId, boolean active, java.lang.String source, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDactive
- the activesource
- the sourcetype
- the typestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> findByG_A_S_T(long groupId, boolean active, java.lang.String source, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDactive
- the activesource
- the sourcetype
- the typestart
- 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 (optionally null
)public static java.util.List<SegmentsEntry> findByG_A_S_T(long groupId, boolean active, java.lang.String source, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDactive
- the activesource
- the sourcetype
- the typestart
- 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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SegmentsEntry findByG_A_S_T_First(long groupId, boolean active, java.lang.String source, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDactive
- the activesource
- the sourcetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByG_A_S_T_First(long groupId, boolean active, java.lang.String source, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
groupId
- the group IDactive
- the activesource
- the sourcetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry findByG_A_S_T_Last(long groupId, boolean active, java.lang.String source, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDactive
- the activesource
- the sourcetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching segments entry could not be foundpublic static SegmentsEntry fetchByG_A_S_T_Last(long groupId, boolean active, java.lang.String source, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
groupId
- the group IDactive
- the activesource
- the sourcetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry could not be foundpublic static SegmentsEntry[] findByG_A_S_T_PrevAndNext(long segmentsEntryId, long groupId, boolean active, java.lang.String source, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
segmentsEntryId
- the primary key of the current segments entrygroupId
- the group IDactive
- the activesource
- the sourcetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a segments entry with the primary key could not be foundpublic static java.util.List<SegmentsEntry> filterFindByG_A_S_T(long groupId, boolean active, java.lang.String source, java.lang.String type)
groupId
- the group IDactive
- the activesource
- the sourcetype
- the typepublic static java.util.List<SegmentsEntry> filterFindByG_A_S_T(long groupId, boolean active, java.lang.String source, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDactive
- the activesource
- the sourcetype
- the typestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> filterFindByG_A_S_T(long groupId, boolean active, java.lang.String source, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDactive
- the activesource
- the sourcetype
- the typestart
- 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 (optionally null
)public static SegmentsEntry[] filterFindByG_A_S_T_PrevAndNext(long segmentsEntryId, long groupId, boolean active, java.lang.String source, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException
segmentsEntryId
- the primary key of the current segments entrygroupId
- the group IDactive
- the activesource
- the sourcetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a segments entry with the primary key could not be foundpublic static java.util.List<SegmentsEntry> filterFindByG_A_S_T(long[] groupIds, boolean active, java.lang.String source, java.lang.String type)
groupIds
- the group IDsactive
- the activesource
- the sourcetype
- the typepublic static java.util.List<SegmentsEntry> filterFindByG_A_S_T(long[] groupIds, boolean active, java.lang.String source, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsactive
- the activesource
- the sourcetype
- the typestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> filterFindByG_A_S_T(long[] groupIds, boolean active, java.lang.String source, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsactive
- the activesource
- the sourcetype
- the typestart
- 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 (optionally null
)public static java.util.List<SegmentsEntry> findByG_A_S_T(long[] groupIds, boolean active, java.lang.String source, java.lang.String type)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsactive
- the activesource
- the sourcetype
- the typepublic static java.util.List<SegmentsEntry> findByG_A_S_T(long[] groupIds, boolean active, java.lang.String source, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsactive
- the activesource
- the sourcetype
- the typestart
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> findByG_A_S_T(long[] groupIds, boolean active, java.lang.String source, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsactive
- the activesource
- the sourcetype
- the typestart
- 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 (optionally null
)public static java.util.List<SegmentsEntry> findByG_A_S_T(long[] groupIds, boolean active, java.lang.String source, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDactive
- the activesource
- the sourcetype
- the typestart
- 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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_A_S_T(long groupId, boolean active, java.lang.String source, java.lang.String type)
groupId
- the group IDactive
- the activesource
- the sourcetype
- the typepublic static int countByG_A_S_T(long groupId, boolean active, java.lang.String source, java.lang.String type)
groupId
- the group IDactive
- the activesource
- the sourcetype
- the typepublic static int countByG_A_S_T(long[] groupIds, boolean active, java.lang.String source, java.lang.String type)
groupIds
- the group IDsactive
- the activesource
- the sourcetype
- the typepublic static int filterCountByG_A_S_T(long groupId, boolean active, java.lang.String source, java.lang.String type)
groupId
- the group IDactive
- the activesource
- the sourcetype
- the typepublic static int filterCountByG_A_S_T(long[] groupIds, boolean active, java.lang.String source, java.lang.String type)
groupIds
- the group IDsactive
- the activesource
- the sourcetype
- the typepublic static void cacheResult(SegmentsEntry segmentsEntry)
segmentsEntry
- the segments entrypublic static void cacheResult(java.util.List<SegmentsEntry> segmentsEntries)
segmentsEntries
- the segments entriespublic static SegmentsEntry create(long segmentsEntryId)
segmentsEntryId
- the primary key for the new segments entrypublic static SegmentsEntry remove(long segmentsEntryId) throws NoSuchEntryException
segmentsEntryId
- the primary key of the segments entryNoSuchEntryException
- if a segments entry with the primary key could not be foundpublic static SegmentsEntry updateImpl(SegmentsEntry segmentsEntry)
public static SegmentsEntry findByPrimaryKey(long segmentsEntryId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.segmentsEntryId
- the primary key of the segments entryNoSuchEntryException
- if a segments entry with the primary key could not be foundpublic static SegmentsEntry fetchByPrimaryKey(long segmentsEntryId)
null
if it could not be found.segmentsEntryId
- the primary key of the segments entrynull
if a segments entry with the primary key could not be foundpublic static java.util.List<SegmentsEntry> findAll()
public static java.util.List<SegmentsEntry> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of segments entriesend
- the upper bound of the range of segments entries (not inclusive)public static java.util.List<SegmentsEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<SegmentsEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SegmentsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static SegmentsEntryPersistence getPersistence()