@ProviderType public interface COREntryRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<COREntryRel>
Caching information and settings can be found in portal.properties
COREntryRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(COREntryRel corEntryRel)
Caches the cor entry rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<COREntryRel> corEntryRels)
Caches the cor entry rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of cor entry rels.
|
int |
countByC_C_C(long classNameId,
long classPK,
long COREntryId)
Returns the number of cor entry rels where classNameId = ? and classPK = ? and COREntryId = ?.
|
int |
countByC_C(long classNameId,
long COREntryId)
Returns the number of cor entry rels where classNameId = ? and COREntryId = ?.
|
int |
countByCOREntryId(long COREntryId)
Returns the number of cor entry rels where COREntryId = ?.
|
COREntryRel |
create(long COREntryRelId)
Creates a new cor entry rel with the primary key.
|
COREntryRel |
fetchByC_C_C(long classNameId,
long classPK,
long COREntryId)
Returns the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? or returns
null if it could not be found. |
COREntryRel |
fetchByC_C_C(long classNameId,
long classPK,
long COREntryId,
boolean useFinderCache)
Returns the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? or returns
null if it could not be found, optionally using the finder cache. |
COREntryRel |
fetchByC_C_First(long classNameId,
long COREntryId,
com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
Returns the first cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
|
COREntryRel |
fetchByC_C_Last(long classNameId,
long COREntryId,
com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
Returns the last cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
|
COREntryRel |
fetchByCOREntryId_First(long COREntryId,
com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
Returns the first cor entry rel in the ordered set where COREntryId = ?.
|
COREntryRel |
fetchByCOREntryId_Last(long COREntryId,
com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
Returns the last cor entry rel in the ordered set where COREntryId = ?.
|
COREntryRel |
fetchByPrimaryKey(long COREntryRelId)
Returns the cor entry rel with the primary key or returns
null if it could not be found. |
java.util.List<COREntryRel> |
findAll()
Returns all the cor entry rels.
|
java.util.List<COREntryRel> |
findAll(int start,
int end)
Returns a range of all the cor entry rels.
|
java.util.List<COREntryRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
Returns an ordered range of all the cor entry rels.
|
java.util.List<COREntryRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cor entry rels.
|
COREntryRel |
findByC_C_C(long classNameId,
long classPK,
long COREntryId)
Returns the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? or throws a
NoSuchCOREntryRelException if it could not be found. |
COREntryRel |
findByC_C_First(long classNameId,
long COREntryId,
com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
Returns the first cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
|
COREntryRel |
findByC_C_Last(long classNameId,
long COREntryId,
com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
Returns the last cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
|
COREntryRel[] |
findByC_C_PrevAndNext(long COREntryRelId,
long classNameId,
long COREntryId,
com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
Returns the cor entry rels before and after the current cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
|
java.util.List<COREntryRel> |
findByC_C(long classNameId,
long COREntryId)
Returns all the cor entry rels where classNameId = ? and COREntryId = ?.
|
java.util.List<COREntryRel> |
findByC_C(long classNameId,
long COREntryId,
int start,
int end)
Returns a range of all the cor entry rels where classNameId = ? and COREntryId = ?.
|
java.util.List<COREntryRel> |
findByC_C(long classNameId,
long COREntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
Returns an ordered range of all the cor entry rels where classNameId = ? and COREntryId = ?.
|
java.util.List<COREntryRel> |
findByC_C(long classNameId,
long COREntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cor entry rels where classNameId = ? and COREntryId = ?.
|
COREntryRel |
findByCOREntryId_First(long COREntryId,
com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
Returns the first cor entry rel in the ordered set where COREntryId = ?.
|
COREntryRel |
findByCOREntryId_Last(long COREntryId,
com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
Returns the last cor entry rel in the ordered set where COREntryId = ?.
|
COREntryRel[] |
findByCOREntryId_PrevAndNext(long COREntryRelId,
long COREntryId,
com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
Returns the cor entry rels before and after the current cor entry rel in the ordered set where COREntryId = ?.
|
java.util.List<COREntryRel> |
findByCOREntryId(long COREntryId)
Returns all the cor entry rels where COREntryId = ?.
|
java.util.List<COREntryRel> |
findByCOREntryId(long COREntryId,
int start,
int end)
Returns a range of all the cor entry rels where COREntryId = ?.
|
java.util.List<COREntryRel> |
findByCOREntryId(long COREntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
Returns an ordered range of all the cor entry rels where COREntryId = ?.
|
java.util.List<COREntryRel> |
findByCOREntryId(long COREntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cor entry rels where COREntryId = ?.
|
COREntryRel |
findByPrimaryKey(long COREntryRelId)
Returns the cor entry rel with the primary key or throws a
NoSuchCOREntryRelException if it could not be found. |
COREntryRel |
remove(long COREntryRelId)
Removes the cor entry rel with the primary key from the database.
|
void |
removeAll()
Removes all the cor entry rels from the database.
|
COREntryRel |
removeByC_C_C(long classNameId,
long classPK,
long COREntryId)
Removes the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? from the database.
|
void |
removeByC_C(long classNameId,
long COREntryId)
Removes all the cor entry rels where classNameId = ? and COREntryId = ? from the database.
|
void |
removeByCOREntryId(long COREntryId)
Removes all the cor entry rels where COREntryId = ? from the database.
|
COREntryRel |
updateImpl(COREntryRel corEntryRel) |
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, setDataSource, unregisterListener, update, update
java.util.List<COREntryRel> findByCOREntryId(long COREntryId)
COREntryId
- the cor entry IDjava.util.List<COREntryRel> findByCOREntryId(long COREntryId, 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 COREntryRelModelImpl
.
COREntryId
- the cor entry IDstart
- the lower bound of the range of cor entry relsend
- the upper bound of the range of cor entry rels (not inclusive)java.util.List<COREntryRel> findByCOREntryId(long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> 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 COREntryRelModelImpl
.
COREntryId
- the cor entry IDstart
- the lower bound of the range of cor entry relsend
- the upper bound of the range of cor entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<COREntryRel> findByCOREntryId(long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> 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 COREntryRelModelImpl
.
COREntryId
- the cor entry IDstart
- the lower bound of the range of cor entry relsend
- the upper bound of the range of cor entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCOREntryRel findByCOREntryId_First(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator) throws NoSuchCOREntryRelException
COREntryId
- the cor entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryRelException
- if a matching cor entry rel could not be foundCOREntryRel fetchByCOREntryId_First(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
COREntryId
- the cor entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry rel could not be foundCOREntryRel findByCOREntryId_Last(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator) throws NoSuchCOREntryRelException
COREntryId
- the cor entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryRelException
- if a matching cor entry rel could not be foundCOREntryRel fetchByCOREntryId_Last(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
COREntryId
- the cor entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry rel could not be foundCOREntryRel[] findByCOREntryId_PrevAndNext(long COREntryRelId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator) throws NoSuchCOREntryRelException
COREntryRelId
- the primary key of the current cor entry relCOREntryId
- the cor entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryRelException
- if a cor entry rel with the primary key could not be foundvoid removeByCOREntryId(long COREntryId)
COREntryId
- the cor entry IDint countByCOREntryId(long COREntryId)
COREntryId
- the cor entry IDjava.util.List<COREntryRel> findByC_C(long classNameId, long COREntryId)
classNameId
- the class name IDCOREntryId
- the cor entry IDjava.util.List<COREntryRel> findByC_C(long classNameId, long COREntryId, 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 COREntryRelModelImpl
.
classNameId
- the class name IDCOREntryId
- the cor entry IDstart
- the lower bound of the range of cor entry relsend
- the upper bound of the range of cor entry rels (not inclusive)java.util.List<COREntryRel> findByC_C(long classNameId, long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> 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 COREntryRelModelImpl
.
classNameId
- the class name IDCOREntryId
- the cor entry IDstart
- the lower bound of the range of cor entry relsend
- the upper bound of the range of cor entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<COREntryRel> findByC_C(long classNameId, long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> 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 COREntryRelModelImpl
.
classNameId
- the class name IDCOREntryId
- the cor entry IDstart
- the lower bound of the range of cor entry relsend
- the upper bound of the range of cor entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCOREntryRel findByC_C_First(long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator) throws NoSuchCOREntryRelException
classNameId
- the class name IDCOREntryId
- the cor entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryRelException
- if a matching cor entry rel could not be foundCOREntryRel fetchByC_C_First(long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
classNameId
- the class name IDCOREntryId
- the cor entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry rel could not be foundCOREntryRel findByC_C_Last(long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator) throws NoSuchCOREntryRelException
classNameId
- the class name IDCOREntryId
- the cor entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryRelException
- if a matching cor entry rel could not be foundCOREntryRel fetchByC_C_Last(long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
classNameId
- the class name IDCOREntryId
- the cor entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cor entry rel could not be foundCOREntryRel[] findByC_C_PrevAndNext(long COREntryRelId, long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator) throws NoSuchCOREntryRelException
COREntryRelId
- the primary key of the current cor entry relclassNameId
- the class name IDCOREntryId
- the cor entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCOREntryRelException
- if a cor entry rel with the primary key could not be foundvoid removeByC_C(long classNameId, long COREntryId)
classNameId
- the class name IDCOREntryId
- the cor entry IDint countByC_C(long classNameId, long COREntryId)
classNameId
- the class name IDCOREntryId
- the cor entry IDCOREntryRel findByC_C_C(long classNameId, long classPK, long COREntryId) throws NoSuchCOREntryRelException
NoSuchCOREntryRelException
if it could not be found.classNameId
- the class name IDclassPK
- the class pkCOREntryId
- the cor entry IDNoSuchCOREntryRelException
- if a matching cor entry rel could not be foundCOREntryRel fetchByC_C_C(long classNameId, long classPK, long COREntryId)
null
if it could not be found. Uses the finder cache.classNameId
- the class name IDclassPK
- the class pkCOREntryId
- the cor entry IDnull
if a matching cor entry rel could not be foundCOREntryRel fetchByC_C_C(long classNameId, long classPK, long COREntryId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.classNameId
- the class name IDclassPK
- the class pkCOREntryId
- the cor entry IDuseFinderCache
- whether to use the finder cachenull
if a matching cor entry rel could not be foundCOREntryRel removeByC_C_C(long classNameId, long classPK, long COREntryId) throws NoSuchCOREntryRelException
classNameId
- the class name IDclassPK
- the class pkCOREntryId
- the cor entry IDNoSuchCOREntryRelException
int countByC_C_C(long classNameId, long classPK, long COREntryId)
classNameId
- the class name IDclassPK
- the class pkCOREntryId
- the cor entry IDvoid cacheResult(COREntryRel corEntryRel)
corEntryRel
- the cor entry relvoid cacheResult(java.util.List<COREntryRel> corEntryRels)
corEntryRels
- the cor entry relsCOREntryRel create(long COREntryRelId)
COREntryRelId
- the primary key for the new cor entry relCOREntryRel remove(long COREntryRelId) throws NoSuchCOREntryRelException
COREntryRelId
- the primary key of the cor entry relNoSuchCOREntryRelException
- if a cor entry rel with the primary key could not be foundCOREntryRel updateImpl(COREntryRel corEntryRel)
COREntryRel findByPrimaryKey(long COREntryRelId) throws NoSuchCOREntryRelException
NoSuchCOREntryRelException
if it could not be found.COREntryRelId
- the primary key of the cor entry relNoSuchCOREntryRelException
- if a cor entry rel with the primary key could not be foundCOREntryRel fetchByPrimaryKey(long COREntryRelId)
null
if it could not be found.COREntryRelId
- the primary key of the cor entry relnull
if a cor entry rel with the primary key could not be foundjava.util.List<COREntryRel> findAll()
java.util.List<COREntryRel> 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 COREntryRelModelImpl
.
start
- the lower bound of the range of cor entry relsend
- the upper bound of the range of cor entry rels (not inclusive)java.util.List<COREntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> 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 COREntryRelModelImpl
.
start
- the lower bound of the range of cor entry relsend
- the upper bound of the range of cor entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<COREntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> 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 COREntryRelModelImpl
.
start
- the lower bound of the range of cor entry relsend
- the upper bound of the range of cor entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()