@ProviderType public interface SegmentsEntryRelPersistence extends 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
SegmentsEntryRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<SegmentsEntryRel> segmentsEntryRels)
Caches the segments entry rels in the entity cache if it is enabled.
|
void |
cacheResult(SegmentsEntryRel segmentsEntryRel)
Caches the segments entry rel 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 = ?.
|
SegmentsEntryRel |
create(long segmentsEntryRelId)
Creates a new segments entry rel with the primary key.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
SegmentsEntryRel |
fetchByPrimaryKey(long segmentsEntryRelId)
Returns the segments entry rel with the primary key or returns
null if it could not be found. |
SegmentsEntryRel |
fetchByS_CN_CPK(long segmentsEntryId,
long classNameId,
long classPK)
Returns the segments entry rel where segmentsEntryId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found. |
SegmentsEntryRel |
fetchByS_CN_CPK(long segmentsEntryId,
long classNameId,
long classPK,
boolean useFinderCache)
Returns the segments entry rel where segmentsEntryId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
java.util.List<SegmentsEntryRel> |
findAll()
Returns all the segments entry rels.
|
java.util.List<SegmentsEntryRel> |
findAll(int start,
int end)
Returns a range of all the segments entry rels.
|
java.util.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.
|
java.util.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.
|
SegmentsEntryRel |
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 = ?.
|
SegmentsEntryRel |
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 = ?.
|
SegmentsEntryRel[] |
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 = ?.
|
java.util.List<SegmentsEntryRel> |
findByCN_CPK(long classNameId,
long classPK)
Returns all the segments entry rels where classNameId = ? and classPK = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
SegmentsEntryRel |
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 = ?.
|
SegmentsEntryRel |
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 = ?.
|
SegmentsEntryRel[] |
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 = ?.
|
java.util.List<SegmentsEntryRel> |
findByG_CN_CPK(long groupId,
long classNameId,
long classPK)
Returns all the segments entry rels where groupId = ? and classNameId = ? and classPK = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
SegmentsEntryRel |
findByPrimaryKey(long segmentsEntryRelId)
Returns the segments entry rel with the primary key or throws a
NoSuchEntryRelException if it could not be found. |
SegmentsEntryRel |
findByS_CN_CPK(long segmentsEntryId,
long classNameId,
long classPK)
Returns the segments entry rel where segmentsEntryId = ? and classNameId = ? and classPK = ? or throws a
NoSuchEntryRelException if it could not be found. |
SegmentsEntryRel |
findBySegmentsEntryId_First(long segmentsEntryId,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator)
Returns the first segments entry rel in the ordered set where segmentsEntryId = ?.
|
SegmentsEntryRel |
findBySegmentsEntryId_Last(long segmentsEntryId,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator)
Returns the last segments entry rel in the ordered set where segmentsEntryId = ?.
|
SegmentsEntryRel[] |
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 = ?.
|
java.util.List<SegmentsEntryRel> |
findBySegmentsEntryId(long segmentsEntryId)
Returns all the segments entry rels where segmentsEntryId = ?.
|
java.util.List<SegmentsEntryRel> |
findBySegmentsEntryId(long segmentsEntryId,
int start,
int end)
Returns a range of all the segments entry rels where segmentsEntryId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
SegmentsEntryRel |
remove(long segmentsEntryRelId)
Removes the segments entry rel with the primary key from the database.
|
void |
removeAll()
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.
|
SegmentsEntryRel |
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.
|
SegmentsEntryRel |
updateImpl(SegmentsEntryRel segmentsEntryRel) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<SegmentsEntryRel> findBySegmentsEntryId(long segmentsEntryId)
segmentsEntryId
- the segments entry IDjava.util.List<SegmentsEntryRel> findBySegmentsEntryId(long segmentsEntryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SegmentsEntryRelModelImpl
.
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)java.util.List<SegmentsEntryRel> findBySegmentsEntryId(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SegmentsEntryRelModelImpl
.
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 (optionally null
)java.util.List<SegmentsEntryRel> findBySegmentsEntryId(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SegmentsEntryRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheSegmentsEntryRel findBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException
segmentsEntryId
- the segments entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryRelException
- if a matching segments entry rel could not be foundSegmentsEntryRel fetchBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator)
segmentsEntryId
- the segments entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry rel could not be foundSegmentsEntryRel findBySegmentsEntryId_Last(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException
segmentsEntryId
- the segments entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryRelException
- if a matching segments entry rel could not be foundSegmentsEntryRel fetchBySegmentsEntryId_Last(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator)
segmentsEntryId
- the segments entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry rel could not be foundSegmentsEntryRel[] findBySegmentsEntryId_PrevAndNext(long segmentsEntryRelId, long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException
segmentsEntryRelId
- the primary key of the current segments entry relsegmentsEntryId
- the segments entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryRelException
- if a segments entry rel with the primary key could not be foundvoid removeBySegmentsEntryId(long segmentsEntryId)
segmentsEntryId
- the segments entry IDint countBySegmentsEntryId(long segmentsEntryId)
segmentsEntryId
- the segments entry IDjava.util.List<SegmentsEntryRel> findByCN_CPK(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkjava.util.List<SegmentsEntryRel> findByCN_CPK(long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SegmentsEntryRelModelImpl
.
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)java.util.List<SegmentsEntryRel> findByCN_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SegmentsEntryRelModelImpl
.
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 (optionally null
)java.util.List<SegmentsEntryRel> findByCN_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SegmentsEntryRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheSegmentsEntryRel findByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryRelException
- if a matching segments entry rel could not be foundSegmentsEntryRel fetchByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry rel could not be foundSegmentsEntryRel findByCN_CPK_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryRelException
- if a matching segments entry rel could not be foundSegmentsEntryRel fetchByCN_CPK_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry rel could not be foundSegmentsEntryRel[] findByCN_CPK_PrevAndNext(long segmentsEntryRelId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException
segmentsEntryRelId
- the primary key of the current segments entry relclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryRelException
- if a segments entry rel with the primary key could not be foundvoid removeByCN_CPK(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkint countByCN_CPK(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkjava.util.List<SegmentsEntryRel> findByG_CN_CPK(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkjava.util.List<SegmentsEntryRel> findByG_CN_CPK(long groupId, long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SegmentsEntryRelModelImpl
.
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)java.util.List<SegmentsEntryRel> findByG_CN_CPK(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SegmentsEntryRelModelImpl
.
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 (optionally null
)java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SegmentsEntryRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheSegmentsEntryRel findByG_CN_CPK_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryRelException
- if a matching segments entry rel could not be foundSegmentsEntryRel fetchByG_CN_CPK_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry rel could not be foundSegmentsEntryRel findByG_CN_CPK_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryRelException
- if a matching segments entry rel could not be foundSegmentsEntryRel fetchByG_CN_CPK_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry rel could not be foundSegmentsEntryRel[] findByG_CN_CPK_PrevAndNext(long segmentsEntryRelId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator) throws NoSuchEntryRelException
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 (optionally null
)NoSuchEntryRelException
- if a segments entry rel with the primary key could not be foundvoid removeByG_CN_CPK(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkint countByG_CN_CPK(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkSegmentsEntryRel findByS_CN_CPK(long segmentsEntryId, long classNameId, long classPK) throws NoSuchEntryRelException
NoSuchEntryRelException
if it could not be found.segmentsEntryId
- the segments entry IDclassNameId
- the class name IDclassPK
- the class pkNoSuchEntryRelException
- if a matching segments entry rel could not be foundSegmentsEntryRel fetchByS_CN_CPK(long segmentsEntryId, long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.segmentsEntryId
- the segments entry IDclassNameId
- the class name IDclassPK
- the class pknull
if a matching segments entry rel could not be foundSegmentsEntryRel fetchByS_CN_CPK(long segmentsEntryId, long classNameId, long classPK, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.segmentsEntryId
- the segments entry IDclassNameId
- the class name IDclassPK
- the class pkuseFinderCache
- whether to use the finder cachenull
if a matching segments entry rel could not be foundSegmentsEntryRel removeByS_CN_CPK(long segmentsEntryId, long classNameId, long classPK) throws NoSuchEntryRelException
segmentsEntryId
- the segments entry IDclassNameId
- the class name IDclassPK
- the class pkNoSuchEntryRelException
int countByS_CN_CPK(long segmentsEntryId, long classNameId, long classPK)
segmentsEntryId
- the segments entry IDclassNameId
- the class name IDclassPK
- the class pkvoid cacheResult(SegmentsEntryRel segmentsEntryRel)
segmentsEntryRel
- the segments entry relvoid cacheResult(java.util.List<SegmentsEntryRel> segmentsEntryRels)
segmentsEntryRels
- the segments entry relsSegmentsEntryRel create(long segmentsEntryRelId)
segmentsEntryRelId
- the primary key for the new segments entry relSegmentsEntryRel remove(long segmentsEntryRelId) throws NoSuchEntryRelException
segmentsEntryRelId
- the primary key of the segments entry relNoSuchEntryRelException
- if a segments entry rel with the primary key could not be foundSegmentsEntryRel updateImpl(SegmentsEntryRel segmentsEntryRel)
SegmentsEntryRel findByPrimaryKey(long segmentsEntryRelId) throws NoSuchEntryRelException
NoSuchEntryRelException
if it could not be found.segmentsEntryRelId
- the primary key of the segments entry relNoSuchEntryRelException
- if a segments entry rel with the primary key could not be foundSegmentsEntryRel fetchByPrimaryKey(long segmentsEntryRelId)
null
if it could not be found.segmentsEntryRelId
- the primary key of the segments entry relnull
if a segments entry rel with the primary key could not be foundjava.util.List<SegmentsEntryRel> findAll()
java.util.List<SegmentsEntryRel> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SegmentsEntryRelModelImpl
.
start
- the lower bound of the range of segments entry relsend
- the upper bound of the range of segments entry rels (not inclusive)java.util.List<SegmentsEntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SegmentsEntryRelModelImpl
.
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 (optionally null
)java.util.List<SegmentsEntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SegmentsEntryRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()