Interface DDMDataProviderInstanceLinkPersistence

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

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByDataProviderInstanceId

      List<DDMDataProviderInstanceLink> findByDataProviderInstanceId(long dataProviderInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm data provider instance links where dataProviderInstanceId = ?.

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

      Parameters:
      dataProviderInstanceId - the data provider instance ID
      start - the lower bound of the range of ddm data provider instance links
      end - the upper bound of the range of ddm data provider instance links (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 instance links
    • findByDataProviderInstanceId_First

      DDMDataProviderInstanceLink findByDataProviderInstanceId_First(long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) throws NoSuchDataProviderInstanceLinkException
      Returns the first ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.
      Parameters:
      dataProviderInstanceId - the data provider instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm data provider instance link
      Throws:
      NoSuchDataProviderInstanceLinkException - if a matching ddm data provider instance link could not be found
    • fetchByDataProviderInstanceId_First

      DDMDataProviderInstanceLink fetchByDataProviderInstanceId_First(long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
      Returns the first ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.
      Parameters:
      dataProviderInstanceId - the data provider instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm data provider instance link, or null if a matching ddm data provider instance link could not be found
    • removeByDataProviderInstanceId

      void removeByDataProviderInstanceId(long dataProviderInstanceId)
      Removes all the ddm data provider instance links where dataProviderInstanceId = ? from the database.
      Parameters:
      dataProviderInstanceId - the data provider instance ID
    • countByDataProviderInstanceId

      int countByDataProviderInstanceId(long dataProviderInstanceId)
      Returns the number of ddm data provider instance links where dataProviderInstanceId = ?.
      Parameters:
      dataProviderInstanceId - the data provider instance ID
      Returns:
      the number of matching ddm data provider instance links
    • findByStructureId

      List<DDMDataProviderInstanceLink> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm data provider instance links where structureId = ?.

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

      Parameters:
      structureId - the structure ID
      start - the lower bound of the range of ddm data provider instance links
      end - the upper bound of the range of ddm data provider instance links (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 instance links
    • findByStructureId_First

      DDMDataProviderInstanceLink findByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) throws NoSuchDataProviderInstanceLinkException
      Returns the first ddm data provider instance link in the ordered set where structureId = ?.
      Parameters:
      structureId - the structure ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm data provider instance link
      Throws:
      NoSuchDataProviderInstanceLinkException - if a matching ddm data provider instance link could not be found
    • fetchByStructureId_First

      DDMDataProviderInstanceLink fetchByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
      Returns the first ddm data provider instance link in the ordered set where structureId = ?.
      Parameters:
      structureId - the structure ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm data provider instance link, or null if a matching ddm data provider instance link could not be found
    • removeByStructureId

      void removeByStructureId(long structureId)
      Removes all the ddm data provider instance links where structureId = ? from the database.
      Parameters:
      structureId - the structure ID
    • countByStructureId

      int countByStructureId(long structureId)
      Returns the number of ddm data provider instance links where structureId = ?.
      Parameters:
      structureId - the structure ID
      Returns:
      the number of matching ddm data provider instance links
    • findByD_S

      DDMDataProviderInstanceLink findByD_S(long dataProviderInstanceId, long structureId) throws NoSuchDataProviderInstanceLinkException
      Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or throws a NoSuchDataProviderInstanceLinkException if it could not be found.
      Parameters:
      dataProviderInstanceId - the data provider instance ID
      structureId - the structure ID
      Returns:
      the matching ddm data provider instance link
      Throws:
      NoSuchDataProviderInstanceLinkException - if a matching ddm data provider instance link could not be found
    • fetchByD_S

      DDMDataProviderInstanceLink fetchByD_S(long dataProviderInstanceId, long structureId, boolean useFinderCache)
      Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      dataProviderInstanceId - the data provider instance ID
      structureId - the structure ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ddm data provider instance link, or null if a matching ddm data provider instance link could not be found
    • removeByD_S

      DDMDataProviderInstanceLink removeByD_S(long dataProviderInstanceId, long structureId) throws NoSuchDataProviderInstanceLinkException
      Removes the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? from the database.
      Parameters:
      dataProviderInstanceId - the data provider instance ID
      structureId - the structure ID
      Returns:
      the ddm data provider instance link that was removed
      Throws:
      NoSuchDataProviderInstanceLinkException
    • countByD_S

      int countByD_S(long dataProviderInstanceId, long structureId)
      Returns the number of ddm data provider instance links where dataProviderInstanceId = ? and structureId = ?.
      Parameters:
      dataProviderInstanceId - the data provider instance ID
      structureId - the structure ID
      Returns:
      the number of matching ddm data provider instance links
    • create

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

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

      DDMDataProviderInstanceLink updateImpl(DDMDataProviderInstanceLink ddmDataProviderInstanceLink)
    • findByPrimaryKey

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

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

      default DDMDataProviderInstanceLink fetchByD_S(long dataProviderInstanceId, long structureId)
      Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      dataProviderInstanceId - the data provider instance ID
      structureId - the structure ID
      Returns:
      the matching ddm data provider instance link, or null if a matching ddm data provider instance link could not be found
    • findByDataProviderInstanceId

      default List<DDMDataProviderInstanceLink> findByDataProviderInstanceId(long dataProviderInstanceId)
      Returns all the ddm data provider instance links where dataProviderInstanceId = ?.
      Parameters:
      dataProviderInstanceId - the data provider instance ID
      Returns:
      the matching ddm data provider instance links
    • findByDataProviderInstanceId

      default List<DDMDataProviderInstanceLink> findByDataProviderInstanceId(long dataProviderInstanceId, int start, int end)
      Returns a range of all the ddm data provider instance links where dataProviderInstanceId = ?.

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

      Parameters:
      dataProviderInstanceId - the data provider instance ID
      start - the lower bound of the range of ddm data provider instance links
      end - the upper bound of the range of ddm data provider instance links (not inclusive)
      Returns:
      the range of matching ddm data provider instance links
    • findByDataProviderInstanceId

      default List<DDMDataProviderInstanceLink> findByDataProviderInstanceId(long dataProviderInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
      Returns an ordered range of all the ddm data provider instance links where dataProviderInstanceId = ?.

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

      Parameters:
      dataProviderInstanceId - the data provider instance ID
      start - the lower bound of the range of ddm data provider instance links
      end - the upper bound of the range of ddm data provider instance links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm data provider instance links
    • findByStructureId

      default List<DDMDataProviderInstanceLink> findByStructureId(long structureId)
      Returns all the ddm data provider instance links where structureId = ?.
      Parameters:
      structureId - the structure ID
      Returns:
      the matching ddm data provider instance links
    • findByStructureId

      default List<DDMDataProviderInstanceLink> findByStructureId(long structureId, int start, int end)
      Returns a range of all the ddm data provider instance links where structureId = ?.

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

      Parameters:
      structureId - the structure ID
      start - the lower bound of the range of ddm data provider instance links
      end - the upper bound of the range of ddm data provider instance links (not inclusive)
      Returns:
      the range of matching ddm data provider instance links
    • findByStructureId

      default List<DDMDataProviderInstanceLink> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
      Returns an ordered range of all the ddm data provider instance links where structureId = ?.

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

      Parameters:
      structureId - the structure ID
      start - the lower bound of the range of ddm data provider instance links
      end - the upper bound of the range of ddm data provider instance links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm data provider instance links