Interface AssetEntryAssetCategoryRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<AssetEntryAssetCategoryRel>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<AssetEntryAssetCategoryRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(AssetEntryAssetCategoryRel assetEntryAssetCategoryRel) Caches the asset entry asset category rel in the entity cache if it is enabled.void
cacheResult
(List<AssetEntryAssetCategoryRel> assetEntryAssetCategoryRels) Caches the asset entry asset category rels in the entity cache if it is enabled.int
countAll()
Returns the number of asset entry asset category rels.int
countByA_A
(long assetEntryId, long assetCategoryId) Returns the number of asset entry asset category rels where assetEntryId = ? and assetCategoryId = ?.int
countByAssetCategoryId
(long assetCategoryId) Returns the number of asset entry asset category rels where assetCategoryId = ?.int
countByAssetEntryId
(long assetEntryId) Returns the number of asset entry asset category rels where assetEntryId = ?.create
(long assetEntryAssetCategoryRelId) Creates a new asset entry asset category rel with the primary key.fetchByA_A
(long assetEntryId, long assetCategoryId) Returns the asset entry asset category rel where assetEntryId = ? and assetCategoryId = ? or returnsnull
if it could not be found.fetchByA_A
(long assetEntryId, long assetCategoryId, boolean useFinderCache) Returns the asset entry asset category rel where assetEntryId = ? and assetCategoryId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByAssetCategoryId_First
(long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns the first asset entry asset category rel in the ordered set where assetCategoryId = ?.fetchByAssetCategoryId_Last
(long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns the last asset entry asset category rel in the ordered set where assetCategoryId = ?.fetchByAssetEntryId_First
(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns the first asset entry asset category rel in the ordered set where assetEntryId = ?.fetchByAssetEntryId_Last
(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns the last asset entry asset category rel in the ordered set where assetEntryId = ?.fetchByPrimaryKey
(long assetEntryAssetCategoryRelId) Returns the asset entry asset category rel with the primary key or returnsnull
if it could not be found.findAll()
Returns all the asset entry asset category rels.findAll
(int start, int end) Returns a range of all the asset entry asset category rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns an ordered range of all the asset entry asset category rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entry asset category rels.findByA_A
(long assetEntryId, long assetCategoryId) Returns the asset entry asset category rel where assetEntryId = ? and assetCategoryId = ? or throws aNoSuchEntryAssetCategoryRelException
if it could not be found.findByAssetCategoryId
(long assetCategoryId) Returns all the asset entry asset category rels where assetCategoryId = ?.findByAssetCategoryId
(long assetCategoryId, int start, int end) Returns a range of all the asset entry asset category rels where assetCategoryId = ?.findByAssetCategoryId
(long assetCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns an ordered range of all the asset entry asset category rels where assetCategoryId = ?.findByAssetCategoryId
(long assetCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entry asset category rels where assetCategoryId = ?.findByAssetCategoryId_First
(long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns the first asset entry asset category rel in the ordered set where assetCategoryId = ?.findByAssetCategoryId_Last
(long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns the last asset entry asset category rel in the ordered set where assetCategoryId = ?.findByAssetCategoryId_PrevAndNext
(long assetEntryAssetCategoryRelId, long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns the asset entry asset category rels before and after the current asset entry asset category rel in the ordered set where assetCategoryId = ?.findByAssetEntryId
(long assetEntryId) Returns all the asset entry asset category rels where assetEntryId = ?.findByAssetEntryId
(long assetEntryId, int start, int end) Returns a range of all the asset entry asset category rels where assetEntryId = ?.findByAssetEntryId
(long assetEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns an ordered range of all the asset entry asset category rels where assetEntryId = ?.findByAssetEntryId
(long assetEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entry asset category rels where assetEntryId = ?.findByAssetEntryId_First
(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns the first asset entry asset category rel in the ordered set where assetEntryId = ?.findByAssetEntryId_Last
(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns the last asset entry asset category rel in the ordered set where assetEntryId = ?.findByAssetEntryId_PrevAndNext
(long assetEntryAssetCategoryRelId, long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns the asset entry asset category rels before and after the current asset entry asset category rel in the ordered set where assetEntryId = ?.findByPrimaryKey
(long assetEntryAssetCategoryRelId) Returns the asset entry asset category rel with the primary key or throws aNoSuchEntryAssetCategoryRelException
if it could not be found.remove
(long assetEntryAssetCategoryRelId) Removes the asset entry asset category rel with the primary key from the database.void
Removes all the asset entry asset category rels from the database.removeByA_A
(long assetEntryId, long assetCategoryId) Removes the asset entry asset category rel where assetEntryId = ? and assetCategoryId = ? from the database.void
removeByAssetCategoryId
(long assetCategoryId) Removes all the asset entry asset category rels where assetCategoryId = ? from the database.void
removeByAssetEntryId
(long assetEntryId) Removes all the asset entry asset category rels where assetEntryId = ? from the database.updateImpl
(AssetEntryAssetCategoryRel assetEntryAssetCategoryRel) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByAssetEntryId
Returns all the asset entry asset category rels where assetEntryId = ?.- Parameters:
assetEntryId
- the asset entry ID- Returns:
- the matching asset entry asset category rels
-
findByAssetEntryId
Returns a range of all the asset entry asset category rels 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 fromAssetEntryAssetCategoryRelModelImpl
.- Parameters:
assetEntryId
- the asset entry IDstart
- the lower bound of the range of asset entry asset category relsend
- the upper bound of the range of asset entry asset category rels (not inclusive)- Returns:
- the range of matching asset entry asset category rels
-
findByAssetEntryId
List<AssetEntryAssetCategoryRel> findByAssetEntryId(long assetEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns an ordered range of all the asset entry asset category rels 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 fromAssetEntryAssetCategoryRelModelImpl
.- Parameters:
assetEntryId
- the asset entry IDstart
- the lower bound of the range of asset entry asset category relsend
- the upper bound of the range of asset entry asset category rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset entry asset category rels
-
findByAssetEntryId
List<AssetEntryAssetCategoryRel> findByAssetEntryId(long assetEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entry asset category rels 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 fromAssetEntryAssetCategoryRelModelImpl
.- Parameters:
assetEntryId
- the asset entry IDstart
- the lower bound of the range of asset entry asset category relsend
- the upper bound of the range of asset entry asset category rels (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 entry asset category rels
-
findByAssetEntryId_First
AssetEntryAssetCategoryRel findByAssetEntryId_First(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException Returns the first asset entry asset category rel 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 entry asset category rel
- Throws:
NoSuchEntryAssetCategoryRelException
- if a matching asset entry asset category rel could not be found
-
fetchByAssetEntryId_First
AssetEntryAssetCategoryRel fetchByAssetEntryId_First(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns the first asset entry asset category rel 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 entry asset category rel, or
null
if a matching asset entry asset category rel could not be found
-
findByAssetEntryId_Last
AssetEntryAssetCategoryRel findByAssetEntryId_Last(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException Returns the last asset entry asset category rel 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 entry asset category rel
- Throws:
NoSuchEntryAssetCategoryRelException
- if a matching asset entry asset category rel could not be found
-
fetchByAssetEntryId_Last
AssetEntryAssetCategoryRel fetchByAssetEntryId_Last(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns the last asset entry asset category rel 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 entry asset category rel, or
null
if a matching asset entry asset category rel could not be found
-
findByAssetEntryId_PrevAndNext
AssetEntryAssetCategoryRel[] findByAssetEntryId_PrevAndNext(long assetEntryAssetCategoryRelId, long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException Returns the asset entry asset category rels before and after the current asset entry asset category rel in the ordered set where assetEntryId = ?.- Parameters:
assetEntryAssetCategoryRelId
- the primary key of the current asset entry asset category relassetEntryId
- the asset entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset entry asset category rel
- Throws:
NoSuchEntryAssetCategoryRelException
- if a asset entry asset category rel with the primary key could not be found
-
removeByAssetEntryId
void removeByAssetEntryId(long assetEntryId) Removes all the asset entry asset category rels where assetEntryId = ? from the database.- Parameters:
assetEntryId
- the asset entry ID
-
countByAssetEntryId
int countByAssetEntryId(long assetEntryId) Returns the number of asset entry asset category rels where assetEntryId = ?.- Parameters:
assetEntryId
- the asset entry ID- Returns:
- the number of matching asset entry asset category rels
-
findByAssetCategoryId
Returns all the asset entry asset category rels where assetCategoryId = ?.- Parameters:
assetCategoryId
- the asset category ID- Returns:
- the matching asset entry asset category rels
-
findByAssetCategoryId
Returns a range of all the asset entry asset category rels where assetCategoryId = ?.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 fromAssetEntryAssetCategoryRelModelImpl
.- Parameters:
assetCategoryId
- the asset category IDstart
- the lower bound of the range of asset entry asset category relsend
- the upper bound of the range of asset entry asset category rels (not inclusive)- Returns:
- the range of matching asset entry asset category rels
-
findByAssetCategoryId
List<AssetEntryAssetCategoryRel> findByAssetCategoryId(long assetCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns an ordered range of all the asset entry asset category rels where assetCategoryId = ?.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 fromAssetEntryAssetCategoryRelModelImpl
.- Parameters:
assetCategoryId
- the asset category IDstart
- the lower bound of the range of asset entry asset category relsend
- the upper bound of the range of asset entry asset category rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset entry asset category rels
-
findByAssetCategoryId
List<AssetEntryAssetCategoryRel> findByAssetCategoryId(long assetCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entry asset category rels where assetCategoryId = ?.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 fromAssetEntryAssetCategoryRelModelImpl
.- Parameters:
assetCategoryId
- the asset category IDstart
- the lower bound of the range of asset entry asset category relsend
- the upper bound of the range of asset entry asset category rels (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 entry asset category rels
-
findByAssetCategoryId_First
AssetEntryAssetCategoryRel findByAssetCategoryId_First(long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException Returns the first asset entry asset category rel in the ordered set where assetCategoryId = ?.- Parameters:
assetCategoryId
- the asset category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry asset category rel
- Throws:
NoSuchEntryAssetCategoryRelException
- if a matching asset entry asset category rel could not be found
-
fetchByAssetCategoryId_First
AssetEntryAssetCategoryRel fetchByAssetCategoryId_First(long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns the first asset entry asset category rel in the ordered set where assetCategoryId = ?.- Parameters:
assetCategoryId
- the asset category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry asset category rel, or
null
if a matching asset entry asset category rel could not be found
-
findByAssetCategoryId_Last
AssetEntryAssetCategoryRel findByAssetCategoryId_Last(long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException Returns the last asset entry asset category rel in the ordered set where assetCategoryId = ?.- Parameters:
assetCategoryId
- the asset category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry asset category rel
- Throws:
NoSuchEntryAssetCategoryRelException
- if a matching asset entry asset category rel could not be found
-
fetchByAssetCategoryId_Last
AssetEntryAssetCategoryRel fetchByAssetCategoryId_Last(long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns the last asset entry asset category rel in the ordered set where assetCategoryId = ?.- Parameters:
assetCategoryId
- the asset category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry asset category rel, or
null
if a matching asset entry asset category rel could not be found
-
findByAssetCategoryId_PrevAndNext
AssetEntryAssetCategoryRel[] findByAssetCategoryId_PrevAndNext(long assetEntryAssetCategoryRelId, long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException Returns the asset entry asset category rels before and after the current asset entry asset category rel in the ordered set where assetCategoryId = ?.- Parameters:
assetEntryAssetCategoryRelId
- the primary key of the current asset entry asset category relassetCategoryId
- the asset category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset entry asset category rel
- Throws:
NoSuchEntryAssetCategoryRelException
- if a asset entry asset category rel with the primary key could not be found
-
removeByAssetCategoryId
void removeByAssetCategoryId(long assetCategoryId) Removes all the asset entry asset category rels where assetCategoryId = ? from the database.- Parameters:
assetCategoryId
- the asset category ID
-
countByAssetCategoryId
int countByAssetCategoryId(long assetCategoryId) Returns the number of asset entry asset category rels where assetCategoryId = ?.- Parameters:
assetCategoryId
- the asset category ID- Returns:
- the number of matching asset entry asset category rels
-
findByA_A
AssetEntryAssetCategoryRel findByA_A(long assetEntryId, long assetCategoryId) throws NoSuchEntryAssetCategoryRelException Returns the asset entry asset category rel where assetEntryId = ? and assetCategoryId = ? or throws aNoSuchEntryAssetCategoryRelException
if it could not be found.- Parameters:
assetEntryId
- the asset entry IDassetCategoryId
- the asset category ID- Returns:
- the matching asset entry asset category rel
- Throws:
NoSuchEntryAssetCategoryRelException
- if a matching asset entry asset category rel could not be found
-
fetchByA_A
Returns the asset entry asset category rel where assetEntryId = ? and assetCategoryId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
assetEntryId
- the asset entry IDassetCategoryId
- the asset category ID- Returns:
- the matching asset entry asset category rel, or
null
if a matching asset entry asset category rel could not be found
-
fetchByA_A
AssetEntryAssetCategoryRel fetchByA_A(long assetEntryId, long assetCategoryId, boolean useFinderCache) Returns the asset entry asset category rel where assetEntryId = ? and assetCategoryId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
assetEntryId
- the asset entry IDassetCategoryId
- the asset category IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset entry asset category rel, or
null
if a matching asset entry asset category rel could not be found
-
removeByA_A
AssetEntryAssetCategoryRel removeByA_A(long assetEntryId, long assetCategoryId) throws NoSuchEntryAssetCategoryRelException Removes the asset entry asset category rel where assetEntryId = ? and assetCategoryId = ? from the database.- Parameters:
assetEntryId
- the asset entry IDassetCategoryId
- the asset category ID- Returns:
- the asset entry asset category rel that was removed
- Throws:
NoSuchEntryAssetCategoryRelException
-
countByA_A
int countByA_A(long assetEntryId, long assetCategoryId) Returns the number of asset entry asset category rels where assetEntryId = ? and assetCategoryId = ?.- Parameters:
assetEntryId
- the asset entry IDassetCategoryId
- the asset category ID- Returns:
- the number of matching asset entry asset category rels
-
cacheResult
Caches the asset entry asset category rel in the entity cache if it is enabled.- Parameters:
assetEntryAssetCategoryRel
- the asset entry asset category rel
-
cacheResult
Caches the asset entry asset category rels in the entity cache if it is enabled.- Parameters:
assetEntryAssetCategoryRels
- the asset entry asset category rels
-
create
Creates a new asset entry asset category rel with the primary key. Does not add the asset entry asset category rel to the database.- Parameters:
assetEntryAssetCategoryRelId
- the primary key for the new asset entry asset category rel- Returns:
- the new asset entry asset category rel
-
remove
AssetEntryAssetCategoryRel remove(long assetEntryAssetCategoryRelId) throws NoSuchEntryAssetCategoryRelException Removes the asset entry asset category rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
assetEntryAssetCategoryRelId
- the primary key of the asset entry asset category rel- Returns:
- the asset entry asset category rel that was removed
- Throws:
NoSuchEntryAssetCategoryRelException
- if a asset entry asset category rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
AssetEntryAssetCategoryRel findByPrimaryKey(long assetEntryAssetCategoryRelId) throws NoSuchEntryAssetCategoryRelException Returns the asset entry asset category rel with the primary key or throws aNoSuchEntryAssetCategoryRelException
if it could not be found.- Parameters:
assetEntryAssetCategoryRelId
- the primary key of the asset entry asset category rel- Returns:
- the asset entry asset category rel
- Throws:
NoSuchEntryAssetCategoryRelException
- if a asset entry asset category rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the asset entry asset category rel with the primary key or returnsnull
if it could not be found.- Parameters:
assetEntryAssetCategoryRelId
- the primary key of the asset entry asset category rel- Returns:
- the asset entry asset category rel, or
null
if a asset entry asset category rel with the primary key could not be found
-
findAll
List<AssetEntryAssetCategoryRel> findAll()Returns all the asset entry asset category rels.- Returns:
- the asset entry asset category rels
-
findAll
Returns a range of all the asset entry asset category rels.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 fromAssetEntryAssetCategoryRelModelImpl
.- Parameters:
start
- the lower bound of the range of asset entry asset category relsend
- the upper bound of the range of asset entry asset category rels (not inclusive)- Returns:
- the range of asset entry asset category rels
-
findAll
List<AssetEntryAssetCategoryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) Returns an ordered range of all the asset entry asset category rels.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 fromAssetEntryAssetCategoryRelModelImpl
.- Parameters:
start
- the lower bound of the range of asset entry asset category relsend
- the upper bound of the range of asset entry asset category rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of asset entry asset category rels
-
findAll
List<AssetEntryAssetCategoryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entry asset category rels.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 fromAssetEntryAssetCategoryRelModelImpl
.- Parameters:
start
- the lower bound of the range of asset entry asset category relsend
- the upper bound of the range of asset entry asset category rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of asset entry asset category rels
-
removeAll
void removeAll()Removes all the asset entry asset category rels from the database. -
countAll
int countAll()Returns the number of asset entry asset category rels.- Returns:
- the number of asset entry asset category rels
-