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

    • cacheResult

      public static void cacheResult(List<DDMFormInstanceRecord> ddmFormInstanceRecords)
      See Also:
      • BasePersistence.cacheResult(List)
    • cacheResult

      public static void cacheResult(DDMFormInstanceRecord ddmFormInstanceRecord)
      See Also:
      • BasePersistence.cacheResult(com.liferay.portal.kernel.model.BaseModel)
    • 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, 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

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

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

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

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

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

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

      public static List<DDMFormInstanceRecord> findByF_I(long formInstanceId, String ipAddress, 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 ipAddress = ?.

      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
      ipAddress - the ip address
      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_I_First

      public static DDMFormInstanceRecord findByF_I_First(long formInstanceId, String ipAddress, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) throws NoSuchFormInstanceRecordException
      Returns the first ddm form instance record in the ordered set where formInstanceId = ? and ipAddress = ?.
      Parameters:
      formInstanceId - the form instance ID
      ipAddress - the ip address
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm form instance record
    • fetchByF_I_First

      public static DDMFormInstanceRecord fetchByF_I_First(long formInstanceId, String ipAddress, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Returns the first ddm form instance record in the ordered set where formInstanceId = ? and ipAddress = ?.
      Parameters:
      formInstanceId - the form instance ID
      ipAddress - the ip address
      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_I

      public static void removeByF_I(long formInstanceId, String ipAddress)
      Removes all the ddm form instance records where formInstanceId = ? and ipAddress = ? from the database.
      Parameters:
      formInstanceId - the form instance ID
      ipAddress - the ip address
    • countByF_I

      public static int countByF_I(long formInstanceId, String ipAddress)
      Returns the number of ddm form instance records where formInstanceId = ? and ipAddress = ?.
      Parameters:
      formInstanceId - the form instance ID
      ipAddress - the ip address
      Returns:
      the number of matching 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
    • 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
    • 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
    • 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
    • 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 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

      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 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_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 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

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

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

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

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

      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 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_I

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

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

      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
      ipAddress - the ip address
      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_I

      public static List<DDMFormInstanceRecord> findByF_I(long formInstanceId, String ipAddress, 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 ipAddress = ?.

      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
      ipAddress - the ip address
      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
    • getPersistence

      public static DDMFormInstanceRecordPersistence getPersistence()
    • setPersistence

      public static void setPersistence(DDMFormInstanceRecordPersistence persistence)