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

public class CTEntryUtil extends Object
The persistence utility for the ct entry service. This utility wraps com.liferay.change.tracking.service.persistence.impl.CTEntryPersistenceImpl 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Caches the ct entry in the entity cache if it is enabled.
    static void
    cacheResult(List<CTEntry> ctEntries)
    Caches the ct entries in the entity cache if it is enabled.
    static void
     
    static void
     
    static int
    Returns the number of ct entries.
    static int
    countByC_MCNI(long ctCollectionId, long modelClassNameId)
    Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ?.
    static int
    countByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
    Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ?.
    static int
    countByCtCollectionId(long ctCollectionId)
    Returns the number of ct entries where ctCollectionId = ?.
    static int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of ct entries where externalReferenceCode = ? and companyId = ?.
    static int
    countByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
    Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
    static int
    countByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs)
    Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.
    static int
    Returns the number of ct entries where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of ct entries where uuid = ? and companyId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    static CTEntry
    create(long ctEntryId)
    Creates a new ct entry with the primary key.
    static CTEntry
    fetchByC_MCNI_First(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.
    static CTEntry
    fetchByC_MCNI_Last(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the last ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.
    static CTEntry
    fetchByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
    Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returns null if it could not be found.
    static CTEntry
    fetchByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, boolean useFinderCache)
    Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returns null if it could not be found, optionally using the finder cache.
    static CTEntry
    fetchByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the first ct entry in the ordered set where ctCollectionId = ?.
    static CTEntry
    fetchByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the last ct entry in the ordered set where ctCollectionId = ?.
    static CTEntry
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the ct entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    static CTEntry
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the ct entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    static CTEntry
    fetchByNotC_MCNI_MCPK_First(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
    static CTEntry
    fetchByNotC_MCNI_MCPK_Last(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the last ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
    static CTEntry
    fetchByPrimaryKey(long ctEntryId)
    Returns the ct entry with the primary key or returns null if it could not be found.
     
    static CTEntry
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the first ct entry in the ordered set where uuid = ? and companyId = ?.
    static CTEntry
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the last ct entry in the ordered set where uuid = ? and companyId = ?.
    static CTEntry
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the first ct entry in the ordered set where uuid = ?.
    static CTEntry
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the last ct entry in the ordered set where uuid = ?.
    static List<CTEntry>
    Returns all the ct entries.
    static List<CTEntry>
    findAll(int start, int end)
    Returns a range of all the ct entries.
    static List<CTEntry>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns an ordered range of all the ct entries.
    static List<CTEntry>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct entries.
    static List<CTEntry>
    findByC_MCNI(long ctCollectionId, long modelClassNameId)
    Returns all the ct entries where ctCollectionId = ? and modelClassNameId = ?.
    static List<CTEntry>
    findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end)
    Returns a range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.
    static List<CTEntry>
    findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.
    static List<CTEntry>
    findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.
    static CTEntry
    findByC_MCNI_First(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.
    static CTEntry
    findByC_MCNI_Last(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the last ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.
    static CTEntry
    findByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
    Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or throws a NoSuchEntryException if it could not be found.
    static CTEntry[]
    findByC_MCNI_PrevAndNext(long ctEntryId, long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.
    static List<CTEntry>
    findByCtCollectionId(long ctCollectionId)
    Returns all the ct entries where ctCollectionId = ?.
    static List<CTEntry>
    findByCtCollectionId(long ctCollectionId, int start, int end)
    Returns a range of all the ct entries where ctCollectionId = ?.
    static List<CTEntry>
    findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns an ordered range of all the ct entries where ctCollectionId = ?.
    static List<CTEntry>
    findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct entries where ctCollectionId = ?.
    static CTEntry
    findByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the first ct entry in the ordered set where ctCollectionId = ?.
    static CTEntry
    findByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the last ct entry in the ordered set where ctCollectionId = ?.
    static CTEntry[]
    findByCtCollectionId_PrevAndNext(long ctEntryId, long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId = ?.
    static CTEntry
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the ct entry where externalReferenceCode = ? and companyId = ? or throws a NoSuchEntryException if it could not be found.
    static List<CTEntry>
    findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
    Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
    static List<CTEntry>
    findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs)
    Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.
    static List<CTEntry>
    findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end)
    Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.
    static List<CTEntry>
    findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.
    static List<CTEntry>
    findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?, optionally using the finder cache.
    static List<CTEntry>
    findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end)
    Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
    static List<CTEntry>
    findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
    static List<CTEntry>
    findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
    static CTEntry
    findByNotC_MCNI_MCPK_First(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
    static CTEntry
    findByNotC_MCNI_MCPK_Last(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the last ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
    static CTEntry[]
    findByNotC_MCNI_MCPK_PrevAndNext(long ctEntryId, long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
    static CTEntry
    findByPrimaryKey(long ctEntryId)
    Returns the ct entry with the primary key or throws a NoSuchEntryException if it could not be found.
    static List<CTEntry>
    Returns all the ct entries where uuid = ?.
    static List<CTEntry>
    findByUuid(String uuid, int start, int end)
    Returns a range of all the ct entries where uuid = ?.
    static List<CTEntry>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns an ordered range of all the ct entries where uuid = ?.
    static List<CTEntry>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct entries where uuid = ?.
    static List<CTEntry>
    findByUuid_C(String uuid, long companyId)
    Returns all the ct entries where uuid = ? and companyId = ?.
    static List<CTEntry>
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the ct entries where uuid = ? and companyId = ?.
    static List<CTEntry>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns an ordered range of all the ct entries where uuid = ? and companyId = ?.
    static List<CTEntry>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct entries where uuid = ? and companyId = ?.
    static CTEntry
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the first ct entry in the ordered set where uuid = ? and companyId = ?.
    static CTEntry
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the last ct entry in the ordered set where uuid = ? and companyId = ?.
    static CTEntry[]
    findByUuid_C_PrevAndNext(long ctEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the ct entries before and after the current ct entry in the ordered set where uuid = ? and companyId = ?.
    static CTEntry
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the first ct entry in the ordered set where uuid = ?.
    static CTEntry
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the last ct entry in the ordered set where uuid = ?.
    static CTEntry[]
    findByUuid_PrevAndNext(long ctEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the ct entries before and after the current ct entry in the ordered set where uuid = ?.
    static List<CTEntry>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    static List<CTEntry>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    static List<CTEntry>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
     
     
    static CTEntry
    remove(long ctEntryId)
    Removes the ct entry with the primary key from the database.
    static void
    Removes all the ct entries from the database.
    static void
    removeByC_MCNI(long ctCollectionId, long modelClassNameId)
    Removes all the ct entries where ctCollectionId = ? and modelClassNameId = ? from the database.
    static CTEntry
    removeByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
    Removes the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? from the database.
    static void
    removeByCtCollectionId(long ctCollectionId)
    Removes all the ct entries where ctCollectionId = ? from the database.
    static CTEntry
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the ct entry where externalReferenceCode = ? and companyId = ? from the database.
    static void
    removeByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
    Removes all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ? from the database.
    static void
    Removes all the ct entries where uuid = ? from the database.
    static void
    removeByUuid_C(String uuid, long companyId)
    Removes all the ct entries where uuid = ? and companyId = ? from the database.
    static void
     
    static CTEntry
    update(CTEntry ctEntry)
     
    static CTEntry
    update(CTEntry ctEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static CTEntry
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CTEntryUtil

      public CTEntryUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(CTEntry ctEntry)
      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,CTEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<CTEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<CTEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<CTEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static CTEntry update(CTEntry ctEntry)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static CTEntry update(CTEntry ctEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<CTEntry> findByUuid(String uuid)
      Returns all the ct entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching ct entries
    • findByUuid

      public static List<CTEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the ct entries where uuid = ?.

      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 CTEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (not inclusive)
      Returns:
      the range of matching ct entries
    • findByUuid

      public static List<CTEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns an ordered range of all the ct entries where uuid = ?.

      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 CTEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct entries
    • findByUuid

      public static List<CTEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct entries where uuid = ?.

      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 CTEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (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 entries
    • findByUuid_First

      public static CTEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
      Returns the first ct entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct entry
      Throws:
      NoSuchEntryException - if a matching ct entry could not be found
      NoSuchEntryException
    • fetchByUuid_First

      public static CTEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns the first ct entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct entry, or null if a matching ct entry could not be found
    • findByUuid_Last

      public static CTEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
      Returns the last ct entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct entry
      Throws:
      NoSuchEntryException - if a matching ct entry could not be found
      NoSuchEntryException
    • fetchByUuid_Last

      public static CTEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns the last ct entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct entry, or null if a matching ct entry could not be found
    • findByUuid_PrevAndNext

      public static CTEntry[] findByUuid_PrevAndNext(long ctEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
      Returns the ct entries before and after the current ct entry in the ordered set where uuid = ?.
      Parameters:
      ctEntryId - the primary key of the current ct entry
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct entry
      Throws:
      NoSuchEntryException - if a ct entry with the primary key could not be found
      NoSuchEntryException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the ct entries where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of ct entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching ct entries
    • findByUuid_C

      public static List<CTEntry> findByUuid_C(String uuid, long companyId)
      Returns all the ct entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching ct entries
    • findByUuid_C

      public static List<CTEntry> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the ct entries where uuid = ? and companyId = ?.

      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 CTEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (not inclusive)
      Returns:
      the range of matching ct entries
    • findByUuid_C

      public static List<CTEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns an ordered range of all the ct entries where uuid = ? and companyId = ?.

      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 CTEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct entries
    • findByUuid_C

      public static List<CTEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct entries where uuid = ? and companyId = ?.

      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 CTEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (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 entries
    • findByUuid_C_First

      public static CTEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
      Returns the first ct entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct entry
      Throws:
      NoSuchEntryException - if a matching ct entry could not be found
      NoSuchEntryException
    • fetchByUuid_C_First

      public static CTEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns the first ct entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct entry, or null if a matching ct entry could not be found
    • findByUuid_C_Last

      public static CTEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
      Returns the last ct entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct entry
      Throws:
      NoSuchEntryException - if a matching ct entry could not be found
      NoSuchEntryException
    • fetchByUuid_C_Last

      public static CTEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns the last ct entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct entry, or null if a matching ct entry could not be found
    • findByUuid_C_PrevAndNext

      public static CTEntry[] findByUuid_C_PrevAndNext(long ctEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
      Returns the ct entries before and after the current ct entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      ctEntryId - the primary key of the current ct entry
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct entry
      Throws:
      NoSuchEntryException - if a ct entry with the primary key could not be found
      NoSuchEntryException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the ct entries where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of ct entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching ct entries
    • findByCtCollectionId

      public static List<CTEntry> findByCtCollectionId(long ctCollectionId)
      Returns all the ct entries where ctCollectionId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      Returns:
      the matching ct entries
    • findByCtCollectionId

      public static List<CTEntry> findByCtCollectionId(long ctCollectionId, int start, int end)
      Returns a range of all the ct entries 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 CTEntryModelImpl.

      Parameters:
      ctCollectionId - the ct collection ID
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (not inclusive)
      Returns:
      the range of matching ct entries
    • findByCtCollectionId

      public static List<CTEntry> findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns an ordered range of all the ct entries 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 CTEntryModelImpl.

      Parameters:
      ctCollectionId - the ct collection ID
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct entries
    • findByCtCollectionId

      public static List<CTEntry> findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct entries 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 CTEntryModelImpl.

      Parameters:
      ctCollectionId - the ct collection ID
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (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 entries
    • findByCtCollectionId_First

      public static CTEntry findByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
      Returns the first ct entry 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 entry
      Throws:
      NoSuchEntryException - if a matching ct entry could not be found
      NoSuchEntryException
    • fetchByCtCollectionId_First

      public static CTEntry fetchByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns the first ct entry 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 entry, or null if a matching ct entry could not be found
    • findByCtCollectionId_Last

      public static CTEntry findByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
      Returns the last ct entry 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 entry
      Throws:
      NoSuchEntryException - if a matching ct entry could not be found
      NoSuchEntryException
    • fetchByCtCollectionId_Last

      public static CTEntry fetchByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns the last ct entry 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 entry, or null if a matching ct entry could not be found
    • findByCtCollectionId_PrevAndNext

      public static CTEntry[] findByCtCollectionId_PrevAndNext(long ctEntryId, long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
      Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId = ?.
      Parameters:
      ctEntryId - the primary key of the current ct entry
      ctCollectionId - the ct collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct entry
      Throws:
      NoSuchEntryException - if a ct entry with the primary key could not be found
      NoSuchEntryException
    • removeByCtCollectionId

      public static void removeByCtCollectionId(long ctCollectionId)
      Removes all the ct entries where ctCollectionId = ? from the database.
      Parameters:
      ctCollectionId - the ct collection ID
    • countByCtCollectionId

      public static int countByCtCollectionId(long ctCollectionId)
      Returns the number of ct entries where ctCollectionId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      Returns:
      the number of matching ct entries
    • findByC_MCNI

      public static List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId)
      Returns all the ct entries where ctCollectionId = ? and modelClassNameId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      Returns:
      the matching ct entries
    • findByC_MCNI

      public static List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end)
      Returns a range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.

      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 CTEntryModelImpl.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (not inclusive)
      Returns:
      the range of matching ct entries
    • findByC_MCNI

      public static List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.

      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 CTEntryModelImpl.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct entries
    • findByC_MCNI

      public static List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.

      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 CTEntryModelImpl.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (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 entries
    • findByC_MCNI_First

      public static CTEntry findByC_MCNI_First(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
      Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct entry
      Throws:
      NoSuchEntryException - if a matching ct entry could not be found
      NoSuchEntryException
    • fetchByC_MCNI_First

      public static CTEntry fetchByC_MCNI_First(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct entry, or null if a matching ct entry could not be found
    • findByC_MCNI_Last

      public static CTEntry findByC_MCNI_Last(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
      Returns the last ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct entry
      Throws:
      NoSuchEntryException - if a matching ct entry could not be found
      NoSuchEntryException
    • fetchByC_MCNI_Last

      public static CTEntry fetchByC_MCNI_Last(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns the last ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct entry, or null if a matching ct entry could not be found
    • findByC_MCNI_PrevAndNext

      public static CTEntry[] findByC_MCNI_PrevAndNext(long ctEntryId, long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
      Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.
      Parameters:
      ctEntryId - the primary key of the current ct entry
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct entry
      Throws:
      NoSuchEntryException - if a ct entry with the primary key could not be found
      NoSuchEntryException
    • removeByC_MCNI

      public static void removeByC_MCNI(long ctCollectionId, long modelClassNameId)
      Removes all the ct entries where ctCollectionId = ? and modelClassNameId = ? from the database.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
    • countByC_MCNI

      public static int countByC_MCNI(long ctCollectionId, long modelClassNameId)
      Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      Returns:
      the number of matching ct entries
    • findByC_MCNI_MCPK

      public static CTEntry findByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) throws NoSuchEntryException
      Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or throws a NoSuchEntryException if it could not be found.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPK - the model class pk
      Returns:
      the matching ct entry
      Throws:
      NoSuchEntryException - if a matching ct entry could not be found
      NoSuchEntryException
    • fetchByC_MCNI_MCPK

      public static CTEntry fetchByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
      Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPK - the model class pk
      Returns:
      the matching ct entry, or null if a matching ct entry could not be found
    • fetchByC_MCNI_MCPK

      public static CTEntry fetchByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, boolean useFinderCache)
      Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPK - the model class pk
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ct entry, or null if a matching ct entry could not be found
    • removeByC_MCNI_MCPK

      public static CTEntry removeByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) throws NoSuchEntryException
      Removes the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? from the database.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPK - the model class pk
      Returns:
      the ct entry that was removed
      Throws:
      NoSuchEntryException
    • countByC_MCNI_MCPK

      public static int countByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
      Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPK - the model class pk
      Returns:
      the number of matching ct entries
    • findByNotC_MCNI_MCPK

      public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
      Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPK - the model class pk
      Returns:
      the matching ct entries
    • findByNotC_MCNI_MCPK

      public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end)
      Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.

      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 CTEntryModelImpl.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPK - the model class pk
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (not inclusive)
      Returns:
      the range of matching ct entries
    • findByNotC_MCNI_MCPK

      public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.

      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 CTEntryModelImpl.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPK - the model class pk
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct entries
    • findByNotC_MCNI_MCPK

      public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.

      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 CTEntryModelImpl.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPK - the model class pk
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (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 entries
    • findByNotC_MCNI_MCPK_First

      public static CTEntry findByNotC_MCNI_MCPK_First(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
      Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPK - the model class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct entry
      Throws:
      NoSuchEntryException - if a matching ct entry could not be found
      NoSuchEntryException
    • fetchByNotC_MCNI_MCPK_First

      public static CTEntry fetchByNotC_MCNI_MCPK_First(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPK - the model class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct entry, or null if a matching ct entry could not be found
    • findByNotC_MCNI_MCPK_Last

      public static CTEntry findByNotC_MCNI_MCPK_Last(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
      Returns the last ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPK - the model class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct entry
      Throws:
      NoSuchEntryException - if a matching ct entry could not be found
      NoSuchEntryException
    • fetchByNotC_MCNI_MCPK_Last

      public static CTEntry fetchByNotC_MCNI_MCPK_Last(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns the last ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPK - the model class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct entry, or null if a matching ct entry could not be found
    • findByNotC_MCNI_MCPK_PrevAndNext

      public static CTEntry[] findByNotC_MCNI_MCPK_PrevAndNext(long ctEntryId, long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException
      Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
      Parameters:
      ctEntryId - the primary key of the current ct entry
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPK - the model class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct entry
      Throws:
      NoSuchEntryException - if a ct entry with the primary key could not be found
      NoSuchEntryException
    • findByNotC_MCNI_MCPK

      public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs)
      Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = 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 CTEntryModelImpl.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPKs - the model class pks
      Returns:
      the matching ct entries
    • findByNotC_MCNI_MCPK

      public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end)
      Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = 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 CTEntryModelImpl.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPKs - the model class pks
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (not inclusive)
      Returns:
      the range of matching ct entries
    • findByNotC_MCNI_MCPK

      public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = 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 CTEntryModelImpl.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPKs - the model class pks
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct entries
    • findByNotC_MCNI_MCPK

      public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?, 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 CTEntryModelImpl.

      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPKs - the model class pks
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (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 entries
    • removeByNotC_MCNI_MCPK

      public static void removeByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
      Removes all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ? from the database.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPK - the model class pk
    • countByNotC_MCNI_MCPK

      public static int countByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
      Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPK - the model class pk
      Returns:
      the number of matching ct entries
    • countByNotC_MCNI_MCPK

      public static int countByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs)
      Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.
      Parameters:
      ctCollectionId - the ct collection ID
      modelClassNameId - the model class name ID
      modelClassPKs - the model class pks
      Returns:
      the number of matching ct entries
    • findByERC_C

      public static CTEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchEntryException
      Returns the ct entry where externalReferenceCode = ? and companyId = ? or throws a NoSuchEntryException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching ct entry
      Throws:
      NoSuchEntryException - if a matching ct entry could not be found
      NoSuchEntryException
    • fetchByERC_C

      public static CTEntry fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the ct entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching ct entry, or null if a matching ct entry could not be found
    • fetchByERC_C

      public static CTEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the ct entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ct entry, or null if a matching ct entry could not be found
    • removeByERC_C

      public static CTEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchEntryException
      Removes the ct entry where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the ct entry that was removed
      Throws:
      NoSuchEntryException
    • countByERC_C

      public static int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of ct entries where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching ct entries
    • cacheResult

      public static void cacheResult(CTEntry ctEntry)
      Caches the ct entry in the entity cache if it is enabled.
      Parameters:
      ctEntry - the ct entry
    • cacheResult

      public static void cacheResult(List<CTEntry> ctEntries)
      Caches the ct entries in the entity cache if it is enabled.
      Parameters:
      ctEntries - the ct entries
    • create

      public static CTEntry create(long ctEntryId)
      Creates a new ct entry with the primary key. Does not add the ct entry to the database.
      Parameters:
      ctEntryId - the primary key for the new ct entry
      Returns:
      the new ct entry
    • remove

      public static CTEntry remove(long ctEntryId) throws NoSuchEntryException
      Removes the ct entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      ctEntryId - the primary key of the ct entry
      Returns:
      the ct entry that was removed
      Throws:
      NoSuchEntryException - if a ct entry with the primary key could not be found
      NoSuchEntryException
    • updateImpl

      public static CTEntry updateImpl(CTEntry ctEntry)
    • findByPrimaryKey

      public static CTEntry findByPrimaryKey(long ctEntryId) throws NoSuchEntryException
      Returns the ct entry with the primary key or throws a NoSuchEntryException if it could not be found.
      Parameters:
      ctEntryId - the primary key of the ct entry
      Returns:
      the ct entry
      Throws:
      NoSuchEntryException - if a ct entry with the primary key could not be found
      NoSuchEntryException
    • fetchByPrimaryKey

      public static CTEntry fetchByPrimaryKey(long ctEntryId)
      Returns the ct entry with the primary key or returns null if it could not be found.
      Parameters:
      ctEntryId - the primary key of the ct entry
      Returns:
      the ct entry, or null if a ct entry with the primary key could not be found
    • findAll

      public static List<CTEntry> findAll()
      Returns all the ct entries.
      Returns:
      the ct entries
    • findAll

      public static List<CTEntry> findAll(int start, int end)
      Returns a range of all the ct entries.

      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 CTEntryModelImpl.

      Parameters:
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (not inclusive)
      Returns:
      the range of ct entries
    • findAll

      public static List<CTEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
      Returns an ordered range of all the ct entries.

      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 CTEntryModelImpl.

      Parameters:
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of ct entries
    • findAll

      public static List<CTEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct entries.

      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 CTEntryModelImpl.

      Parameters:
      start - the lower bound of the range of ct entries
      end - the upper bound of the range of ct entries (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 entries
    • removeAll

      public static void removeAll()
      Removes all the ct entries from the database.
    • countAll

      public static int countAll()
      Returns the number of ct entries.
      Returns:
      the number of ct entries
    • getPersistence

      public static CTEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CTEntryPersistence persistence)