Interface CTEntryPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CTEntry>

@ProviderType public interface CTEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CTEntry>
The persistence interface for the ct entry service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Caches the ct entry in the entity cache if it is enabled.
    void
    cacheResult(List<CTEntry> ctEntries)
    Caches the ct entries in the entity cache if it is enabled.
    int
    Returns the number of ct entries.
    int
    countByC_MCNI(long ctCollectionId, long modelClassNameId)
    Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ?.
    int
    countByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
    Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ?.
    int
    countByCtCollectionId(long ctCollectionId)
    Returns the number of ct entries where ctCollectionId = ?.
    int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of ct entries where externalReferenceCode = ? and companyId = ?.
    int
    countByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
    Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
    int
    countByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs)
    Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.
    int
    Returns the number of ct entries where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of ct entries where uuid = ? and companyId = ?.
    create(long ctEntryId)
    Creates a new ct entry with the primary key.
    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 = ?.
    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 = ?.
    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.
    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.
    fetchByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the first ct entry in the ordered set where ctCollectionId = ?.
    fetchByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the last ct entry in the ordered set where ctCollectionId = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the ct entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    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.
    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 = ?.
    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 = ?.
    fetchByPrimaryKey(long ctEntryId)
    Returns the ct entry with the primary key or returns null if it could not be found.
    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 = ?.
    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 = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the first ct entry in the ordered set where uuid = ?.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the last ct entry in the ordered set where uuid = ?.
    Returns all the ct entries.
    findAll(int start, int end)
    Returns a range of all the ct entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns an ordered range of all the ct entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct entries.
    findByC_MCNI(long ctCollectionId, long modelClassNameId)
    Returns all the ct entries where ctCollectionId = ? and modelClassNameId = ?.
    findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end)
    Returns a range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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.
    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 = ?.
    findByCtCollectionId(long ctCollectionId)
    Returns all the ct entries where ctCollectionId = ?.
    findByCtCollectionId(long ctCollectionId, int start, int end)
    Returns a range of all the ct entries where ctCollectionId = ?.
    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 = ?.
    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 = ?.
    findByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the first ct entry in the ordered set where ctCollectionId = ?.
    findByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the last ct entry in the ordered set where ctCollectionId = ?.
    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 = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the ct entry where externalReferenceCode = ? and companyId = ? or throws a NoSuchEntryException if it could not be found.
    findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
    Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.
    findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs)
    Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.
    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 ?.
    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 ?.
    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.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByPrimaryKey(long ctEntryId)
    Returns the ct entry with the primary key or throws a NoSuchEntryException if it could not be found.
    Returns all the ct entries where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the ct entries where uuid = ?.
    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 = ?.
    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 = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the ct entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the ct entries where uuid = ? and companyId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the first ct entry in the ordered set where uuid = ?.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
    Returns the last ct entry in the ordered set where uuid = ?.
    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 = ?.
    remove(long ctEntryId)
    Removes the ct entry with the primary key from the database.
    void
    Removes all the ct entries from the database.
    void
    removeByC_MCNI(long ctCollectionId, long modelClassNameId)
    Removes all the ct entries where ctCollectionId = ? and modelClassNameId = ? from the database.
    removeByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
    Removes the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? from the database.
    void
    removeByCtCollectionId(long ctCollectionId)
    Removes all the ct entries where ctCollectionId = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the ct entry where externalReferenceCode = ? and companyId = ? from the database.
    void
    removeByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK)
    Removes all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ? from the database.
    void
    Removes all the ct entries where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the ct entries where uuid = ? and companyId = ? from the database.
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByUuid

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

      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

      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

      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

      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
    • fetchByUuid_First

      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

      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
    • fetchByUuid_Last

      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

      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
    • removeByUuid

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

      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

      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

      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

      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

      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

      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
    • fetchByUuid_C_First

      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

      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
    • fetchByUuid_C_Last

      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

      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
    • removeByUuid_C

      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

      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

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

      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

      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

      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

      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
    • fetchByCtCollectionId_First

      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

      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
    • fetchByCtCollectionId_Last

      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

      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
    • removeByCtCollectionId

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

      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

      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

      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

      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

      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

      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
    • fetchByC_MCNI_First

      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

      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
    • fetchByC_MCNI_Last

      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

      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
    • removeByC_MCNI

      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

      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

      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
    • fetchByC_MCNI_MCPK

      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

      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

      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

      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

      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

      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

      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

      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

      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
    • fetchByNotC_MCNI_MCPK_First

      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

      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
    • fetchByNotC_MCNI_MCPK_Last

      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

      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
    • findByNotC_MCNI_MCPK

      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

      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

      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

      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

      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

      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

      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

      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
    • fetchByERC_C

      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

      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

      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

      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

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

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

      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

      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
    • updateImpl

      CTEntry updateImpl(CTEntry ctEntry)
    • findByPrimaryKey

      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
    • fetchByPrimaryKey

      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

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

      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

      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

      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

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

      int countAll()
      Returns the number of ct entries.
      Returns:
      the number of ct entries