Interface DDLRecordPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DDLRecord>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDLRecord>

@ProviderType public interface DDLRecordPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDLRecord>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDLRecord>
The persistence interface for the ddl record service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Caches the ddl record in the entity cache if it is enabled.
    void
    cacheResult(List<DDLRecord> ddlRecords)
    Caches the ddl records in the entity cache if it is enabled.
    int
    Returns the number of ddl records.
    int
    countByC_C(String className, long classPK)
    Returns the number of ddl records where className = ? and classPK = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of ddl records where companyId = ?.
    int
    countByR_R(long recordSetId, String recordSetVersion)
    Returns the number of ddl records where recordSetId = ? and recordSetVersion = ?.
    int
    countByR_U(long recordSetId, long userId)
    Returns the number of ddl records where recordSetId = ? and userId = ?.
    int
    countByRecordSetId(long recordSetId)
    Returns the number of ddl records where recordSetId = ?.
    int
    Returns the number of ddl records where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of ddl records where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of ddl records where uuid = ? and groupId = ?.
    create(long recordId)
    Creates a new ddl record with the primary key.
    fetchByC_C_First(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where className = ? and classPK = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where companyId = ?.
    fetchByPrimaryKey(long recordId)
    Returns the ddl record with the primary key or returns null if it could not be found.
    fetchByR_R_First(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.
    fetchByR_U_First(long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where recordSetId = ? and userId = ?.
    fetchByRecordSetId_First(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where recordSetId = ?.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the ddl record where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the ddl record where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    Returns all the ddl records.
    findAll(int start, int end)
    Returns a range of all the ddl records.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns an ordered range of all the ddl records.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddl records.
    findByC_C(String className, long classPK)
    Returns all the ddl records where className = ? and classPK = ?.
    findByC_C(String className, long classPK, int start, int end)
    Returns a range of all the ddl records where className = ? and classPK = ?.
    findByC_C(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns an ordered range of all the ddl records where className = ? and classPK = ?.
    findByC_C(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddl records where className = ? and classPK = ?.
    findByC_C_First(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where className = ? and classPK = ?.
    findByCompanyId(long companyId)
    Returns all the ddl records where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the ddl records where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns an ordered range of all the ddl records where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddl records where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where companyId = ?.
    findByPrimaryKey(long recordId)
    Returns the ddl record with the primary key or throws a NoSuchRecordException if it could not be found.
    findByR_R(long recordSetId, String recordSetVersion)
    Returns all the ddl records where recordSetId = ? and recordSetVersion = ?.
    findByR_R(long recordSetId, String recordSetVersion, int start, int end)
    Returns a range of all the ddl records where recordSetId = ? and recordSetVersion = ?.
    findByR_R(long recordSetId, String recordSetVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns an ordered range of all the ddl records where recordSetId = ? and recordSetVersion = ?.
    findByR_R(long recordSetId, String recordSetVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddl records where recordSetId = ? and recordSetVersion = ?.
    findByR_R_First(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.
    findByR_U(long recordSetId, long userId)
    Returns all the ddl records where recordSetId = ? and userId = ?.
    findByR_U(long recordSetId, long userId, int start, int end)
    Returns a range of all the ddl records where recordSetId = ? and userId = ?.
    findByR_U(long recordSetId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns an ordered range of all the ddl records where recordSetId = ? and userId = ?.
    findByR_U(long recordSetId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddl records where recordSetId = ? and userId = ?.
    findByR_U_First(long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where recordSetId = ? and userId = ?.
    findByRecordSetId(long recordSetId)
    Returns all the ddl records where recordSetId = ?.
    findByRecordSetId(long recordSetId, int start, int end)
    Returns a range of all the ddl records where recordSetId = ?.
    findByRecordSetId(long recordSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns an ordered range of all the ddl records where recordSetId = ?.
    findByRecordSetId(long recordSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddl records where recordSetId = ?.
    findByRecordSetId_First(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where recordSetId = ?.
    Returns all the ddl records where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the ddl records where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns an ordered range of all the ddl records where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddl records where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the ddl records where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the ddl records where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns an ordered range of all the ddl records where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddl records where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the ddl record where uuid = ? and groupId = ? or throws a NoSuchRecordException if it could not be found.
    remove(long recordId)
    Removes the ddl record with the primary key from the database.
    void
    Removes all the ddl records from the database.
    void
    removeByC_C(String className, long classPK)
    Removes all the ddl records where className = ? and classPK = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the ddl records where companyId = ? from the database.
    void
    removeByR_R(long recordSetId, String recordSetVersion)
    Removes all the ddl records where recordSetId = ? and recordSetVersion = ? from the database.
    void
    removeByR_U(long recordSetId, long userId)
    Removes all the ddl records where recordSetId = ? and userId = ? from the database.
    void
    removeByRecordSetId(long recordSetId)
    Removes all the ddl records where recordSetId = ? from the database.
    void
    Removes all the ddl records where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the ddl records where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the ddl record where uuid = ? and groupId = ? from the database.
    updateImpl(DDLRecord ddlRecord)
     

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

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, 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

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByUuid

      List<DDLRecord> findByUuid(String uuid)
      Returns all the ddl records where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching ddl records
    • findByUuid

      List<DDLRecord> findByUuid(String uuid, int start, int end)
      Returns a range of all the ddl records 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

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

      List<DDLRecord> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns an ordered range of all the ddl records 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

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

      List<DDLRecord> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddl records 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

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

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

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

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

      int countByUuid(String uuid)
      Returns the number of ddl records where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching ddl records
    • findByUUID_G

      DDLRecord findByUUID_G(String uuid, long groupId) throws NoSuchRecordException
      Returns the ddl record where uuid = ? and groupId = ? or throws a NoSuchRecordException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching ddl record
      Throws:
      NoSuchRecordException - if a matching ddl record could not be found
    • fetchByUUID_G

      DDLRecord fetchByUUID_G(String uuid, long groupId)
      Returns the ddl record where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching ddl record, or null if a matching ddl record could not be found
    • fetchByUUID_G

      DDLRecord fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the ddl record where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ddl record, or null if a matching ddl record could not be found
    • removeByUUID_G

      DDLRecord removeByUUID_G(String uuid, long groupId) throws NoSuchRecordException
      Removes the ddl record where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the ddl record that was removed
      Throws:
      NoSuchRecordException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of ddl records where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching ddl records
    • findByUuid_C

      List<DDLRecord> findByUuid_C(String uuid, long companyId)
      Returns all the ddl records where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching ddl records
    • findByUuid_C

      List<DDLRecord> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the ddl records 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

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

      List<DDLRecord> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns an ordered range of all the ddl records 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

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

      List<DDLRecord> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddl records 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

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

      DDLRecord findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException
      Returns the first ddl record 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 ddl record
      Throws:
      NoSuchRecordException - if a matching ddl record could not be found
    • fetchByUuid_C_First

      DDLRecord fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns the first ddl record 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 ddl record, or null if a matching ddl record could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the ddl records 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 ddl records where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching ddl records
    • findByCompanyId

      List<DDLRecord> findByCompanyId(long companyId)
      Returns all the ddl records where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching ddl records
    • findByCompanyId

      List<DDLRecord> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the ddl records where 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of ddl records
      end - the upper bound of the range of ddl records (not inclusive)
      Returns:
      the range of matching ddl records
    • findByCompanyId

      List<DDLRecord> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns an ordered range of all the ddl records where 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

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

      List<DDLRecord> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddl records where 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of ddl records
      end - the upper bound of the range of ddl records (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 ddl records
    • findByCompanyId_First

      DDLRecord findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException
      Returns the first ddl record in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record
      Throws:
      NoSuchRecordException - if a matching ddl record could not be found
    • fetchByCompanyId_First

      DDLRecord fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns the first ddl record in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record, or null if a matching ddl record could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the ddl records where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of ddl records where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching ddl records
    • findByRecordSetId

      List<DDLRecord> findByRecordSetId(long recordSetId)
      Returns all the ddl records where recordSetId = ?.
      Parameters:
      recordSetId - the record set ID
      Returns:
      the matching ddl records
    • findByRecordSetId

      List<DDLRecord> findByRecordSetId(long recordSetId, int start, int end)
      Returns a range of all the ddl records where recordSetId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

      Parameters:
      recordSetId - the record set ID
      start - the lower bound of the range of ddl records
      end - the upper bound of the range of ddl records (not inclusive)
      Returns:
      the range of matching ddl records
    • findByRecordSetId

      List<DDLRecord> findByRecordSetId(long recordSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns an ordered range of all the ddl records where recordSetId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

      Parameters:
      recordSetId - the record set ID
      start - the lower bound of the range of ddl records
      end - the upper bound of the range of ddl records (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddl records
    • findByRecordSetId

      List<DDLRecord> findByRecordSetId(long recordSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddl records where recordSetId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

      Parameters:
      recordSetId - the record set ID
      start - the lower bound of the range of ddl records
      end - the upper bound of the range of ddl records (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 ddl records
    • findByRecordSetId_First

      DDLRecord findByRecordSetId_First(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException
      Returns the first ddl record in the ordered set where recordSetId = ?.
      Parameters:
      recordSetId - the record set ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record
      Throws:
      NoSuchRecordException - if a matching ddl record could not be found
    • fetchByRecordSetId_First

      DDLRecord fetchByRecordSetId_First(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns the first ddl record in the ordered set where recordSetId = ?.
      Parameters:
      recordSetId - the record set ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record, or null if a matching ddl record could not be found
    • removeByRecordSetId

      void removeByRecordSetId(long recordSetId)
      Removes all the ddl records where recordSetId = ? from the database.
      Parameters:
      recordSetId - the record set ID
    • countByRecordSetId

      int countByRecordSetId(long recordSetId)
      Returns the number of ddl records where recordSetId = ?.
      Parameters:
      recordSetId - the record set ID
      Returns:
      the number of matching ddl records
    • findByR_U

      List<DDLRecord> findByR_U(long recordSetId, long userId)
      Returns all the ddl records where recordSetId = ? and userId = ?.
      Parameters:
      recordSetId - the record set ID
      userId - the user ID
      Returns:
      the matching ddl records
    • findByR_U

      List<DDLRecord> findByR_U(long recordSetId, long userId, int start, int end)
      Returns a range of all the ddl records where recordSetId = ? and userId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

      Parameters:
      recordSetId - the record set ID
      userId - the user ID
      start - the lower bound of the range of ddl records
      end - the upper bound of the range of ddl records (not inclusive)
      Returns:
      the range of matching ddl records
    • findByR_U

      List<DDLRecord> findByR_U(long recordSetId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns an ordered range of all the ddl records where recordSetId = ? and userId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

      Parameters:
      recordSetId - the record set ID
      userId - the user ID
      start - the lower bound of the range of ddl records
      end - the upper bound of the range of ddl records (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddl records
    • findByR_U

      List<DDLRecord> findByR_U(long recordSetId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddl records where recordSetId = ? and userId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

      Parameters:
      recordSetId - the record set ID
      userId - the user ID
      start - the lower bound of the range of ddl records
      end - the upper bound of the range of ddl records (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 ddl records
    • findByR_U_First

      DDLRecord findByR_U_First(long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException
      Returns the first ddl record in the ordered set where recordSetId = ? and userId = ?.
      Parameters:
      recordSetId - the record set ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record
      Throws:
      NoSuchRecordException - if a matching ddl record could not be found
    • fetchByR_U_First

      DDLRecord fetchByR_U_First(long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns the first ddl record in the ordered set where recordSetId = ? and userId = ?.
      Parameters:
      recordSetId - the record set ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record, or null if a matching ddl record could not be found
    • removeByR_U

      void removeByR_U(long recordSetId, long userId)
      Removes all the ddl records where recordSetId = ? and userId = ? from the database.
      Parameters:
      recordSetId - the record set ID
      userId - the user ID
    • countByR_U

      int countByR_U(long recordSetId, long userId)
      Returns the number of ddl records where recordSetId = ? and userId = ?.
      Parameters:
      recordSetId - the record set ID
      userId - the user ID
      Returns:
      the number of matching ddl records
    • findByR_R

      List<DDLRecord> findByR_R(long recordSetId, String recordSetVersion)
      Returns all the ddl records where recordSetId = ? and recordSetVersion = ?.
      Parameters:
      recordSetId - the record set ID
      recordSetVersion - the record set version
      Returns:
      the matching ddl records
    • findByR_R

      List<DDLRecord> findByR_R(long recordSetId, String recordSetVersion, int start, int end)
      Returns a range of all the ddl records where recordSetId = ? and recordSetVersion = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

      Parameters:
      recordSetId - the record set ID
      recordSetVersion - the record set version
      start - the lower bound of the range of ddl records
      end - the upper bound of the range of ddl records (not inclusive)
      Returns:
      the range of matching ddl records
    • findByR_R

      List<DDLRecord> findByR_R(long recordSetId, String recordSetVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns an ordered range of all the ddl records where recordSetId = ? and recordSetVersion = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

      Parameters:
      recordSetId - the record set ID
      recordSetVersion - the record set version
      start - the lower bound of the range of ddl records
      end - the upper bound of the range of ddl records (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddl records
    • findByR_R

      List<DDLRecord> findByR_R(long recordSetId, String recordSetVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddl records where recordSetId = ? and recordSetVersion = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

      Parameters:
      recordSetId - the record set ID
      recordSetVersion - the record set version
      start - the lower bound of the range of ddl records
      end - the upper bound of the range of ddl records (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 ddl records
    • findByR_R_First

      DDLRecord findByR_R_First(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException
      Returns the first ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.
      Parameters:
      recordSetId - the record set ID
      recordSetVersion - the record set version
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record
      Throws:
      NoSuchRecordException - if a matching ddl record could not be found
    • fetchByR_R_First

      DDLRecord fetchByR_R_First(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns the first ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.
      Parameters:
      recordSetId - the record set ID
      recordSetVersion - the record set version
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record, or null if a matching ddl record could not be found
    • removeByR_R

      void removeByR_R(long recordSetId, String recordSetVersion)
      Removes all the ddl records where recordSetId = ? and recordSetVersion = ? from the database.
      Parameters:
      recordSetId - the record set ID
      recordSetVersion - the record set version
    • countByR_R

      int countByR_R(long recordSetId, String recordSetVersion)
      Returns the number of ddl records where recordSetId = ? and recordSetVersion = ?.
      Parameters:
      recordSetId - the record set ID
      recordSetVersion - the record set version
      Returns:
      the number of matching ddl records
    • findByC_C

      List<DDLRecord> findByC_C(String className, long classPK)
      Returns all the ddl records where className = ? and classPK = ?.
      Parameters:
      className - the class name
      classPK - the class pk
      Returns:
      the matching ddl records
    • findByC_C

      List<DDLRecord> findByC_C(String className, long classPK, int start, int end)
      Returns a range of all the ddl records where className = ? and classPK = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

      Parameters:
      className - the class name
      classPK - the class pk
      start - the lower bound of the range of ddl records
      end - the upper bound of the range of ddl records (not inclusive)
      Returns:
      the range of matching ddl records
    • findByC_C

      List<DDLRecord> findByC_C(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns an ordered range of all the ddl records where className = ? and classPK = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

      Parameters:
      className - the class name
      classPK - the class pk
      start - the lower bound of the range of ddl records
      end - the upper bound of the range of ddl records (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddl records
    • findByC_C

      List<DDLRecord> findByC_C(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddl records where className = ? and classPK = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

      Parameters:
      className - the class name
      classPK - the class pk
      start - the lower bound of the range of ddl records
      end - the upper bound of the range of ddl records (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 ddl records
    • findByC_C_First

      DDLRecord findByC_C_First(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException
      Returns the first ddl record in the ordered set where className = ? and classPK = ?.
      Parameters:
      className - the class name
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record
      Throws:
      NoSuchRecordException - if a matching ddl record could not be found
    • fetchByC_C_First

      DDLRecord fetchByC_C_First(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns the first ddl record in the ordered set where className = ? and classPK = ?.
      Parameters:
      className - the class name
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record, or null if a matching ddl record could not be found
    • removeByC_C

      void removeByC_C(String className, long classPK)
      Removes all the ddl records where className = ? and classPK = ? from the database.
      Parameters:
      className - the class name
      classPK - the class pk
    • countByC_C

      int countByC_C(String className, long classPK)
      Returns the number of ddl records where className = ? and classPK = ?.
      Parameters:
      className - the class name
      classPK - the class pk
      Returns:
      the number of matching ddl records
    • cacheResult

      void cacheResult(DDLRecord ddlRecord)
      Caches the ddl record in the entity cache if it is enabled.
      Parameters:
      ddlRecord - the ddl record
    • cacheResult

      void cacheResult(List<DDLRecord> ddlRecords)
      Caches the ddl records in the entity cache if it is enabled.
      Parameters:
      ddlRecords - the ddl records
    • create

      DDLRecord create(long recordId)
      Creates a new ddl record with the primary key. Does not add the ddl record to the database.
      Parameters:
      recordId - the primary key for the new ddl record
      Returns:
      the new ddl record
    • remove

      DDLRecord remove(long recordId) throws NoSuchRecordException
      Removes the ddl record with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      recordId - the primary key of the ddl record
      Returns:
      the ddl record that was removed
      Throws:
      NoSuchRecordException - if a ddl record with the primary key could not be found
    • updateImpl

      DDLRecord updateImpl(DDLRecord ddlRecord)
    • findByPrimaryKey

      DDLRecord findByPrimaryKey(long recordId) throws NoSuchRecordException
      Returns the ddl record with the primary key or throws a NoSuchRecordException if it could not be found.
      Parameters:
      recordId - the primary key of the ddl record
      Returns:
      the ddl record
      Throws:
      NoSuchRecordException - if a ddl record with the primary key could not be found
    • fetchByPrimaryKey

      DDLRecord fetchByPrimaryKey(long recordId)
      Returns the ddl record with the primary key or returns null if it could not be found.
      Parameters:
      recordId - the primary key of the ddl record
      Returns:
      the ddl record, or null if a ddl record with the primary key could not be found
    • findAll

      List<DDLRecord> findAll()
      Returns all the ddl records.
      Returns:
      the ddl records
    • findAll

      List<DDLRecord> findAll(int start, int end)
      Returns a range of all the ddl records.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

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

      List<DDLRecord> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns an ordered range of all the ddl records.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

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

      List<DDLRecord> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddl records.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.dynamic.data.lists.model.impl.DDLRecordModelImpl.

      Parameters:
      start - the lower bound of the range of ddl records
      end - the upper bound of the range of ddl records (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of ddl records
    • removeAll

      void removeAll()
      Removes all the ddl records from the database.
    • countAll

      int countAll()
      Returns the number of ddl records.
      Returns:
      the number of ddl records