Class CTAutoResolutionInfoUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CTAutoResolutionInfo ctAutoResolutionInfo) Caches the ct auto resolution info in the entity cache if it is enabled.static void
cacheResult
(List<CTAutoResolutionInfo> ctAutoResolutionInfos) Caches the ct auto resolution infos in the entity cache if it is enabled.static void
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 returnsnull
if it could not be found.static Map<Serializable,
CTAutoResolutionInfo> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static List<CTAutoResolutionInfo>
findAll()
Returns all the ct auto resolution infos.static List<CTAutoResolutionInfo>
findAll
(int start, int end) Returns a range of all the ct auto resolution infos.static 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 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 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 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 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 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 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 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 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 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
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 List<CTAutoResolutionInfo>
findByCtCollectionId
(long ctCollectionId) Returns all the ct auto resolution infos where ctCollectionId = ?.static List<CTAutoResolutionInfo>
findByCtCollectionId
(long ctCollectionId, int start, int end) Returns a range of all the ct auto resolution infos where ctCollectionId = ?.static 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 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
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 CTAutoResolutionInfo
findByPrimaryKey
(long ctAutoResolutionInfoId) Returns the ct auto resolution info with the primary key or throws aNoSuchAutoResolutionInfoException
if it could not be found.static List<CTAutoResolutionInfo>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CTAutoResolutionInfo>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CTAutoResolutionInfo>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator) static CTAutoResolutionInfo
remove
(long ctAutoResolutionInfoId) Removes the ct auto resolution info with the primary key from the database.static void
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 void
setPersistence
(CTAutoResolutionInfoPersistence persistence) static CTAutoResolutionInfo
update
(CTAutoResolutionInfo ctAutoResolutionInfo) static CTAutoResolutionInfo
update
(CTAutoResolutionInfo ctAutoResolutionInfo, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CTAutoResolutionInfo
updateImpl
(CTAutoResolutionInfo ctAutoResolutionInfo)
-
Constructor Details
-
CTAutoResolutionInfoUtil
public CTAutoResolutionInfoUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,CTAutoResolutionInfo> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CTAutoResolutionInfo> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CTAutoResolutionInfo> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CTAutoResolutionInfo> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CTAutoResolutionInfo update(CTAutoResolutionInfo ctAutoResolutionInfo, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByCtCollectionId
Returns all the ct auto resolution infos where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection ID- Returns:
- the matching ct auto resolution infos
-
findByCtCollectionId
public static List<CTAutoResolutionInfo> findByCtCollectionId(long ctCollectionId, int start, int end) Returns a range of all the ct auto resolution infos where ctCollectionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTAutoResolutionInfoModelImpl
.- Parameters:
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)- Returns:
- the range of matching ct auto resolution infos
-
findByCtCollectionId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTAutoResolutionInfoModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ct auto resolution infos
-
findByCtCollectionId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTAutoResolutionInfoModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ct auto resolution infos
-
findByCtCollectionId_First
public static CTAutoResolutionInfo findByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator) throws NoSuchAutoResolutionInfoException Returns the first ct auto resolution info in the ordered set where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct auto resolution info
- Throws:
NoSuchAutoResolutionInfoException
- if a matching ct auto resolution info could not be foundNoSuchAutoResolutionInfoException
-
fetchByCtCollectionId_First
public 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 = ?.- Parameters:
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct auto resolution info, or
null
if a matching ct auto resolution info could not be found
-
findByCtCollectionId_Last
public static CTAutoResolutionInfo findByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator) throws NoSuchAutoResolutionInfoException Returns the last ct auto resolution info in the ordered set where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct auto resolution info
- Throws:
NoSuchAutoResolutionInfoException
- if a matching ct auto resolution info could not be foundNoSuchAutoResolutionInfoException
-
fetchByCtCollectionId_Last
public 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 = ?.- Parameters:
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct auto resolution info, or
null
if a matching ct auto resolution info could not be found
-
findByCtCollectionId_PrevAndNext
public static CTAutoResolutionInfo[] findByCtCollectionId_PrevAndNext(long ctAutoResolutionInfoId, long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator) throws NoSuchAutoResolutionInfoException Returns the ct auto resolution infos before and after the current ct auto resolution info in the ordered set where ctCollectionId = ?.- Parameters:
ctAutoResolutionInfoId
- the primary key of the current ct auto resolution infoctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct auto resolution info
- Throws:
NoSuchAutoResolutionInfoException
- if a ct auto resolution info with the primary key could not be foundNoSuchAutoResolutionInfoException
-
removeByCtCollectionId
public static void removeByCtCollectionId(long ctCollectionId) Removes all the ct auto resolution infos where ctCollectionId = ? from the database.- Parameters:
ctCollectionId
- the ct collection ID
-
countByCtCollectionId
public static int countByCtCollectionId(long ctCollectionId) Returns the number of ct auto resolution infos where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection ID- Returns:
- the number of matching ct auto resolution infos
-
findByC_MCNI_SMCPK
public static List<CTAutoResolutionInfo> findByC_MCNI_SMCPK(long ctCollectionId, long modelClassNameId, long sourceModelClassPK) Returns all the ct auto resolution infos where ctCollectionId = ? and modelClassNameId = ? and sourceModelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pk- Returns:
- the matching ct auto resolution infos
-
findByC_MCNI_SMCPK
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTAutoResolutionInfoModelImpl
.- Parameters:
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)- Returns:
- the range of matching ct auto resolution infos
-
findByC_MCNI_SMCPK
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTAutoResolutionInfoModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ct auto resolution infos
-
findByC_MCNI_SMCPK
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTAutoResolutionInfoModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ct auto resolution infos
-
findByC_MCNI_SMCPK_First
public static CTAutoResolutionInfo findByC_MCNI_SMCPK_First(long ctCollectionId, long modelClassNameId, long sourceModelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator) throws NoSuchAutoResolutionInfoException Returns the first ct auto resolution info in the ordered set where ctCollectionId = ? and modelClassNameId = ? and sourceModelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct auto resolution info
- Throws:
NoSuchAutoResolutionInfoException
- if a matching ct auto resolution info could not be foundNoSuchAutoResolutionInfoException
-
fetchByC_MCNI_SMCPK_First
public 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 = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct auto resolution info, or
null
if a matching ct auto resolution info could not be found
-
findByC_MCNI_SMCPK_Last
public static CTAutoResolutionInfo findByC_MCNI_SMCPK_Last(long ctCollectionId, long modelClassNameId, long sourceModelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator) throws NoSuchAutoResolutionInfoException Returns the last ct auto resolution info in the ordered set where ctCollectionId = ? and modelClassNameId = ? and sourceModelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct auto resolution info
- Throws:
NoSuchAutoResolutionInfoException
- if a matching ct auto resolution info could not be foundNoSuchAutoResolutionInfoException
-
fetchByC_MCNI_SMCPK_Last
public 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 = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct auto resolution info, or
null
if a matching ct auto resolution info could not be found
-
findByC_MCNI_SMCPK_PrevAndNext
public static CTAutoResolutionInfo[] findByC_MCNI_SMCPK_PrevAndNext(long ctAutoResolutionInfoId, long ctCollectionId, long modelClassNameId, long sourceModelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTAutoResolutionInfo> orderByComparator) throws NoSuchAutoResolutionInfoException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next ct auto resolution info
- Throws:
NoSuchAutoResolutionInfoException
- if a ct auto resolution info with the primary key could not be foundNoSuchAutoResolutionInfoException
-
findByC_MCNI_SMCPK
public static 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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTAutoResolutionInfoModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPKs
- the source model class pks- Returns:
- the matching ct auto resolution infos
-
findByC_MCNI_SMCPK
public static 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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTAutoResolutionInfoModelImpl
.- Parameters:
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)- Returns:
- the range of matching ct auto resolution infos
-
findByC_MCNI_SMCPK
public static 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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTAutoResolutionInfoModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ct auto resolution infos
-
findByC_MCNI_SMCPK
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTAutoResolutionInfoModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ct auto resolution infos
-
removeByC_MCNI_SMCPK
public 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.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pk
-
countByC_MCNI_SMCPK
public 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 = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPK
- the source model class pk- Returns:
- the number of matching ct auto resolution infos
-
countByC_MCNI_SMCPK
public 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 ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDsourceModelClassPKs
- the source model class pks- Returns:
- the number of matching ct auto resolution infos
-
cacheResult
Caches the ct auto resolution info in the entity cache if it is enabled.- Parameters:
ctAutoResolutionInfo
- the ct auto resolution info
-
cacheResult
Caches the ct auto resolution infos in the entity cache if it is enabled.- Parameters:
ctAutoResolutionInfos
- the ct auto resolution infos
-
create
Creates a new ct auto resolution info with the primary key. Does not add the ct auto resolution info to the database.- Parameters:
ctAutoResolutionInfoId
- the primary key for the new ct auto resolution info- Returns:
- the new ct auto resolution info
-
remove
public static CTAutoResolutionInfo remove(long ctAutoResolutionInfoId) throws NoSuchAutoResolutionInfoException Removes the ct auto resolution info with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
ctAutoResolutionInfoId
- the primary key of the ct auto resolution info- Returns:
- the ct auto resolution info that was removed
- Throws:
NoSuchAutoResolutionInfoException
- if a ct auto resolution info with the primary key could not be foundNoSuchAutoResolutionInfoException
-
updateImpl
-
findByPrimaryKey
public static CTAutoResolutionInfo findByPrimaryKey(long ctAutoResolutionInfoId) throws NoSuchAutoResolutionInfoException Returns the ct auto resolution info with the primary key or throws aNoSuchAutoResolutionInfoException
if it could not be found.- Parameters:
ctAutoResolutionInfoId
- the primary key of the ct auto resolution info- Returns:
- the ct auto resolution info
- Throws:
NoSuchAutoResolutionInfoException
- if a ct auto resolution info with the primary key could not be foundNoSuchAutoResolutionInfoException
-
fetchByPrimaryKey
Returns the ct auto resolution info with the primary key or returnsnull
if it could not be found.- Parameters:
ctAutoResolutionInfoId
- the primary key of the ct auto resolution info- Returns:
- the ct auto resolution info, or
null
if a ct auto resolution info with the primary key could not be found
-
findAll
Returns all the ct auto resolution infos.- Returns:
- the ct auto resolution infos
-
findAll
Returns a range of all the ct auto resolution infos.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTAutoResolutionInfoModelImpl
.- Parameters:
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)- Returns:
- the range of ct auto resolution infos
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTAutoResolutionInfoModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of ct auto resolution infos
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTAutoResolutionInfoModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of ct auto resolution infos
-
removeAll
public static void removeAll()Removes all the ct auto resolution infos from the database. -
countAll
public static int countAll()Returns the number of ct auto resolution infos.- Returns:
- the number of ct auto resolution infos
-
getPersistence
-
setPersistence
-