Interface AssetLinkPersistence

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

@ProviderType public interface AssetLinkPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AssetLink>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<AssetLink>
The persistence interface for the asset link service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Caches the asset link in the entity cache if it is enabled.
    void
    cacheResult(List<AssetLink> assetLinks)
    Caches the asset links in the entity cache if it is enabled.
    int
    Returns the number of asset links.
    int
    countByE_E(long entryId1, long entryId2)
    Returns the number of asset links where entryId1 = ? and entryId2 = ?.
    int
    countByE_E_T(long entryId1, long entryId2, int type)
    Returns the number of asset links where entryId1 = ? and entryId2 = ? and type = ?.
    int
    countByE1_T(long entryId1, int type)
    Returns the number of asset links where entryId1 = ? and type = ?.
    int
    countByE2_T(long entryId2, int type)
    Returns the number of asset links where entryId2 = ? and type = ?.
    int
    countByEntryId1(long entryId1)
    Returns the number of asset links where entryId1 = ?.
    int
    countByEntryId2(long entryId2)
    Returns the number of asset links where entryId2 = ?.
    create(long linkId)
    Creates a new asset link with the primary key.
    fetchByE_E_First(long entryId1, long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the first asset link in the ordered set where entryId1 = ? and entryId2 = ?.
    fetchByE_E_Last(long entryId1, long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the last asset link in the ordered set where entryId1 = ? and entryId2 = ?.
    fetchByE_E_T(long entryId1, long entryId2, int type)
    Returns the asset link where entryId1 = ? and entryId2 = ? and type = ? or returns null if it could not be found.
    fetchByE_E_T(long entryId1, long entryId2, int type, boolean useFinderCache)
    Returns the asset link where entryId1 = ? and entryId2 = ? and type = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByE1_T_First(long entryId1, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the first asset link in the ordered set where entryId1 = ? and type = ?.
    fetchByE1_T_Last(long entryId1, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the last asset link in the ordered set where entryId1 = ? and type = ?.
    fetchByE2_T_First(long entryId2, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the first asset link in the ordered set where entryId2 = ? and type = ?.
    fetchByE2_T_Last(long entryId2, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the last asset link in the ordered set where entryId2 = ? and type = ?.
    fetchByEntryId1_First(long entryId1, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the first asset link in the ordered set where entryId1 = ?.
    fetchByEntryId1_Last(long entryId1, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the last asset link in the ordered set where entryId1 = ?.
    fetchByEntryId2_First(long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the first asset link in the ordered set where entryId2 = ?.
    fetchByEntryId2_Last(long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the last asset link in the ordered set where entryId2 = ?.
    fetchByPrimaryKey(long linkId)
    Returns the asset link with the primary key or returns null if it could not be found.
    Returns all the asset links.
    findAll(int start, int end)
    Returns a range of all the asset links.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns an ordered range of all the asset links.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset links.
    findByE_E(long entryId1, long entryId2)
    Returns all the asset links where entryId1 = ? and entryId2 = ?.
    findByE_E(long entryId1, long entryId2, int start, int end)
    Returns a range of all the asset links where entryId1 = ? and entryId2 = ?.
    findByE_E(long entryId1, long entryId2, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns an ordered range of all the asset links where entryId1 = ? and entryId2 = ?.
    findByE_E(long entryId1, long entryId2, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset links where entryId1 = ? and entryId2 = ?.
    findByE_E_First(long entryId1, long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the first asset link in the ordered set where entryId1 = ? and entryId2 = ?.
    findByE_E_Last(long entryId1, long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the last asset link in the ordered set where entryId1 = ? and entryId2 = ?.
    findByE_E_PrevAndNext(long linkId, long entryId1, long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the asset links before and after the current asset link in the ordered set where entryId1 = ? and entryId2 = ?.
    findByE_E_T(long entryId1, long entryId2, int type)
    Returns the asset link where entryId1 = ? and entryId2 = ? and type = ? or throws a NoSuchLinkException if it could not be found.
    findByE1_T(long entryId1, int type)
    Returns all the asset links where entryId1 = ? and type = ?.
    findByE1_T(long entryId1, int type, int start, int end)
    Returns a range of all the asset links where entryId1 = ? and type = ?.
    findByE1_T(long entryId1, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns an ordered range of all the asset links where entryId1 = ? and type = ?.
    findByE1_T(long entryId1, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset links where entryId1 = ? and type = ?.
    findByE1_T_First(long entryId1, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the first asset link in the ordered set where entryId1 = ? and type = ?.
    findByE1_T_Last(long entryId1, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the last asset link in the ordered set where entryId1 = ? and type = ?.
    findByE1_T_PrevAndNext(long linkId, long entryId1, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the asset links before and after the current asset link in the ordered set where entryId1 = ? and type = ?.
    findByE2_T(long entryId2, int type)
    Returns all the asset links where entryId2 = ? and type = ?.
    findByE2_T(long entryId2, int type, int start, int end)
    Returns a range of all the asset links where entryId2 = ? and type = ?.
    findByE2_T(long entryId2, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns an ordered range of all the asset links where entryId2 = ? and type = ?.
    findByE2_T(long entryId2, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset links where entryId2 = ? and type = ?.
    findByE2_T_First(long entryId2, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the first asset link in the ordered set where entryId2 = ? and type = ?.
    findByE2_T_Last(long entryId2, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the last asset link in the ordered set where entryId2 = ? and type = ?.
    findByE2_T_PrevAndNext(long linkId, long entryId2, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the asset links before and after the current asset link in the ordered set where entryId2 = ? and type = ?.
    findByEntryId1(long entryId1)
    Returns all the asset links where entryId1 = ?.
    findByEntryId1(long entryId1, int start, int end)
    Returns a range of all the asset links where entryId1 = ?.
    findByEntryId1(long entryId1, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns an ordered range of all the asset links where entryId1 = ?.
    findByEntryId1(long entryId1, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset links where entryId1 = ?.
    findByEntryId1_First(long entryId1, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the first asset link in the ordered set where entryId1 = ?.
    findByEntryId1_Last(long entryId1, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the last asset link in the ordered set where entryId1 = ?.
    findByEntryId1_PrevAndNext(long linkId, long entryId1, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the asset links before and after the current asset link in the ordered set where entryId1 = ?.
    findByEntryId2(long entryId2)
    Returns all the asset links where entryId2 = ?.
    findByEntryId2(long entryId2, int start, int end)
    Returns a range of all the asset links where entryId2 = ?.
    findByEntryId2(long entryId2, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns an ordered range of all the asset links where entryId2 = ?.
    findByEntryId2(long entryId2, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset links where entryId2 = ?.
    findByEntryId2_First(long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the first asset link in the ordered set where entryId2 = ?.
    findByEntryId2_Last(long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the last asset link in the ordered set where entryId2 = ?.
    findByEntryId2_PrevAndNext(long linkId, long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
    Returns the asset links before and after the current asset link in the ordered set where entryId2 = ?.
    findByPrimaryKey(long linkId)
    Returns the asset link with the primary key or throws a NoSuchLinkException if it could not be found.
    remove(long linkId)
    Removes the asset link with the primary key from the database.
    void
    Removes all the asset links from the database.
    void
    removeByE_E(long entryId1, long entryId2)
    Removes all the asset links where entryId1 = ? and entryId2 = ? from the database.
    removeByE_E_T(long entryId1, long entryId2, int type)
    Removes the asset link where entryId1 = ? and entryId2 = ? and type = ? from the database.
    void
    removeByE1_T(long entryId1, int type)
    Removes all the asset links where entryId1 = ? and type = ? from the database.
    void
    removeByE2_T(long entryId2, int type)
    Removes all the asset links where entryId2 = ? and type = ? from the database.
    void
    removeByEntryId1(long entryId1)
    Removes all the asset links where entryId1 = ? from the database.
    void
    removeByEntryId2(long entryId2)
    Removes all the asset links where entryId2 = ? from the database.
    updateImpl(AssetLink assetLink)
     

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

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

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

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

    • findByEntryId1

      List<AssetLink> findByEntryId1(long entryId1)
      Returns all the asset links where entryId1 = ?.
      Parameters:
      entryId1 - the entry id1
      Returns:
      the matching asset links
    • findByEntryId1

      List<AssetLink> findByEntryId1(long entryId1, int start, int end)
      Returns a range of all the asset links where entryId1 = ?.

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

      Parameters:
      entryId1 - the entry id1
      start - the lower bound of the range of asset links
      end - the upper bound of the range of asset links (not inclusive)
      Returns:
      the range of matching asset links
    • findByEntryId1

      List<AssetLink> findByEntryId1(long entryId1, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
      Returns an ordered range of all the asset links where entryId1 = ?.

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

      Parameters:
      entryId1 - the entry id1
      start - the lower bound of the range of asset links
      end - the upper bound of the range of asset links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset links
    • findByEntryId1

      List<AssetLink> findByEntryId1(long entryId1, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset links where entryId1 = ?.

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

      Parameters:
      entryId1 - the entry id1
      start - the lower bound of the range of asset links
      end - the upper bound of the range of asset 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 asset links
    • findByEntryId1_First

      AssetLink findByEntryId1_First(long entryId1, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
      Returns the first asset link in the ordered set where entryId1 = ?.
      Parameters:
      entryId1 - the entry id1
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset link
      Throws:
      NoSuchLinkException - if a matching asset link could not be found
    • fetchByEntryId1_First

      AssetLink fetchByEntryId1_First(long entryId1, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
      Returns the first asset link in the ordered set where entryId1 = ?.
      Parameters:
      entryId1 - the entry id1
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset link, or null if a matching asset link could not be found
    • findByEntryId1_Last

      AssetLink findByEntryId1_Last(long entryId1, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
      Returns the last asset link in the ordered set where entryId1 = ?.
      Parameters:
      entryId1 - the entry id1
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset link
      Throws:
      NoSuchLinkException - if a matching asset link could not be found
    • fetchByEntryId1_Last

      AssetLink fetchByEntryId1_Last(long entryId1, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
      Returns the last asset link in the ordered set where entryId1 = ?.
      Parameters:
      entryId1 - the entry id1
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset link, or null if a matching asset link could not be found
    • findByEntryId1_PrevAndNext

      AssetLink[] findByEntryId1_PrevAndNext(long linkId, long entryId1, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
      Returns the asset links before and after the current asset link in the ordered set where entryId1 = ?.
      Parameters:
      linkId - the primary key of the current asset link
      entryId1 - the entry id1
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset link
      Throws:
      NoSuchLinkException - if a asset link with the primary key could not be found
    • removeByEntryId1

      void removeByEntryId1(long entryId1)
      Removes all the asset links where entryId1 = ? from the database.
      Parameters:
      entryId1 - the entry id1
    • countByEntryId1

      int countByEntryId1(long entryId1)
      Returns the number of asset links where entryId1 = ?.
      Parameters:
      entryId1 - the entry id1
      Returns:
      the number of matching asset links
    • findByEntryId2

      List<AssetLink> findByEntryId2(long entryId2)
      Returns all the asset links where entryId2 = ?.
      Parameters:
      entryId2 - the entry id2
      Returns:
      the matching asset links
    • findByEntryId2

      List<AssetLink> findByEntryId2(long entryId2, int start, int end)
      Returns a range of all the asset links where entryId2 = ?.

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

      Parameters:
      entryId2 - the entry id2
      start - the lower bound of the range of asset links
      end - the upper bound of the range of asset links (not inclusive)
      Returns:
      the range of matching asset links
    • findByEntryId2

      List<AssetLink> findByEntryId2(long entryId2, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
      Returns an ordered range of all the asset links where entryId2 = ?.

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

      Parameters:
      entryId2 - the entry id2
      start - the lower bound of the range of asset links
      end - the upper bound of the range of asset links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset links
    • findByEntryId2

      List<AssetLink> findByEntryId2(long entryId2, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset links where entryId2 = ?.

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

      Parameters:
      entryId2 - the entry id2
      start - the lower bound of the range of asset links
      end - the upper bound of the range of asset 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 asset links
    • findByEntryId2_First

      AssetLink findByEntryId2_First(long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
      Returns the first asset link in the ordered set where entryId2 = ?.
      Parameters:
      entryId2 - the entry id2
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset link
      Throws:
      NoSuchLinkException - if a matching asset link could not be found
    • fetchByEntryId2_First

      AssetLink fetchByEntryId2_First(long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
      Returns the first asset link in the ordered set where entryId2 = ?.
      Parameters:
      entryId2 - the entry id2
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset link, or null if a matching asset link could not be found
    • findByEntryId2_Last

      AssetLink findByEntryId2_Last(long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
      Returns the last asset link in the ordered set where entryId2 = ?.
      Parameters:
      entryId2 - the entry id2
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset link
      Throws:
      NoSuchLinkException - if a matching asset link could not be found
    • fetchByEntryId2_Last

      AssetLink fetchByEntryId2_Last(long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
      Returns the last asset link in the ordered set where entryId2 = ?.
      Parameters:
      entryId2 - the entry id2
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset link, or null if a matching asset link could not be found
    • findByEntryId2_PrevAndNext

      AssetLink[] findByEntryId2_PrevAndNext(long linkId, long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
      Returns the asset links before and after the current asset link in the ordered set where entryId2 = ?.
      Parameters:
      linkId - the primary key of the current asset link
      entryId2 - the entry id2
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset link
      Throws:
      NoSuchLinkException - if a asset link with the primary key could not be found
    • removeByEntryId2

      void removeByEntryId2(long entryId2)
      Removes all the asset links where entryId2 = ? from the database.
      Parameters:
      entryId2 - the entry id2
    • countByEntryId2

      int countByEntryId2(long entryId2)
      Returns the number of asset links where entryId2 = ?.
      Parameters:
      entryId2 - the entry id2
      Returns:
      the number of matching asset links
    • findByE_E

      List<AssetLink> findByE_E(long entryId1, long entryId2)
      Returns all the asset links where entryId1 = ? and entryId2 = ?.
      Parameters:
      entryId1 - the entry id1
      entryId2 - the entry id2
      Returns:
      the matching asset links
    • findByE_E

      List<AssetLink> findByE_E(long entryId1, long entryId2, int start, int end)
      Returns a range of all the asset links where entryId1 = ? and entryId2 = ?.

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

      Parameters:
      entryId1 - the entry id1
      entryId2 - the entry id2
      start - the lower bound of the range of asset links
      end - the upper bound of the range of asset links (not inclusive)
      Returns:
      the range of matching asset links
    • findByE_E

      List<AssetLink> findByE_E(long entryId1, long entryId2, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
      Returns an ordered range of all the asset links where entryId1 = ? and entryId2 = ?.

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

      Parameters:
      entryId1 - the entry id1
      entryId2 - the entry id2
      start - the lower bound of the range of asset links
      end - the upper bound of the range of asset links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset links
    • findByE_E

      List<AssetLink> findByE_E(long entryId1, long entryId2, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset links where entryId1 = ? and entryId2 = ?.

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

      Parameters:
      entryId1 - the entry id1
      entryId2 - the entry id2
      start - the lower bound of the range of asset links
      end - the upper bound of the range of asset 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 asset links
    • findByE_E_First

      AssetLink findByE_E_First(long entryId1, long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
      Returns the first asset link in the ordered set where entryId1 = ? and entryId2 = ?.
      Parameters:
      entryId1 - the entry id1
      entryId2 - the entry id2
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset link
      Throws:
      NoSuchLinkException - if a matching asset link could not be found
    • fetchByE_E_First

      AssetLink fetchByE_E_First(long entryId1, long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
      Returns the first asset link in the ordered set where entryId1 = ? and entryId2 = ?.
      Parameters:
      entryId1 - the entry id1
      entryId2 - the entry id2
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset link, or null if a matching asset link could not be found
    • findByE_E_Last

      AssetLink findByE_E_Last(long entryId1, long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
      Returns the last asset link in the ordered set where entryId1 = ? and entryId2 = ?.
      Parameters:
      entryId1 - the entry id1
      entryId2 - the entry id2
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset link
      Throws:
      NoSuchLinkException - if a matching asset link could not be found
    • fetchByE_E_Last

      AssetLink fetchByE_E_Last(long entryId1, long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
      Returns the last asset link in the ordered set where entryId1 = ? and entryId2 = ?.
      Parameters:
      entryId1 - the entry id1
      entryId2 - the entry id2
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset link, or null if a matching asset link could not be found
    • findByE_E_PrevAndNext

      AssetLink[] findByE_E_PrevAndNext(long linkId, long entryId1, long entryId2, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
      Returns the asset links before and after the current asset link in the ordered set where entryId1 = ? and entryId2 = ?.
      Parameters:
      linkId - the primary key of the current asset link
      entryId1 - the entry id1
      entryId2 - the entry id2
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset link
      Throws:
      NoSuchLinkException - if a asset link with the primary key could not be found
    • removeByE_E

      void removeByE_E(long entryId1, long entryId2)
      Removes all the asset links where entryId1 = ? and entryId2 = ? from the database.
      Parameters:
      entryId1 - the entry id1
      entryId2 - the entry id2
    • countByE_E

      int countByE_E(long entryId1, long entryId2)
      Returns the number of asset links where entryId1 = ? and entryId2 = ?.
      Parameters:
      entryId1 - the entry id1
      entryId2 - the entry id2
      Returns:
      the number of matching asset links
    • findByE1_T

      List<AssetLink> findByE1_T(long entryId1, int type)
      Returns all the asset links where entryId1 = ? and type = ?.
      Parameters:
      entryId1 - the entry id1
      type - the type
      Returns:
      the matching asset links
    • findByE1_T

      List<AssetLink> findByE1_T(long entryId1, int type, int start, int end)
      Returns a range of all the asset links where entryId1 = ? and type = ?.

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

      Parameters:
      entryId1 - the entry id1
      type - the type
      start - the lower bound of the range of asset links
      end - the upper bound of the range of asset links (not inclusive)
      Returns:
      the range of matching asset links
    • findByE1_T

      List<AssetLink> findByE1_T(long entryId1, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
      Returns an ordered range of all the asset links where entryId1 = ? and type = ?.

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

      Parameters:
      entryId1 - the entry id1
      type - the type
      start - the lower bound of the range of asset links
      end - the upper bound of the range of asset links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset links
    • findByE1_T

      List<AssetLink> findByE1_T(long entryId1, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset links where entryId1 = ? and type = ?.

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

      Parameters:
      entryId1 - the entry id1
      type - the type
      start - the lower bound of the range of asset links
      end - the upper bound of the range of asset 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 asset links
    • findByE1_T_First

      AssetLink findByE1_T_First(long entryId1, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
      Returns the first asset link in the ordered set where entryId1 = ? and type = ?.
      Parameters:
      entryId1 - the entry id1
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset link
      Throws:
      NoSuchLinkException - if a matching asset link could not be found
    • fetchByE1_T_First

      AssetLink fetchByE1_T_First(long entryId1, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
      Returns the first asset link in the ordered set where entryId1 = ? and type = ?.
      Parameters:
      entryId1 - the entry id1
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset link, or null if a matching asset link could not be found
    • findByE1_T_Last

      AssetLink findByE1_T_Last(long entryId1, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
      Returns the last asset link in the ordered set where entryId1 = ? and type = ?.
      Parameters:
      entryId1 - the entry id1
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset link
      Throws:
      NoSuchLinkException - if a matching asset link could not be found
    • fetchByE1_T_Last

      AssetLink fetchByE1_T_Last(long entryId1, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
      Returns the last asset link in the ordered set where entryId1 = ? and type = ?.
      Parameters:
      entryId1 - the entry id1
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset link, or null if a matching asset link could not be found
    • findByE1_T_PrevAndNext

      AssetLink[] findByE1_T_PrevAndNext(long linkId, long entryId1, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
      Returns the asset links before and after the current asset link in the ordered set where entryId1 = ? and type = ?.
      Parameters:
      linkId - the primary key of the current asset link
      entryId1 - the entry id1
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset link
      Throws:
      NoSuchLinkException - if a asset link with the primary key could not be found
    • removeByE1_T

      void removeByE1_T(long entryId1, int type)
      Removes all the asset links where entryId1 = ? and type = ? from the database.
      Parameters:
      entryId1 - the entry id1
      type - the type
    • countByE1_T

      int countByE1_T(long entryId1, int type)
      Returns the number of asset links where entryId1 = ? and type = ?.
      Parameters:
      entryId1 - the entry id1
      type - the type
      Returns:
      the number of matching asset links
    • findByE2_T

      List<AssetLink> findByE2_T(long entryId2, int type)
      Returns all the asset links where entryId2 = ? and type = ?.
      Parameters:
      entryId2 - the entry id2
      type - the type
      Returns:
      the matching asset links
    • findByE2_T

      List<AssetLink> findByE2_T(long entryId2, int type, int start, int end)
      Returns a range of all the asset links where entryId2 = ? and type = ?.

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

      Parameters:
      entryId2 - the entry id2
      type - the type
      start - the lower bound of the range of asset links
      end - the upper bound of the range of asset links (not inclusive)
      Returns:
      the range of matching asset links
    • findByE2_T

      List<AssetLink> findByE2_T(long entryId2, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
      Returns an ordered range of all the asset links where entryId2 = ? and type = ?.

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

      Parameters:
      entryId2 - the entry id2
      type - the type
      start - the lower bound of the range of asset links
      end - the upper bound of the range of asset links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset links
    • findByE2_T

      List<AssetLink> findByE2_T(long entryId2, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset links where entryId2 = ? and type = ?.

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

      Parameters:
      entryId2 - the entry id2
      type - the type
      start - the lower bound of the range of asset links
      end - the upper bound of the range of asset 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 asset links
    • findByE2_T_First

      AssetLink findByE2_T_First(long entryId2, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
      Returns the first asset link in the ordered set where entryId2 = ? and type = ?.
      Parameters:
      entryId2 - the entry id2
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset link
      Throws:
      NoSuchLinkException - if a matching asset link could not be found
    • fetchByE2_T_First

      AssetLink fetchByE2_T_First(long entryId2, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
      Returns the first asset link in the ordered set where entryId2 = ? and type = ?.
      Parameters:
      entryId2 - the entry id2
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset link, or null if a matching asset link could not be found
    • findByE2_T_Last

      AssetLink findByE2_T_Last(long entryId2, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
      Returns the last asset link in the ordered set where entryId2 = ? and type = ?.
      Parameters:
      entryId2 - the entry id2
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset link
      Throws:
      NoSuchLinkException - if a matching asset link could not be found
    • fetchByE2_T_Last

      AssetLink fetchByE2_T_Last(long entryId2, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
      Returns the last asset link in the ordered set where entryId2 = ? and type = ?.
      Parameters:
      entryId2 - the entry id2
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset link, or null if a matching asset link could not be found
    • findByE2_T_PrevAndNext

      AssetLink[] findByE2_T_PrevAndNext(long linkId, long entryId2, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
      Returns the asset links before and after the current asset link in the ordered set where entryId2 = ? and type = ?.
      Parameters:
      linkId - the primary key of the current asset link
      entryId2 - the entry id2
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset link
      Throws:
      NoSuchLinkException - if a asset link with the primary key could not be found
    • removeByE2_T

      void removeByE2_T(long entryId2, int type)
      Removes all the asset links where entryId2 = ? and type = ? from the database.
      Parameters:
      entryId2 - the entry id2
      type - the type
    • countByE2_T

      int countByE2_T(long entryId2, int type)
      Returns the number of asset links where entryId2 = ? and type = ?.
      Parameters:
      entryId2 - the entry id2
      type - the type
      Returns:
      the number of matching asset links
    • findByE_E_T

      AssetLink findByE_E_T(long entryId1, long entryId2, int type) throws NoSuchLinkException
      Returns the asset link where entryId1 = ? and entryId2 = ? and type = ? or throws a NoSuchLinkException if it could not be found.
      Parameters:
      entryId1 - the entry id1
      entryId2 - the entry id2
      type - the type
      Returns:
      the matching asset link
      Throws:
      NoSuchLinkException - if a matching asset link could not be found
    • fetchByE_E_T

      AssetLink fetchByE_E_T(long entryId1, long entryId2, int type)
      Returns the asset link where entryId1 = ? and entryId2 = ? and type = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      entryId1 - the entry id1
      entryId2 - the entry id2
      type - the type
      Returns:
      the matching asset link, or null if a matching asset link could not be found
    • fetchByE_E_T

      AssetLink fetchByE_E_T(long entryId1, long entryId2, int type, boolean useFinderCache)
      Returns the asset link where entryId1 = ? and entryId2 = ? and type = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      entryId1 - the entry id1
      entryId2 - the entry id2
      type - the type
      useFinderCache - whether to use the finder cache
      Returns:
      the matching asset link, or null if a matching asset link could not be found
    • removeByE_E_T

      AssetLink removeByE_E_T(long entryId1, long entryId2, int type) throws NoSuchLinkException
      Removes the asset link where entryId1 = ? and entryId2 = ? and type = ? from the database.
      Parameters:
      entryId1 - the entry id1
      entryId2 - the entry id2
      type - the type
      Returns:
      the asset link that was removed
      Throws:
      NoSuchLinkException
    • countByE_E_T

      int countByE_E_T(long entryId1, long entryId2, int type)
      Returns the number of asset links where entryId1 = ? and entryId2 = ? and type = ?.
      Parameters:
      entryId1 - the entry id1
      entryId2 - the entry id2
      type - the type
      Returns:
      the number of matching asset links
    • cacheResult

      void cacheResult(AssetLink assetLink)
      Caches the asset link in the entity cache if it is enabled.
      Parameters:
      assetLink - the asset link
    • cacheResult

      void cacheResult(List<AssetLink> assetLinks)
      Caches the asset links in the entity cache if it is enabled.
      Parameters:
      assetLinks - the asset links
    • create

      AssetLink create(long linkId)
      Creates a new asset link with the primary key. Does not add the asset link to the database.
      Parameters:
      linkId - the primary key for the new asset link
      Returns:
      the new asset link
    • remove

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

      AssetLink updateImpl(AssetLink assetLink)
    • findByPrimaryKey

      AssetLink findByPrimaryKey(long linkId) throws NoSuchLinkException
      Returns the asset link with the primary key or throws a NoSuchLinkException if it could not be found.
      Parameters:
      linkId - the primary key of the asset link
      Returns:
      the asset link
      Throws:
      NoSuchLinkException - if a asset link with the primary key could not be found
    • fetchByPrimaryKey

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

      List<AssetLink> findAll()
      Returns all the asset links.
      Returns:
      the asset links
    • findAll

      List<AssetLink> findAll(int start, int end)
      Returns a range of all the asset 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 AssetLinkModelImpl.

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

      List<AssetLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetLink> orderByComparator)
      Returns an ordered range of all the asset 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 AssetLinkModelImpl.

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

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

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

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

      int countAll()
      Returns the number of asset links.
      Returns:
      the number of asset links