Interface SegmentsEntryRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SegmentsEntryRel>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsEntryRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByCN_CPK(long classNameId, long classPK) Returns the number of segments entry rels where classNameId = ? and classPK = ?.intcountByG_CN_CPK(long groupId, long classNameId, long classPK) Returns the number of segments entry rels where groupId = ? and classNameId = ? and classPK = ?.intcountByS_CN_CPK(long segmentsEntryId, long classNameId, long classPK) Returns the number of segments entry rels where segmentsEntryId = ? and classNameId = ? and classPK = ?.intcountBySegmentsEntryId(long segmentsEntryId) Returns the number of segments entry rels where segmentsEntryId = ?.create(long segmentsEntryRelId) Creates a new segments entry rel with the primary key.fetchByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the first segments entry rel in the ordered set where classNameId = ? and classPK = ?.fetchByG_CN_CPK_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the first segments entry rel in the ordered set where groupId = ? and classNameId = ? and classPK = ?.fetchByPrimaryKey(long segmentsEntryRelId) Returns the segments entry rel with the primary key or returnsnullif it could not be found.default SegmentsEntryRelfetchByS_CN_CPK(long segmentsEntryId, long classNameId, long classPK) Returns the segments entry rel where segmentsEntryId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found.fetchByS_CN_CPK(long segmentsEntryId, long classNameId, long classPK, boolean useFinderCache) Returns the segments entry rel where segmentsEntryId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found, optionally using the finder cache.fetchBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the first segments entry rel in the ordered set where segmentsEntryId = ?.default List<SegmentsEntryRel> findByCN_CPK(long classNameId, long classPK) Returns all the segments entry rels where classNameId = ? and classPK = ?.default List<SegmentsEntryRel> findByCN_CPK(long classNameId, long classPK, int start, int end) Returns a range of all the segments entry rels where classNameId = ? and classPK = ?.default List<SegmentsEntryRel> findByCN_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns an ordered range of all the segments entry rels where classNameId = ? and classPK = ?.findByCN_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entry rels where classNameId = ? and classPK = ?.findByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the first segments entry rel in the ordered set where classNameId = ? and classPK = ?.default List<SegmentsEntryRel> findByG_CN_CPK(long groupId, long classNameId, long classPK) Returns all the segments entry rels where groupId = ? and classNameId = ? and classPK = ?.default List<SegmentsEntryRel> findByG_CN_CPK(long groupId, long classNameId, long classPK, int start, int end) Returns a range of all the segments entry rels where groupId = ? and classNameId = ? and classPK = ?.default List<SegmentsEntryRel> findByG_CN_CPK(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns an ordered range of all the segments entry rels where groupId = ? and classNameId = ? and classPK = ?.findByG_CN_CPK(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entry rels where groupId = ? and classNameId = ? and classPK = ?.findByG_CN_CPK_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the first segments entry rel in the ordered set where groupId = ? and classNameId = ? and classPK = ?.findByPrimaryKey(long segmentsEntryRelId) Returns the segments entry rel with the primary key or throws aNoSuchEntryRelExceptionif it could not be found.findByS_CN_CPK(long segmentsEntryId, long classNameId, long classPK) Returns the segments entry rel where segmentsEntryId = ? and classNameId = ? and classPK = ? or throws aNoSuchEntryRelExceptionif it could not be found.default List<SegmentsEntryRel> findBySegmentsEntryId(long segmentsEntryId) Returns all the segments entry rels where segmentsEntryId = ?.default List<SegmentsEntryRel> findBySegmentsEntryId(long segmentsEntryId, int start, int end) Returns a range of all the segments entry rels where segmentsEntryId = ?.default List<SegmentsEntryRel> findBySegmentsEntryId(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns an ordered range of all the segments entry rels where segmentsEntryId = ?.findBySegmentsEntryId(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entry rels where segmentsEntryId = ?.findBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the first segments entry rel in the ordered set where segmentsEntryId = ?.remove(long segmentsEntryRelId) Removes the segments entry rel with the primary key from the database.voidremoveByCN_CPK(long classNameId, long classPK) Removes all the segments entry rels where classNameId = ? and classPK = ? from the database.voidremoveByG_CN_CPK(long groupId, long classNameId, long classPK) Removes all the segments entry rels where groupId = ? and classNameId = ? and classPK = ? from the database.removeByS_CN_CPK(long segmentsEntryId, long classNameId, long classPK) Removes the segments entry rel where segmentsEntryId = ? and classNameId = ? and classPK = ? from the database.voidremoveBySegmentsEntryId(long segmentsEntryId) Removes all the segments entry rels where segmentsEntryId = ? from the database.updateImpl(SegmentsEntryRel segmentsEntryRel) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findBySegmentsEntryId
List<SegmentsEntryRel> findBySegmentsEntryId(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entry rels 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.SegmentsEntryRelModelImpl.- Parameters:
segmentsEntryId- the segments entry IDstart- the lower bound of the range of segments entry relsend- the upper bound of the range of segments entry rels (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 entry rels
-
findBySegmentsEntryId_First
SegmentsEntryRel findBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException Returns the first segments entry rel 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 rel
- Throws:
NoSuchEntryRelException- if a matching segments entry rel could not be found
-
fetchBySegmentsEntryId_First
SegmentsEntryRel fetchBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the first segments entry rel 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 rel, or
nullif a matching segments entry rel could not be found
-
removeBySegmentsEntryId
void removeBySegmentsEntryId(long segmentsEntryId) Removes all the segments entry rels where segmentsEntryId = ? from the database.- Parameters:
segmentsEntryId- the segments entry ID
-
countBySegmentsEntryId
int countBySegmentsEntryId(long segmentsEntryId) Returns the number of segments entry rels where segmentsEntryId = ?.- Parameters:
segmentsEntryId- the segments entry ID- Returns:
- the number of matching segments entry rels
-
findByCN_CPK
List<SegmentsEntryRel> findByCN_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entry rels where classNameId = ? and classPK = ?.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.SegmentsEntryRelModelImpl.- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of segments entry relsend- the upper bound of the range of segments entry rels (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 entry rels
-
findByCN_CPK_First
SegmentsEntryRel findByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException Returns the first segments entry rel in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry rel
- Throws:
NoSuchEntryRelException- if a matching segments entry rel could not be found
-
fetchByCN_CPK_First
SegmentsEntryRel fetchByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the first segments entry rel in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry rel, or
nullif a matching segments entry rel could not be found
-
removeByCN_CPK
void removeByCN_CPK(long classNameId, long classPK) Removes all the segments entry rels where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId- the class name IDclassPK- the class pk
-
countByCN_CPK
int countByCN_CPK(long classNameId, long classPK) Returns the number of segments entry rels where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching segments entry rels
-
findByG_CN_CPK
List<SegmentsEntryRel> findByG_CN_CPK(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entry rels where groupId = ? and classNameId = ? and classPK = ?.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.SegmentsEntryRelModelImpl.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of segments entry relsend- the upper bound of the range of segments entry rels (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 entry rels
-
findByG_CN_CPK_First
SegmentsEntryRel findByG_CN_CPK_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException Returns the first segments entry rel in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry rel
- Throws:
NoSuchEntryRelException- if a matching segments entry rel could not be found
-
fetchByG_CN_CPK_First
SegmentsEntryRel fetchByG_CN_CPK_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the first segments entry rel in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching segments entry rel, or
nullif a matching segments entry rel could not be found
-
removeByG_CN_CPK
void removeByG_CN_CPK(long groupId, long classNameId, long classPK) Removes all the segments entry rels where groupId = ? and classNameId = ? and classPK = ? from the database.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pk
-
countByG_CN_CPK
int countByG_CN_CPK(long groupId, long classNameId, long classPK) Returns the number of segments entry rels where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching segments entry rels
-
findByS_CN_CPK
SegmentsEntryRel findByS_CN_CPK(long segmentsEntryId, long classNameId, long classPK) throws NoSuchEntryRelException Returns the segments entry rel where segmentsEntryId = ? and classNameId = ? and classPK = ? or throws aNoSuchEntryRelExceptionif it could not be found.- Parameters:
segmentsEntryId- the segments entry IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the matching segments entry rel
- Throws:
NoSuchEntryRelException- if a matching segments entry rel could not be found
-
fetchByS_CN_CPK
SegmentsEntryRel fetchByS_CN_CPK(long segmentsEntryId, long classNameId, long classPK, boolean useFinderCache) Returns the segments entry rel where segmentsEntryId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
segmentsEntryId- the segments entry IDclassNameId- the class name IDclassPK- the class pkuseFinderCache- whether to use the finder cache- Returns:
- the matching segments entry rel, or
nullif a matching segments entry rel could not be found
-
removeByS_CN_CPK
SegmentsEntryRel removeByS_CN_CPK(long segmentsEntryId, long classNameId, long classPK) throws NoSuchEntryRelException Removes the segments entry rel where segmentsEntryId = ? and classNameId = ? and classPK = ? from the database.- Parameters:
segmentsEntryId- the segments entry IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the segments entry rel that was removed
- Throws:
NoSuchEntryRelException
-
countByS_CN_CPK
int countByS_CN_CPK(long segmentsEntryId, long classNameId, long classPK) Returns the number of segments entry rels where segmentsEntryId = ? and classNameId = ? and classPK = ?.- Parameters:
segmentsEntryId- the segments entry IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching segments entry rels
-
create
Creates a new segments entry rel with the primary key. Does not add the segments entry rel to the database.- Parameters:
segmentsEntryRelId- the primary key for the new segments entry rel- Returns:
- the new segments entry rel
-
remove
Removes the segments entry rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
segmentsEntryRelId- the primary key of the segments entry rel- Returns:
- the segments entry rel that was removed
- Throws:
NoSuchEntryRelException- if a segments entry rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the segments entry rel with the primary key or throws aNoSuchEntryRelExceptionif it could not be found.- Parameters:
segmentsEntryRelId- the primary key of the segments entry rel- Returns:
- the segments entry rel
- Throws:
NoSuchEntryRelException- if a segments entry rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the segments entry rel with the primary key or returnsnullif it could not be found.- Parameters:
segmentsEntryRelId- the primary key of the segments entry rel- Returns:
- the segments entry rel, or
nullif a segments entry rel with the primary key could not be found
-
fetchByS_CN_CPK
Returns the segments entry rel where segmentsEntryId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
segmentsEntryId- the segments entry IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the matching segments entry rel, or
nullif a matching segments entry rel could not be found
-
findBySegmentsEntryId
Returns all the segments entry rels where segmentsEntryId = ?.- Parameters:
segmentsEntryId- the segments entry ID- Returns:
- the matching segments entry rels
-
findBySegmentsEntryId
Returns a range of all the segments entry rels 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.SegmentsEntryRelModelImpl.- Parameters:
segmentsEntryId- the segments entry IDstart- the lower bound of the range of segments entry relsend- the upper bound of the range of segments entry rels (not inclusive)- Returns:
- the range of matching segments entry rels
-
findBySegmentsEntryId
default List<SegmentsEntryRel> findBySegmentsEntryId(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns an ordered range of all the segments entry rels 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.SegmentsEntryRelModelImpl.- Parameters:
segmentsEntryId- the segments entry IDstart- the lower bound of the range of segments entry relsend- the upper bound of the range of segments entry rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entry rels
-
findByCN_CPK
Returns all the segments entry rels where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the matching segments entry rels
-
findByCN_CPK
Returns a range of all the segments entry rels where classNameId = ? and classPK = ?.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.SegmentsEntryRelModelImpl.- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of segments entry relsend- the upper bound of the range of segments entry rels (not inclusive)- Returns:
- the range of matching segments entry rels
-
findByCN_CPK
default List<SegmentsEntryRel> findByCN_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns an ordered range of all the segments entry rels where classNameId = ? and classPK = ?.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.SegmentsEntryRelModelImpl.- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of segments entry relsend- the upper bound of the range of segments entry rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entry rels
-
findByG_CN_CPK
Returns all the segments entry rels where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the matching segments entry rels
-
findByG_CN_CPK
default List<SegmentsEntryRel> findByG_CN_CPK(long groupId, long classNameId, long classPK, int start, int end) Returns a range of all the segments entry rels where groupId = ? and classNameId = ? and classPK = ?.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.SegmentsEntryRelModelImpl.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of segments entry relsend- the upper bound of the range of segments entry rels (not inclusive)- Returns:
- the range of matching segments entry rels
-
findByG_CN_CPK
default List<SegmentsEntryRel> findByG_CN_CPK(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns an ordered range of all the segments entry rels where groupId = ? and classNameId = ? and classPK = ?.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.SegmentsEntryRelModelImpl.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of segments entry relsend- the upper bound of the range of segments entry rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching segments entry rels
-