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 void
cacheResult
(AssetAutoTaggerEntry assetAutoTaggerEntry) Caches the asset auto tagger entry in the entity cache if it is enabled.static void
cacheResult
(List<AssetAutoTaggerEntry> assetAutoTaggerEntries) Caches the asset auto tagger entries in the entity cache if it is enabled.static void
static void
clearCache
(AssetAutoTaggerEntry assetAutoTaggerEntry) static int
countAll()
Returns the number of asset auto tagger entries.static int
countByA_A
(long assetEntryId, long assetTagId) Returns the number of asset auto tagger entries where assetEntryId = ? and assetTagId = ?.static int
countByAssetEntryId
(long assetEntryId) Returns the number of asset auto tagger entries where assetEntryId = ?.static int
countByAssetTagId
(long assetTagId) Returns the number of asset auto tagger entries where assetTagId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static AssetAutoTaggerEntry
create
(long assetAutoTaggerEntryId) Creates a new asset auto tagger entry with the primary key.static AssetAutoTaggerEntry
fetchByA_A
(long assetEntryId, long assetTagId) Returns the asset auto tagger entry where assetEntryId = ? and assetTagId = ? or returnsnull
if it could not be found.static AssetAutoTaggerEntry
fetchByA_A
(long assetEntryId, long assetTagId, boolean useFinderCache) Returns the asset auto tagger entry where assetEntryId = ? and assetTagId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.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 = ?.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 = ?.static AssetAutoTaggerEntry
fetchByPrimaryKey
(long assetAutoTaggerEntryId) Returns the asset auto tagger entry with the primary key or returnsnull
if 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 AssetAutoTaggerEntry
findByA_A
(long assetEntryId, long assetTagId) Returns the asset auto tagger entry where assetEntryId = ? and assetTagId = ? or throws aNoSuchEntryException
if 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 AssetAutoTaggerEntry
findByAssetEntryId_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 AssetAutoTaggerEntry
findByAssetEntryId_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 AssetAutoTaggerEntry
findByAssetTagId_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 AssetAutoTaggerEntry
findByAssetTagId_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 AssetAutoTaggerEntry
findByPrimaryKey
(long assetAutoTaggerEntryId) Returns the asset auto tagger entry with the primary key or throws aNoSuchEntryException
if 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 AssetAutoTaggerEntry
remove
(long assetAutoTaggerEntryId) Removes the asset auto tagger entry with the primary key from the database.static void
Removes all the asset auto tagger entries from the database.static AssetAutoTaggerEntry
removeByA_A
(long assetEntryId, long assetTagId) Removes the asset auto tagger entry where assetEntryId = ? and assetTagId = ? from the database.static void
removeByAssetEntryId
(long assetEntryId) Removes all the asset auto tagger entries where assetEntryId = ? from the database.static void
removeByAssetTagId
(long assetTagId) Removes all the asset auto tagger entries where assetTagId = ? from the database.static void
setPersistence
(AssetAutoTaggerEntryPersistence persistence) static AssetAutoTaggerEntry
update
(AssetAutoTaggerEntry assetAutoTaggerEntry) static AssetAutoTaggerEntry
update
(AssetAutoTaggerEntry assetAutoTaggerEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static AssetAutoTaggerEntry
updateImpl
(AssetAutoTaggerEntry assetAutoTaggerEntry)
-
Constructor Details
-
AssetAutoTaggerEntryUtil
public AssetAutoTaggerEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,AssetAutoTaggerEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<AssetAutoTaggerEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<AssetAutoTaggerEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
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:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static AssetAutoTaggerEntry update(AssetAutoTaggerEntry assetAutoTaggerEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
- Throws:
NoSuchEntryException
- if a matching asset auto tagger entry could not be foundNoSuchEntryException
-
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
null
if 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
- Throws:
NoSuchEntryException
- if a matching asset auto tagger entry could not be foundNoSuchEntryException
-
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
null
if 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
- Throws:
NoSuchEntryException
- if a asset auto tagger entry with the primary key could not be foundNoSuchEntryException
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
- Throws:
NoSuchEntryException
- if a matching asset auto tagger entry could not be foundNoSuchEntryException
-
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
null
if 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
- Throws:
NoSuchEntryException
- if a matching asset auto tagger entry could not be foundNoSuchEntryException
-
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
null
if 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
- Throws:
NoSuchEntryException
- if a asset auto tagger entry with the primary key could not be foundNoSuchEntryException
-
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 aNoSuchEntryException
if it could not be found.- Parameters:
assetEntryId
- the asset entry IDassetTagId
- the asset tag ID- Returns:
- the matching asset auto tagger entry
- Throws:
NoSuchEntryException
- if a matching asset auto tagger entry could not be foundNoSuchEntryException
-
fetchByA_A
Returns the asset auto tagger entry where assetEntryId = ? and assetTagId = ? or returnsnull
if 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
null
if 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 returnsnull
if 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
null
if 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
- Throws:
NoSuchEntryException
- if a asset auto tagger entry with the primary key could not be foundNoSuchEntryException
-
updateImpl
-
findByPrimaryKey
public static AssetAutoTaggerEntry findByPrimaryKey(long assetAutoTaggerEntryId) throws NoSuchEntryException Returns the asset auto tagger entry with the primary key or throws aNoSuchEntryException
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 foundNoSuchEntryException
-
fetchByPrimaryKey
Returns the asset auto tagger entry with the primary key or returnsnull
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
Returns a range of all the asset auto tagger entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
-