Class AssetAutoTaggerEntryUtil
com.liferay.asset.auto.tagger.service.persistence.impl.AssetAutoTaggerEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(AssetAutoTaggerEntry assetAutoTaggerEntry) Caches the asset auto tagger entry in the entity cache if it is enabled.static voidcacheResult(List<AssetAutoTaggerEntry> assetAutoTaggerEntries) Caches the asset auto tagger entries in the entity cache if it is enabled.static voidstatic voidclearCache(AssetAutoTaggerEntry assetAutoTaggerEntry) static intcountAll()Returns the number of asset auto tagger entries.static intcountByA_A(long assetEntryId, long assetTagId) Returns the number of asset auto tagger entries where assetEntryId = ? and assetTagId = ?.static intcountByAssetEntryId(long assetEntryId) Returns the number of asset auto tagger entries where assetEntryId = ?.static intcountByAssetTagId(long assetTagId) Returns the number of asset auto tagger entries where assetTagId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static AssetAutoTaggerEntrycreate(long assetAutoTaggerEntryId) Creates a new asset auto tagger entry with the primary key.static AssetAutoTaggerEntryfetchByA_A(long assetEntryId, long assetTagId) Returns the asset auto tagger entry where assetEntryId = ? and assetTagId = ? or returnsnullif it could not be found.static AssetAutoTaggerEntryfetchByA_A(long assetEntryId, long assetTagId, boolean useFinderCache) Returns the asset auto tagger entry where assetEntryId = ? and assetTagId = ? or returnsnullif it could not be found, optionally using the finder cache.static AssetAutoTaggerEntryfetchByAssetEntryId_First(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) Returns the first asset auto tagger entry in the ordered set where assetEntryId = ?.static AssetAutoTaggerEntryfetchByAssetEntryId_Last(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) Returns the last asset auto tagger entry in the ordered set where assetEntryId = ?.static AssetAutoTaggerEntryfetchByAssetTagId_First(long assetTagId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) Returns the first asset auto tagger entry in the ordered set where assetTagId = ?.static AssetAutoTaggerEntryfetchByAssetTagId_Last(long assetTagId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) Returns the last asset auto tagger entry in the ordered set where assetTagId = ?.static AssetAutoTaggerEntryfetchByPrimaryKey(long assetAutoTaggerEntryId) Returns the asset auto tagger entry with the primary key or returnsnullif it could not be found.static Map<Serializable, AssetAutoTaggerEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<AssetAutoTaggerEntry> findAll()Returns all the asset auto tagger entries.static List<AssetAutoTaggerEntry> findAll(int start, int end) Returns a range of all the asset auto tagger entries.static 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.static 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.static AssetAutoTaggerEntryfindByA_A(long assetEntryId, long assetTagId) Returns the asset auto tagger entry where assetEntryId = ? and assetTagId = ? or throws aNoSuchEntryExceptionif it could not be found.static List<AssetAutoTaggerEntry> findByAssetEntryId(long assetEntryId) Returns all the asset auto tagger entries where assetEntryId = ?.static List<AssetAutoTaggerEntry> findByAssetEntryId(long assetEntryId, int start, int end) Returns a range of all the asset auto tagger entries where assetEntryId = ?.static 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 = ?.static 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 = ?.static AssetAutoTaggerEntryfindByAssetEntryId_First(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) Returns the first asset auto tagger entry in the ordered set where assetEntryId = ?.static AssetAutoTaggerEntryfindByAssetEntryId_Last(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) Returns the last asset auto tagger entry in the ordered set where assetEntryId = ?.static AssetAutoTaggerEntry[]findByAssetEntryId_PrevAndNext(long assetAutoTaggerEntryId, long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) Returns the asset auto tagger entries before and after the current asset auto tagger entry in the ordered set where assetEntryId = ?.static List<AssetAutoTaggerEntry> findByAssetTagId(long assetTagId) Returns all the asset auto tagger entries where assetTagId = ?.static List<AssetAutoTaggerEntry> findByAssetTagId(long assetTagId, int start, int end) Returns a range of all the asset auto tagger entries where assetTagId = ?.static 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 = ?.static 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 = ?.static AssetAutoTaggerEntryfindByAssetTagId_First(long assetTagId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) Returns the first asset auto tagger entry in the ordered set where assetTagId = ?.static AssetAutoTaggerEntryfindByAssetTagId_Last(long assetTagId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) Returns the last asset auto tagger entry in the ordered set where assetTagId = ?.static AssetAutoTaggerEntry[]findByAssetTagId_PrevAndNext(long assetAutoTaggerEntryId, long assetTagId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) Returns the asset auto tagger entries before and after the current asset auto tagger entry in the ordered set where assetTagId = ?.static AssetAutoTaggerEntryfindByPrimaryKey(long assetAutoTaggerEntryId) Returns the asset auto tagger entry with the primary key or throws aNoSuchEntryExceptionif it could not be found.static List<AssetAutoTaggerEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<AssetAutoTaggerEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<AssetAutoTaggerEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) static AssetAutoTaggerEntryremove(long assetAutoTaggerEntryId) Removes the asset auto tagger entry with the primary key from the database.static voidRemoves all the asset auto tagger entries from the database.static AssetAutoTaggerEntryremoveByA_A(long assetEntryId, long assetTagId) Removes the asset auto tagger entry where assetEntryId = ? and assetTagId = ? from the database.static voidremoveByAssetEntryId(long assetEntryId) Removes all the asset auto tagger entries where assetEntryId = ? from the database.static voidremoveByAssetTagId(long assetTagId) Removes all the asset auto tagger entries where assetTagId = ? from the database.static voidsetPersistence(AssetAutoTaggerEntryPersistence persistence) static AssetAutoTaggerEntryupdate(AssetAutoTaggerEntry assetAutoTaggerEntry) static AssetAutoTaggerEntryupdate(AssetAutoTaggerEntry assetAutoTaggerEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static AssetAutoTaggerEntryupdateImpl(AssetAutoTaggerEntry assetAutoTaggerEntry)
-
Constructor Details
-
AssetAutoTaggerEntryUtil
public AssetAutoTaggerEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,AssetAutoTaggerEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<AssetAutoTaggerEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<AssetAutoTaggerEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<AssetAutoTaggerEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static AssetAutoTaggerEntry update(AssetAutoTaggerEntry assetAutoTaggerEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByAssetEntryId
Returns all the asset auto tagger entries where assetEntryId = ?.- Parameters:
assetEntryId- the asset entry ID- Returns:
- the matching asset auto tagger entries
-
findByAssetEntryId
Returns a range of all the asset auto tagger entries where assetEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetAutoTaggerEntryModelImpl.- Parameters:
assetEntryId- the asset entry IDstart- the lower bound of the range of asset auto tagger entriesend- the upper bound of the range of asset auto tagger entries (not inclusive)- Returns:
- the range of matching asset auto tagger entries
-
findByAssetEntryId
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetAutoTaggerEntryModelImpl.- Parameters:
assetEntryId- the asset entry IDstart- the lower bound of the range of asset auto tagger entriesend- the upper bound of the range of asset auto tagger entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching asset auto tagger entries
-
findByAssetEntryId
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetAutoTaggerEntryModelImpl.- Parameters:
assetEntryId- the asset entry IDstart- the lower bound of the range of asset auto tagger entriesend- the upper bound of the range of asset auto tagger entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching asset auto tagger entries
-
findByAssetEntryId_First
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset auto tagger entry
-
fetchByAssetEntryId_First
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset auto tagger entry, or
nullif a matching asset auto tagger entry could not be found
-
findByAssetEntryId_Last
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset auto tagger entry
-
fetchByAssetEntryId_Last
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset auto tagger entry, or
nullif a matching asset auto tagger entry could not be found
-
findByAssetEntryId_PrevAndNext
public static 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 entryassetEntryId- the asset entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next asset auto tagger entry
-
removeByAssetEntryId
public static void removeByAssetEntryId(long assetEntryId) Removes all the asset auto tagger entries where assetEntryId = ? from the database.- Parameters:
assetEntryId- the asset entry ID
-
countByAssetEntryId
public static 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
Returns all the asset auto tagger entries where assetTagId = ?.- Parameters:
assetTagId- the asset tag ID- Returns:
- the matching asset auto tagger entries
-
findByAssetTagId
Returns a range of all the asset auto tagger entries where assetTagId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetAutoTaggerEntryModelImpl.- Parameters:
assetTagId- the asset tag IDstart- the lower bound of the range of asset auto tagger entriesend- the upper bound of the range of asset auto tagger entries (not inclusive)- Returns:
- the range of matching asset auto tagger entries
-
findByAssetTagId
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetAutoTaggerEntryModelImpl.- Parameters:
assetTagId- the asset tag IDstart- the lower bound of the range of asset auto tagger entriesend- the upper bound of the range of asset auto tagger entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching asset auto tagger entries
-
findByAssetTagId
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetAutoTaggerEntryModelImpl.- Parameters:
assetTagId- the asset tag IDstart- the lower bound of the range of asset auto tagger entriesend- the upper bound of the range of asset auto tagger entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching asset auto tagger entries
-
findByAssetTagId_First
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset auto tagger entry
-
fetchByAssetTagId_First
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset auto tagger entry, or
nullif a matching asset auto tagger entry could not be found
-
findByAssetTagId_Last
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset auto tagger entry
-
fetchByAssetTagId_Last
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset auto tagger entry, or
nullif a matching asset auto tagger entry could not be found
-
findByAssetTagId_PrevAndNext
public static 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 entryassetTagId- the asset tag IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next asset auto tagger entry
-
removeByAssetTagId
public static void removeByAssetTagId(long assetTagId) Removes all the asset auto tagger entries where assetTagId = ? from the database.- Parameters:
assetTagId- the asset tag ID
-
countByAssetTagId
public static 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
public static AssetAutoTaggerEntry findByA_A(long assetEntryId, long assetTagId) throws NoSuchEntryException Returns the asset auto tagger entry where assetEntryId = ? and assetTagId = ? or throws aNoSuchEntryExceptionif it could not be found.- Parameters:
assetEntryId- the asset entry IDassetTagId- the asset tag ID- Returns:
- the matching asset auto tagger entry
-
fetchByA_A
Returns the asset auto tagger entry where assetEntryId = ? and assetTagId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
assetEntryId- the asset entry IDassetTagId- the asset tag ID- Returns:
- the matching asset auto tagger entry, or
nullif a matching asset auto tagger entry could not be found
-
fetchByA_A
public static AssetAutoTaggerEntry fetchByA_A(long assetEntryId, long assetTagId, boolean useFinderCache) Returns the asset auto tagger entry where assetEntryId = ? and assetTagId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
assetEntryId- the asset entry IDassetTagId- the asset tag IDuseFinderCache- whether to use the finder cache- Returns:
- the matching asset auto tagger entry, or
nullif a matching asset auto tagger entry could not be found
-
removeByA_A
public static 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 IDassetTagId- the asset tag ID- Returns:
- the asset auto tagger entry that was removed
- Throws:
NoSuchEntryException
-
countByA_A
public static int countByA_A(long assetEntryId, long assetTagId) Returns the number of asset auto tagger entries where assetEntryId = ? and assetTagId = ?.- Parameters:
assetEntryId- the asset entry IDassetTagId- the asset tag ID- Returns:
- the number of matching asset auto tagger entries
-
cacheResult
Caches the asset auto tagger entry in the entity cache if it is enabled.- Parameters:
assetAutoTaggerEntry- the asset auto tagger entry
-
cacheResult
Caches the asset auto tagger entries in the entity cache if it is enabled.- Parameters:
assetAutoTaggerEntries- the asset auto tagger entries
-
create
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
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
-
updateImpl
-
findByPrimaryKey
public static AssetAutoTaggerEntry findByPrimaryKey(long assetAutoTaggerEntryId) throws NoSuchEntryException Returns the asset auto tagger entry with the primary key or throws aNoSuchEntryExceptionif it could not be found.- Parameters:
assetAutoTaggerEntryId- the primary key of the asset auto tagger entry- Returns:
- the asset auto tagger entry
-
fetchByPrimaryKey
Returns the asset auto tagger entry with the primary key or returnsnullif it could not be found.- Parameters:
assetAutoTaggerEntryId- the primary key of the asset auto tagger entry- Returns:
- the asset auto tagger entry, or
nullif 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
Returns a range of all the asset auto tagger entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetAutoTaggerEntryModelImpl.- Parameters:
start- the lower bound of the range of asset auto tagger entriesend- the upper bound of the range of asset auto tagger entries (not inclusive)- Returns:
- the range of asset auto tagger entries
-
findAll
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetAutoTaggerEntryModelImpl.- Parameters:
start- the lower bound of the range of asset auto tagger entriesend- the upper bound of the range of asset auto tagger entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of asset auto tagger entries
-
findAll
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetAutoTaggerEntryModelImpl.- Parameters:
start- the lower bound of the range of asset auto tagger entriesend- the upper bound of the range of asset auto tagger entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of asset auto tagger entries
-
removeAll
public static void removeAll()Removes all the asset auto tagger entries from the database. -
countAll
public static int countAll()Returns the number of asset auto tagger entries.- Returns:
- the number of asset auto tagger entries
-
getPersistence
-
setPersistence
-