Interface DDMFormInstancePersistence

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

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(DDMFormInstance ddmFormInstance)
    Caches the ddm form instance in the entity cache if it is enabled.
    void
    cacheResult(List<DDMFormInstance> ddmFormInstances)
    Caches the ddm form instances in the entity cache if it is enabled.
    int
    Returns the number of ddm form instances.
    int
    countByGroupId(long groupId)
    Returns the number of ddm form instances where groupId = ?.
    int
    countByGroupId(long[] groupIds)
    Returns the number of ddm form instances where groupId = any ?.
    int
    countByStructureId(long structureId)
    Returns the number of ddm form instances where structureId = ?.
    int
    Returns the number of ddm form instances where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of ddm form instances where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of ddm form instances where uuid = ? and groupId = ?.
    create(long formInstanceId)
    Creates a new ddm form instance with the primary key.
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns the first ddm form instance in the ordered set where groupId = ?.
    fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns the last ddm form instance in the ordered set where groupId = ?.
    fetchByPrimaryKey(long formInstanceId)
    Returns the ddm form instance with the primary key or returns null if it could not be found.
    fetchByStructureId(long structureId)
    Returns the ddm form instance where structureId = ? or returns null if it could not be found.
    fetchByStructureId(long structureId, boolean useFinderCache)
    Returns the ddm form instance where structureId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns the first ddm form instance in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns the last ddm form instance in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns the first ddm form instance in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the ddm form instance where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the ddm form instance where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns the last ddm form instance in the ordered set where uuid = ?.
    int
    filterCountByGroupId(long groupId)
    Returns the number of ddm form instances that the user has permission to view where groupId = ?.
    int
    filterCountByGroupId(long[] groupIds)
    Returns the number of ddm form instances that the user has permission to view where groupId = any ?.
    filterFindByGroupId(long groupId)
    Returns all the ddm form instances that the user has permission to view where groupId = ?.
    filterFindByGroupId(long[] groupIds)
    Returns all the ddm form instances that the user has permission to view where groupId = any ?.
    filterFindByGroupId(long[] groupIds, int start, int end)
    Returns a range of all the ddm form instances that the user has permission to view where groupId = any ?.
    filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns an ordered range of all the ddm form instances that the user has permission to view where groupId = any ?.
    filterFindByGroupId(long groupId, int start, int end)
    Returns a range of all the ddm form instances that the user has permission to view where groupId = ?.
    filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns an ordered range of all the ddm form instances that the user has permissions to view where groupId = ?.
    filterFindByGroupId_PrevAndNext(long formInstanceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns the ddm form instances before and after the current ddm form instance in the ordered set of ddm form instances that the user has permission to view where groupId = ?.
    Returns all the ddm form instances.
    findAll(int start, int end)
    Returns a range of all the ddm form instances.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns an ordered range of all the ddm form instances.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm form instances.
    findByGroupId(long groupId)
    Returns all the ddm form instances where groupId = ?.
    findByGroupId(long[] groupIds)
    Returns all the ddm form instances where groupId = any ?.
    findByGroupId(long[] groupIds, int start, int end)
    Returns a range of all the ddm form instances where groupId = any ?.
    findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns an ordered range of all the ddm form instances where groupId = any ?.
    findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm form instances where groupId = ?, optionally using the finder cache.
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the ddm form instances where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns an ordered range of all the ddm form instances where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm form instances where groupId = ?.
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns the first ddm form instance in the ordered set where groupId = ?.
    findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns the last ddm form instance in the ordered set where groupId = ?.
    findByGroupId_PrevAndNext(long formInstanceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns the ddm form instances before and after the current ddm form instance in the ordered set where groupId = ?.
    findByPrimaryKey(long formInstanceId)
    Returns the ddm form instance with the primary key or throws a NoSuchFormInstanceException if it could not be found.
    findByStructureId(long structureId)
    Returns the ddm form instance where structureId = ? or throws a NoSuchFormInstanceException if it could not be found.
    Returns all the ddm form instances where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the ddm form instances where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns an ordered range of all the ddm form instances where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm form instances where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the ddm form instances where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the ddm form instances where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns an ordered range of all the ddm form instances where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm form instances where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns the first ddm form instance in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns the last ddm form instance in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_PrevAndNext(long formInstanceId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns the ddm form instances before and after the current ddm form instance in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns the first ddm form instance in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the ddm form instance where uuid = ? and groupId = ? or throws a NoSuchFormInstanceException if it could not be found.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns the last ddm form instance in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long formInstanceId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
    Returns the ddm form instances before and after the current ddm form instance in the ordered set where uuid = ?.
    remove(long formInstanceId)
    Removes the ddm form instance with the primary key from the database.
    void
    Removes all the ddm form instances from the database.
    void
    removeByGroupId(long groupId)
    Removes all the ddm form instances where groupId = ? from the database.
    removeByStructureId(long structureId)
    Removes the ddm form instance where structureId = ? from the database.
    void
    Removes all the ddm form instances where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the ddm form instances where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the ddm form instance where uuid = ? and groupId = ? from the database.
    updateImpl(DDMFormInstance ddmFormInstance)
     

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

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update

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

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

    • findByUuid

      List<DDMFormInstance> findByUuid(String uuid)
      Returns all the ddm form instances where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching ddm form instances
    • findByUuid

      List<DDMFormInstance> findByUuid(String uuid, int start, int end)
      Returns a range of all the ddm form instances 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 DDMFormInstanceModelImpl.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      List<DDMFormInstance> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the ddm form instances 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 DDMFormInstanceModelImpl.

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

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

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

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

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

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

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

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

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

      DDMFormInstance[] findByUuid_C_PrevAndNext(long formInstanceId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) throws NoSuchFormInstanceException
      Returns the ddm form instances before and after the current ddm form instance in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      formInstanceId - the primary key of the current ddm form instance
      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
      Throws:
      NoSuchFormInstanceException - if a ddm form instance with the primary key could not be found
    • removeByUuid_C

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

      List<DDMFormInstance> findByGroupId(long groupId)
      Returns all the ddm form instances where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching ddm form instances
    • findByGroupId

      List<DDMFormInstance> findByGroupId(long groupId, int start, int end)
      Returns a range of all the ddm form instances where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of ddm form instances
      end - the upper bound of the range of ddm form instances (not inclusive)
      Returns:
      the range of matching ddm form instances
    • findByGroupId

      List<DDMFormInstance> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
      Returns an ordered range of all the ddm form instances where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of ddm form instances
      end - the upper bound of the range of ddm form instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm form instances
    • findByGroupId

      List<DDMFormInstance> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm form instances where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of ddm form instances
      end - the upper bound of the range of ddm form instances (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 instances
    • findByGroupId_First

      DDMFormInstance findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) throws NoSuchFormInstanceException
      Returns the first ddm form instance in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm form instance
      Throws:
      NoSuchFormInstanceException - if a matching ddm form instance could not be found
    • fetchByGroupId_First

      DDMFormInstance fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
      Returns the first ddm form instance in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm form instance, or null if a matching ddm form instance could not be found
    • findByGroupId_Last

      DDMFormInstance findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) throws NoSuchFormInstanceException
      Returns the last ddm form instance in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm form instance
      Throws:
      NoSuchFormInstanceException - if a matching ddm form instance could not be found
    • fetchByGroupId_Last

      DDMFormInstance fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
      Returns the last ddm form instance in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm form instance, or null if a matching ddm form instance could not be found
    • findByGroupId_PrevAndNext

      DDMFormInstance[] findByGroupId_PrevAndNext(long formInstanceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) throws NoSuchFormInstanceException
      Returns the ddm form instances before and after the current ddm form instance in the ordered set where groupId = ?.
      Parameters:
      formInstanceId - the primary key of the current ddm form instance
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm form instance
      Throws:
      NoSuchFormInstanceException - if a ddm form instance with the primary key could not be found
    • filterFindByGroupId

      List<DDMFormInstance> filterFindByGroupId(long groupId)
      Returns all the ddm form instances that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching ddm form instances that the user has permission to view
    • filterFindByGroupId

      List<DDMFormInstance> filterFindByGroupId(long groupId, int start, int end)
      Returns a range of all the ddm form instances that the user has permission to view where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of ddm form instances
      end - the upper bound of the range of ddm form instances (not inclusive)
      Returns:
      the range of matching ddm form instances that the user has permission to view
    • filterFindByGroupId

      List<DDMFormInstance> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
      Returns an ordered range of all the ddm form instances that the user has permissions to view where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of ddm form instances
      end - the upper bound of the range of ddm form instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm form instances that the user has permission to view
    • filterFindByGroupId_PrevAndNext

      DDMFormInstance[] filterFindByGroupId_PrevAndNext(long formInstanceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) throws NoSuchFormInstanceException
      Returns the ddm form instances before and after the current ddm form instance in the ordered set of ddm form instances that the user has permission to view where groupId = ?.
      Parameters:
      formInstanceId - the primary key of the current ddm form instance
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm form instance
      Throws:
      NoSuchFormInstanceException - if a ddm form instance with the primary key could not be found
    • filterFindByGroupId

      List<DDMFormInstance> filterFindByGroupId(long[] groupIds)
      Returns all the ddm form instances that the user has permission to view where groupId = any ?.
      Parameters:
      groupIds - the group IDs
      Returns:
      the matching ddm form instances that the user has permission to view
    • filterFindByGroupId

      List<DDMFormInstance> filterFindByGroupId(long[] groupIds, int start, int end)
      Returns a range of all the ddm form instances that the user has permission to view where groupId = any ?.

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

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of ddm form instances
      end - the upper bound of the range of ddm form instances (not inclusive)
      Returns:
      the range of matching ddm form instances that the user has permission to view
    • filterFindByGroupId

      List<DDMFormInstance> filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
      Returns an ordered range of all the ddm form instances that the user has permission to view where groupId = any ?.

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

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of ddm form instances
      end - the upper bound of the range of ddm form instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm form instances that the user has permission to view
    • findByGroupId

      List<DDMFormInstance> findByGroupId(long[] groupIds)
      Returns all the ddm form instances where groupId = any ?.

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

      Parameters:
      groupIds - the group IDs
      Returns:
      the matching ddm form instances
    • findByGroupId

      List<DDMFormInstance> findByGroupId(long[] groupIds, int start, int end)
      Returns a range of all the ddm form instances where groupId = any ?.

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

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of ddm form instances
      end - the upper bound of the range of ddm form instances (not inclusive)
      Returns:
      the range of matching ddm form instances
    • findByGroupId

      List<DDMFormInstance> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
      Returns an ordered range of all the ddm form instances where groupId = any ?.

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

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of ddm form instances
      end - the upper bound of the range of ddm form instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm form instances
    • findByGroupId

      List<DDMFormInstance> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm form instances where groupId = ?, optionally using the finder cache.

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

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of ddm form instances
      end - the upper bound of the range of ddm form instances (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 instances
    • removeByGroupId

      void removeByGroupId(long groupId)
      Removes all the ddm form instances where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      int countByGroupId(long groupId)
      Returns the number of ddm form instances where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching ddm form instances
    • countByGroupId

      int countByGroupId(long[] groupIds)
      Returns the number of ddm form instances where groupId = any ?.
      Parameters:
      groupIds - the group IDs
      Returns:
      the number of matching ddm form instances
    • filterCountByGroupId

      int filterCountByGroupId(long groupId)
      Returns the number of ddm form instances that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching ddm form instances that the user has permission to view
    • filterCountByGroupId

      int filterCountByGroupId(long[] groupIds)
      Returns the number of ddm form instances that the user has permission to view where groupId = any ?.
      Parameters:
      groupIds - the group IDs
      Returns:
      the number of matching ddm form instances that the user has permission to view
    • findByStructureId

      DDMFormInstance findByStructureId(long structureId) throws NoSuchFormInstanceException
      Returns the ddm form instance where structureId = ? or throws a NoSuchFormInstanceException if it could not be found.
      Parameters:
      structureId - the structure ID
      Returns:
      the matching ddm form instance
      Throws:
      NoSuchFormInstanceException - if a matching ddm form instance could not be found
    • fetchByStructureId

      DDMFormInstance fetchByStructureId(long structureId)
      Returns the ddm form instance where structureId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      structureId - the structure ID
      Returns:
      the matching ddm form instance, or null if a matching ddm form instance could not be found
    • fetchByStructureId

      DDMFormInstance fetchByStructureId(long structureId, boolean useFinderCache)
      Returns the ddm form instance where structureId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      structureId - the structure ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ddm form instance, or null if a matching ddm form instance could not be found
    • removeByStructureId

      DDMFormInstance removeByStructureId(long structureId) throws NoSuchFormInstanceException
      Removes the ddm form instance where structureId = ? from the database.
      Parameters:
      structureId - the structure ID
      Returns:
      the ddm form instance that was removed
      Throws:
      NoSuchFormInstanceException
    • countByStructureId

      int countByStructureId(long structureId)
      Returns the number of ddm form instances where structureId = ?.
      Parameters:
      structureId - the structure ID
      Returns:
      the number of matching ddm form instances
    • cacheResult

      void cacheResult(DDMFormInstance ddmFormInstance)
      Caches the ddm form instance in the entity cache if it is enabled.
      Parameters:
      ddmFormInstance - the ddm form instance
    • cacheResult

      void cacheResult(List<DDMFormInstance> ddmFormInstances)
      Caches the ddm form instances in the entity cache if it is enabled.
      Parameters:
      ddmFormInstances - the ddm form instances
    • create

      DDMFormInstance create(long formInstanceId)
      Creates a new ddm form instance with the primary key. Does not add the ddm form instance to the database.
      Parameters:
      formInstanceId - the primary key for the new ddm form instance
      Returns:
      the new ddm form instance
    • remove

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

      DDMFormInstance updateImpl(DDMFormInstance ddmFormInstance)
    • findByPrimaryKey

      DDMFormInstance findByPrimaryKey(long formInstanceId) throws NoSuchFormInstanceException
      Returns the ddm form instance with the primary key or throws a NoSuchFormInstanceException if it could not be found.
      Parameters:
      formInstanceId - the primary key of the ddm form instance
      Returns:
      the ddm form instance
      Throws:
      NoSuchFormInstanceException - if a ddm form instance with the primary key could not be found
    • fetchByPrimaryKey

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

      List<DDMFormInstance> findAll()
      Returns all the ddm form instances.
      Returns:
      the ddm form instances
    • findAll

      List<DDMFormInstance> findAll(int start, int end)
      Returns a range of all the ddm form instances.

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

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

      List<DDMFormInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
      Returns an ordered range of all the ddm form instances.

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

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

      List<DDMFormInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm form instances.

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

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

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

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