Class DDMStorageLinkUtil

java.lang.Object
com.liferay.dynamic.data.mapping.service.persistence.DDMStorageLinkUtil

public class DDMStorageLinkUtil extends Object
The persistence utility for the ddm storage link service. This utility wraps com.liferay.dynamic.data.mapping.service.persistence.impl.DDMStorageLinkPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • DDMStorageLinkUtil

      public DDMStorageLinkUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(DDMStorageLink ddmStorageLink)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,DDMStorageLink> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<DDMStorageLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<DDMStorageLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<DDMStorageLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static DDMStorageLink update(DDMStorageLink ddmStorageLink)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static DDMStorageLink update(DDMStorageLink ddmStorageLink, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchStorageLinkException
    • fetchByUuid_First

      public static 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

      public static 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
      NoSuchStorageLinkException
    • fetchByUuid_Last

      public static 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

      public static 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
      NoSuchStorageLinkException
    • removeByUuid

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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchStorageLinkException
    • fetchByUuid_C_First

      public static 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

      public static 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
      NoSuchStorageLinkException
    • fetchByUuid_C_Last

      public static 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

      public static 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
      NoSuchStorageLinkException
    • removeByUuid_C

      public static 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

      public static 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

      public static 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
      NoSuchStorageLinkException
    • fetchByClassPK

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchStorageLinkException
    • fetchByStructureId_First

      public static 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

      public static 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
      NoSuchStorageLinkException
    • fetchByStructureId_Last

      public static 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

      public static 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
      NoSuchStorageLinkException
    • removeByStructureId

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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchStorageLinkException
    • fetchByStructureVersionId_First

      public static 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

      public static 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
      NoSuchStorageLinkException
    • fetchByStructureVersionId_Last

      public static 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

      public static 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
      NoSuchStorageLinkException
    • findByStructureVersionId

      public static 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

      public static 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

      public static 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

      public static 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

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

      public static 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

      public static 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

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

      public static 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

      public static 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

      public static 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
      NoSuchStorageLinkException
    • updateImpl

      public static DDMStorageLink updateImpl(DDMStorageLink ddmStorageLink)
    • findByPrimaryKey

      public static 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
      NoSuchStorageLinkException
    • fetchByPrimaryKey

      public static 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

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

      public static 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

      public static 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

      public static 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

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

      public static int countAll()
      Returns the number of ddm storage links.
      Returns:
      the number of ddm storage links
    • getPersistence

      public static DDMStorageLinkPersistence getPersistence()
    • setPersistence

      public static void setPersistence(DDMStorageLinkPersistence persistence)