java.lang.Object
com.liferay.dynamic.data.lists.service.persistence.DDLRecordUtil

public class DDLRecordUtil extends Object
The persistence utility for the ddl record service. This utility wraps com.liferay.dynamic.data.lists.service.persistence.impl.DDLRecordPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Caches the ddl record in the entity cache if it is enabled.
    static void
    cacheResult(List<DDLRecord> ddlRecords)
    Caches the ddl records in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(DDLRecord ddlRecord)
     
    static int
    Returns the number of ddl records.
    static int
    countByC_C(String className, long classPK)
    Returns the number of ddl records where className = ? and classPK = ?.
    static int
    countByCompanyId(long companyId)
    Returns the number of ddl records where companyId = ?.
    static int
    countByR_R(long recordSetId, String recordSetVersion)
    Returns the number of ddl records where recordSetId = ? and recordSetVersion = ?.
    static int
    countByR_U(long recordSetId, long userId)
    Returns the number of ddl records where recordSetId = ? and userId = ?.
    static int
    countByRecordSetId(long recordSetId)
    Returns the number of ddl records where recordSetId = ?.
    static int
    Returns the number of ddl records where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of ddl records where uuid = ? and companyId = ?.
    static int
    countByUUID_G(String uuid, long groupId)
    Returns the number of ddl records where uuid = ? and groupId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    static DDLRecord
    create(long recordId)
    Creates a new ddl record with the primary key.
    static 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 = ?.
    static DDLRecord
    fetchByC_C_Last(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the last ddl record in the ordered set where className = ? and classPK = ?.
    static DDLRecord
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where companyId = ?.
    static DDLRecord
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the last ddl record in the ordered set where companyId = ?.
    static DDLRecord
    fetchByPrimaryKey(long recordId)
    Returns the ddl record with the primary key or returns null if it could not be found.
     
    static 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 = ?.
    static DDLRecord
    fetchByR_R_Last(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the last ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.
    static 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 = ?.
    static DDLRecord
    fetchByR_U_Last(long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the last ddl record in the ordered set where recordSetId = ? and userId = ?.
    static DDLRecord
    fetchByRecordSetId_First(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where recordSetId = ?.
    static DDLRecord
    fetchByRecordSetId_Last(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the last ddl record in the ordered set where recordSetId = ?.
    static 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 = ?.
    static DDLRecord
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the last ddl record in the ordered set where uuid = ? and companyId = ?.
    static DDLRecord
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where uuid = ?.
    static DDLRecord
    fetchByUUID_G(String uuid, long groupId)
    Returns the ddl record where uuid = ? and groupId = ? or returns null if it could not be found.
    static 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.
    static DDLRecord
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the last ddl record in the ordered set where uuid = ?.
    static List<DDLRecord>
    Returns all the ddl records.
    static List<DDLRecord>
    findAll(int start, int end)
    Returns a range of all the ddl records.
    static List<DDLRecord>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns an ordered range of all the ddl records.
    static 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.
    static List<DDLRecord>
    findByC_C(String className, long classPK)
    Returns all the ddl records where className = ? and classPK = ?.
    static List<DDLRecord>
    findByC_C(String className, long classPK, int start, int end)
    Returns a range of all the ddl records where className = ? and classPK = ?.
    static 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 = ?.
    static 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 = ?.
    static DDLRecord
    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 = ?.
    static DDLRecord
    findByC_C_Last(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the last ddl record in the ordered set where className = ? and classPK = ?.
    static DDLRecord[]
    findByC_C_PrevAndNext(long recordId, String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the ddl records before and after the current ddl record in the ordered set where className = ? and classPK = ?.
    static List<DDLRecord>
    findByCompanyId(long companyId)
    Returns all the ddl records where companyId = ?.
    static List<DDLRecord>
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the ddl records where companyId = ?.
    static 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 = ?.
    static 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 = ?.
    static DDLRecord
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where companyId = ?.
    static DDLRecord
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the last ddl record in the ordered set where companyId = ?.
    static DDLRecord[]
    findByCompanyId_PrevAndNext(long recordId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the ddl records before and after the current ddl record in the ordered set where companyId = ?.
    static DDLRecord
    findByPrimaryKey(long recordId)
    Returns the ddl record with the primary key or throws a NoSuchRecordException if it could not be found.
    static List<DDLRecord>
    findByR_R(long recordSetId, String recordSetVersion)
    Returns all the ddl records where recordSetId = ? and recordSetVersion = ?.
    static List<DDLRecord>
    findByR_R(long recordSetId, String recordSetVersion, int start, int end)
    Returns a range of all the ddl records where recordSetId = ? and recordSetVersion = ?.
    static 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 = ?.
    static 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 = ?.
    static DDLRecord
    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 = ?.
    static DDLRecord
    findByR_R_Last(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the last ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.
    static DDLRecord[]
    findByR_R_PrevAndNext(long recordId, long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the ddl records before and after the current ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.
    static List<DDLRecord>
    findByR_U(long recordSetId, long userId)
    Returns all the ddl records where recordSetId = ? and userId = ?.
    static List<DDLRecord>
    findByR_U(long recordSetId, long userId, int start, int end)
    Returns a range of all the ddl records where recordSetId = ? and userId = ?.
    static 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 = ?.
    static 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 = ?.
    static DDLRecord
    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 = ?.
    static DDLRecord
    findByR_U_Last(long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the last ddl record in the ordered set where recordSetId = ? and userId = ?.
    static DDLRecord[]
    findByR_U_PrevAndNext(long recordId, long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the ddl records before and after the current ddl record in the ordered set where recordSetId = ? and userId = ?.
    static List<DDLRecord>
    findByRecordSetId(long recordSetId)
    Returns all the ddl records where recordSetId = ?.
    static List<DDLRecord>
    findByRecordSetId(long recordSetId, int start, int end)
    Returns a range of all the ddl records where recordSetId = ?.
    static 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 = ?.
    static 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 = ?.
    static DDLRecord
    findByRecordSetId_First(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where recordSetId = ?.
    static DDLRecord
    findByRecordSetId_Last(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the last ddl record in the ordered set where recordSetId = ?.
    static DDLRecord[]
    findByRecordSetId_PrevAndNext(long recordId, long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the ddl records before and after the current ddl record in the ordered set where recordSetId = ?.
    static List<DDLRecord>
    Returns all the ddl records where uuid = ?.
    static List<DDLRecord>
    findByUuid(String uuid, int start, int end)
    Returns a range of all the ddl records where uuid = ?.
    static 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 = ?.
    static 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 = ?.
    static List<DDLRecord>
    findByUuid_C(String uuid, long companyId)
    Returns all the ddl records where uuid = ? and companyId = ?.
    static List<DDLRecord>
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the ddl records where uuid = ? and companyId = ?.
    static 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 = ?.
    static 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 = ?.
    static DDLRecord
    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 = ?.
    static DDLRecord
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the last ddl record in the ordered set where uuid = ? and companyId = ?.
    static DDLRecord[]
    findByUuid_C_PrevAndNext(long recordId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the ddl records before and after the current ddl record in the ordered set where uuid = ? and companyId = ?.
    static DDLRecord
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the first ddl record in the ordered set where uuid = ?.
    static DDLRecord
    findByUUID_G(String uuid, long groupId)
    Returns the ddl record where uuid = ? and groupId = ? or throws a NoSuchRecordException if it could not be found.
    static DDLRecord
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the last ddl record in the ordered set where uuid = ?.
    static DDLRecord[]
    findByUuid_PrevAndNext(long recordId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
    Returns the ddl records before and after the current ddl record in the ordered set where uuid = ?.
    static List<DDLRecord>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    static List<DDLRecord>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    static List<DDLRecord>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
     
     
    static DDLRecord
    remove(long recordId)
    Removes the ddl record with the primary key from the database.
    static void
    Removes all the ddl records from the database.
    static void
    removeByC_C(String className, long classPK)
    Removes all the ddl records where className = ? and classPK = ? from the database.
    static void
    removeByCompanyId(long companyId)
    Removes all the ddl records where companyId = ? from the database.
    static void
    removeByR_R(long recordSetId, String recordSetVersion)
    Removes all the ddl records where recordSetId = ? and recordSetVersion = ? from the database.
    static void
    removeByR_U(long recordSetId, long userId)
    Removes all the ddl records where recordSetId = ? and userId = ? from the database.
    static void
    removeByRecordSetId(long recordSetId)
    Removes all the ddl records where recordSetId = ? from the database.
    static void
    Removes all the ddl records where uuid = ? from the database.
    static void
    removeByUuid_C(String uuid, long companyId)
    Removes all the ddl records where uuid = ? and companyId = ? from the database.
    static DDLRecord
    removeByUUID_G(String uuid, long groupId)
    Removes the ddl record where uuid = ? and groupId = ? from the database.
    static void
     
    static DDLRecord
    update(DDLRecord ddlRecord)
     
    static DDLRecord
    update(DDLRecord ddlRecord, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static DDLRecord
    updateImpl(DDLRecord ddlRecord)
     

    Methods inherited from class java.lang.Object

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

    • DDLRecordUtil

      public DDLRecordUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(DDLRecord ddlRecord)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,DDLRecord> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

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

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

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

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

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

      public static 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 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 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

      public static 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 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 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

      public static 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 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 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

      public static 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
      NoSuchRecordException
    • fetchByUuid_First

      public static 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
    • findByUuid_Last

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

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

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

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

      public static 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

      public static 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
      NoSuchRecordException
    • fetchByUUID_G

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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 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 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

      public static 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 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 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

      public static 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 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 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

      public static 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
      NoSuchRecordException
    • fetchByUuid_C_First

      public static 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
    • findByUuid_C_Last

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

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

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

      public static 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

      public static 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

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

      public static 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 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 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

      public static 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 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 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

      public static 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 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 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

      public static 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
      NoSuchRecordException
    • fetchByCompanyId_First

      public static 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
    • findByCompanyId_Last

      public static DDLRecord findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException
      Returns the last 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 last matching ddl record
      Throws:
      NoSuchRecordException - if a matching ddl record could not be found
      NoSuchRecordException
    • fetchByCompanyId_Last

      public static DDLRecord fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns the last 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 last matching ddl record, or null if a matching ddl record could not be found
    • findByCompanyId_PrevAndNext

      public static DDLRecord[] findByCompanyId_PrevAndNext(long recordId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException
      Returns the ddl records before and after the current ddl record in the ordered set where companyId = ?.
      Parameters:
      recordId - the primary key of the current ddl record
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddl record
      Throws:
      NoSuchRecordException - if a ddl record with the primary key could not be found
      NoSuchRecordException
    • removeByCompanyId

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

      public static 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

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

      public static 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 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 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

      public static 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 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 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

      public static 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 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 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

      public static 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
      NoSuchRecordException
    • fetchByRecordSetId_First

      public static 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
    • findByRecordSetId_Last

      public static DDLRecord findByRecordSetId_Last(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException
      Returns the last 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 last matching ddl record
      Throws:
      NoSuchRecordException - if a matching ddl record could not be found
      NoSuchRecordException
    • fetchByRecordSetId_Last

      public static DDLRecord fetchByRecordSetId_Last(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns the last 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 last matching ddl record, or null if a matching ddl record could not be found
    • findByRecordSetId_PrevAndNext

      public static DDLRecord[] findByRecordSetId_PrevAndNext(long recordId, long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException
      Returns the ddl records before and after the current ddl record in the ordered set where recordSetId = ?.
      Parameters:
      recordId - the primary key of the current ddl record
      recordSetId - the record set ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddl record
      Throws:
      NoSuchRecordException - if a ddl record with the primary key could not be found
      NoSuchRecordException
    • removeByRecordSetId

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

      public static 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

      public static 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

      public static 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 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 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

      public static 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 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 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

      public static 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 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 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

      public static 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
      NoSuchRecordException
    • fetchByR_U_First

      public static 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
    • findByR_U_Last

      public static DDLRecord findByR_U_Last(long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException
      Returns the last 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 last matching ddl record
      Throws:
      NoSuchRecordException - if a matching ddl record could not be found
      NoSuchRecordException
    • fetchByR_U_Last

      public static DDLRecord fetchByR_U_Last(long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns the last 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 last matching ddl record, or null if a matching ddl record could not be found
    • findByR_U_PrevAndNext

      public static DDLRecord[] findByR_U_PrevAndNext(long recordId, long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException
      Returns the ddl records before and after the current ddl record in the ordered set where recordSetId = ? and userId = ?.
      Parameters:
      recordId - the primary key of the current ddl record
      recordSetId - the record set ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddl record
      Throws:
      NoSuchRecordException - if a ddl record with the primary key could not be found
      NoSuchRecordException
    • removeByR_U

      public static 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

      public static 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

      public static 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

      public static 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 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 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

      public static 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 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 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

      public static 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 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 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

      public static 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
      NoSuchRecordException
    • fetchByR_R_First

      public static 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
    • findByR_R_Last

      public static DDLRecord findByR_R_Last(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException
      Returns the last 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 last matching ddl record
      Throws:
      NoSuchRecordException - if a matching ddl record could not be found
      NoSuchRecordException
    • fetchByR_R_Last

      public static DDLRecord fetchByR_R_Last(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns the last 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 last matching ddl record, or null if a matching ddl record could not be found
    • findByR_R_PrevAndNext

      public static DDLRecord[] findByR_R_PrevAndNext(long recordId, long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException
      Returns the ddl records before and after the current ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.
      Parameters:
      recordId - the primary key of the current ddl record
      recordSetId - the record set ID
      recordSetVersion - the record set version
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddl record
      Throws:
      NoSuchRecordException - if a ddl record with the primary key could not be found
      NoSuchRecordException
    • removeByR_R

      public static 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

      public static 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

      public static 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

      public static 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 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 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

      public static 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 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 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

      public static 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 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 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

      public static 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
      NoSuchRecordException
    • fetchByC_C_First

      public static 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
    • findByC_C_Last

      public static DDLRecord findByC_C_Last(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException
      Returns the last 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 last matching ddl record
      Throws:
      NoSuchRecordException - if a matching ddl record could not be found
      NoSuchRecordException
    • fetchByC_C_Last

      public static DDLRecord fetchByC_C_Last(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
      Returns the last 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 last matching ddl record, or null if a matching ddl record could not be found
    • findByC_C_PrevAndNext

      public static DDLRecord[] findByC_C_PrevAndNext(long recordId, String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException
      Returns the ddl records before and after the current ddl record in the ordered set where className = ? and classPK = ?.
      Parameters:
      recordId - the primary key of the current ddl record
      className - the class name
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddl record
      Throws:
      NoSuchRecordException - if a ddl record with the primary key could not be found
      NoSuchRecordException
    • removeByC_C

      public static 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

      public static 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

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

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

      public static 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

      public static 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
      NoSuchRecordException
    • updateImpl

      public static DDLRecord updateImpl(DDLRecord ddlRecord)
    • findByPrimaryKey

      public static 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
      NoSuchRecordException
    • fetchByPrimaryKey

      public static 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

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

      public static 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 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 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

      public static 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 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 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

      public static 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 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 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

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

      public static int countAll()
      Returns the number of ddl records.
      Returns:
      the number of ddl records
    • getPersistence

      public static DDLRecordPersistence getPersistence()
    • setPersistence

      public static void setPersistence(DDLRecordPersistence persistence)