public class CTAutoResolutionInfoUtil
extends java.lang.Object
com.liferay.change.tracking.service.persistence.impl.CTAutoResolutionInfoPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
CTAutoResolutionInfoPersistence
Constructor and Description |
---|
CTAutoResolutionInfoUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CTAutoResolutionInfo ctAutoResolutionInfo)
Caches the ct auto resolution info in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CTAutoResolutionInfo> ctAutoResolutionInfos)
Caches the ct auto resolution infos in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CTAutoResolutionInfo ctAutoResolutionInfo) |
static int |
countAll()
Returns the number of ct auto resolution infos.
|
static int |
countByC_MCNI_SMCPK(long ctCollectionId,
long modelClassNameId,
long sourceModelClassPK)
Returns the number of ct auto resolution infos where ctCollectionId = ? and modelClassNameId = ? and sourceModelClassPK = ?.
|
static int |
countByC_MCNI_SMCPK(long ctCollectionId,
long modelClassNameId,
long[] sourceModelClassPKs)
Returns the number of ct auto resolution infos where ctCollectionId = ? and modelClassNameId = ? and sourceModelClassPK = any ?.
|
static int |
countByCtCollectionId(long ctCollectionId)
Returns the number of ct auto resolution infos where ctCollectionId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CTAutoResolutionInfo |
create(long ctAutoResolutionInfoId)
Creates a new ct auto resolution info with the primary key.
|
static CTAutoResolutionInfo |
fetchByC_MCNI_SMCPK_First(long ctCollectionId,
long modelClassNameId,
long sourceModelClassPK,
com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator)
Returns the first ct auto resolution info in the ordered set where ctCollectionId = ? and modelClassNameId = ? and sourceModelClassPK = ?.
|
static CTAutoResolutionInfo |
fetchByC_MCNI_SMCPK_Last(long ctCollectionId,
long modelClassNameId,
long sourceModelClassPK,
com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator)
Returns the last ct auto resolution info in the ordered set where ctCollectionId = ? and modelClassNameId = ? and sourceModelClassPK = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static CTAutoResolutionInfo |
fetchByPrimaryKey(long ctAutoResolutionInfoId)
Returns the ct auto resolution info with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CTAutoResolutionInfo> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<CTAutoResolutionInfo> |
findAll()
Returns all the ct auto resolution infos.
|
static java.util.List<CTAutoResolutionInfo> |
findAll(int start,
int end)
Returns a range of all the ct auto resolution infos.
|
static 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.
|
static 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.
|
static CTAutoResolutionInfo |
findByC_MCNI_SMCPK_First(long ctCollectionId,
long modelClassNameId,
long sourceModelClassPK,
com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator)
Returns the first ct auto resolution info in the ordered set where ctCollectionId = ? and modelClassNameId = ? and sourceModelClassPK = ?.
|
static CTAutoResolutionInfo |
findByC_MCNI_SMCPK_Last(long ctCollectionId,
long modelClassNameId,
long sourceModelClassPK,
com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator)
Returns the last ct auto resolution info in the ordered set where ctCollectionId = ? and modelClassNameId = ? and sourceModelClassPK = ?.
|
static CTAutoResolutionInfo[] |
findByC_MCNI_SMCPK_PrevAndNext(long ctAutoResolutionInfoId,
long ctCollectionId,
long modelClassNameId,
long sourceModelClassPK,
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 = ? and modelClassNameId = ? and sourceModelClassPK = ?.
|
static java.util.List<CTAutoResolutionInfo> |
findByC_MCNI_SMCPK(long ctCollectionId,
long modelClassNameId,
long sourceModelClassPK)
Returns all the ct auto resolution infos where ctCollectionId = ? and modelClassNameId = ? and sourceModelClassPK = ?.
|
static java.util.List<CTAutoResolutionInfo> |
findByC_MCNI_SMCPK(long ctCollectionId,
long modelClassNameId,
long[] sourceModelClassPKs)
Returns all the ct auto resolution infos where ctCollectionId = ? and modelClassNameId = ? and sourceModelClassPK = any ?.
|
static java.util.List<CTAutoResolutionInfo> |
findByC_MCNI_SMCPK(long ctCollectionId,
long modelClassNameId,
long[] sourceModelClassPKs,
int start,
int end)
Returns a range of all the ct auto resolution infos where ctCollectionId = ? and modelClassNameId = ? and sourceModelClassPK = any ?.
|
static java.util.List<CTAutoResolutionInfo> |
findByC_MCNI_SMCPK(long ctCollectionId,
long modelClassNameId,
long[] sourceModelClassPKs,
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 = ? and modelClassNameId = ? and sourceModelClassPK = any ?.
|
static java.util.List<CTAutoResolutionInfo> |
findByC_MCNI_SMCPK(long ctCollectionId,
long modelClassNameId,
long[] sourceModelClassPKs,
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 = ? and modelClassNameId = ? and sourceModelClassPK = ?, optionally using the finder cache.
|
static java.util.List<CTAutoResolutionInfo> |
findByC_MCNI_SMCPK(long ctCollectionId,
long modelClassNameId,
long sourceModelClassPK,
int start,
int end)
Returns a range of all the ct auto resolution infos where ctCollectionId = ? and modelClassNameId = ? and sourceModelClassPK = ?.
|
static java.util.List<CTAutoResolutionInfo> |
findByC_MCNI_SMCPK(long ctCollectionId,
long modelClassNameId,
long sourceModelClassPK,
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 = ? and modelClassNameId = ? and sourceModelClassPK = ?.
|
static java.util.List<CTAutoResolutionInfo> |
findByC_MCNI_SMCPK(long ctCollectionId,
long modelClassNameId,
long sourceModelClassPK,
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 = ? and modelClassNameId = ? and sourceModelClassPK = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<CTAutoResolutionInfo> |
findByCtCollectionId(long ctCollectionId)
Returns all the ct auto resolution infos where ctCollectionId = ?.
|
static java.util.List<CTAutoResolutionInfo> |
findByCtCollectionId(long ctCollectionId,
int start,
int end)
Returns a range of all the ct auto resolution infos where ctCollectionId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static CTAutoResolutionInfo |
findByPrimaryKey(long ctAutoResolutionInfoId)
Returns the ct auto resolution info with the primary key or throws a
NoSuchAutoResolutionInfoException if it could not be found. |
static java.util.List<CTAutoResolutionInfo> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CTAutoResolutionInfo> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CTAutoResolutionInfo> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator) |
static CTAutoResolutionInfoPersistence |
getPersistence() |
static CTAutoResolutionInfo |
remove(long ctAutoResolutionInfoId)
Removes the ct auto resolution info with the primary key from the database.
|
static void |
removeAll()
Removes all the ct auto resolution infos from the database.
|
static void |
removeByC_MCNI_SMCPK(long ctCollectionId,
long modelClassNameId,
long sourceModelClassPK)
Removes all the ct auto resolution infos where ctCollectionId = ? and modelClassNameId = ? and sourceModelClassPK = ? from the database.
|
static void |
removeByCtCollectionId(long ctCollectionId)
Removes all the ct auto resolution infos where ctCollectionId = ? from the database.
|
static CTAutoResolutionInfo |
update(CTAutoResolutionInfo ctAutoResolutionInfo) |
static CTAutoResolutionInfo |
update(CTAutoResolutionInfo ctAutoResolutionInfo,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CTAutoResolutionInfo |
updateImpl(CTAutoResolutionInfo ctAutoResolutionInfo) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CTAutoResolutionInfo ctAutoResolutionInfo)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,CTAutoResolutionInfo> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CTAutoResolutionInfo> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CTAutoResolutionInfo> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CTAutoResolutionInfo> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CTAutoResolutionInfo update(CTAutoResolutionInfo ctAutoResolutionInfo)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CTAutoResolutionInfo update(CTAutoResolutionInfo ctAutoResolutionInfo, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CTAutoResolutionInfo> findByCtCollectionId(long ctCollectionId)
ctCollectionId
- the ct collection IDpublic static java.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)public static 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
)public static 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 cachepublic static CTAutoResolutionInfo 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 foundpublic static CTAutoResolutionInfo 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 foundpublic static CTAutoResolutionInfo 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 foundpublic static CTAutoResolutionInfo 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 foundpublic static CTAutoResolutionInfo[] 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 foundpublic static void removeByCtCollectionId(long ctCollectionId)
ctCollectionId
- the ct collection IDpublic static int countByCtCollectionId(long ctCollectionId)
ctCollectionId
- the ct collection IDpublic static java.util.List<CTAutoResolutionInfo> findByC_MCNI_SMCPK(long ctCollectionId, long modelClassNameId, long sourceModelClassPK)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pkpublic static java.util.List<CTAutoResolutionInfo> findByC_MCNI_SMCPK(long ctCollectionId, long modelClassNameId, long sourceModelClassPK, 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 IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pkstart
- the lower bound of the range of ct auto resolution infosend
- the upper bound of the range of ct auto resolution infos (not inclusive)public static java.util.List<CTAutoResolutionInfo> findByC_MCNI_SMCPK(long ctCollectionId, long modelClassNameId, long sourceModelClassPK, 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 IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pkstart
- 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
)public static java.util.List<CTAutoResolutionInfo> findByC_MCNI_SMCPK(long ctCollectionId, long modelClassNameId, long sourceModelClassPK, 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 IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pkstart
- 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 cachepublic static CTAutoResolutionInfo findByC_MCNI_SMCPK_First(long ctCollectionId, long modelClassNameId, long sourceModelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator) throws NoSuchAutoResolutionInfoException
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAutoResolutionInfoException
- if a matching ct auto resolution info could not be foundpublic static CTAutoResolutionInfo fetchByC_MCNI_SMCPK_First(long ctCollectionId, long modelClassNameId, long sourceModelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct auto resolution info could not be foundpublic static CTAutoResolutionInfo findByC_MCNI_SMCPK_Last(long ctCollectionId, long modelClassNameId, long sourceModelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator) throws NoSuchAutoResolutionInfoException
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAutoResolutionInfoException
- if a matching ct auto resolution info could not be foundpublic static CTAutoResolutionInfo fetchByC_MCNI_SMCPK_Last(long ctCollectionId, long modelClassNameId, long sourceModelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ct auto resolution info could not be foundpublic static CTAutoResolutionInfo[] findByC_MCNI_SMCPK_PrevAndNext(long ctAutoResolutionInfoId, long ctCollectionId, long modelClassNameId, long sourceModelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator) throws NoSuchAutoResolutionInfoException
ctAutoResolutionInfoId
- the primary key of the current ct auto resolution infoctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAutoResolutionInfoException
- if a ct auto resolution info with the primary key could not be foundpublic static java.util.List<CTAutoResolutionInfo> findByC_MCNI_SMCPK(long ctCollectionId, long modelClassNameId, long[] sourceModelClassPKs)
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 IDmodelClassNameId
- the model class name IDsourceModelClassPKs
- the source model class pkspublic static java.util.List<CTAutoResolutionInfo> findByC_MCNI_SMCPK(long ctCollectionId, long modelClassNameId, long[] sourceModelClassPKs, 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 IDmodelClassNameId
- the model class name IDsourceModelClassPKs
- the source model class pksstart
- the lower bound of the range of ct auto resolution infosend
- the upper bound of the range of ct auto resolution infos (not inclusive)public static java.util.List<CTAutoResolutionInfo> findByC_MCNI_SMCPK(long ctCollectionId, long modelClassNameId, long[] sourceModelClassPKs, 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 IDmodelClassNameId
- the model class name IDsourceModelClassPKs
- the source model class pksstart
- 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
)public static java.util.List<CTAutoResolutionInfo> findByC_MCNI_SMCPK(long ctCollectionId, long modelClassNameId, long[] sourceModelClassPKs, 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 IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pkstart
- 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 cachepublic static void removeByC_MCNI_SMCPK(long ctCollectionId, long modelClassNameId, long sourceModelClassPK)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pkpublic static int countByC_MCNI_SMCPK(long ctCollectionId, long modelClassNameId, long sourceModelClassPK)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pkpublic static int countByC_MCNI_SMCPK(long ctCollectionId, long modelClassNameId, long[] sourceModelClassPKs)
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPKs
- the source model class pkspublic static void cacheResult(CTAutoResolutionInfo ctAutoResolutionInfo)
ctAutoResolutionInfo
- the ct auto resolution infopublic static void cacheResult(java.util.List<CTAutoResolutionInfo> ctAutoResolutionInfos)
ctAutoResolutionInfos
- the ct auto resolution infospublic static CTAutoResolutionInfo create(long ctAutoResolutionInfoId)
ctAutoResolutionInfoId
- the primary key for the new ct auto resolution infopublic static CTAutoResolutionInfo 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 foundpublic static CTAutoResolutionInfo updateImpl(CTAutoResolutionInfo ctAutoResolutionInfo)
public static 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 foundpublic static CTAutoResolutionInfo 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 foundpublic static java.util.List<CTAutoResolutionInfo> findAll()
public static 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)public static 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
)public static 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 cachepublic static void removeAll()
public static int countAll()
public static CTAutoResolutionInfoPersistence getPersistence()