Interface DDMStorageLinkPersistence

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

@ProviderType public interface DDMStorageLinkPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDMStorageLink>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMStorageLink>
The persistence interface for the ddm storage link service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      List<DDMStorageLink> findByUuid(String uuid)
      Returns all the ddm storage links where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching ddm storage links
    • findByUuid

      List<DDMStorageLink> findByUuid(String uuid, int start, int end)
      Returns a range of all the ddm storage links 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 DDMStorageLinkModelImpl.

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

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

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

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

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

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

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

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

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

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

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

      int countByUuid(String uuid)
      Returns the number of ddm storage links where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching ddm storage links
    • findByUuid_C

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

      List<DDMStorageLink> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the ddm storage links 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 DDMStorageLinkModelImpl.

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

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

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

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

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

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

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

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

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

      DDMStorageLink[] findByUuid_C_PrevAndNext(long storageLinkId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
      Returns the ddm storage links before and after the current ddm storage link in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      storageLinkId - the primary key of the current ddm storage link
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm storage link
      Throws:
      NoSuchStorageLinkException - if a ddm storage link with the primary key could not be found
    • removeByUuid_C

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

      DDMStorageLink findByClassPK(long classPK) throws NoSuchStorageLinkException
      Returns the ddm storage link where classPK = ? or throws a NoSuchStorageLinkException if it could not be found.
      Parameters:
      classPK - the class pk
      Returns:
      the matching ddm storage link
      Throws:
      NoSuchStorageLinkException - if a matching ddm storage link could not be found
    • fetchByClassPK

      DDMStorageLink fetchByClassPK(long classPK)
      Returns the ddm storage link where classPK = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      classPK - the class pk
      Returns:
      the matching ddm storage link, or null if a matching ddm storage link could not be found
    • fetchByClassPK

      DDMStorageLink fetchByClassPK(long classPK, boolean useFinderCache)
      Returns the ddm storage link where classPK = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      classPK - the class pk
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ddm storage link, or null if a matching ddm storage link could not be found
    • removeByClassPK

      DDMStorageLink removeByClassPK(long classPK) throws NoSuchStorageLinkException
      Removes the ddm storage link where classPK = ? from the database.
      Parameters:
      classPK - the class pk
      Returns:
      the ddm storage link that was removed
      Throws:
      NoSuchStorageLinkException
    • countByClassPK

      int countByClassPK(long classPK)
      Returns the number of ddm storage links where classPK = ?.
      Parameters:
      classPK - the class pk
      Returns:
      the number of matching ddm storage links
    • findByStructureId

      List<DDMStorageLink> findByStructureId(long structureId)
      Returns all the ddm storage links where structureId = ?.
      Parameters:
      structureId - the structure ID
      Returns:
      the matching ddm storage links
    • findByStructureId

      List<DDMStorageLink> findByStructureId(long structureId, int start, int end)
      Returns a range of all the ddm storage 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 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 DDMStorageLinkModelImpl.

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

      List<DDMStorageLink> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
      Returns an ordered range of all the ddm storage 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 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 DDMStorageLinkModelImpl.

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

      List<DDMStorageLink> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm storage 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 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 DDMStorageLinkModelImpl.

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

      DDMStorageLink findByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
      Returns the first ddm storage 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 storage link
      Throws:
      NoSuchStorageLinkException - if a matching ddm storage link could not be found
    • fetchByStructureId_First

      DDMStorageLink fetchByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
      Returns the first ddm storage 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 storage link, or null if a matching ddm storage link could not be found
    • findByStructureId_Last

      DDMStorageLink findByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
      Returns the last ddm storage link in the ordered set where structureId = ?.
      Parameters:
      structureId - the structure ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm storage link
      Throws:
      NoSuchStorageLinkException - if a matching ddm storage link could not be found
    • fetchByStructureId_Last

      DDMStorageLink fetchByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
      Returns the last ddm storage link in the ordered set where structureId = ?.
      Parameters:
      structureId - the structure ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm storage link, or null if a matching ddm storage link could not be found
    • findByStructureId_PrevAndNext

      DDMStorageLink[] findByStructureId_PrevAndNext(long storageLinkId, long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
      Returns the ddm storage links before and after the current ddm storage link in the ordered set where structureId = ?.
      Parameters:
      storageLinkId - the primary key of the current ddm storage link
      structureId - the structure ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm storage link
      Throws:
      NoSuchStorageLinkException - if a ddm storage link with the primary key could not be found
    • removeByStructureId

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

      int countByStructureId(long structureId)
      Returns the number of ddm storage links where structureId = ?.
      Parameters:
      structureId - the structure ID
      Returns:
      the number of matching ddm storage links
    • findByStructureVersionId

      List<DDMStorageLink> findByStructureVersionId(long structureVersionId)
      Returns all the ddm storage links where structureVersionId = ?.
      Parameters:
      structureVersionId - the structure version ID
      Returns:
      the matching ddm storage links
    • findByStructureVersionId

      List<DDMStorageLink> findByStructureVersionId(long structureVersionId, int start, int end)
      Returns a range of all the ddm storage links where structureVersionId = ?.

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

      Parameters:
      structureVersionId - the structure version ID
      start - the lower bound of the range of ddm storage links
      end - the upper bound of the range of ddm storage links (not inclusive)
      Returns:
      the range of matching ddm storage links
    • findByStructureVersionId

      List<DDMStorageLink> findByStructureVersionId(long structureVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
      Returns an ordered range of all the ddm storage links where structureVersionId = ?.

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

      Parameters:
      structureVersionId - the structure version ID
      start - the lower bound of the range of ddm storage links
      end - the upper bound of the range of ddm storage links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm storage links
    • findByStructureVersionId

      List<DDMStorageLink> findByStructureVersionId(long structureVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm storage links where structureVersionId = ?.

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

      Parameters:
      structureVersionId - the structure version ID
      start - the lower bound of the range of ddm storage links
      end - the upper bound of the range of ddm storage 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 storage links
    • findByStructureVersionId_First

      DDMStorageLink findByStructureVersionId_First(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
      Returns the first ddm storage link in the ordered set where structureVersionId = ?.
      Parameters:
      structureVersionId - the structure version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm storage link
      Throws:
      NoSuchStorageLinkException - if a matching ddm storage link could not be found
    • fetchByStructureVersionId_First

      DDMStorageLink fetchByStructureVersionId_First(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
      Returns the first ddm storage link in the ordered set where structureVersionId = ?.
      Parameters:
      structureVersionId - the structure version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm storage link, or null if a matching ddm storage link could not be found
    • findByStructureVersionId_Last

      DDMStorageLink findByStructureVersionId_Last(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
      Returns the last ddm storage link in the ordered set where structureVersionId = ?.
      Parameters:
      structureVersionId - the structure version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm storage link
      Throws:
      NoSuchStorageLinkException - if a matching ddm storage link could not be found
    • fetchByStructureVersionId_Last

      DDMStorageLink fetchByStructureVersionId_Last(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
      Returns the last ddm storage link in the ordered set where structureVersionId = ?.
      Parameters:
      structureVersionId - the structure version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm storage link, or null if a matching ddm storage link could not be found
    • findByStructureVersionId_PrevAndNext

      DDMStorageLink[] findByStructureVersionId_PrevAndNext(long storageLinkId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
      Returns the ddm storage links before and after the current ddm storage link in the ordered set where structureVersionId = ?.
      Parameters:
      storageLinkId - the primary key of the current ddm storage link
      structureVersionId - the structure version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm storage link
      Throws:
      NoSuchStorageLinkException - if a ddm storage link with the primary key could not be found
    • findByStructureVersionId

      List<DDMStorageLink> findByStructureVersionId(long[] structureVersionIds)
      Returns all the ddm storage links where structureVersionId = 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 DDMStorageLinkModelImpl.

      Parameters:
      structureVersionIds - the structure version IDs
      Returns:
      the matching ddm storage links
    • findByStructureVersionId

      List<DDMStorageLink> findByStructureVersionId(long[] structureVersionIds, int start, int end)
      Returns a range of all the ddm storage links where structureVersionId = 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 DDMStorageLinkModelImpl.

      Parameters:
      structureVersionIds - the structure version IDs
      start - the lower bound of the range of ddm storage links
      end - the upper bound of the range of ddm storage links (not inclusive)
      Returns:
      the range of matching ddm storage links
    • findByStructureVersionId

      List<DDMStorageLink> findByStructureVersionId(long[] structureVersionIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
      Returns an ordered range of all the ddm storage links where structureVersionId = 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 DDMStorageLinkModelImpl.

      Parameters:
      structureVersionIds - the structure version IDs
      start - the lower bound of the range of ddm storage links
      end - the upper bound of the range of ddm storage links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm storage links
    • findByStructureVersionId

      List<DDMStorageLink> findByStructureVersionId(long[] structureVersionIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm storage links where structureVersionId = ?, 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 DDMStorageLinkModelImpl.

      Parameters:
      structureVersionIds - the structure version IDs
      start - the lower bound of the range of ddm storage links
      end - the upper bound of the range of ddm storage 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 storage links
    • removeByStructureVersionId

      void removeByStructureVersionId(long structureVersionId)
      Removes all the ddm storage links where structureVersionId = ? from the database.
      Parameters:
      structureVersionId - the structure version ID
    • countByStructureVersionId

      int countByStructureVersionId(long structureVersionId)
      Returns the number of ddm storage links where structureVersionId = ?.
      Parameters:
      structureVersionId - the structure version ID
      Returns:
      the number of matching ddm storage links
    • countByStructureVersionId

      int countByStructureVersionId(long[] structureVersionIds)
      Returns the number of ddm storage links where structureVersionId = any ?.
      Parameters:
      structureVersionIds - the structure version IDs
      Returns:
      the number of matching ddm storage links
    • cacheResult

      void cacheResult(DDMStorageLink ddmStorageLink)
      Caches the ddm storage link in the entity cache if it is enabled.
      Parameters:
      ddmStorageLink - the ddm storage link
    • cacheResult

      void cacheResult(List<DDMStorageLink> ddmStorageLinks)
      Caches the ddm storage links in the entity cache if it is enabled.
      Parameters:
      ddmStorageLinks - the ddm storage links
    • create

      DDMStorageLink create(long storageLinkId)
      Creates a new ddm storage link with the primary key. Does not add the ddm storage link to the database.
      Parameters:
      storageLinkId - the primary key for the new ddm storage link
      Returns:
      the new ddm storage link
    • remove

      DDMStorageLink remove(long storageLinkId) throws NoSuchStorageLinkException
      Removes the ddm storage link with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      storageLinkId - the primary key of the ddm storage link
      Returns:
      the ddm storage link that was removed
      Throws:
      NoSuchStorageLinkException - if a ddm storage link with the primary key could not be found
    • updateImpl

      DDMStorageLink updateImpl(DDMStorageLink ddmStorageLink)
    • findByPrimaryKey

      DDMStorageLink findByPrimaryKey(long storageLinkId) throws NoSuchStorageLinkException
      Returns the ddm storage link with the primary key or throws a NoSuchStorageLinkException if it could not be found.
      Parameters:
      storageLinkId - the primary key of the ddm storage link
      Returns:
      the ddm storage link
      Throws:
      NoSuchStorageLinkException - if a ddm storage link with the primary key could not be found
    • fetchByPrimaryKey

      DDMStorageLink fetchByPrimaryKey(long storageLinkId)
      Returns the ddm storage link with the primary key or returns null if it could not be found.
      Parameters:
      storageLinkId - the primary key of the ddm storage link
      Returns:
      the ddm storage link, or null if a ddm storage link with the primary key could not be found
    • findAll

      List<DDMStorageLink> findAll()
      Returns all the ddm storage links.
      Returns:
      the ddm storage links
    • findAll

      List<DDMStorageLink> findAll(int start, int end)
      Returns a range of all the ddm storage links.

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

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

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

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

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

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

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

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

      void removeAll()
      Removes all the ddm storage links from the database.
    • countAll

      int countAll()
      Returns the number of ddm storage links.
      Returns:
      the number of ddm storage links