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 TypeMethodDescriptionvoid
cacheResult
(SegmentsEntryRel segmentsEntryRel) Caches the segments entry rel in the entity cache if it is enabled.void
cacheResult
(List<SegmentsEntryRel> segmentsEntryRels) Caches the segments entry rels in the entity cache if it is enabled.int
countAll()
Returns the number of segments entry rels.int
countByCN_CPK
(long classNameId, long classPK) Returns the number of segments entry rels where classNameId = ? and classPK = ?.int
countByG_CN_CPK
(long groupId, long classNameId, long classPK) Returns the number of segments entry rels where groupId = ? and classNameId = ? and classPK = ?.int
countByS_CN_CPK
(long segmentsEntryId, long classNameId, long classPK) Returns the number of segments entry rels where segmentsEntryId = ? and classNameId = ? and classPK = ?.int
countBySegmentsEntryId
(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 = ?.fetchByCN_CPK_Last
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the last 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 = ?.fetchByG_CN_CPK_Last
(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the last 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 returnsnull
if it could not be found.fetchByS_CN_CPK
(long segmentsEntryId, long classNameId, long classPK) Returns the segments entry rel where segmentsEntryId = ? and classNameId = ? and classPK = ? or returnsnull
if 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 returnsnull
if 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 = ?.fetchBySegmentsEntryId_Last
(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the last segments entry rel in the ordered set where segmentsEntryId = ?.findAll()
Returns all the segments entry rels.findAll
(int start, int end) Returns a range of all the segments entry rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns an ordered range of all the segments entry rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entry rels.findByCN_CPK
(long classNameId, long classPK) Returns all the segments entry rels where classNameId = ? and classPK = ?.findByCN_CPK
(long classNameId, long classPK, int start, int end) Returns a 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) 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 = ?.findByCN_CPK_Last
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the last segments entry rel in the ordered set where classNameId = ? and classPK = ?.findByCN_CPK_PrevAndNext
(long segmentsEntryRelId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the segments entry rels before and after the current segments entry rel in the ordered set where classNameId = ? and classPK = ?.findByG_CN_CPK
(long groupId, long classNameId, long classPK) Returns all the segments entry rels where groupId = ? and classNameId = ? and classPK = ?.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 = ?.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 = ?.findByG_CN_CPK_Last
(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the last segments entry rel in the ordered set where groupId = ? and classNameId = ? and classPK = ?.findByG_CN_CPK_PrevAndNext
(long segmentsEntryRelId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the segments entry rels before and after the current 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 aNoSuchEntryRelException
if 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 aNoSuchEntryRelException
if it could not be found.findBySegmentsEntryId
(long segmentsEntryId) Returns all the segments entry rels where segmentsEntryId = ?.findBySegmentsEntryId
(long segmentsEntryId, int start, int end) Returns a range of all the segments entry rels where segmentsEntryId = ?.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 = ?.findBySegmentsEntryId_Last
(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the last segments entry rel in the ordered set where segmentsEntryId = ?.findBySegmentsEntryId_PrevAndNext
(long segmentsEntryRelId, long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the segments entry rels before and after the current segments entry rel in the ordered set where segmentsEntryId = ?.remove
(long segmentsEntryRelId) Removes the segments entry rel with the primary key from the database.void
Removes all the segments entry rels from the database.void
removeByCN_CPK
(long classNameId, long classPK) Removes all the segments entry rels where classNameId = ? and classPK = ? from the database.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.removeByS_CN_CPK
(long segmentsEntryId, long classNameId, long classPK) Removes the segments entry rel where segmentsEntryId = ? and classNameId = ? and classPK = ? from the database.void
removeBySegmentsEntryId
(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
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRelModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRelModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRelModelImpl
.- 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
null
if a matching segments entry rel could not be found
-
findBySegmentsEntryId_Last
SegmentsEntryRel findBySegmentsEntryId_Last(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException Returns the last 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 last matching segments entry rel
- Throws:
NoSuchEntryRelException
- if a matching segments entry rel could not be found
-
fetchBySegmentsEntryId_Last
SegmentsEntryRel fetchBySegmentsEntryId_Last(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the last 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 last matching segments entry rel, or
null
if a matching segments entry rel could not be found
-
findBySegmentsEntryId_PrevAndNext
SegmentsEntryRel[] findBySegmentsEntryId_PrevAndNext(long segmentsEntryRelId, long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException Returns the segments entry rels before and after the current segments entry rel in the ordered set where segmentsEntryId = ?.- Parameters:
segmentsEntryRelId
- the primary key of the current segments entry relsegmentsEntryId
- the segments entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next segments entry rel
- Throws:
NoSuchEntryRelException
- if a segments entry rel with the primary key 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRelModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRelModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRelModelImpl
.- 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
null
if a matching segments entry rel could not be found
-
findByCN_CPK_Last
SegmentsEntryRel findByCN_CPK_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException Returns the last 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 last matching segments entry rel
- Throws:
NoSuchEntryRelException
- if a matching segments entry rel could not be found
-
fetchByCN_CPK_Last
SegmentsEntryRel fetchByCN_CPK_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the last 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 last matching segments entry rel, or
null
if a matching segments entry rel could not be found
-
findByCN_CPK_PrevAndNext
SegmentsEntryRel[] findByCN_CPK_PrevAndNext(long segmentsEntryRelId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException Returns the segments entry rels before and after the current segments entry rel in the ordered set where classNameId = ? and classPK = ?.- Parameters:
segmentsEntryRelId
- the primary key of the current segments entry relclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next segments entry rel
- Throws:
NoSuchEntryRelException
- if a segments entry rel with the primary key 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
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRelModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRelModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRelModelImpl
.- 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
null
if a matching segments entry rel could not be found
-
findByG_CN_CPK_Last
SegmentsEntryRel findByG_CN_CPK_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException Returns the last 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 last matching segments entry rel
- Throws:
NoSuchEntryRelException
- if a matching segments entry rel could not be found
-
fetchByG_CN_CPK_Last
SegmentsEntryRel fetchByG_CN_CPK_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns the last 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 last matching segments entry rel, or
null
if a matching segments entry rel could not be found
-
findByG_CN_CPK_PrevAndNext
SegmentsEntryRel[] findByG_CN_CPK_PrevAndNext(long segmentsEntryRelId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException Returns the segments entry rels before and after the current segments entry rel in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
segmentsEntryRelId
- the primary key of the current segments entry relgroupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next segments entry rel
- Throws:
NoSuchEntryRelException
- if a segments entry rel with the primary key 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 aNoSuchEntryRelException
if 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
Returns the segments entry rel where segmentsEntryId = ? and classNameId = ? and classPK = ? or returnsnull
if 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
null
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 returnsnull
if 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
null
if 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
-
cacheResult
Caches the segments entry rel in the entity cache if it is enabled.- Parameters:
segmentsEntryRel
- the segments entry rel
-
cacheResult
Caches the segments entry rels in the entity cache if it is enabled.- Parameters:
segmentsEntryRels
- the 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 aNoSuchEntryRelException
if 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 returnsnull
if it could not be found.- Parameters:
segmentsEntryRelId
- the primary key of the segments entry rel- Returns:
- the segments entry rel, or
null
if a segments entry rel with the primary key could not be found
-
findAll
List<SegmentsEntryRel> findAll()Returns all the segments entry rels.- Returns:
- the segments entry rels
-
findAll
Returns a range of all the segments entry rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRelModelImpl
.- Parameters:
start
- 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 segments entry rels
-
findAll
List<SegmentsEntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) Returns an ordered range of all the segments entry rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRelModelImpl
.- Parameters:
start
- 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 segments entry rels
-
findAll
List<SegmentsEntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the segments entry rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRelModelImpl
.- Parameters:
start
- 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 segments entry rels
-
removeAll
void removeAll()Removes all the segments entry rels from the database. -
countAll
int countAll()Returns the number of segments entry rels.- Returns:
- the number of segments entry rels
-