Interface DDMFormInstanceRecordPersistence

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

@ProviderType public interface DDMFormInstanceRecordPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDMFormInstanceRecord>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecord>
The persistence interface for the ddm form instance record service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

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

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

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

      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

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

      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

      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

      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

      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

      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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

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

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

      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

      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

      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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

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

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

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

      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

      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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

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

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

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

      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

      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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

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

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

      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

      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

      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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

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

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

      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

      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

      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

      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

      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

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

      DDMFormInstanceRecord updateImpl(DDMFormInstanceRecord ddmFormInstanceRecord)
    • findByPrimaryKey

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

      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

      Returns all the ddm form instance records.
      Returns:
      the ddm form instance records
    • findAll

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.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

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

      int countAll()
      Returns the number of ddm form instance records.
      Returns:
      the number of ddm form instance records