@ProviderType public interface CTAutoResolutionInfoPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CTAutoResolutionInfo>
Caching information and settings can be found in portal.properties
CTAutoResolutionInfoUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CTAutoResolutionInfo ctAutoResolutionInfo)
Caches the ct auto resolution info in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CTAutoResolutionInfo> ctAutoResolutionInfos)
Caches the ct auto resolution infos in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of ct auto resolution infos.
|
int |
countByCTCollectionId(long ctCollectionId)
Returns the number of ct auto resolution infos where ctCollectionId = ?.
|
CTAutoResolutionInfo |
create(long ctAutoResolutionInfoId)
Creates a new ct auto resolution info with the primary key.
|
CTAutoResolutionInfo |
fetchByCTCollectionId_First(long ctCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator)
Returns the first ct auto resolution info in the ordered set where ctCollectionId = ?.
|
CTAutoResolutionInfo |
fetchByCTCollectionId_Last(long ctCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator)
Returns the last ct auto resolution info in the ordered set where ctCollectionId = ?.
|
CTAutoResolutionInfo |
fetchByPrimaryKey(long ctAutoResolutionInfoId)
Returns the ct auto resolution info with the primary key or returns
null if it could not be found. |
java.util.List<CTAutoResolutionInfo> |
findAll()
Returns all the ct auto resolution infos.
|
java.util.List<CTAutoResolutionInfo> |
findAll(int start,
int end)
Returns a range of all the ct auto resolution infos.
|
java.util.List<CTAutoResolutionInfo> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator)
Returns an ordered range of all the ct auto resolution infos.
|
java.util.List<CTAutoResolutionInfo> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ct auto resolution infos.
|
CTAutoResolutionInfo |
findByCTCollectionId_First(long ctCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator)
Returns the first ct auto resolution info in the ordered set where ctCollectionId = ?.
|
CTAutoResolutionInfo |
findByCTCollectionId_Last(long ctCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator)
Returns the last ct auto resolution info in the ordered set where ctCollectionId = ?.
|
CTAutoResolutionInfo[] |
findByCTCollectionId_PrevAndNext(long ctAutoResolutionInfoId,
long ctCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator)
Returns the ct auto resolution infos before and after the current ct auto resolution info in the ordered set where ctCollectionId = ?.
|
java.util.List<CTAutoResolutionInfo> |
findByCTCollectionId(long ctCollectionId)
Returns all the ct auto resolution infos where ctCollectionId = ?.
|
java.util.List<CTAutoResolutionInfo> |
findByCTCollectionId(long ctCollectionId,
int start,
int end)
Returns a range of all the ct auto resolution infos where ctCollectionId = ?.
|
java.util.List<CTAutoResolutionInfo> |
findByCTCollectionId(long ctCollectionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator)
Returns an ordered range of all the ct auto resolution infos where ctCollectionId = ?.
|
java.util.List<CTAutoResolutionInfo> |
findByCTCollectionId(long ctCollectionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ct auto resolution infos where ctCollectionId = ?.
|
CTAutoResolutionInfo |
findByPrimaryKey(long ctAutoResolutionInfoId)
Returns the ct auto resolution info with the primary key or throws a
NoSuchAutoResolutionInfoException if it could not be found. |
CTAutoResolutionInfo |
remove(long ctAutoResolutionInfoId)
Removes the ct auto resolution info with the primary key from the database.
|
void |
removeAll()
Removes all the ct auto resolution infos from the database.
|
void |
removeByCTCollectionId(long ctCollectionId)
Removes all the ct auto resolution infos where ctCollectionId = ? from the database.
|
CTAutoResolutionInfo |
updateImpl(CTAutoResolutionInfo ctAutoResolutionInfo) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CTAutoResolutionInfo> findByCTCollectionId(long ctCollectionId)
ctCollectionId
- the ct collection IDjava.util.List<CTAutoResolutionInfo> findByCTCollectionId(long ctCollectionId, 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 CTAutoResolutionInfoModelImpl
.
ctCollectionId
- the ct collection IDstart
- the lower bound of the range of ct auto resolution infosend
- the upper bound of the range of ct auto resolution infos (not inclusive)java.util.List<CTAutoResolutionInfo> findByCTCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> 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 CTAutoResolutionInfoModelImpl
.
ctCollectionId
- the ct collection IDstart
- the lower bound of the range of ct auto resolution infosend
- the upper bound of the range of ct auto resolution infos (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CTAutoResolutionInfo> findByCTCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> 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 CTAutoResolutionInfoModelImpl
.
ctCollectionId
- the ct collection IDstart
- the lower bound of the range of ct auto resolution infosend
- the upper bound of the range of ct auto resolution infos (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCTAutoResolutionInfo findByCTCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator) throws NoSuchAutoResolutionInfoException
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAutoResolutionInfoException
- if a matching ct auto resolution info could not be foundCTAutoResolutionInfo fetchByCTCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator)
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct auto resolution info could not be foundCTAutoResolutionInfo findByCTCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator) throws NoSuchAutoResolutionInfoException
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAutoResolutionInfoException
- if a matching ct auto resolution info could not be foundCTAutoResolutionInfo fetchByCTCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator)
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct auto resolution info could not be foundCTAutoResolutionInfo[] findByCTCollectionId_PrevAndNext(long ctAutoResolutionInfoId, long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator) throws NoSuchAutoResolutionInfoException
ctAutoResolutionInfoId
- the primary key of the current ct auto resolution infoctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAutoResolutionInfoException
- if a ct auto resolution info with the primary key could not be foundvoid removeByCTCollectionId(long ctCollectionId)
ctCollectionId
- the ct collection IDint countByCTCollectionId(long ctCollectionId)
ctCollectionId
- the ct collection IDvoid cacheResult(CTAutoResolutionInfo ctAutoResolutionInfo)
ctAutoResolutionInfo
- the ct auto resolution infovoid cacheResult(java.util.List<CTAutoResolutionInfo> ctAutoResolutionInfos)
ctAutoResolutionInfos
- the ct auto resolution infosCTAutoResolutionInfo create(long ctAutoResolutionInfoId)
ctAutoResolutionInfoId
- the primary key for the new ct auto resolution infoCTAutoResolutionInfo remove(long ctAutoResolutionInfoId) throws NoSuchAutoResolutionInfoException
ctAutoResolutionInfoId
- the primary key of the ct auto resolution infoNoSuchAutoResolutionInfoException
- if a ct auto resolution info with the primary key could not be foundCTAutoResolutionInfo updateImpl(CTAutoResolutionInfo ctAutoResolutionInfo)
CTAutoResolutionInfo findByPrimaryKey(long ctAutoResolutionInfoId) throws NoSuchAutoResolutionInfoException
NoSuchAutoResolutionInfoException
if it could not be found.ctAutoResolutionInfoId
- the primary key of the ct auto resolution infoNoSuchAutoResolutionInfoException
- if a ct auto resolution info with the primary key could not be foundCTAutoResolutionInfo fetchByPrimaryKey(long ctAutoResolutionInfoId)
null
if it could not be found.ctAutoResolutionInfoId
- the primary key of the ct auto resolution infonull
if a ct auto resolution info with the primary key could not be foundjava.util.List<CTAutoResolutionInfo> findAll()
java.util.List<CTAutoResolutionInfo> 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 CTAutoResolutionInfoModelImpl
.
start
- the lower bound of the range of ct auto resolution infosend
- the upper bound of the range of ct auto resolution infos (not inclusive)java.util.List<CTAutoResolutionInfo> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> 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 CTAutoResolutionInfoModelImpl
.
start
- the lower bound of the range of ct auto resolution infosend
- the upper bound of the range of ct auto resolution infos (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CTAutoResolutionInfo> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> 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 CTAutoResolutionInfoModelImpl
.
start
- the lower bound of the range of ct auto resolution infosend
- the upper bound of the range of ct auto resolution infos (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()