Interface SegmentsEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SegmentsEntry>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(SegmentsEntry segmentsEntry) Caches the segments entry in the entity cache if it is enabled.voidcacheResult(List<SegmentsEntry> segmentsEntries) Caches the segments entries in the entity cache if it is enabled.intcountAll()Returns the number of segments entries.intcountByActive(boolean active) Returns the number of segments entries where active = ?.intcountByERC_G(String externalReferenceCode, long groupId) Returns the number of segments entries where externalReferenceCode = ? and groupId = ?.intcountByG_A(long[] groupIds, boolean active) Returns the number of segments entries where groupId = any ? and active = ?.intcountByG_A(long groupId, boolean active) Returns the number of segments entries where groupId = ? and active = ?.intcountByG_A_SRC(long[] groupIds, boolean active, String[] sources) Returns the number of segments entries where groupId = any ? and active = ? and source = any ?.intcountByG_A_SRC(long groupId, boolean active, String source) Returns the number of segments entries where groupId = ? and active = ? and source = ?.intcountByG_S(long groupId, String segmentsEntryKey) Returns the number of segments entries where groupId = ? and segmentsEntryKey = ?.intcountByG_SRC(long[] groupIds, String source) Returns the number of segments entries where groupId = any ? and source = ?.intcountByG_SRC(long groupId, String source) Returns the number of segments entries where groupId = ? and source = ?.intcountByGroupId(long groupId) Returns the number of segments entries where groupId = ?.intcountByGroupId(long[] groupIds) Returns the number of segments entries where groupId = any ?.intcountBySegmentsEntryId(long segmentsEntryId) Returns the number of segments entries where segmentsEntryId = ?.intcountBySegmentsEntryId(long[] segmentsEntryIds) Returns the number of segments entries where segmentsEntryId = any ?.intcountBySource(String source) Returns the number of segments entries where source = ?.intcountByUuid(String uuid) Returns the number of segments entries where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of segments entries where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of segments entries where uuid = ? and groupId = ?.create(long segmentsEntryId) Creates a new segments entry with the primary key.fetchByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where active = ?.fetchByERC_G(String externalReferenceCode, long groupId) Returns the segments entry where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found.fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the segments entry where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where groupId = ? and active = ?.fetchByG_A_SRC_First(long groupId, boolean active, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where groupId = ? and active = ? and source = ?.fetchByG_S(long groupId, String segmentsEntryKey) Returns the segments entry where groupId = ? and segmentsEntryKey = ? or returnsnullif it could not be found.fetchByG_S(long groupId, String segmentsEntryKey, boolean useFinderCache) Returns the segments entry where groupId = ? and segmentsEntryKey = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByG_SRC_First(long groupId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where groupId = ? and source = ?.fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where groupId = ?.fetchByPrimaryKey(long segmentsEntryId) Returns the segments entry with the primary key or returnsnullif it could not be found.fetchBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where segmentsEntryId = ?.fetchBySource_First(String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where source = ?.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where uuid = ?.fetchByUUID_G(String uuid, long groupId) Returns the segments entry where uuid = ? and groupId = ? or returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the segments entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.intfilterCountByG_A(long[] groupIds, boolean active) Returns the number of segments entries that the user has permission to view where groupId = any ? and active = ?.intfilterCountByG_A(long groupId, boolean active) Returns the number of segments entries that the user has permission to view where groupId = ? and active = ?.intfilterCountByG_A_SRC(long[] groupIds, boolean active, String[] sources) Returns the number of segments entries that the user has permission to view where groupId = any ? and active = ? and source = any ?.intfilterCountByG_A_SRC(long groupId, boolean active, String source) Returns the number of segments entries that the user has permission to view where groupId = ? and active = ? and source = ?.intfilterCountByG_SRC(long[] groupIds, String source) Returns the number of segments entries that the user has permission to view where groupId = any ? and source = ?.intfilterCountByG_SRC(long groupId, String source) Returns the number of segments entries that the user has permission to view where groupId = ? and source = ?.intfilterCountByGroupId(long groupId) Returns the number of segments entries that the user has permission to view where groupId = ?.intfilterCountByGroupId(long[] groupIds) Returns the number of segments entries that the user has permission to view where groupId = any ?.filterFindByG_A(long[] groupIds, boolean active) Returns all the segments entries that the user has permission to view where groupId = any ? and active = ?.filterFindByG_A(long[] groupIds, boolean active, int start, int end) Returns a range of all the segments entries that the user has permission to view where groupId = any ? and active = ?.filterFindByG_A(long[] groupIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ? and active = ?.filterFindByG_A(long groupId, boolean active) Returns all the segments entries that the user has permission to view where groupId = ? and active = ?.filterFindByG_A(long groupId, boolean active, int start, int end) Returns a range of all the segments entries that the user has permission to view where groupId = ? and active = ?.filterFindByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ? and active = ?.filterFindByG_A_SRC(long[] groupIds, boolean active, String[] sources) Returns all the segments entries that the user has permission to view where groupId = any ? and active = ? and source = any ?.filterFindByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end) Returns a range of all the segments entries that the user has permission to view where groupId = any ? and active = ? and source = any ?.filterFindByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ? and active = ? and source = any ?.filterFindByG_A_SRC(long groupId, boolean active, String source) Returns all the segments entries that the user has permission to view where groupId = ? and active = ? and source = ?.filterFindByG_A_SRC(long groupId, boolean active, String source, int start, int end) Returns a range of all the segments entries that the user has permission to view where groupId = ? and active = ? and source = ?.filterFindByG_A_SRC(long groupId, boolean active, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ? and active = ? and source = ?.filterFindByG_SRC(long[] groupIds, String source) Returns all the segments entries that the user has permission to view where groupId = any ? and source = ?.filterFindByG_SRC(long[] groupIds, String source, int start, int end) Returns a range of all the segments entries that the user has permission to view where groupId = any ? and source = ?.filterFindByG_SRC(long[] groupIds, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ? and source = ?.filterFindByG_SRC(long groupId, String source) Returns all the segments entries that the user has permission to view where groupId = ? and source = ?.filterFindByG_SRC(long groupId, String source, int start, int end) Returns a range of all the segments entries that the user has permission to view where groupId = ? and source = ?.filterFindByG_SRC(long groupId, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ? and source = ?.filterFindByGroupId(long groupId) Returns all the segments entries that the user has permission to view where groupId = ?.filterFindByGroupId(long[] groupIds) Returns all the segments entries that the user has permission to view where groupId = any ?.filterFindByGroupId(long[] groupIds, int start, int end) Returns a range of all the segments entries that the user has permission to view where groupId = any ?.filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ?.filterFindByGroupId(long groupId, int start, int end) Returns a range of all the segments entries that the user has permission to view where groupId = ?.filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ?.findAll()Returns all the segments entries.findAll(int start, int end) Returns a range of all the segments entries.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries.findByActive(boolean active) Returns all the segments entries where active = ?.findByActive(boolean active, int start, int end) Returns a range of all the segments entries where active = ?.findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where active = ?.findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where active = ?.findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where active = ?.findByERC_G(String externalReferenceCode, long groupId) Returns the segments entry where externalReferenceCode = ? and groupId = ? or throws aNoSuchEntryExceptionif it could not be found.findByG_A(long[] groupIds, boolean active) Returns all the segments entries where groupId = any ? and active = ?.findByG_A(long[] groupIds, boolean active, int start, int end) Returns a range of all the segments entries where groupId = any ? and active = ?.findByG_A(long[] groupIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where groupId = any ? and active = ?.findByG_A(long[] groupIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where groupId = ? and active = ?, optionally using the finder cache.findByG_A(long groupId, boolean active) Returns all the segments entries where groupId = ? and active = ?.findByG_A(long groupId, boolean active, int start, int end) Returns a range of all the segments entries where groupId = ? and active = ?.findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where groupId = ? and active = ?.findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where groupId = ? and active = ?.findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where groupId = ? and active = ?.findByG_A_SRC(long[] groupIds, boolean active, String[] sources) Returns all the segments entries where groupId = any ? and active = ? and source = any ?.findByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end) Returns a range of all the segments entries where groupId = any ? and active = ? and source = any ?.findByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where groupId = any ? and active = ? and source = any ?.findByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where groupId = ? and active = ? and source = ?, optionally using the finder cache.findByG_A_SRC(long groupId, boolean active, String source) Returns all the segments entries where groupId = ? and active = ? and source = ?.findByG_A_SRC(long groupId, boolean active, String source, int start, int end) Returns a range of all the segments entries where groupId = ? and active = ? and source = ?.findByG_A_SRC(long groupId, boolean active, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where groupId = ? and active = ? and source = ?.findByG_A_SRC(long groupId, boolean active, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where groupId = ? and active = ? and source = ?.findByG_A_SRC_First(long groupId, boolean active, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where groupId = ? and active = ? and source = ?.Returns the segments entry where groupId = ? and segmentsEntryKey = ? or throws aNoSuchEntryExceptionif it could not be found.findByG_SRC(long[] groupIds, String source) Returns all the segments entries where groupId = any ? and source = ?.findByG_SRC(long[] groupIds, String source, int start, int end) Returns a range of all the segments entries where groupId = any ? and source = ?.findByG_SRC(long[] groupIds, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where groupId = any ? and source = ?.findByG_SRC(long[] groupIds, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where groupId = ? and source = ?, optionally using the finder cache.findByG_SRC(long groupId, String source) Returns all the segments entries where groupId = ? and source = ?.findByG_SRC(long groupId, String source, int start, int end) Returns a range of all the segments entries where groupId = ? and source = ?.findByG_SRC(long groupId, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where groupId = ? and source = ?.findByG_SRC(long groupId, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where groupId = ? and source = ?.findByG_SRC_First(long groupId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where groupId = ? and source = ?.findByGroupId(long groupId) Returns all the segments entries where groupId = ?.findByGroupId(long[] groupIds) Returns all the segments entries where groupId = any ?.findByGroupId(long[] groupIds, int start, int end) Returns a range of all the segments entries where groupId = any ?.findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where groupId = any ?.findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where groupId = ?, optionally using the finder cache.findByGroupId(long groupId, int start, int end) Returns a range of all the segments entries where groupId = ?.findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where groupId = ?.findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where groupId = ?.findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where groupId = ?.findByPrimaryKey(long segmentsEntryId) Returns the segments entry with the primary key or throws aNoSuchEntryExceptionif it could not be found.findBySegmentsEntryId(long segmentsEntryId) Returns all the segments entries where segmentsEntryId = ?.findBySegmentsEntryId(long[] segmentsEntryIds) Returns all the segments entries where segmentsEntryId = any ?.findBySegmentsEntryId(long[] segmentsEntryIds, int start, int end) Returns a range of all the segments entries where segmentsEntryId = any ?.findBySegmentsEntryId(long[] segmentsEntryIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where segmentsEntryId = any ?.findBySegmentsEntryId(long[] segmentsEntryIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where segmentsEntryId = ?, optionally using the finder cache.findBySegmentsEntryId(long segmentsEntryId, int start, int end) Returns a range of all the segments entries where segmentsEntryId = ?.findBySegmentsEntryId(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where segmentsEntryId = ?.findBySegmentsEntryId(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where segmentsEntryId = ?.findBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where segmentsEntryId = ?.findBySource(String source) Returns all the segments entries where source = ?.findBySource(String source, int start, int end) Returns a range of all the segments entries where source = ?.findBySource(String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where source = ?.findBySource(String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where source = ?.findBySource_First(String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where source = ?.findByUuid(String uuid) Returns all the segments entries where uuid = ?.findByUuid(String uuid, int start, int end) Returns a range of all the segments entries where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where uuid = ?.findByUuid_C(String uuid, long companyId) Returns all the segments entries where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the segments entries where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where uuid = ?.findByUUID_G(String uuid, long groupId) Returns the segments entry where uuid = ? and groupId = ? or throws aNoSuchEntryExceptionif it could not be found.remove(long segmentsEntryId) Removes the segments entry with the primary key from the database.voidRemoves all the segments entries from the database.voidremoveByActive(boolean active) Removes all the segments entries where active = ? from the database.removeByERC_G(String externalReferenceCode, long groupId) Removes the segments entry where externalReferenceCode = ? and groupId = ? from the database.voidremoveByG_A(long groupId, boolean active) Removes all the segments entries where groupId = ? and active = ? from the database.voidremoveByG_A_SRC(long groupId, boolean active, String source) Removes all the segments entries where groupId = ? and active = ? and source = ? from the database.removeByG_S(long groupId, String segmentsEntryKey) Removes the segments entry where groupId = ? and segmentsEntryKey = ? from the database.voidremoveByG_SRC(long groupId, String source) Removes all the segments entries where groupId = ? and source = ? from the database.voidremoveByGroupId(long groupId) Removes all the segments entries where groupId = ? from the database.voidremoveBySegmentsEntryId(long segmentsEntryId) Removes all the segments entries where segmentsEntryId = ? from the database.voidremoveBySource(String source) Removes all the segments entries where source = ? from the database.voidremoveByUuid(String uuid) Removes all the segments entries where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the segments entries where uuid = ? and companyId = ? from the database.removeByUUID_G(String uuid, long groupId) Removes the segments entry where uuid = ? and groupId = ? from the database.updateImpl(SegmentsEntry segmentsEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the segments entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching segments entries
-
findByUuid
Returns a range of all the segments entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries
-
findByUuid
List<SegmentsEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries
-
findByUuid
List<SegmentsEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
findByUuid_First
SegmentsEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the first segments entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException- if a matching segments entry could not be found
-
fetchByUuid_First
SegmentsEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry, or
nullif a matching segments entry could not be found
-
removeByUuid
Removes all the segments entries where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of segments entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching segments entries
-
findByUUID_G
Returns the segments entry where uuid = ? and groupId = ? or throws aNoSuchEntryExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching segments entry
- Throws:
NoSuchEntryException- if a matching segments entry could not be found
-
fetchByUUID_G
Returns the segments entry where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching segments entry, or
nullif a matching segments entry could not be found
-
fetchByUUID_G
Returns the segments entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching segments entry, or
nullif a matching segments entry could not be found
-
removeByUUID_G
Removes the segments entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the segments entry that was removed
- Throws:
NoSuchEntryException
-
countByUUID_G
Returns the number of segments entries where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching segments entries
-
findByUuid_C
Returns all the segments entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching segments entries
-
findByUuid_C
Returns a range of all the segments entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries
-
findByUuid_C
List<SegmentsEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries
-
findByUuid_C
List<SegmentsEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
findByUuid_C_First
SegmentsEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the first segments entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException- if a matching segments entry could not be found
-
fetchByUuid_C_First
SegmentsEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry, or
nullif a matching segments entry could not be found
-
removeByUuid_C
Removes all the segments entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of segments entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching segments entries
-
findBySegmentsEntryId
Returns all the segments entries where segmentsEntryId = ?.- Parameters:
segmentsEntryId- the segments entry ID- Returns:
- the matching segments entries
-
findBySegmentsEntryId
Returns a range of all the segments entries where segmentsEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
segmentsEntryId- the segments entry IDstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries
-
findBySegmentsEntryId
List<SegmentsEntry> findBySegmentsEntryId(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where segmentsEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
segmentsEntryId- the segments entry IDstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries
-
findBySegmentsEntryId
List<SegmentsEntry> findBySegmentsEntryId(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where segmentsEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
segmentsEntryId- the segments entry IDstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
findBySegmentsEntryId_First
SegmentsEntry findBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the first segments entry in the ordered set where segmentsEntryId = ?.- Parameters:
segmentsEntryId- the segments entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException- if a matching segments entry could not be found
-
fetchBySegmentsEntryId_First
SegmentsEntry fetchBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where segmentsEntryId = ?.- Parameters:
segmentsEntryId- the segments entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry, or
nullif a matching segments entry could not be found
-
findBySegmentsEntryId
Returns all the segments entries where segmentsEntryId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
segmentsEntryIds- the segments entry IDs- Returns:
- the matching segments entries
-
findBySegmentsEntryId
Returns a range of all the segments entries where segmentsEntryId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
segmentsEntryIds- the segments entry IDsstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries
-
findBySegmentsEntryId
List<SegmentsEntry> findBySegmentsEntryId(long[] segmentsEntryIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where segmentsEntryId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
segmentsEntryIds- the segments entry IDsstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries
-
findBySegmentsEntryId
List<SegmentsEntry> findBySegmentsEntryId(long[] segmentsEntryIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where segmentsEntryId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
segmentsEntryIds- the segments entry IDsstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
removeBySegmentsEntryId
void removeBySegmentsEntryId(long segmentsEntryId) Removes all the segments entries where segmentsEntryId = ? from the database.- Parameters:
segmentsEntryId- the segments entry ID
-
countBySegmentsEntryId
int countBySegmentsEntryId(long segmentsEntryId) Returns the number of segments entries where segmentsEntryId = ?.- Parameters:
segmentsEntryId- the segments entry ID- Returns:
- the number of matching segments entries
-
countBySegmentsEntryId
int countBySegmentsEntryId(long[] segmentsEntryIds) Returns the number of segments entries where segmentsEntryId = any ?.- Parameters:
segmentsEntryIds- the segments entry IDs- Returns:
- the number of matching segments entries
-
findByGroupId
Returns all the segments entries where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching segments entries
-
findByGroupId
Returns a range of all the segments entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries
-
findByGroupId
List<SegmentsEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries
-
findByGroupId
List<SegmentsEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
findByGroupId_First
SegmentsEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the first segments entry in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException- if a matching segments entry could not be found
-
fetchByGroupId_First
SegmentsEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry, or
nullif a matching segments entry could not be found
-
filterFindByGroupId
Returns all the segments entries that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching segments entries that the user has permission to view
-
filterFindByGroupId
Returns a range of all the segments entries that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries that the user has permission to view
-
filterFindByGroupId
List<SegmentsEntry> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries that the user has permission to view
-
filterFindByGroupId
Returns all the segments entries that the user has permission to view where groupId = any ?.- Parameters:
groupIds- the group IDs- Returns:
- the matching segments entries that the user has permission to view
-
filterFindByGroupId
Returns a range of all the segments entries that the user has permission to view where groupId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries that the user has permission to view
-
filterFindByGroupId
List<SegmentsEntry> filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries that the user has permission to view
-
findByGroupId
Returns all the segments entries where groupId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDs- Returns:
- the matching segments entries
-
findByGroupId
Returns a range of all the segments entries where groupId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries
-
findByGroupId
List<SegmentsEntry> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where groupId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries
-
findByGroupId
List<SegmentsEntry> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where groupId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the segments entries where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of segments entries where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching segments entries
-
countByGroupId
int countByGroupId(long[] groupIds) Returns the number of segments entries where groupId = any ?.- Parameters:
groupIds- the group IDs- Returns:
- the number of matching segments entries
-
filterCountByGroupId
int filterCountByGroupId(long groupId) Returns the number of segments entries that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching segments entries that the user has permission to view
-
filterCountByGroupId
int filterCountByGroupId(long[] groupIds) Returns the number of segments entries that the user has permission to view where groupId = any ?.- Parameters:
groupIds- the group IDs- Returns:
- the number of matching segments entries that the user has permission to view
-
findByActive
Returns all the segments entries where active = ?.- Parameters:
active- the active- Returns:
- the matching segments entries
-
findByActive
Returns a range of all the segments entries where active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
active- the activestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries
-
findByActive
List<SegmentsEntry> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
active- the activestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries
-
findByActive
List<SegmentsEntry> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
active- the activestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
findByActive_First
SegmentsEntry findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the first segments entry in the ordered set where active = ?.- Parameters:
active- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException- if a matching segments entry could not be found
-
fetchByActive_First
SegmentsEntry fetchByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where active = ?.- Parameters:
active- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry, or
nullif a matching segments entry could not be found
-
removeByActive
void removeByActive(boolean active) Removes all the segments entries where active = ? from the database.- Parameters:
active- the active
-
countByActive
int countByActive(boolean active) Returns the number of segments entries where active = ?.- Parameters:
active- the active- Returns:
- the number of matching segments entries
-
findBySource
Returns all the segments entries where source = ?.- Parameters:
source- the source- Returns:
- the matching segments entries
-
findBySource
Returns a range of all the segments entries where source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
source- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries
-
findBySource
List<SegmentsEntry> findBySource(String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
source- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries
-
findBySource
List<SegmentsEntry> findBySource(String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
source- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
findBySource_First
SegmentsEntry findBySource_First(String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the first segments entry in the ordered set where source = ?.- Parameters:
source- the sourceorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException- if a matching segments entry could not be found
-
fetchBySource_First
SegmentsEntry fetchBySource_First(String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where source = ?.- Parameters:
source- the sourceorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry, or
nullif a matching segments entry could not be found
-
removeBySource
Removes all the segments entries where source = ? from the database.- Parameters:
source- the source
-
countBySource
Returns the number of segments entries where source = ?.- Parameters:
source- the source- Returns:
- the number of matching segments entries
-
findByG_S
Returns the segments entry where groupId = ? and segmentsEntryKey = ? or throws aNoSuchEntryExceptionif it could not be found.- Parameters:
groupId- the group IDsegmentsEntryKey- the segments entry key- Returns:
- the matching segments entry
- Throws:
NoSuchEntryException- if a matching segments entry could not be found
-
fetchByG_S
Returns the segments entry where groupId = ? and segmentsEntryKey = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
groupId- the group IDsegmentsEntryKey- the segments entry key- Returns:
- the matching segments entry, or
nullif a matching segments entry could not be found
-
fetchByG_S
Returns the segments entry where groupId = ? and segmentsEntryKey = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
groupId- the group IDsegmentsEntryKey- the segments entry keyuseFinderCache- whether to use the finder cache- Returns:
- the matching segments entry, or
nullif a matching segments entry could not be found
-
removeByG_S
Removes the segments entry where groupId = ? and segmentsEntryKey = ? from the database.- Parameters:
groupId- the group IDsegmentsEntryKey- the segments entry key- Returns:
- the segments entry that was removed
- Throws:
NoSuchEntryException
-
countByG_S
Returns the number of segments entries where groupId = ? and segmentsEntryKey = ?.- Parameters:
groupId- the group IDsegmentsEntryKey- the segments entry key- Returns:
- the number of matching segments entries
-
findByG_A
Returns all the segments entries where groupId = ? and active = ?.- Parameters:
groupId- the group IDactive- the active- Returns:
- the matching segments entries
-
findByG_A
Returns a range of all the segments entries where groupId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDactive- the activestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries
-
findByG_A
List<SegmentsEntry> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where groupId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDactive- the activestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries
-
findByG_A
List<SegmentsEntry> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where groupId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDactive- the activestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
findByG_A_First
SegmentsEntry findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the first segments entry in the ordered set where groupId = ? and active = ?.- Parameters:
groupId- the group IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException- if a matching segments entry could not be found
-
fetchByG_A_First
SegmentsEntry fetchByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where groupId = ? and active = ?.- Parameters:
groupId- the group IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry, or
nullif a matching segments entry could not be found
-
filterFindByG_A
Returns all the segments entries that the user has permission to view where groupId = ? and active = ?.- Parameters:
groupId- the group IDactive- the active- Returns:
- the matching segments entries that the user has permission to view
-
filterFindByG_A
Returns a range of all the segments entries that the user has permission to view where groupId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDactive- the activestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries that the user has permission to view
-
filterFindByG_A
List<SegmentsEntry> filterFindByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDactive- the activestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries that the user has permission to view
-
filterFindByG_A
Returns all the segments entries that the user has permission to view where groupId = any ? and active = ?.- Parameters:
groupIds- the group IDsactive- the active- Returns:
- the matching segments entries that the user has permission to view
-
filterFindByG_A
Returns a range of all the segments entries that the user has permission to view where groupId = any ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsactive- the activestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries that the user has permission to view
-
filterFindByG_A
List<SegmentsEntry> filterFindByG_A(long[] groupIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsactive- the activestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries that the user has permission to view
-
findByG_A
Returns all the segments entries where groupId = any ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsactive- the active- Returns:
- the matching segments entries
-
findByG_A
Returns a range of all the segments entries where groupId = any ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsactive- the activestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries
-
findByG_A
List<SegmentsEntry> findByG_A(long[] groupIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where groupId = any ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsactive- the activestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries
-
findByG_A
List<SegmentsEntry> findByG_A(long[] groupIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where groupId = ? and active = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsactive- the activestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
removeByG_A
void removeByG_A(long groupId, boolean active) Removes all the segments entries where groupId = ? and active = ? from the database.- Parameters:
groupId- the group IDactive- the active
-
countByG_A
int countByG_A(long groupId, boolean active) Returns the number of segments entries where groupId = ? and active = ?.- Parameters:
groupId- the group IDactive- the active- Returns:
- the number of matching segments entries
-
countByG_A
int countByG_A(long[] groupIds, boolean active) Returns the number of segments entries where groupId = any ? and active = ?.- Parameters:
groupIds- the group IDsactive- the active- Returns:
- the number of matching segments entries
-
filterCountByG_A
int filterCountByG_A(long groupId, boolean active) Returns the number of segments entries that the user has permission to view where groupId = ? and active = ?.- Parameters:
groupId- the group IDactive- the active- Returns:
- the number of matching segments entries that the user has permission to view
-
filterCountByG_A
int filterCountByG_A(long[] groupIds, boolean active) Returns the number of segments entries that the user has permission to view where groupId = any ? and active = ?.- Parameters:
groupIds- the group IDsactive- the active- Returns:
- the number of matching segments entries that the user has permission to view
-
findByG_SRC
Returns all the segments entries where groupId = ? and source = ?.- Parameters:
groupId- the group IDsource- the source- Returns:
- the matching segments entries
-
findByG_SRC
Returns a range of all the segments entries where groupId = ? and source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDsource- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries
-
findByG_SRC
List<SegmentsEntry> findByG_SRC(long groupId, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where groupId = ? and source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDsource- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries
-
findByG_SRC
List<SegmentsEntry> findByG_SRC(long groupId, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where groupId = ? and source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDsource- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
findByG_SRC_First
SegmentsEntry findByG_SRC_First(long groupId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the first segments entry in the ordered set where groupId = ? and source = ?.- Parameters:
groupId- the group IDsource- the sourceorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException- if a matching segments entry could not be found
-
fetchByG_SRC_First
SegmentsEntry fetchByG_SRC_First(long groupId, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where groupId = ? and source = ?.- Parameters:
groupId- the group IDsource- the sourceorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry, or
nullif a matching segments entry could not be found
-
filterFindByG_SRC
Returns all the segments entries that the user has permission to view where groupId = ? and source = ?.- Parameters:
groupId- the group IDsource- the source- Returns:
- the matching segments entries that the user has permission to view
-
filterFindByG_SRC
Returns a range of all the segments entries that the user has permission to view where groupId = ? and source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDsource- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries that the user has permission to view
-
filterFindByG_SRC
List<SegmentsEntry> filterFindByG_SRC(long groupId, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ? and source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDsource- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries that the user has permission to view
-
filterFindByG_SRC
Returns all the segments entries that the user has permission to view where groupId = any ? and source = ?.- Parameters:
groupIds- the group IDssource- the source- Returns:
- the matching segments entries that the user has permission to view
-
filterFindByG_SRC
Returns a range of all the segments entries that the user has permission to view where groupId = any ? and source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDssource- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries that the user has permission to view
-
filterFindByG_SRC
List<SegmentsEntry> filterFindByG_SRC(long[] groupIds, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ? and source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDssource- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries that the user has permission to view
-
findByG_SRC
Returns all the segments entries where groupId = any ? and source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDssource- the source- Returns:
- the matching segments entries
-
findByG_SRC
Returns a range of all the segments entries where groupId = any ? and source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDssource- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries
-
findByG_SRC
List<SegmentsEntry> findByG_SRC(long[] groupIds, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where groupId = any ? and source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDssource- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries
-
findByG_SRC
List<SegmentsEntry> findByG_SRC(long[] groupIds, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where groupId = ? and source = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDssource- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
removeByG_SRC
Removes all the segments entries where groupId = ? and source = ? from the database.- Parameters:
groupId- the group IDsource- the source
-
countByG_SRC
Returns the number of segments entries where groupId = ? and source = ?.- Parameters:
groupId- the group IDsource- the source- Returns:
- the number of matching segments entries
-
countByG_SRC
Returns the number of segments entries where groupId = any ? and source = ?.- Parameters:
groupIds- the group IDssource- the source- Returns:
- the number of matching segments entries
-
filterCountByG_SRC
Returns the number of segments entries that the user has permission to view where groupId = ? and source = ?.- Parameters:
groupId- the group IDsource- the source- Returns:
- the number of matching segments entries that the user has permission to view
-
filterCountByG_SRC
Returns the number of segments entries that the user has permission to view where groupId = any ? and source = ?.- Parameters:
groupIds- the group IDssource- the source- Returns:
- the number of matching segments entries that the user has permission to view
-
findByG_A_SRC
Returns all the segments entries where groupId = ? and active = ? and source = ?.- Parameters:
groupId- the group IDactive- the activesource- the source- Returns:
- the matching segments entries
-
findByG_A_SRC
Returns a range of all the segments entries where groupId = ? and active = ? and source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDactive- the activesource- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries
-
findByG_A_SRC
List<SegmentsEntry> findByG_A_SRC(long groupId, boolean active, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where groupId = ? and active = ? and source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDactive- the activesource- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries
-
findByG_A_SRC
List<SegmentsEntry> findByG_A_SRC(long groupId, boolean active, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where groupId = ? and active = ? and source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDactive- the activesource- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
findByG_A_SRC_First
SegmentsEntry findByG_A_SRC_First(long groupId, boolean active, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) throws NoSuchEntryException Returns the first segments entry in the ordered set where groupId = ? and active = ? and source = ?.- Parameters:
groupId- the group IDactive- the activesource- the sourceorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry
- Throws:
NoSuchEntryException- if a matching segments entry could not be found
-
fetchByG_A_SRC_First
SegmentsEntry fetchByG_A_SRC_First(long groupId, boolean active, String source, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns the first segments entry in the ordered set where groupId = ? and active = ? and source = ?.- Parameters:
groupId- the group IDactive- the activesource- the sourceorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry, or
nullif a matching segments entry could not be found
-
filterFindByG_A_SRC
Returns all the segments entries that the user has permission to view where groupId = ? and active = ? and source = ?.- Parameters:
groupId- the group IDactive- the activesource- the source- Returns:
- the matching segments entries that the user has permission to view
-
filterFindByG_A_SRC
List<SegmentsEntry> filterFindByG_A_SRC(long groupId, boolean active, String source, int start, int end) Returns a range of all the segments entries that the user has permission to view where groupId = ? and active = ? and source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDactive- the activesource- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries that the user has permission to view
-
filterFindByG_A_SRC
List<SegmentsEntry> filterFindByG_A_SRC(long groupId, boolean active, String source, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries that the user has permissions to view where groupId = ? and active = ? and source = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupId- the group IDactive- the activesource- the sourcestart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries that the user has permission to view
-
filterFindByG_A_SRC
Returns all the segments entries that the user has permission to view where groupId = any ? and active = ? and source = any ?.- Parameters:
groupIds- the group IDsactive- the activesources- the sources- Returns:
- the matching segments entries that the user has permission to view
-
filterFindByG_A_SRC
List<SegmentsEntry> filterFindByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end) Returns a range of all the segments entries that the user has permission to view where groupId = any ? and active = ? and source = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsactive- the activesources- the sourcesstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries that the user has permission to view
-
filterFindByG_A_SRC
List<SegmentsEntry> filterFindByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries that the user has permission to view where groupId = any ? and active = ? and source = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsactive- the activesources- the sourcesstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries that the user has permission to view
-
findByG_A_SRC
Returns all the segments entries where groupId = any ? and active = ? and source = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsactive- the activesources- the sources- Returns:
- the matching segments entries
-
findByG_A_SRC
List<SegmentsEntry> findByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end) Returns a range of all the segments entries where groupId = any ? and active = ? and source = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsactive- the activesources- the sourcesstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of matching segments entries
-
findByG_A_SRC
List<SegmentsEntry> findByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries where groupId = any ? and active = ? and source = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsactive- the activesources- the sourcesstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entries
-
findByG_A_SRC
List<SegmentsEntry> findByG_A_SRC(long[] groupIds, boolean active, String[] sources, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries where groupId = ? and active = ? and source = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
groupIds- the group IDsactive- the activesources- the sourcesstart- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching segments entries
-
removeByG_A_SRC
Removes all the segments entries where groupId = ? and active = ? and source = ? from the database.- Parameters:
groupId- the group IDactive- the activesource- the source
-
countByG_A_SRC
Returns the number of segments entries where groupId = ? and active = ? and source = ?.- Parameters:
groupId- the group IDactive- the activesource- the source- Returns:
- the number of matching segments entries
-
countByG_A_SRC
Returns the number of segments entries where groupId = any ? and active = ? and source = any ?.- Parameters:
groupIds- the group IDsactive- the activesources- the sources- Returns:
- the number of matching segments entries
-
filterCountByG_A_SRC
Returns the number of segments entries that the user has permission to view where groupId = ? and active = ? and source = ?.- Parameters:
groupId- the group IDactive- the activesource- the source- Returns:
- the number of matching segments entries that the user has permission to view
-
filterCountByG_A_SRC
Returns the number of segments entries that the user has permission to view where groupId = any ? and active = ? and source = any ?.- Parameters:
groupIds- the group IDsactive- the activesources- the sources- Returns:
- the number of matching segments entries that the user has permission to view
-
findByERC_G
Returns the segments entry where externalReferenceCode = ? and groupId = ? or throws aNoSuchEntryExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching segments entry
- Throws:
NoSuchEntryException- if a matching segments entry could not be found
-
fetchByERC_G
Returns the segments entry where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching segments entry, or
nullif a matching segments entry could not be found
-
fetchByERC_G
Returns the segments entry where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching segments entry, or
nullif a matching segments entry could not be found
-
removeByERC_G
Removes the segments entry where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the segments entry that was removed
- Throws:
NoSuchEntryException
-
countByERC_G
Returns the number of segments entries where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the number of matching segments entries
-
cacheResult
Caches the segments entry in the entity cache if it is enabled.- Parameters:
segmentsEntry- the segments entry
-
cacheResult
Caches the segments entries in the entity cache if it is enabled.- Parameters:
segmentsEntries- the segments entries
-
create
Creates a new segments entry with the primary key. Does not add the segments entry to the database.- Parameters:
segmentsEntryId- the primary key for the new segments entry- Returns:
- the new segments entry
-
remove
Removes the segments entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
segmentsEntryId- the primary key of the segments entry- Returns:
- the segments entry that was removed
- Throws:
NoSuchEntryException- if a segments entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the segments entry with the primary key or throws aNoSuchEntryExceptionif it could not be found.- Parameters:
segmentsEntryId- the primary key of the segments entry- Returns:
- the segments entry
- Throws:
NoSuchEntryException- if a segments entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the segments entry with the primary key or returnsnullif it could not be found.- Parameters:
segmentsEntryId- the primary key of the segments entry- Returns:
- the segments entry, or
nullif a segments entry with the primary key could not be found
-
findAll
List<SegmentsEntry> findAll()Returns all the segments entries.- Returns:
- the segments entries
-
findAll
Returns a range of all the segments entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
start- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)- Returns:
- the range of segments entries
-
findAll
List<SegmentsEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator) Returns an ordered range of all the segments entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
start- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of segments entries
-
findAll
List<SegmentsEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryModelImpl.- Parameters:
start- the lower bound of the range of segments entriesend- the upper bound of the range of segments entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of segments entries
-
removeAll
void removeAll()Removes all the segments entries from the database. -
countAll
int countAll()Returns the number of segments entries.- Returns:
- the number of segments entries
-