Interface AssetAutoTaggerEntryPersistence

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

@ProviderType public interface AssetAutoTaggerEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AssetAutoTaggerEntry>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<AssetAutoTaggerEntry>
The persistence interface for the asset auto tagger entry service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByAssetEntryId

      List<AssetAutoTaggerEntry> findByAssetEntryId(long assetEntryId)
      Returns all the asset auto tagger entries where assetEntryId = ?.
      Parameters:
      assetEntryId - the asset entry ID
      Returns:
      the matching asset auto tagger entries
    • findByAssetEntryId

      List<AssetAutoTaggerEntry> findByAssetEntryId(long assetEntryId, int start, int end)
      Returns a range of all the asset auto tagger entries 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 AssetAutoTaggerEntryModelImpl.

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

      List<AssetAutoTaggerEntry> findByAssetEntryId(long assetEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator)
      Returns an ordered range of all the asset auto tagger entries 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 AssetAutoTaggerEntryModelImpl.

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

      List<AssetAutoTaggerEntry> findByAssetEntryId(long assetEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset auto tagger entries 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 AssetAutoTaggerEntryModelImpl.

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

      AssetAutoTaggerEntry findByAssetEntryId_First(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) throws NoSuchEntryException
      Returns the first asset auto tagger entry 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 auto tagger entry
      Throws:
      NoSuchEntryException - if a matching asset auto tagger entry could not be found
    • fetchByAssetEntryId_First

      AssetAutoTaggerEntry fetchByAssetEntryId_First(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator)
      Returns the first asset auto tagger entry 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 auto tagger entry, or null if a matching asset auto tagger entry could not be found
    • findByAssetEntryId_Last

      AssetAutoTaggerEntry findByAssetEntryId_Last(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) throws NoSuchEntryException
      Returns the last asset auto tagger entry 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 auto tagger entry
      Throws:
      NoSuchEntryException - if a matching asset auto tagger entry could not be found
    • fetchByAssetEntryId_Last

      AssetAutoTaggerEntry fetchByAssetEntryId_Last(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator)
      Returns the last asset auto tagger entry 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 auto tagger entry, or null if a matching asset auto tagger entry could not be found
    • findByAssetEntryId_PrevAndNext

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

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

      int countByAssetEntryId(long assetEntryId)
      Returns the number of asset auto tagger entries where assetEntryId = ?.
      Parameters:
      assetEntryId - the asset entry ID
      Returns:
      the number of matching asset auto tagger entries
    • findByAssetTagId

      List<AssetAutoTaggerEntry> findByAssetTagId(long assetTagId)
      Returns all the asset auto tagger entries where assetTagId = ?.
      Parameters:
      assetTagId - the asset tag ID
      Returns:
      the matching asset auto tagger entries
    • findByAssetTagId

      List<AssetAutoTaggerEntry> findByAssetTagId(long assetTagId, int start, int end)
      Returns a range of all the asset auto tagger entries where assetTagId = ?.

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

      Parameters:
      assetTagId - the asset tag ID
      start - the lower bound of the range of asset auto tagger entries
      end - the upper bound of the range of asset auto tagger entries (not inclusive)
      Returns:
      the range of matching asset auto tagger entries
    • findByAssetTagId

      List<AssetAutoTaggerEntry> findByAssetTagId(long assetTagId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator)
      Returns an ordered range of all the asset auto tagger entries where assetTagId = ?.

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

      Parameters:
      assetTagId - the asset tag ID
      start - the lower bound of the range of asset auto tagger entries
      end - the upper bound of the range of asset auto tagger entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset auto tagger entries
    • findByAssetTagId

      List<AssetAutoTaggerEntry> findByAssetTagId(long assetTagId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset auto tagger entries where assetTagId = ?.

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

      Parameters:
      assetTagId - the asset tag ID
      start - the lower bound of the range of asset auto tagger entries
      end - the upper bound of the range of asset auto tagger entries (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 auto tagger entries
    • findByAssetTagId_First

      AssetAutoTaggerEntry findByAssetTagId_First(long assetTagId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) throws NoSuchEntryException
      Returns the first asset auto tagger entry in the ordered set where assetTagId = ?.
      Parameters:
      assetTagId - the asset tag ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset auto tagger entry
      Throws:
      NoSuchEntryException - if a matching asset auto tagger entry could not be found
    • fetchByAssetTagId_First

      AssetAutoTaggerEntry fetchByAssetTagId_First(long assetTagId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator)
      Returns the first asset auto tagger entry in the ordered set where assetTagId = ?.
      Parameters:
      assetTagId - the asset tag ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset auto tagger entry, or null if a matching asset auto tagger entry could not be found
    • findByAssetTagId_Last

      AssetAutoTaggerEntry findByAssetTagId_Last(long assetTagId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) throws NoSuchEntryException
      Returns the last asset auto tagger entry in the ordered set where assetTagId = ?.
      Parameters:
      assetTagId - the asset tag ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset auto tagger entry
      Throws:
      NoSuchEntryException - if a matching asset auto tagger entry could not be found
    • fetchByAssetTagId_Last

      AssetAutoTaggerEntry fetchByAssetTagId_Last(long assetTagId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator)
      Returns the last asset auto tagger entry in the ordered set where assetTagId = ?.
      Parameters:
      assetTagId - the asset tag ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset auto tagger entry, or null if a matching asset auto tagger entry could not be found
    • findByAssetTagId_PrevAndNext

      AssetAutoTaggerEntry[] findByAssetTagId_PrevAndNext(long assetAutoTaggerEntryId, long assetTagId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) throws NoSuchEntryException
      Returns the asset auto tagger entries before and after the current asset auto tagger entry in the ordered set where assetTagId = ?.
      Parameters:
      assetAutoTaggerEntryId - the primary key of the current asset auto tagger entry
      assetTagId - the asset tag ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset auto tagger entry
      Throws:
      NoSuchEntryException - if a asset auto tagger entry with the primary key could not be found
    • removeByAssetTagId

      void removeByAssetTagId(long assetTagId)
      Removes all the asset auto tagger entries where assetTagId = ? from the database.
      Parameters:
      assetTagId - the asset tag ID
    • countByAssetTagId

      int countByAssetTagId(long assetTagId)
      Returns the number of asset auto tagger entries where assetTagId = ?.
      Parameters:
      assetTagId - the asset tag ID
      Returns:
      the number of matching asset auto tagger entries
    • findByA_A

      AssetAutoTaggerEntry findByA_A(long assetEntryId, long assetTagId) throws NoSuchEntryException
      Returns the asset auto tagger entry where assetEntryId = ? and assetTagId = ? or throws a NoSuchEntryException if it could not be found.
      Parameters:
      assetEntryId - the asset entry ID
      assetTagId - the asset tag ID
      Returns:
      the matching asset auto tagger entry
      Throws:
      NoSuchEntryException - if a matching asset auto tagger entry could not be found
    • fetchByA_A

      AssetAutoTaggerEntry fetchByA_A(long assetEntryId, long assetTagId)
      Returns the asset auto tagger entry where assetEntryId = ? and assetTagId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      assetEntryId - the asset entry ID
      assetTagId - the asset tag ID
      Returns:
      the matching asset auto tagger entry, or null if a matching asset auto tagger entry could not be found
    • fetchByA_A

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

      AssetAutoTaggerEntry removeByA_A(long assetEntryId, long assetTagId) throws NoSuchEntryException
      Removes the asset auto tagger entry where assetEntryId = ? and assetTagId = ? from the database.
      Parameters:
      assetEntryId - the asset entry ID
      assetTagId - the asset tag ID
      Returns:
      the asset auto tagger entry that was removed
      Throws:
      NoSuchEntryException
    • countByA_A

      int countByA_A(long assetEntryId, long assetTagId)
      Returns the number of asset auto tagger entries where assetEntryId = ? and assetTagId = ?.
      Parameters:
      assetEntryId - the asset entry ID
      assetTagId - the asset tag ID
      Returns:
      the number of matching asset auto tagger entries
    • cacheResult

      void cacheResult(AssetAutoTaggerEntry assetAutoTaggerEntry)
      Caches the asset auto tagger entry in the entity cache if it is enabled.
      Parameters:
      assetAutoTaggerEntry - the asset auto tagger entry
    • cacheResult

      void cacheResult(List<AssetAutoTaggerEntry> assetAutoTaggerEntries)
      Caches the asset auto tagger entries in the entity cache if it is enabled.
      Parameters:
      assetAutoTaggerEntries - the asset auto tagger entries
    • create

      AssetAutoTaggerEntry create(long assetAutoTaggerEntryId)
      Creates a new asset auto tagger entry with the primary key. Does not add the asset auto tagger entry to the database.
      Parameters:
      assetAutoTaggerEntryId - the primary key for the new asset auto tagger entry
      Returns:
      the new asset auto tagger entry
    • remove

      AssetAutoTaggerEntry remove(long assetAutoTaggerEntryId) throws NoSuchEntryException
      Removes the asset auto tagger entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      assetAutoTaggerEntryId - the primary key of the asset auto tagger entry
      Returns:
      the asset auto tagger entry that was removed
      Throws:
      NoSuchEntryException - if a asset auto tagger entry with the primary key could not be found
    • updateImpl

      AssetAutoTaggerEntry updateImpl(AssetAutoTaggerEntry assetAutoTaggerEntry)
    • findByPrimaryKey

      AssetAutoTaggerEntry findByPrimaryKey(long assetAutoTaggerEntryId) throws NoSuchEntryException
      Returns the asset auto tagger entry with the primary key or throws a NoSuchEntryException if it could not be found.
      Parameters:
      assetAutoTaggerEntryId - the primary key of the asset auto tagger entry
      Returns:
      the asset auto tagger entry
      Throws:
      NoSuchEntryException - if a asset auto tagger entry with the primary key could not be found
    • fetchByPrimaryKey

      AssetAutoTaggerEntry fetchByPrimaryKey(long assetAutoTaggerEntryId)
      Returns the asset auto tagger entry with the primary key or returns null if it could not be found.
      Parameters:
      assetAutoTaggerEntryId - the primary key of the asset auto tagger entry
      Returns:
      the asset auto tagger entry, or null if a asset auto tagger entry with the primary key could not be found
    • findAll

      Returns all the asset auto tagger entries.
      Returns:
      the asset auto tagger entries
    • findAll

      List<AssetAutoTaggerEntry> findAll(int start, int end)
      Returns a range of all the asset auto tagger entries.

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

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

      List<AssetAutoTaggerEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator)
      Returns an ordered range of all the asset auto tagger entries.

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

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

      List<AssetAutoTaggerEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset auto tagger entries.

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

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

      void removeAll()
      Removes all the asset auto tagger entries from the database.
    • countAll

      int countAll()
      Returns the number of asset auto tagger entries.
      Returns:
      the number of asset auto tagger entries