public class AssetAutoTaggerEntryUtil
extends java.lang.Object
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
AssetAutoTaggerEntryPersistence
Constructor and Description |
---|
AssetAutoTaggerEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(AssetAutoTaggerEntry assetAutoTaggerEntry)
Caches the asset auto tagger entry in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<AssetAutoTaggerEntry> assetAutoTaggerEntries)
Caches the asset auto tagger entries in the entity cache if it is enabled.
|
static void |
clearCache() |
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 returns
null 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 returns
null 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 returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,AssetAutoTaggerEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<AssetAutoTaggerEntry> |
findAll()
Returns all the asset auto tagger entries.
|
static java.util.List<AssetAutoTaggerEntry> |
findAll(int start,
int end)
Returns a range of all the asset auto tagger entries.
|
static java.util.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 java.util.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 a
NoSuchEntryException if it could not be found. |
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 java.util.List<AssetAutoTaggerEntry> |
findByAssetEntryId(long assetEntryId)
Returns all the asset auto tagger entries where assetEntryId = ?.
|
static java.util.List<AssetAutoTaggerEntry> |
findByAssetEntryId(long assetEntryId,
int start,
int end)
Returns a range of all the asset auto tagger entries where assetEntryId = ?.
|
static java.util.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 java.util.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 |
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 java.util.List<AssetAutoTaggerEntry> |
findByAssetTagId(long assetTagId)
Returns all the asset auto tagger entries where assetTagId = ?.
|
static java.util.List<AssetAutoTaggerEntry> |
findByAssetTagId(long assetTagId,
int start,
int end)
Returns a range of all the asset auto tagger entries where assetTagId = ?.
|
static java.util.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 java.util.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 |
findByPrimaryKey(long assetAutoTaggerEntryId)
Returns the asset auto tagger entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
static java.util.List<AssetAutoTaggerEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<AssetAutoTaggerEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<AssetAutoTaggerEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) |
static AssetAutoTaggerEntryPersistence |
getPersistence() |
static AssetAutoTaggerEntry |
remove(long assetAutoTaggerEntryId)
Removes the asset auto tagger entry with the primary key from the database.
|
static void |
removeAll()
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 AssetAutoTaggerEntry |
update(AssetAutoTaggerEntry assetAutoTaggerEntry) |
static AssetAutoTaggerEntry |
update(AssetAutoTaggerEntry assetAutoTaggerEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static AssetAutoTaggerEntry |
updateImpl(AssetAutoTaggerEntry assetAutoTaggerEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(AssetAutoTaggerEntry assetAutoTaggerEntry)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,AssetAutoTaggerEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<AssetAutoTaggerEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<AssetAutoTaggerEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<AssetAutoTaggerEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static AssetAutoTaggerEntry update(AssetAutoTaggerEntry assetAutoTaggerEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static AssetAutoTaggerEntry update(AssetAutoTaggerEntry assetAutoTaggerEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<AssetAutoTaggerEntry> findByAssetEntryId(long assetEntryId)
assetEntryId
- the asset entry IDpublic static java.util.List<AssetAutoTaggerEntry> findByAssetEntryId(long assetEntryId, int start, int end)
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
.
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)public static java.util.List<AssetAutoTaggerEntry> findByAssetEntryId(long assetEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator)
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
.
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 (optionally null
)public static java.util.List<AssetAutoTaggerEntry> findByAssetEntryId(long assetEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static AssetAutoTaggerEntry findByAssetEntryId_First(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) throws NoSuchEntryException
assetEntryId
- the asset entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching asset auto tagger entry could not be foundpublic static AssetAutoTaggerEntry fetchByAssetEntryId_First(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator)
assetEntryId
- the asset entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset auto tagger entry could not be foundpublic static AssetAutoTaggerEntry findByAssetEntryId_Last(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) throws NoSuchEntryException
assetEntryId
- the asset entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching asset auto tagger entry could not be foundpublic static AssetAutoTaggerEntry fetchByAssetEntryId_Last(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator)
assetEntryId
- the asset entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset auto tagger entry could not be foundpublic static AssetAutoTaggerEntry[] findByAssetEntryId_PrevAndNext(long assetAutoTaggerEntryId, long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) throws NoSuchEntryException
assetAutoTaggerEntryId
- the primary key of the current asset auto tagger entryassetEntryId
- the asset entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a asset auto tagger entry with the primary key could not be foundpublic static void removeByAssetEntryId(long assetEntryId)
assetEntryId
- the asset entry IDpublic static int countByAssetEntryId(long assetEntryId)
assetEntryId
- the asset entry IDpublic static java.util.List<AssetAutoTaggerEntry> findByAssetTagId(long assetTagId)
assetTagId
- the asset tag IDpublic static java.util.List<AssetAutoTaggerEntry> findByAssetTagId(long assetTagId, int start, int end)
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
.
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)public static java.util.List<AssetAutoTaggerEntry> findByAssetTagId(long assetTagId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator)
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
.
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 (optionally null
)public static java.util.List<AssetAutoTaggerEntry> findByAssetTagId(long assetTagId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static AssetAutoTaggerEntry findByAssetTagId_First(long assetTagId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) throws NoSuchEntryException
assetTagId
- the asset tag IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching asset auto tagger entry could not be foundpublic static AssetAutoTaggerEntry fetchByAssetTagId_First(long assetTagId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator)
assetTagId
- the asset tag IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset auto tagger entry could not be foundpublic static AssetAutoTaggerEntry findByAssetTagId_Last(long assetTagId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) throws NoSuchEntryException
assetTagId
- the asset tag IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching asset auto tagger entry could not be foundpublic static AssetAutoTaggerEntry fetchByAssetTagId_Last(long assetTagId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator)
assetTagId
- the asset tag IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset auto tagger entry could not be foundpublic static AssetAutoTaggerEntry[] findByAssetTagId_PrevAndNext(long assetAutoTaggerEntryId, long assetTagId, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator) throws NoSuchEntryException
assetAutoTaggerEntryId
- the primary key of the current asset auto tagger entryassetTagId
- the asset tag IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a asset auto tagger entry with the primary key could not be foundpublic static void removeByAssetTagId(long assetTagId)
assetTagId
- the asset tag IDpublic static int countByAssetTagId(long assetTagId)
assetTagId
- the asset tag IDpublic static AssetAutoTaggerEntry findByA_A(long assetEntryId, long assetTagId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.assetEntryId
- the asset entry IDassetTagId
- the asset tag IDNoSuchEntryException
- if a matching asset auto tagger entry could not be foundpublic static AssetAutoTaggerEntry fetchByA_A(long assetEntryId, long assetTagId)
null
if it could not be found. Uses the finder cache.assetEntryId
- the asset entry IDassetTagId
- the asset tag IDnull
if a matching asset auto tagger entry could not be foundpublic static AssetAutoTaggerEntry fetchByA_A(long assetEntryId, long assetTagId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.assetEntryId
- the asset entry IDassetTagId
- the asset tag IDuseFinderCache
- whether to use the finder cachenull
if a matching asset auto tagger entry could not be foundpublic static AssetAutoTaggerEntry removeByA_A(long assetEntryId, long assetTagId) throws NoSuchEntryException
assetEntryId
- the asset entry IDassetTagId
- the asset tag IDNoSuchEntryException
public static int countByA_A(long assetEntryId, long assetTagId)
assetEntryId
- the asset entry IDassetTagId
- the asset tag IDpublic static void cacheResult(AssetAutoTaggerEntry assetAutoTaggerEntry)
assetAutoTaggerEntry
- the asset auto tagger entrypublic static void cacheResult(java.util.List<AssetAutoTaggerEntry> assetAutoTaggerEntries)
assetAutoTaggerEntries
- the asset auto tagger entriespublic static AssetAutoTaggerEntry create(long assetAutoTaggerEntryId)
assetAutoTaggerEntryId
- the primary key for the new asset auto tagger entrypublic static AssetAutoTaggerEntry remove(long assetAutoTaggerEntryId) throws NoSuchEntryException
assetAutoTaggerEntryId
- the primary key of the asset auto tagger entryNoSuchEntryException
- if a asset auto tagger entry with the primary key could not be foundpublic static AssetAutoTaggerEntry updateImpl(AssetAutoTaggerEntry assetAutoTaggerEntry)
public static AssetAutoTaggerEntry findByPrimaryKey(long assetAutoTaggerEntryId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.assetAutoTaggerEntryId
- the primary key of the asset auto tagger entryNoSuchEntryException
- if a asset auto tagger entry with the primary key could not be foundpublic static AssetAutoTaggerEntry fetchByPrimaryKey(long assetAutoTaggerEntryId)
null
if it could not be found.assetAutoTaggerEntryId
- the primary key of the asset auto tagger entrynull
if a asset auto tagger entry with the primary key could not be foundpublic static java.util.List<AssetAutoTaggerEntry> findAll()
public static java.util.List<AssetAutoTaggerEntry> findAll(int start, int end)
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
.
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)public static java.util.List<AssetAutoTaggerEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator)
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
.
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 (optionally null
)public static java.util.List<AssetAutoTaggerEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetAutoTaggerEntry> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static AssetAutoTaggerEntryPersistence getPersistence()