@ProviderType public interface AssetAutoTaggerEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AssetAutoTaggerEntry>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<AssetAutoTaggerEntry>
Caching information and settings can be found in portal.properties
AssetAutoTaggerEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(AssetAutoTaggerEntry assetAutoTaggerEntry)
Caches the asset auto tagger entry in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<AssetAutoTaggerEntry> assetAutoTaggerEntries)
Caches the asset auto tagger entries in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of asset auto tagger entries.
|
int |
countByA_A(long assetEntryId,
long assetTagId)
Returns the number of asset auto tagger entries where assetEntryId = ? and assetTagId = ?.
|
int |
countByAssetEntryId(long assetEntryId)
Returns the number of asset auto tagger entries where assetEntryId = ?.
|
int |
countByAssetTagId(long assetTagId)
Returns the number of asset auto tagger entries where assetTagId = ?.
|
AssetAutoTaggerEntry |
create(long assetAutoTaggerEntryId)
Creates a new asset auto tagger entry with the primary key.
|
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. |
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
AssetAutoTaggerEntry |
fetchByPrimaryKey(long assetAutoTaggerEntryId)
Returns the asset auto tagger entry with the primary key or returns
null if it could not be found. |
java.util.List<AssetAutoTaggerEntry> |
findAll()
Returns all the asset auto tagger entries.
|
java.util.List<AssetAutoTaggerEntry> |
findAll(int start,
int end)
Returns a range of all the asset auto tagger entries.
|
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.
|
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.
|
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<AssetAutoTaggerEntry> |
findByAssetEntryId(long assetEntryId)
Returns all the asset auto tagger entries where assetEntryId = ?.
|
java.util.List<AssetAutoTaggerEntry> |
findByAssetEntryId(long assetEntryId,
int start,
int end)
Returns a range of all the asset auto tagger entries where assetEntryId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<AssetAutoTaggerEntry> |
findByAssetTagId(long assetTagId)
Returns all the asset auto tagger entries where assetTagId = ?.
|
java.util.List<AssetAutoTaggerEntry> |
findByAssetTagId(long assetTagId,
int start,
int end)
Returns a range of all the asset auto tagger entries where assetTagId = ?.
|
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 = ?.
|
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 = ?.
|
AssetAutoTaggerEntry |
findByPrimaryKey(long assetAutoTaggerEntryId)
Returns the asset auto tagger entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
AssetAutoTaggerEntry |
remove(long assetAutoTaggerEntryId)
Removes the asset auto tagger entry with the primary key from the database.
|
void |
removeAll()
Removes all the asset auto tagger entries from the database.
|
AssetAutoTaggerEntry |
removeByA_A(long assetEntryId,
long assetTagId)
Removes the asset auto tagger entry where assetEntryId = ? and assetTagId = ? from the database.
|
void |
removeByAssetEntryId(long assetEntryId)
Removes all the asset auto tagger entries where assetEntryId = ? from the database.
|
void |
removeByAssetTagId(long assetTagId)
Removes all the asset auto tagger entries where assetTagId = ? from the database.
|
AssetAutoTaggerEntry |
updateImpl(AssetAutoTaggerEntry assetAutoTaggerEntry) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<AssetAutoTaggerEntry> findByAssetEntryId(long assetEntryId)
assetEntryId
- the asset entry IDjava.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)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
)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 cacheAssetAutoTaggerEntry 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 foundAssetAutoTaggerEntry 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 foundAssetAutoTaggerEntry 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 foundAssetAutoTaggerEntry 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 foundAssetAutoTaggerEntry[] 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 foundvoid removeByAssetEntryId(long assetEntryId)
assetEntryId
- the asset entry IDint countByAssetEntryId(long assetEntryId)
assetEntryId
- the asset entry IDjava.util.List<AssetAutoTaggerEntry> findByAssetTagId(long assetTagId)
assetTagId
- the asset tag IDjava.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)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
)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 cacheAssetAutoTaggerEntry 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 foundAssetAutoTaggerEntry 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 foundAssetAutoTaggerEntry 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 foundAssetAutoTaggerEntry 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 foundAssetAutoTaggerEntry[] 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 foundvoid removeByAssetTagId(long assetTagId)
assetTagId
- the asset tag IDint countByAssetTagId(long assetTagId)
assetTagId
- the asset tag IDAssetAutoTaggerEntry 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 foundAssetAutoTaggerEntry 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 foundAssetAutoTaggerEntry 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 foundAssetAutoTaggerEntry removeByA_A(long assetEntryId, long assetTagId) throws NoSuchEntryException
assetEntryId
- the asset entry IDassetTagId
- the asset tag IDNoSuchEntryException
int countByA_A(long assetEntryId, long assetTagId)
assetEntryId
- the asset entry IDassetTagId
- the asset tag IDvoid cacheResult(AssetAutoTaggerEntry assetAutoTaggerEntry)
assetAutoTaggerEntry
- the asset auto tagger entryvoid cacheResult(java.util.List<AssetAutoTaggerEntry> assetAutoTaggerEntries)
assetAutoTaggerEntries
- the asset auto tagger entriesAssetAutoTaggerEntry create(long assetAutoTaggerEntryId)
assetAutoTaggerEntryId
- the primary key for the new asset auto tagger entryAssetAutoTaggerEntry 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 foundAssetAutoTaggerEntry updateImpl(AssetAutoTaggerEntry assetAutoTaggerEntry)
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 foundAssetAutoTaggerEntry 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 foundjava.util.List<AssetAutoTaggerEntry> findAll()
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)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
)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 cachevoid removeAll()
int countAll()