Interface AssetEntryAssetCategoryRelPersistence

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

@ProviderType public interface AssetEntryAssetCategoryRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AssetEntryAssetCategoryRel>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<AssetEntryAssetCategoryRel>
The persistence interface for the asset entry asset category rel service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByAssetEntryId

      List<AssetEntryAssetCategoryRel> findByAssetEntryId(long assetEntryId)
      Returns all the asset entry asset category rels where assetEntryId = ?.
      Parameters:
      assetEntryId - the asset entry ID
      Returns:
      the matching asset entry asset category rels
    • findByAssetEntryId

      List<AssetEntryAssetCategoryRel> findByAssetEntryId(long assetEntryId, int start, int end)
      Returns a range of all the asset entry asset category rels where assetEntryId = ?.

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

      Parameters:
      assetEntryId - the asset entry ID
      start - the lower bound of the range of asset entry asset category rels
      end - the upper bound of the range of asset entry asset category rels (not inclusive)
      Returns:
      the range of matching asset entry asset category rels
    • findByAssetEntryId

      List<AssetEntryAssetCategoryRel> findByAssetEntryId(long assetEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator)
      Returns an ordered range of all the asset entry asset category rels where assetEntryId = ?.

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

      Parameters:
      assetEntryId - the asset entry ID
      start - the lower bound of the range of asset entry asset category rels
      end - the upper bound of the range of asset entry asset category rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset entry asset category rels
    • findByAssetEntryId

      List<AssetEntryAssetCategoryRel> findByAssetEntryId(long assetEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset entry asset category rels where assetEntryId = ?.

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

      Parameters:
      assetEntryId - the asset entry ID
      start - the lower bound of the range of asset entry asset category rels
      end - the upper bound of the range of asset entry asset category rels (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 entry asset category rels
    • findByAssetEntryId_First

      AssetEntryAssetCategoryRel findByAssetEntryId_First(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException
      Returns the first asset entry asset category rel in the ordered set where assetEntryId = ?.
      Parameters:
      assetEntryId - the asset entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry asset category rel
      Throws:
      NoSuchEntryAssetCategoryRelException - if a matching asset entry asset category rel could not be found
    • fetchByAssetEntryId_First

      AssetEntryAssetCategoryRel fetchByAssetEntryId_First(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator)
      Returns the first asset entry asset category rel in the ordered set where assetEntryId = ?.
      Parameters:
      assetEntryId - the asset entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry asset category rel, or null if a matching asset entry asset category rel could not be found
    • findByAssetEntryId_Last

      AssetEntryAssetCategoryRel findByAssetEntryId_Last(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException
      Returns the last asset entry asset category rel in the ordered set where assetEntryId = ?.
      Parameters:
      assetEntryId - the asset entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry asset category rel
      Throws:
      NoSuchEntryAssetCategoryRelException - if a matching asset entry asset category rel could not be found
    • fetchByAssetEntryId_Last

      AssetEntryAssetCategoryRel fetchByAssetEntryId_Last(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator)
      Returns the last asset entry asset category rel in the ordered set where assetEntryId = ?.
      Parameters:
      assetEntryId - the asset entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry asset category rel, or null if a matching asset entry asset category rel could not be found
    • findByAssetEntryId_PrevAndNext

      AssetEntryAssetCategoryRel[] findByAssetEntryId_PrevAndNext(long assetEntryAssetCategoryRelId, long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException
      Returns the asset entry asset category rels before and after the current asset entry asset category rel in the ordered set where assetEntryId = ?.
      Parameters:
      assetEntryAssetCategoryRelId - the primary key of the current asset entry asset category rel
      assetEntryId - the asset entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset entry asset category rel
      Throws:
      NoSuchEntryAssetCategoryRelException - if a asset entry asset category rel with the primary key could not be found
    • removeByAssetEntryId

      void removeByAssetEntryId(long assetEntryId)
      Removes all the asset entry asset category rels where assetEntryId = ? from the database.
      Parameters:
      assetEntryId - the asset entry ID
    • countByAssetEntryId

      int countByAssetEntryId(long assetEntryId)
      Returns the number of asset entry asset category rels where assetEntryId = ?.
      Parameters:
      assetEntryId - the asset entry ID
      Returns:
      the number of matching asset entry asset category rels
    • findByAssetCategoryId

      List<AssetEntryAssetCategoryRel> findByAssetCategoryId(long assetCategoryId)
      Returns all the asset entry asset category rels where assetCategoryId = ?.
      Parameters:
      assetCategoryId - the asset category ID
      Returns:
      the matching asset entry asset category rels
    • findByAssetCategoryId

      List<AssetEntryAssetCategoryRel> findByAssetCategoryId(long assetCategoryId, int start, int end)
      Returns a range of all the asset entry asset category rels where assetCategoryId = ?.

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

      Parameters:
      assetCategoryId - the asset category ID
      start - the lower bound of the range of asset entry asset category rels
      end - the upper bound of the range of asset entry asset category rels (not inclusive)
      Returns:
      the range of matching asset entry asset category rels
    • findByAssetCategoryId

      List<AssetEntryAssetCategoryRel> findByAssetCategoryId(long assetCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator)
      Returns an ordered range of all the asset entry asset category rels where assetCategoryId = ?.

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

      Parameters:
      assetCategoryId - the asset category ID
      start - the lower bound of the range of asset entry asset category rels
      end - the upper bound of the range of asset entry asset category rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset entry asset category rels
    • findByAssetCategoryId

      List<AssetEntryAssetCategoryRel> findByAssetCategoryId(long assetCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset entry asset category rels where assetCategoryId = ?.

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

      Parameters:
      assetCategoryId - the asset category ID
      start - the lower bound of the range of asset entry asset category rels
      end - the upper bound of the range of asset entry asset category rels (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 entry asset category rels
    • findByAssetCategoryId_First

      AssetEntryAssetCategoryRel findByAssetCategoryId_First(long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException
      Returns the first asset entry asset category rel in the ordered set where assetCategoryId = ?.
      Parameters:
      assetCategoryId - the asset category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry asset category rel
      Throws:
      NoSuchEntryAssetCategoryRelException - if a matching asset entry asset category rel could not be found
    • fetchByAssetCategoryId_First

      AssetEntryAssetCategoryRel fetchByAssetCategoryId_First(long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator)
      Returns the first asset entry asset category rel in the ordered set where assetCategoryId = ?.
      Parameters:
      assetCategoryId - the asset category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry asset category rel, or null if a matching asset entry asset category rel could not be found
    • findByAssetCategoryId_Last

      AssetEntryAssetCategoryRel findByAssetCategoryId_Last(long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException
      Returns the last asset entry asset category rel in the ordered set where assetCategoryId = ?.
      Parameters:
      assetCategoryId - the asset category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry asset category rel
      Throws:
      NoSuchEntryAssetCategoryRelException - if a matching asset entry asset category rel could not be found
    • fetchByAssetCategoryId_Last

      AssetEntryAssetCategoryRel fetchByAssetCategoryId_Last(long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator)
      Returns the last asset entry asset category rel in the ordered set where assetCategoryId = ?.
      Parameters:
      assetCategoryId - the asset category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry asset category rel, or null if a matching asset entry asset category rel could not be found
    • findByAssetCategoryId_PrevAndNext

      AssetEntryAssetCategoryRel[] findByAssetCategoryId_PrevAndNext(long assetEntryAssetCategoryRelId, long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException
      Returns the asset entry asset category rels before and after the current asset entry asset category rel in the ordered set where assetCategoryId = ?.
      Parameters:
      assetEntryAssetCategoryRelId - the primary key of the current asset entry asset category rel
      assetCategoryId - the asset category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset entry asset category rel
      Throws:
      NoSuchEntryAssetCategoryRelException - if a asset entry asset category rel with the primary key could not be found
    • removeByAssetCategoryId

      void removeByAssetCategoryId(long assetCategoryId)
      Removes all the asset entry asset category rels where assetCategoryId = ? from the database.
      Parameters:
      assetCategoryId - the asset category ID
    • countByAssetCategoryId

      int countByAssetCategoryId(long assetCategoryId)
      Returns the number of asset entry asset category rels where assetCategoryId = ?.
      Parameters:
      assetCategoryId - the asset category ID
      Returns:
      the number of matching asset entry asset category rels
    • findByA_A

      AssetEntryAssetCategoryRel findByA_A(long assetEntryId, long assetCategoryId) throws NoSuchEntryAssetCategoryRelException
      Returns the asset entry asset category rel where assetEntryId = ? and assetCategoryId = ? or throws a NoSuchEntryAssetCategoryRelException if it could not be found.
      Parameters:
      assetEntryId - the asset entry ID
      assetCategoryId - the asset category ID
      Returns:
      the matching asset entry asset category rel
      Throws:
      NoSuchEntryAssetCategoryRelException - if a matching asset entry asset category rel could not be found
    • fetchByA_A

      AssetEntryAssetCategoryRel fetchByA_A(long assetEntryId, long assetCategoryId)
      Returns the asset entry asset category rel where assetEntryId = ? and assetCategoryId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      assetEntryId - the asset entry ID
      assetCategoryId - the asset category ID
      Returns:
      the matching asset entry asset category rel, or null if a matching asset entry asset category rel could not be found
    • fetchByA_A

      AssetEntryAssetCategoryRel fetchByA_A(long assetEntryId, long assetCategoryId, boolean useFinderCache)
      Returns the asset entry asset category rel where assetEntryId = ? and assetCategoryId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      assetEntryId - the asset entry ID
      assetCategoryId - the asset category ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching asset entry asset category rel, or null if a matching asset entry asset category rel could not be found
    • removeByA_A

      AssetEntryAssetCategoryRel removeByA_A(long assetEntryId, long assetCategoryId) throws NoSuchEntryAssetCategoryRelException
      Removes the asset entry asset category rel where assetEntryId = ? and assetCategoryId = ? from the database.
      Parameters:
      assetEntryId - the asset entry ID
      assetCategoryId - the asset category ID
      Returns:
      the asset entry asset category rel that was removed
      Throws:
      NoSuchEntryAssetCategoryRelException
    • countByA_A

      int countByA_A(long assetEntryId, long assetCategoryId)
      Returns the number of asset entry asset category rels where assetEntryId = ? and assetCategoryId = ?.
      Parameters:
      assetEntryId - the asset entry ID
      assetCategoryId - the asset category ID
      Returns:
      the number of matching asset entry asset category rels
    • cacheResult

      void cacheResult(AssetEntryAssetCategoryRel assetEntryAssetCategoryRel)
      Caches the asset entry asset category rel in the entity cache if it is enabled.
      Parameters:
      assetEntryAssetCategoryRel - the asset entry asset category rel
    • cacheResult

      void cacheResult(List<AssetEntryAssetCategoryRel> assetEntryAssetCategoryRels)
      Caches the asset entry asset category rels in the entity cache if it is enabled.
      Parameters:
      assetEntryAssetCategoryRels - the asset entry asset category rels
    • create

      AssetEntryAssetCategoryRel create(long assetEntryAssetCategoryRelId)
      Creates a new asset entry asset category rel with the primary key. Does not add the asset entry asset category rel to the database.
      Parameters:
      assetEntryAssetCategoryRelId - the primary key for the new asset entry asset category rel
      Returns:
      the new asset entry asset category rel
    • remove

      AssetEntryAssetCategoryRel remove(long assetEntryAssetCategoryRelId) throws NoSuchEntryAssetCategoryRelException
      Removes the asset entry asset category rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      assetEntryAssetCategoryRelId - the primary key of the asset entry asset category rel
      Returns:
      the asset entry asset category rel that was removed
      Throws:
      NoSuchEntryAssetCategoryRelException - if a asset entry asset category rel with the primary key could not be found
    • updateImpl

      AssetEntryAssetCategoryRel updateImpl(AssetEntryAssetCategoryRel assetEntryAssetCategoryRel)
    • findByPrimaryKey

      AssetEntryAssetCategoryRel findByPrimaryKey(long assetEntryAssetCategoryRelId) throws NoSuchEntryAssetCategoryRelException
      Returns the asset entry asset category rel with the primary key or throws a NoSuchEntryAssetCategoryRelException if it could not be found.
      Parameters:
      assetEntryAssetCategoryRelId - the primary key of the asset entry asset category rel
      Returns:
      the asset entry asset category rel
      Throws:
      NoSuchEntryAssetCategoryRelException - if a asset entry asset category rel with the primary key could not be found
    • fetchByPrimaryKey

      AssetEntryAssetCategoryRel fetchByPrimaryKey(long assetEntryAssetCategoryRelId)
      Returns the asset entry asset category rel with the primary key or returns null if it could not be found.
      Parameters:
      assetEntryAssetCategoryRelId - the primary key of the asset entry asset category rel
      Returns:
      the asset entry asset category rel, or null if a asset entry asset category rel with the primary key could not be found
    • findAll

      Returns all the asset entry asset category rels.
      Returns:
      the asset entry asset category rels
    • findAll

      List<AssetEntryAssetCategoryRel> findAll(int start, int end)
      Returns a range of all the asset entry asset category rels.

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

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

      List<AssetEntryAssetCategoryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator)
      Returns an ordered range of all the asset entry asset category rels.

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

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

      List<AssetEntryAssetCategoryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset entry asset category rels.

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

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

      void removeAll()
      Removes all the asset entry asset category rels from the database.
    • countAll

      int countAll()
      Returns the number of asset entry asset category rels.
      Returns:
      the number of asset entry asset category rels