Class CTAutoResolutionInfoUtil

java.lang.Object
com.liferay.change.tracking.service.persistence.CTAutoResolutionInfoUtil

public class CTAutoResolutionInfoUtil extends Object
The persistence utility for the ct auto resolution info service. This utility wraps 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 Details

    • CTAutoResolutionInfoUtil

      public CTAutoResolutionInfoUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(CTAutoResolutionInfo ctAutoResolutionInfo)
      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

      public static CTAutoResolutionInfo update(CTAutoResolutionInfo ctAutoResolutionInfo)
      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

      public static List<CTAutoResolutionInfo> findByCtCollectionId(long ctCollectionId)
      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 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.

      Parameters:
      ctCollectionId - the ct collection ID
      start - the lower bound of the range of ct auto resolution infos
      end - 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 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.

      Parameters:
      ctCollectionId - the ct collection ID
      start - the lower bound of the range of ct auto resolution infos
      end - the upper bound of the range of ct auto resolution infos (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 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.

      Parameters:
      ctCollectionId - the ct collection ID
      start - the lower bound of the range of ct auto resolution infos
      end - 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 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct auto resolution info
      Throws:
      NoSuchAutoResolutionInfoException - if a matching ct auto resolution info could not be found
      NoSuchAutoResolutionInfoException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct auto resolution info
      Throws:
      NoSuchAutoResolutionInfoException - if a matching ct auto resolution info could not be found
      NoSuchAutoResolutionInfoException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 info
      ctCollectionId - the ct collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchAutoResolutionInfoException
    • 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 ID
      modelClassNameId - the model class name ID
      sourceModelClassPK - 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 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.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      sourceModelClassPK - the source model class pk
      start - the lower bound of the range of ct auto resolution infos
      end - 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 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.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      sourceModelClassPK - the source model class pk
      start - the lower bound of the range of ct auto resolution infos
      end - the upper bound of the range of ct auto resolution infos (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 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.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      sourceModelClassPK - the source model class pk
      start - the lower bound of the range of ct auto resolution infos
      end - 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 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 ID
      modelClassNameId - the model class name ID
      sourceModelClassPK - the source model class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct auto resolution info
      Throws:
      NoSuchAutoResolutionInfoException - if a matching ct auto resolution info could not be found
      NoSuchAutoResolutionInfoException
    • 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 ID
      modelClassNameId - the model class name ID
      sourceModelClassPK - the source model class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      modelClassNameId - the model class name ID
      sourceModelClassPK - the source model class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct auto resolution info
      Throws:
      NoSuchAutoResolutionInfoException - if a matching ct auto resolution info could not be found
      NoSuchAutoResolutionInfoException
    • 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 ID
      modelClassNameId - the model class name ID
      sourceModelClassPK - the source model class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 info
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      sourceModelClassPK - the source model class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchAutoResolutionInfoException
    • 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 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.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      sourceModelClassPKs - 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 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.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      sourceModelClassPKs - the source model class pks
      start - the lower bound of the range of ct auto resolution infos
      end - 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 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.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      sourceModelClassPKs - the source model class pks
      start - the lower bound of the range of ct auto resolution infos
      end - the upper bound of the range of ct auto resolution infos (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 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.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      sourceModelClassPKs - the source model class pks
      start - the lower bound of the range of ct auto resolution infos
      end - 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 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 ID
      modelClassNameId - the model class name ID
      sourceModelClassPK - 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 ID
      modelClassNameId - the model class name ID
      sourceModelClassPK - 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 ID
      modelClassNameId - the model class name ID
      sourceModelClassPKs - the source model class pks
      Returns:
      the number of matching ct auto resolution infos
    • cacheResult

      public static void cacheResult(CTAutoResolutionInfo ctAutoResolutionInfo)
      Caches the ct auto resolution info in the entity cache if it is enabled.
      Parameters:
      ctAutoResolutionInfo - the ct auto resolution info
    • cacheResult

      public static void cacheResult(List<CTAutoResolutionInfo> ctAutoResolutionInfos)
      Caches the ct auto resolution infos in the entity cache if it is enabled.
      Parameters:
      ctAutoResolutionInfos - the ct auto resolution infos
    • create

      public static CTAutoResolutionInfo create(long ctAutoResolutionInfoId)
      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 found
      NoSuchAutoResolutionInfoException
    • updateImpl

      public static CTAutoResolutionInfo updateImpl(CTAutoResolutionInfo ctAutoResolutionInfo)
    • findByPrimaryKey

      public static CTAutoResolutionInfo findByPrimaryKey(long ctAutoResolutionInfoId) throws NoSuchAutoResolutionInfoException
      Returns the ct auto resolution info with the primary key or throws a NoSuchAutoResolutionInfoException 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 found
      NoSuchAutoResolutionInfoException
    • fetchByPrimaryKey

      public static CTAutoResolutionInfo fetchByPrimaryKey(long ctAutoResolutionInfoId)
      Returns the ct auto resolution info with the primary key or returns null 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

      public static List<CTAutoResolutionInfo> findAll()
      Returns all the ct auto resolution infos.
      Returns:
      the ct auto resolution infos
    • findAll

      public static List<CTAutoResolutionInfo> findAll(int start, int end)
      Returns a range of all the ct auto resolution infos.

      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.

      Parameters:
      start - the lower bound of the range of ct auto resolution infos
      end - 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 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.

      Parameters:
      start - the lower bound of the range of ct auto resolution infos
      end - the upper bound of the range of ct auto resolution infos (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 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.

      Parameters:
      start - the lower bound of the range of ct auto resolution infos
      end - 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 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

      public static CTAutoResolutionInfoPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CTAutoResolutionInfoPersistence persistence)