Interface DDMDataProviderInstancePersistence

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

@ProviderType public interface DDMDataProviderInstancePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDMDataProviderInstance>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMDataProviderInstance>
The persistence interface for the ddm data provider instance service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

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

      List<DDMDataProviderInstance> findByUuid(String uuid, int start, int end)
      Returns a range of all the ddm data provider 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 DDMDataProviderInstanceModelImpl.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      List<DDMDataProviderInstance> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the ddm data provider 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 DDMDataProviderInstanceModelImpl.

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

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

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

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

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

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

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

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

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

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

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

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

      List<DDMDataProviderInstance> findByGroupId(long groupId, int start, int end)
      Returns a range of all the ddm data provider 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 DDMDataProviderInstanceModelImpl.

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

      List<DDMDataProviderInstance> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
      Returns an ordered range of all the ddm data provider 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 DDMDataProviderInstanceModelImpl.

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

      List<DDMDataProviderInstance> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm data provider 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 DDMDataProviderInstanceModelImpl.

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

      DDMDataProviderInstance findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
      Returns the first ddm data provider 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 data provider instance
      Throws:
      NoSuchDataProviderInstanceException - if a matching ddm data provider instance could not be found
    • fetchByGroupId_First

      DDMDataProviderInstance fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
      Returns the first ddm data provider 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 data provider instance, or null if a matching ddm data provider instance could not be found
    • findByGroupId_Last

      DDMDataProviderInstance findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
      Returns the last ddm data provider 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 data provider instance
      Throws:
      NoSuchDataProviderInstanceException - if a matching ddm data provider instance could not be found
    • fetchByGroupId_Last

      DDMDataProviderInstance fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
      Returns the last ddm data provider 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 data provider instance, or null if a matching ddm data provider instance could not be found
    • findByGroupId_PrevAndNext

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

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

      List<DDMDataProviderInstance> filterFindByGroupId(long groupId, int start, int end)
      Returns a range of all the ddm data provider 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 DDMDataProviderInstanceModelImpl.

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

      List<DDMDataProviderInstance> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
      Returns an ordered range of all the ddm data provider 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 DDMDataProviderInstanceModelImpl.

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

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

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

      List<DDMDataProviderInstance> filterFindByGroupId(long[] groupIds, int start, int end)
      Returns a range of all the ddm data provider 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 DDMDataProviderInstanceModelImpl.

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

      List<DDMDataProviderInstance> filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
      Returns an ordered range of all the ddm data provider 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 DDMDataProviderInstanceModelImpl.

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

      List<DDMDataProviderInstance> findByGroupId(long[] groupIds)
      Returns all the ddm data provider 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 DDMDataProviderInstanceModelImpl.

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

      List<DDMDataProviderInstance> findByGroupId(long[] groupIds, int start, int end)
      Returns a range of all the ddm data provider 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 DDMDataProviderInstanceModelImpl.

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

      List<DDMDataProviderInstance> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
      Returns an ordered range of all the ddm data provider 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 DDMDataProviderInstanceModelImpl.

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

      List<DDMDataProviderInstance> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm data provider 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 DDMDataProviderInstanceModelImpl.

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

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

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

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

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

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

      List<DDMDataProviderInstance> findByCompanyId(long companyId)
      Returns all the ddm data provider instances where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching ddm data provider instances
    • findByCompanyId

      List<DDMDataProviderInstance> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the ddm data provider instances where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMDataProviderInstanceModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of ddm data provider instances
      end - the upper bound of the range of ddm data provider instances (not inclusive)
      Returns:
      the range of matching ddm data provider instances
    • findByCompanyId

      List<DDMDataProviderInstance> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
      Returns an ordered range of all the ddm data provider instances where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMDataProviderInstanceModelImpl.

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

      List<DDMDataProviderInstance> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm data provider instances where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMDataProviderInstanceModelImpl.

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

      DDMDataProviderInstance findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
      Returns the first ddm data provider instance 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 data provider instance
      Throws:
      NoSuchDataProviderInstanceException - if a matching ddm data provider instance could not be found
    • fetchByCompanyId_First

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

      DDMDataProviderInstance findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
      Returns the last ddm data provider instance in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm data provider instance
      Throws:
      NoSuchDataProviderInstanceException - if a matching ddm data provider instance could not be found
    • fetchByCompanyId_Last

      DDMDataProviderInstance fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
      Returns the last ddm data provider instance in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm data provider instance, or null if a matching ddm data provider instance could not be found
    • findByCompanyId_PrevAndNext

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

      void removeByCompanyId(long companyId)
      Removes all the ddm data provider instances where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of ddm data provider instances where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching ddm data provider instances
    • cacheResult

      void cacheResult(DDMDataProviderInstance ddmDataProviderInstance)
      Caches the ddm data provider instance in the entity cache if it is enabled.
      Parameters:
      ddmDataProviderInstance - the ddm data provider instance
    • cacheResult

      void cacheResult(List<DDMDataProviderInstance> ddmDataProviderInstances)
      Caches the ddm data provider instances in the entity cache if it is enabled.
      Parameters:
      ddmDataProviderInstances - the ddm data provider instances
    • create

      DDMDataProviderInstance create(long dataProviderInstanceId)
      Creates a new ddm data provider instance with the primary key. Does not add the ddm data provider instance to the database.
      Parameters:
      dataProviderInstanceId - the primary key for the new ddm data provider instance
      Returns:
      the new ddm data provider instance
    • remove

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

      DDMDataProviderInstance updateImpl(DDMDataProviderInstance ddmDataProviderInstance)
    • findByPrimaryKey

      DDMDataProviderInstance findByPrimaryKey(long dataProviderInstanceId) throws NoSuchDataProviderInstanceException
      Returns the ddm data provider instance with the primary key or throws a NoSuchDataProviderInstanceException if it could not be found.
      Parameters:
      dataProviderInstanceId - the primary key of the ddm data provider instance
      Returns:
      the ddm data provider instance
      Throws:
      NoSuchDataProviderInstanceException - if a ddm data provider instance with the primary key could not be found
    • fetchByPrimaryKey

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

      Returns all the ddm data provider instances.
      Returns:
      the ddm data provider instances
    • findAll

      List<DDMDataProviderInstance> findAll(int start, int end)
      Returns a range of all the ddm data provider 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 DDMDataProviderInstanceModelImpl.

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

      List<DDMDataProviderInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
      Returns an ordered range of all the ddm data provider 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 DDMDataProviderInstanceModelImpl.

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

      List<DDMDataProviderInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm data provider 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 DDMDataProviderInstanceModelImpl.

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

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

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