public class AssetEntryAssetCategoryRelUtil
extends java.lang.Object
com.liferay.asset.entry.rel.service.persistence.impl.AssetEntryAssetCategoryRelPersistenceImpl
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
AssetEntryAssetCategoryRelPersistence
Constructor and Description |
---|
AssetEntryAssetCategoryRelUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(AssetEntryAssetCategoryRel assetEntryAssetCategoryRel)
Caches the asset entry asset category rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<AssetEntryAssetCategoryRel> assetEntryAssetCategoryRels)
Caches the asset entry asset category rels in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(AssetEntryAssetCategoryRel assetEntryAssetCategoryRel) |
static int |
countAll()
Returns the number of asset entry asset category rels.
|
static int |
countByA_A(long assetEntryId,
long assetCategoryId)
Returns the number of asset entry asset category rels where assetEntryId = ? and assetCategoryId = ?.
|
static int |
countByAssetCategoryId(long assetCategoryId)
Returns the number of asset entry asset category rels where assetCategoryId = ?.
|
static int |
countByAssetEntryId(long assetEntryId)
Returns the number of asset entry asset category rels where assetEntryId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static AssetEntryAssetCategoryRel |
create(long assetEntryAssetCategoryRelId)
Creates a new asset entry asset category rel with the primary key.
|
static AssetEntryAssetCategoryRel |
fetchByA_A(long assetEntryId,
long assetCategoryId)
Returns the asset entry asset category rel where assetEntryId = ? and assetCategoryId = ? or returns
null if it could not be found. |
static AssetEntryAssetCategoryRel |
fetchByA_A(long assetEntryId,
long assetCategoryId,
boolean useFinderCache)
Returns the asset entry asset category rel where assetEntryId = ? and assetCategoryId = ? or returns
null if it could not be found, optionally using the finder cache. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static AssetEntryAssetCategoryRel |
fetchByPrimaryKey(long assetEntryAssetCategoryRelId)
Returns the asset entry asset category rel with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,AssetEntryAssetCategoryRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<AssetEntryAssetCategoryRel> |
findAll()
Returns all the asset entry asset category rels.
|
static java.util.List<AssetEntryAssetCategoryRel> |
findAll(int start,
int end)
Returns a range of all the asset entry asset category rels.
|
static java.util.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.
|
static java.util.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.
|
static AssetEntryAssetCategoryRel |
findByA_A(long assetEntryId,
long assetCategoryId)
Returns the asset entry asset category rel where assetEntryId = ? and assetCategoryId = ? or throws a
NoSuchEntryAssetCategoryRelException if it could not be found. |
static AssetEntryAssetCategoryRel |
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 = ?.
|
static AssetEntryAssetCategoryRel |
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 = ?.
|
static AssetEntryAssetCategoryRel[] |
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 = ?.
|
static java.util.List<AssetEntryAssetCategoryRel> |
findByAssetCategoryId(long assetCategoryId)
Returns all the asset entry asset category rels where assetCategoryId = ?.
|
static java.util.List<AssetEntryAssetCategoryRel> |
findByAssetCategoryId(long assetCategoryId,
int start,
int end)
Returns a range of all the asset entry asset category rels where assetCategoryId = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static AssetEntryAssetCategoryRel |
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 = ?.
|
static AssetEntryAssetCategoryRel |
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 = ?.
|
static AssetEntryAssetCategoryRel[] |
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 = ?.
|
static java.util.List<AssetEntryAssetCategoryRel> |
findByAssetEntryId(long assetEntryId)
Returns all the asset entry asset category rels where assetEntryId = ?.
|
static java.util.List<AssetEntryAssetCategoryRel> |
findByAssetEntryId(long assetEntryId,
int start,
int end)
Returns a range of all the asset entry asset category rels where assetEntryId = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static AssetEntryAssetCategoryRel |
findByPrimaryKey(long assetEntryAssetCategoryRelId)
Returns the asset entry asset category rel with the primary key or throws a
NoSuchEntryAssetCategoryRelException if it could not be found. |
static java.util.List<AssetEntryAssetCategoryRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<AssetEntryAssetCategoryRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<AssetEntryAssetCategoryRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) |
static AssetEntryAssetCategoryRelPersistence |
getPersistence() |
static AssetEntryAssetCategoryRel |
remove(long assetEntryAssetCategoryRelId)
Removes the asset entry asset category rel with the primary key from the database.
|
static void |
removeAll()
Removes all the asset entry asset category rels from the database.
|
static AssetEntryAssetCategoryRel |
removeByA_A(long assetEntryId,
long assetCategoryId)
Removes the asset entry asset category rel where assetEntryId = ? and assetCategoryId = ? from the database.
|
static void |
removeByAssetCategoryId(long assetCategoryId)
Removes all the asset entry asset category rels where assetCategoryId = ? from the database.
|
static void |
removeByAssetEntryId(long assetEntryId)
Removes all the asset entry asset category rels where assetEntryId = ? from the database.
|
static AssetEntryAssetCategoryRel |
update(AssetEntryAssetCategoryRel assetEntryAssetCategoryRel) |
static AssetEntryAssetCategoryRel |
update(AssetEntryAssetCategoryRel assetEntryAssetCategoryRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static AssetEntryAssetCategoryRel |
updateImpl(AssetEntryAssetCategoryRel assetEntryAssetCategoryRel) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(AssetEntryAssetCategoryRel assetEntryAssetCategoryRel)
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,AssetEntryAssetCategoryRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<AssetEntryAssetCategoryRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<AssetEntryAssetCategoryRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<AssetEntryAssetCategoryRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static AssetEntryAssetCategoryRel update(AssetEntryAssetCategoryRel assetEntryAssetCategoryRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static AssetEntryAssetCategoryRel update(AssetEntryAssetCategoryRel assetEntryAssetCategoryRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<AssetEntryAssetCategoryRel> findByAssetEntryId(long assetEntryId)
assetEntryId
- the asset entry IDpublic static java.util.List<AssetEntryAssetCategoryRel> 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 AssetEntryAssetCategoryRelModelImpl
.
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)public static java.util.List<AssetEntryAssetCategoryRel> findByAssetEntryId(long assetEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> 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 AssetEntryAssetCategoryRelModelImpl
.
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 (optionally null
)public static java.util.List<AssetEntryAssetCategoryRel> findByAssetEntryId(long assetEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> 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 AssetEntryAssetCategoryRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static AssetEntryAssetCategoryRel findByAssetEntryId_First(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException
assetEntryId
- the asset entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryAssetCategoryRelException
- if a matching asset entry asset category rel could not be foundpublic static AssetEntryAssetCategoryRel fetchByAssetEntryId_First(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator)
assetEntryId
- the asset entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry asset category rel could not be foundpublic static AssetEntryAssetCategoryRel findByAssetEntryId_Last(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException
assetEntryId
- the asset entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryAssetCategoryRelException
- if a matching asset entry asset category rel could not be foundpublic static AssetEntryAssetCategoryRel fetchByAssetEntryId_Last(long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator)
assetEntryId
- the asset entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry asset category rel could not be foundpublic static AssetEntryAssetCategoryRel[] findByAssetEntryId_PrevAndNext(long assetEntryAssetCategoryRelId, long assetEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException
assetEntryAssetCategoryRelId
- the primary key of the current asset entry asset category relassetEntryId
- the asset entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryAssetCategoryRelException
- if a asset entry asset category rel 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<AssetEntryAssetCategoryRel> findByAssetCategoryId(long assetCategoryId)
assetCategoryId
- the asset category IDpublic static java.util.List<AssetEntryAssetCategoryRel> findByAssetCategoryId(long assetCategoryId, 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 AssetEntryAssetCategoryRelModelImpl
.
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)public static java.util.List<AssetEntryAssetCategoryRel> findByAssetCategoryId(long assetCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> 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 AssetEntryAssetCategoryRelModelImpl
.
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 (optionally null
)public static java.util.List<AssetEntryAssetCategoryRel> findByAssetCategoryId(long assetCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> 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 AssetEntryAssetCategoryRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static AssetEntryAssetCategoryRel findByAssetCategoryId_First(long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException
assetCategoryId
- the asset category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryAssetCategoryRelException
- if a matching asset entry asset category rel could not be foundpublic static AssetEntryAssetCategoryRel fetchByAssetCategoryId_First(long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator)
assetCategoryId
- the asset category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry asset category rel could not be foundpublic static AssetEntryAssetCategoryRel findByAssetCategoryId_Last(long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException
assetCategoryId
- the asset category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryAssetCategoryRelException
- if a matching asset entry asset category rel could not be foundpublic static AssetEntryAssetCategoryRel fetchByAssetCategoryId_Last(long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator)
assetCategoryId
- the asset category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry asset category rel could not be foundpublic static AssetEntryAssetCategoryRel[] findByAssetCategoryId_PrevAndNext(long assetEntryAssetCategoryRelId, long assetCategoryId, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> orderByComparator) throws NoSuchEntryAssetCategoryRelException
assetEntryAssetCategoryRelId
- the primary key of the current asset entry asset category relassetCategoryId
- the asset category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryAssetCategoryRelException
- if a asset entry asset category rel with the primary key could not be foundpublic static void removeByAssetCategoryId(long assetCategoryId)
assetCategoryId
- the asset category IDpublic static int countByAssetCategoryId(long assetCategoryId)
assetCategoryId
- the asset category IDpublic static AssetEntryAssetCategoryRel findByA_A(long assetEntryId, long assetCategoryId) throws NoSuchEntryAssetCategoryRelException
NoSuchEntryAssetCategoryRelException
if it could not be found.assetEntryId
- the asset entry IDassetCategoryId
- the asset category IDNoSuchEntryAssetCategoryRelException
- if a matching asset entry asset category rel could not be foundpublic static AssetEntryAssetCategoryRel fetchByA_A(long assetEntryId, long assetCategoryId)
null
if it could not be found. Uses the finder cache.assetEntryId
- the asset entry IDassetCategoryId
- the asset category IDnull
if a matching asset entry asset category rel could not be foundpublic static AssetEntryAssetCategoryRel fetchByA_A(long assetEntryId, long assetCategoryId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.assetEntryId
- the asset entry IDassetCategoryId
- the asset category IDuseFinderCache
- whether to use the finder cachenull
if a matching asset entry asset category rel could not be foundpublic static AssetEntryAssetCategoryRel removeByA_A(long assetEntryId, long assetCategoryId) throws NoSuchEntryAssetCategoryRelException
assetEntryId
- the asset entry IDassetCategoryId
- the asset category IDNoSuchEntryAssetCategoryRelException
public static int countByA_A(long assetEntryId, long assetCategoryId)
assetEntryId
- the asset entry IDassetCategoryId
- the asset category IDpublic static void cacheResult(AssetEntryAssetCategoryRel assetEntryAssetCategoryRel)
assetEntryAssetCategoryRel
- the asset entry asset category relpublic static void cacheResult(java.util.List<AssetEntryAssetCategoryRel> assetEntryAssetCategoryRels)
assetEntryAssetCategoryRels
- the asset entry asset category relspublic static AssetEntryAssetCategoryRel create(long assetEntryAssetCategoryRelId)
assetEntryAssetCategoryRelId
- the primary key for the new asset entry asset category relpublic static AssetEntryAssetCategoryRel remove(long assetEntryAssetCategoryRelId) throws NoSuchEntryAssetCategoryRelException
assetEntryAssetCategoryRelId
- the primary key of the asset entry asset category relNoSuchEntryAssetCategoryRelException
- if a asset entry asset category rel with the primary key could not be foundpublic static AssetEntryAssetCategoryRel updateImpl(AssetEntryAssetCategoryRel assetEntryAssetCategoryRel)
public static AssetEntryAssetCategoryRel findByPrimaryKey(long assetEntryAssetCategoryRelId) throws NoSuchEntryAssetCategoryRelException
NoSuchEntryAssetCategoryRelException
if it could not be found.assetEntryAssetCategoryRelId
- the primary key of the asset entry asset category relNoSuchEntryAssetCategoryRelException
- if a asset entry asset category rel with the primary key could not be foundpublic static AssetEntryAssetCategoryRel fetchByPrimaryKey(long assetEntryAssetCategoryRelId)
null
if it could not be found.assetEntryAssetCategoryRelId
- the primary key of the asset entry asset category relnull
if a asset entry asset category rel with the primary key could not be foundpublic static java.util.List<AssetEntryAssetCategoryRel> findAll()
public static java.util.List<AssetEntryAssetCategoryRel> 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 AssetEntryAssetCategoryRelModelImpl
.
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)public static java.util.List<AssetEntryAssetCategoryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> 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 AssetEntryAssetCategoryRelModelImpl
.
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 (optionally null
)public static java.util.List<AssetEntryAssetCategoryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryAssetCategoryRel> 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 AssetEntryAssetCategoryRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static AssetEntryAssetCategoryRelPersistence getPersistence()