Class DDMFormInstanceRecordUtil

java.lang.Object
com.liferay.dynamic.data.mapping.service.persistence.DDMFormInstanceRecordUtil

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • DDMFormInstanceRecordUtil

      public DDMFormInstanceRecordUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

      public static List<DDMFormInstanceRecord> findByUuid(String uuid)
      Returns all the ddm form instance records where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching ddm form instance records
    • findByUuid

      public static List<DDMFormInstanceRecord> findByUuid(String uuid, int start, int end)
      Returns a range of all the ddm form instance 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 DDMFormInstanceRecordModelImpl.

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

      public static List<DDMFormInstanceRecord> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns an ordered range of all the ddm form instance 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 DDMFormInstanceRecordModelImpl.

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

      public static List<DDMFormInstanceRecord> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm form instance 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 DDMFormInstanceRecordModelImpl.

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

      public static DDMFormInstanceRecord findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
      Returns the first ddm form instance 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 ddm form instance record
      Throws:
      NoSuchFormInstanceRecordException - if a matching ddm form instance record could not be found
      NoSuchFormInstanceRecordException
    • fetchByUuid_First

      public static DDMFormInstanceRecord fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns the first ddm form instance 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 ddm form instance record, or null if a matching ddm form instance record could not be found
    • findByUuid_Last

      public static DDMFormInstanceRecord findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
      Returns the last ddm form instance 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 ddm form instance record
      Throws:
      NoSuchFormInstanceRecordException - if a matching ddm form instance record could not be found
      NoSuchFormInstanceRecordException
    • fetchByUuid_Last

      public static DDMFormInstanceRecord fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns the last ddm form instance 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 ddm form instance record, or null if a matching ddm form instance record could not be found
    • findByUuid_PrevAndNext

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

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

      public static int countByUuid(String uuid)
      Returns the number of ddm form instance records where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching ddm form instance records
    • findByUUID_G

      public static DDMFormInstanceRecord findByUUID_G(String uuid, long groupId) throws NoSuchFormInstanceRecordException
      Returns the ddm form instance record where uuid = ? and groupId = ? or throws a NoSuchFormInstanceRecordException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching ddm form instance record
      Throws:
      NoSuchFormInstanceRecordException - if a matching ddm form instance record could not be found
      NoSuchFormInstanceRecordException
    • fetchByUUID_G

      public static DDMFormInstanceRecord fetchByUUID_G(String uuid, long groupId)
      Returns the ddm form instance 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 ddm form instance record, or null if a matching ddm form instance record could not be found
    • fetchByUUID_G

      public static DDMFormInstanceRecord fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the ddm form instance 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 ddm form instance record, or null if a matching ddm form instance record could not be found
    • removeByUUID_G

      public static DDMFormInstanceRecord removeByUUID_G(String uuid, long groupId) throws NoSuchFormInstanceRecordException
      Removes the ddm form instance record where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the ddm form instance record that was removed
      Throws:
      NoSuchFormInstanceRecordException
    • countByUUID_G

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

      public static List<DDMFormInstanceRecord> findByUuid_C(String uuid, long companyId)
      Returns all the ddm form instance records where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching ddm form instance records
    • findByUuid_C

      public static List<DDMFormInstanceRecord> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the ddm form instance 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 DDMFormInstanceRecordModelImpl.

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

      public static List<DDMFormInstanceRecord> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns an ordered range of all the ddm form instance 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 DDMFormInstanceRecordModelImpl.

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

      public static List<DDMFormInstanceRecord> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm form instance 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 DDMFormInstanceRecordModelImpl.

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

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

      public static DDMFormInstanceRecord fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns the first ddm form instance 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 ddm form instance record, or null if a matching ddm form instance record could not be found
    • findByUuid_C_Last

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

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

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

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

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

      public static List<DDMFormInstanceRecord> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the ddm form instance 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 DDMFormInstanceRecordModelImpl.

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

      public static List<DDMFormInstanceRecord> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns an ordered range of all the ddm form instance 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 DDMFormInstanceRecordModelImpl.

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

      public static List<DDMFormInstanceRecord> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm form instance 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 DDMFormInstanceRecordModelImpl.

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

      public static DDMFormInstanceRecord findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
      Returns the first ddm form instance 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 ddm form instance record
      Throws:
      NoSuchFormInstanceRecordException - if a matching ddm form instance record could not be found
      NoSuchFormInstanceRecordException
    • fetchByCompanyId_First

      public static DDMFormInstanceRecord fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns the first ddm form instance 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 ddm form instance record, or null if a matching ddm form instance record could not be found
    • findByCompanyId_Last

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

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

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

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

      public static int countByCompanyId(long companyId)
      Returns the number of ddm form instance records where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching ddm form instance records
    • findByFormInstanceId

      public static List<DDMFormInstanceRecord> findByFormInstanceId(long formInstanceId)
      Returns all the ddm form instance records where formInstanceId = ?.
      Parameters:
      formInstanceId - the form instance ID
      Returns:
      the matching ddm form instance records
    • findByFormInstanceId

      public static List<DDMFormInstanceRecord> findByFormInstanceId(long formInstanceId, int start, int end)
      Returns a range of all the ddm form instance records where formInstanceId = ?.

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

      Parameters:
      formInstanceId - the form instance ID
      start - the lower bound of the range of ddm form instance records
      end - the upper bound of the range of ddm form instance records (not inclusive)
      Returns:
      the range of matching ddm form instance records
    • findByFormInstanceId

      public static List<DDMFormInstanceRecord> findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns an ordered range of all the ddm form instance records where formInstanceId = ?.

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

      Parameters:
      formInstanceId - the form instance ID
      start - the lower bound of the range of ddm form instance records
      end - the upper bound of the range of ddm form instance records (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm form instance records
    • findByFormInstanceId

      public static List<DDMFormInstanceRecord> findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm form instance records where formInstanceId = ?.

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

      Parameters:
      formInstanceId - the form instance ID
      start - the lower bound of the range of ddm form instance records
      end - the upper bound of the range of ddm form instance 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 ddm form instance records
    • findByFormInstanceId_First

      public static DDMFormInstanceRecord findByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
      Returns the first ddm form instance record in the ordered set where formInstanceId = ?.
      Parameters:
      formInstanceId - the form instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm form instance record
      Throws:
      NoSuchFormInstanceRecordException - if a matching ddm form instance record could not be found
      NoSuchFormInstanceRecordException
    • fetchByFormInstanceId_First

      public static DDMFormInstanceRecord fetchByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns the first ddm form instance record in the ordered set where formInstanceId = ?.
      Parameters:
      formInstanceId - the form instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm form instance record, or null if a matching ddm form instance record could not be found
    • findByFormInstanceId_Last

      public static DDMFormInstanceRecord findByFormInstanceId_Last(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
      Returns the last ddm form instance record in the ordered set where formInstanceId = ?.
      Parameters:
      formInstanceId - the form instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm form instance record
      Throws:
      NoSuchFormInstanceRecordException - if a matching ddm form instance record could not be found
      NoSuchFormInstanceRecordException
    • fetchByFormInstanceId_Last

      public static DDMFormInstanceRecord fetchByFormInstanceId_Last(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns the last ddm form instance record in the ordered set where formInstanceId = ?.
      Parameters:
      formInstanceId - the form instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm form instance record, or null if a matching ddm form instance record could not be found
    • findByFormInstanceId_PrevAndNext

      public static DDMFormInstanceRecord[] findByFormInstanceId_PrevAndNext(long formInstanceRecordId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
      Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where formInstanceId = ?.
      Parameters:
      formInstanceRecordId - the primary key of the current ddm form instance record
      formInstanceId - the form instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm form instance record
      Throws:
      NoSuchFormInstanceRecordException - if a ddm form instance record with the primary key could not be found
      NoSuchFormInstanceRecordException
    • removeByFormInstanceId

      public static void removeByFormInstanceId(long formInstanceId)
      Removes all the ddm form instance records where formInstanceId = ? from the database.
      Parameters:
      formInstanceId - the form instance ID
    • countByFormInstanceId

      public static int countByFormInstanceId(long formInstanceId)
      Returns the number of ddm form instance records where formInstanceId = ?.
      Parameters:
      formInstanceId - the form instance ID
      Returns:
      the number of matching ddm form instance records
    • findByU_F

      public static List<DDMFormInstanceRecord> findByU_F(long userId, long formInstanceId)
      Returns all the ddm form instance records where userId = ? and formInstanceId = ?.
      Parameters:
      userId - the user ID
      formInstanceId - the form instance ID
      Returns:
      the matching ddm form instance records
    • findByU_F

      public static List<DDMFormInstanceRecord> findByU_F(long userId, long formInstanceId, int start, int end)
      Returns a range of all the ddm form instance records where userId = ? and formInstanceId = ?.

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

      Parameters:
      userId - the user ID
      formInstanceId - the form instance ID
      start - the lower bound of the range of ddm form instance records
      end - the upper bound of the range of ddm form instance records (not inclusive)
      Returns:
      the range of matching ddm form instance records
    • findByU_F

      public static List<DDMFormInstanceRecord> findByU_F(long userId, long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns an ordered range of all the ddm form instance records where userId = ? and formInstanceId = ?.

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

      Parameters:
      userId - the user ID
      formInstanceId - the form instance ID
      start - the lower bound of the range of ddm form instance records
      end - the upper bound of the range of ddm form instance records (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm form instance records
    • findByU_F

      public static List<DDMFormInstanceRecord> findByU_F(long userId, long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm form instance records where userId = ? and formInstanceId = ?.

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

      Parameters:
      userId - the user ID
      formInstanceId - the form instance ID
      start - the lower bound of the range of ddm form instance records
      end - the upper bound of the range of ddm form instance 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 ddm form instance records
    • findByU_F_First

      public static DDMFormInstanceRecord findByU_F_First(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
      Returns the first ddm form instance record in the ordered set where userId = ? and formInstanceId = ?.
      Parameters:
      userId - the user ID
      formInstanceId - the form instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm form instance record
      Throws:
      NoSuchFormInstanceRecordException - if a matching ddm form instance record could not be found
      NoSuchFormInstanceRecordException
    • fetchByU_F_First

      public static DDMFormInstanceRecord fetchByU_F_First(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns the first ddm form instance record in the ordered set where userId = ? and formInstanceId = ?.
      Parameters:
      userId - the user ID
      formInstanceId - the form instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm form instance record, or null if a matching ddm form instance record could not be found
    • findByU_F_Last

      public static DDMFormInstanceRecord findByU_F_Last(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
      Returns the last ddm form instance record in the ordered set where userId = ? and formInstanceId = ?.
      Parameters:
      userId - the user ID
      formInstanceId - the form instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm form instance record
      Throws:
      NoSuchFormInstanceRecordException - if a matching ddm form instance record could not be found
      NoSuchFormInstanceRecordException
    • fetchByU_F_Last

      public static DDMFormInstanceRecord fetchByU_F_Last(long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns the last ddm form instance record in the ordered set where userId = ? and formInstanceId = ?.
      Parameters:
      userId - the user ID
      formInstanceId - the form instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm form instance record, or null if a matching ddm form instance record could not be found
    • findByU_F_PrevAndNext

      public static DDMFormInstanceRecord[] findByU_F_PrevAndNext(long formInstanceRecordId, long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
      Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where userId = ? and formInstanceId = ?.
      Parameters:
      formInstanceRecordId - the primary key of the current ddm form instance record
      userId - the user ID
      formInstanceId - the form instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm form instance record
      Throws:
      NoSuchFormInstanceRecordException - if a ddm form instance record with the primary key could not be found
      NoSuchFormInstanceRecordException
    • removeByU_F

      public static void removeByU_F(long userId, long formInstanceId)
      Removes all the ddm form instance records where userId = ? and formInstanceId = ? from the database.
      Parameters:
      userId - the user ID
      formInstanceId - the form instance ID
    • countByU_F

      public static int countByU_F(long userId, long formInstanceId)
      Returns the number of ddm form instance records where userId = ? and formInstanceId = ?.
      Parameters:
      userId - the user ID
      formInstanceId - the form instance ID
      Returns:
      the number of matching ddm form instance records
    • findByF_F

      public static List<DDMFormInstanceRecord> findByF_F(long formInstanceId, String formInstanceVersion)
      Returns all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.
      Parameters:
      formInstanceId - the form instance ID
      formInstanceVersion - the form instance version
      Returns:
      the matching ddm form instance records
    • findByF_F

      public static List<DDMFormInstanceRecord> findByF_F(long formInstanceId, String formInstanceVersion, int start, int end)
      Returns a range of all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.

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

      Parameters:
      formInstanceId - the form instance ID
      formInstanceVersion - the form instance version
      start - the lower bound of the range of ddm form instance records
      end - the upper bound of the range of ddm form instance records (not inclusive)
      Returns:
      the range of matching ddm form instance records
    • findByF_F

      public static List<DDMFormInstanceRecord> findByF_F(long formInstanceId, String formInstanceVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns an ordered range of all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.

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

      Parameters:
      formInstanceId - the form instance ID
      formInstanceVersion - the form instance version
      start - the lower bound of the range of ddm form instance records
      end - the upper bound of the range of ddm form instance records (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm form instance records
    • findByF_F

      public static List<DDMFormInstanceRecord> findByF_F(long formInstanceId, String formInstanceVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.

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

      Parameters:
      formInstanceId - the form instance ID
      formInstanceVersion - the form instance version
      start - the lower bound of the range of ddm form instance records
      end - the upper bound of the range of ddm form instance 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 ddm form instance records
    • findByF_F_First

      public static DDMFormInstanceRecord findByF_F_First(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
      Returns the first ddm form instance record in the ordered set where formInstanceId = ? and formInstanceVersion = ?.
      Parameters:
      formInstanceId - the form instance ID
      formInstanceVersion - the form instance version
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm form instance record
      Throws:
      NoSuchFormInstanceRecordException - if a matching ddm form instance record could not be found
      NoSuchFormInstanceRecordException
    • fetchByF_F_First

      public static DDMFormInstanceRecord fetchByF_F_First(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns the first ddm form instance record in the ordered set where formInstanceId = ? and formInstanceVersion = ?.
      Parameters:
      formInstanceId - the form instance ID
      formInstanceVersion - the form instance version
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm form instance record, or null if a matching ddm form instance record could not be found
    • findByF_F_Last

      public static DDMFormInstanceRecord findByF_F_Last(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
      Returns the last ddm form instance record in the ordered set where formInstanceId = ? and formInstanceVersion = ?.
      Parameters:
      formInstanceId - the form instance ID
      formInstanceVersion - the form instance version
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm form instance record
      Throws:
      NoSuchFormInstanceRecordException - if a matching ddm form instance record could not be found
      NoSuchFormInstanceRecordException
    • fetchByF_F_Last

      public static DDMFormInstanceRecord fetchByF_F_Last(long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns the last ddm form instance record in the ordered set where formInstanceId = ? and formInstanceVersion = ?.
      Parameters:
      formInstanceId - the form instance ID
      formInstanceVersion - the form instance version
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm form instance record, or null if a matching ddm form instance record could not be found
    • findByF_F_PrevAndNext

      public static DDMFormInstanceRecord[] findByF_F_PrevAndNext(long formInstanceRecordId, long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
      Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where formInstanceId = ? and formInstanceVersion = ?.
      Parameters:
      formInstanceRecordId - the primary key of the current ddm form instance record
      formInstanceId - the form instance ID
      formInstanceVersion - the form instance version
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm form instance record
      Throws:
      NoSuchFormInstanceRecordException - if a ddm form instance record with the primary key could not be found
      NoSuchFormInstanceRecordException
    • removeByF_F

      public static void removeByF_F(long formInstanceId, String formInstanceVersion)
      Removes all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ? from the database.
      Parameters:
      formInstanceId - the form instance ID
      formInstanceVersion - the form instance version
    • countByF_F

      public static int countByF_F(long formInstanceId, String formInstanceVersion)
      Returns the number of ddm form instance records where formInstanceId = ? and formInstanceVersion = ?.
      Parameters:
      formInstanceId - the form instance ID
      formInstanceVersion - the form instance version
      Returns:
      the number of matching ddm form instance records
    • cacheResult

      public static void cacheResult(DDMFormInstanceRecord ddmFormInstanceRecord)
      Caches the ddm form instance record in the entity cache if it is enabled.
      Parameters:
      ddmFormInstanceRecord - the ddm form instance record
    • cacheResult

      public static void cacheResult(List<DDMFormInstanceRecord> ddmFormInstanceRecords)
      Caches the ddm form instance records in the entity cache if it is enabled.
      Parameters:
      ddmFormInstanceRecords - the ddm form instance records
    • create

      public static DDMFormInstanceRecord create(long formInstanceRecordId)
      Creates a new ddm form instance record with the primary key. Does not add the ddm form instance record to the database.
      Parameters:
      formInstanceRecordId - the primary key for the new ddm form instance record
      Returns:
      the new ddm form instance record
    • remove

      public static DDMFormInstanceRecord remove(long formInstanceRecordId) throws NoSuchFormInstanceRecordException
      Removes the ddm form instance record with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      formInstanceRecordId - the primary key of the ddm form instance record
      Returns:
      the ddm form instance record that was removed
      Throws:
      NoSuchFormInstanceRecordException - if a ddm form instance record with the primary key could not be found
      NoSuchFormInstanceRecordException
    • updateImpl

      public static DDMFormInstanceRecord updateImpl(DDMFormInstanceRecord ddmFormInstanceRecord)
    • findByPrimaryKey

      public static DDMFormInstanceRecord findByPrimaryKey(long formInstanceRecordId) throws NoSuchFormInstanceRecordException
      Returns the ddm form instance record with the primary key or throws a NoSuchFormInstanceRecordException if it could not be found.
      Parameters:
      formInstanceRecordId - the primary key of the ddm form instance record
      Returns:
      the ddm form instance record
      Throws:
      NoSuchFormInstanceRecordException - if a ddm form instance record with the primary key could not be found
      NoSuchFormInstanceRecordException
    • fetchByPrimaryKey

      public static DDMFormInstanceRecord fetchByPrimaryKey(long formInstanceRecordId)
      Returns the ddm form instance record with the primary key or returns null if it could not be found.
      Parameters:
      formInstanceRecordId - the primary key of the ddm form instance record
      Returns:
      the ddm form instance record, or null if a ddm form instance record with the primary key could not be found
    • findAll

      public static List<DDMFormInstanceRecord> findAll()
      Returns all the ddm form instance records.
      Returns:
      the ddm form instance records
    • findAll

      public static List<DDMFormInstanceRecord> findAll(int start, int end)
      Returns a range of all the ddm form instance 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 DDMFormInstanceRecordModelImpl.

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

      public static List<DDMFormInstanceRecord> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns an ordered range of all the ddm form instance 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 DDMFormInstanceRecordModelImpl.

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

      public static List<DDMFormInstanceRecord> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm form instance 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 DDMFormInstanceRecordModelImpl.

      Parameters:
      start - the lower bound of the range of ddm form instance records
      end - the upper bound of the range of ddm form instance 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 ddm form instance records
    • removeAll

      public static void removeAll()
      Removes all the ddm form instance records from the database.
    • countAll

      public static int countAll()
      Returns the number of ddm form instance records.
      Returns:
      the number of ddm form instance records
    • getPersistence

      public static DDMFormInstanceRecordPersistence getPersistence()
    • setPersistence

      public static void setPersistence(DDMFormInstanceRecordPersistence persistence)