public class AssetListEntryUsageUtil
extends java.lang.Object
com.liferay.asset.list.service.persistence.impl.AssetListEntryUsagePersistenceImpl
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
AssetListEntryUsagePersistence
Constructor and Description |
---|
AssetListEntryUsageUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(AssetListEntryUsage assetListEntryUsage)
Caches the asset list entry usage in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<AssetListEntryUsage> assetListEntryUsages)
Caches the asset list entry usages in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(AssetListEntryUsage assetListEntryUsage) |
static int |
countAll()
Returns the number of asset list entry usages.
|
static int |
countByA_C(long assetListEntryId,
long classNameId)
Returns the number of asset list entry usages where assetListEntryId = ? and classNameId = ?.
|
static int |
countByAssetListEntryId(long assetListEntryId)
Returns the number of asset list entry usages where assetListEntryId = ?.
|
static int |
countByC_C_P(long classNameId,
long classPK,
java.lang.String portletId)
Returns the number of asset list entry usages where classNameId = ? and classPK = ? and portletId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of asset list entry usages where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of asset list entry usages where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of asset list entry usages where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static AssetListEntryUsage |
create(long assetListEntryUsageId)
Creates a new asset list entry usage with the primary key.
|
static AssetListEntryUsage |
fetchByA_C_First(long assetListEntryId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the first asset list entry usage in the ordered set where assetListEntryId = ? and classNameId = ?.
|
static AssetListEntryUsage |
fetchByA_C_Last(long assetListEntryId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the last asset list entry usage in the ordered set where assetListEntryId = ? and classNameId = ?.
|
static AssetListEntryUsage |
fetchByAssetListEntryId_First(long assetListEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the first asset list entry usage in the ordered set where assetListEntryId = ?.
|
static AssetListEntryUsage |
fetchByAssetListEntryId_Last(long assetListEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the last asset list entry usage in the ordered set where assetListEntryId = ?.
|
static AssetListEntryUsage |
fetchByC_C_P(long classNameId,
long classPK,
java.lang.String portletId)
Returns the asset list entry usage where classNameId = ? and classPK = ? and portletId = ? or returns
null if it could not be found. |
static AssetListEntryUsage |
fetchByC_C_P(long classNameId,
long classPK,
java.lang.String portletId,
boolean useFinderCache)
Returns the asset list entry usage where classNameId = ? and classPK = ? and portletId = ? or returns
null if it could not be found, optionally using the finder cache. |
static AssetListEntryUsage |
fetchByPrimaryKey(long assetListEntryUsageId)
Returns the asset list entry usage with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,AssetListEntryUsage> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static AssetListEntryUsage |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the first asset list entry usage in the ordered set where uuid = ? and companyId = ?.
|
static AssetListEntryUsage |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the last asset list entry usage in the ordered set where uuid = ? and companyId = ?.
|
static AssetListEntryUsage |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the first asset list entry usage in the ordered set where uuid = ?.
|
static AssetListEntryUsage |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the asset list entry usage where uuid = ? and groupId = ? or returns
null if it could not be found. |
static AssetListEntryUsage |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the asset list entry usage where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static AssetListEntryUsage |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the last asset list entry usage in the ordered set where uuid = ?.
|
static java.util.List<AssetListEntryUsage> |
findAll()
Returns all the asset list entry usages.
|
static java.util.List<AssetListEntryUsage> |
findAll(int start,
int end)
Returns a range of all the asset list entry usages.
|
static java.util.List<AssetListEntryUsage> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns an ordered range of all the asset list entry usages.
|
static java.util.List<AssetListEntryUsage> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset list entry usages.
|
static AssetListEntryUsage |
findByA_C_First(long assetListEntryId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the first asset list entry usage in the ordered set where assetListEntryId = ? and classNameId = ?.
|
static AssetListEntryUsage |
findByA_C_Last(long assetListEntryId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the last asset list entry usage in the ordered set where assetListEntryId = ? and classNameId = ?.
|
static AssetListEntryUsage[] |
findByA_C_PrevAndNext(long assetListEntryUsageId,
long assetListEntryId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the asset list entry usages before and after the current asset list entry usage in the ordered set where assetListEntryId = ? and classNameId = ?.
|
static java.util.List<AssetListEntryUsage> |
findByA_C(long assetListEntryId,
long classNameId)
Returns all the asset list entry usages where assetListEntryId = ? and classNameId = ?.
|
static java.util.List<AssetListEntryUsage> |
findByA_C(long assetListEntryId,
long classNameId,
int start,
int end)
Returns a range of all the asset list entry usages where assetListEntryId = ? and classNameId = ?.
|
static java.util.List<AssetListEntryUsage> |
findByA_C(long assetListEntryId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns an ordered range of all the asset list entry usages where assetListEntryId = ? and classNameId = ?.
|
static java.util.List<AssetListEntryUsage> |
findByA_C(long assetListEntryId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset list entry usages where assetListEntryId = ? and classNameId = ?.
|
static AssetListEntryUsage |
findByAssetListEntryId_First(long assetListEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the first asset list entry usage in the ordered set where assetListEntryId = ?.
|
static AssetListEntryUsage |
findByAssetListEntryId_Last(long assetListEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the last asset list entry usage in the ordered set where assetListEntryId = ?.
|
static AssetListEntryUsage[] |
findByAssetListEntryId_PrevAndNext(long assetListEntryUsageId,
long assetListEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the asset list entry usages before and after the current asset list entry usage in the ordered set where assetListEntryId = ?.
|
static java.util.List<AssetListEntryUsage> |
findByAssetListEntryId(long assetListEntryId)
Returns all the asset list entry usages where assetListEntryId = ?.
|
static java.util.List<AssetListEntryUsage> |
findByAssetListEntryId(long assetListEntryId,
int start,
int end)
Returns a range of all the asset list entry usages where assetListEntryId = ?.
|
static java.util.List<AssetListEntryUsage> |
findByAssetListEntryId(long assetListEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns an ordered range of all the asset list entry usages where assetListEntryId = ?.
|
static java.util.List<AssetListEntryUsage> |
findByAssetListEntryId(long assetListEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset list entry usages where assetListEntryId = ?.
|
static AssetListEntryUsage |
findByC_C_P(long classNameId,
long classPK,
java.lang.String portletId)
Returns the asset list entry usage where classNameId = ? and classPK = ? and portletId = ? or throws a
NoSuchEntryUsageException if it could not be found. |
static AssetListEntryUsage |
findByPrimaryKey(long assetListEntryUsageId)
Returns the asset list entry usage with the primary key or throws a
NoSuchEntryUsageException if it could not be found. |
static AssetListEntryUsage |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the first asset list entry usage in the ordered set where uuid = ? and companyId = ?.
|
static AssetListEntryUsage |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the last asset list entry usage in the ordered set where uuid = ? and companyId = ?.
|
static AssetListEntryUsage[] |
findByUuid_C_PrevAndNext(long assetListEntryUsageId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the asset list entry usages before and after the current asset list entry usage in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<AssetListEntryUsage> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the asset list entry usages where uuid = ? and companyId = ?.
|
static java.util.List<AssetListEntryUsage> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the asset list entry usages where uuid = ? and companyId = ?.
|
static java.util.List<AssetListEntryUsage> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns an ordered range of all the asset list entry usages where uuid = ? and companyId = ?.
|
static java.util.List<AssetListEntryUsage> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset list entry usages where uuid = ? and companyId = ?.
|
static AssetListEntryUsage |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the first asset list entry usage in the ordered set where uuid = ?.
|
static AssetListEntryUsage |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the asset list entry usage where uuid = ? and groupId = ? or throws a
NoSuchEntryUsageException if it could not be found. |
static AssetListEntryUsage |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the last asset list entry usage in the ordered set where uuid = ?.
|
static AssetListEntryUsage[] |
findByUuid_PrevAndNext(long assetListEntryUsageId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the asset list entry usages before and after the current asset list entry usage in the ordered set where uuid = ?.
|
static java.util.List<AssetListEntryUsage> |
findByUuid(java.lang.String uuid)
Returns all the asset list entry usages where uuid = ?.
|
static java.util.List<AssetListEntryUsage> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the asset list entry usages where uuid = ?.
|
static java.util.List<AssetListEntryUsage> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns an ordered range of all the asset list entry usages where uuid = ?.
|
static java.util.List<AssetListEntryUsage> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset list entry usages where uuid = ?.
|
static java.util.List<AssetListEntryUsage> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<AssetListEntryUsage> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<AssetListEntryUsage> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) |
static AssetListEntryUsagePersistence |
getPersistence() |
static AssetListEntryUsage |
remove(long assetListEntryUsageId)
Removes the asset list entry usage with the primary key from the database.
|
static void |
removeAll()
Removes all the asset list entry usages from the database.
|
static void |
removeByA_C(long assetListEntryId,
long classNameId)
Removes all the asset list entry usages where assetListEntryId = ? and classNameId = ? from the database.
|
static void |
removeByAssetListEntryId(long assetListEntryId)
Removes all the asset list entry usages where assetListEntryId = ? from the database.
|
static AssetListEntryUsage |
removeByC_C_P(long classNameId,
long classPK,
java.lang.String portletId)
Removes the asset list entry usage where classNameId = ? and classPK = ? and portletId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the asset list entry usages where uuid = ? and companyId = ? from the database.
|
static AssetListEntryUsage |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the asset list entry usage where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the asset list entry usages where uuid = ? from the database.
|
static AssetListEntryUsage |
update(AssetListEntryUsage assetListEntryUsage) |
static AssetListEntryUsage |
update(AssetListEntryUsage assetListEntryUsage,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static AssetListEntryUsage |
updateImpl(AssetListEntryUsage assetListEntryUsage) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(AssetListEntryUsage assetListEntryUsage)
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,AssetListEntryUsage> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<AssetListEntryUsage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<AssetListEntryUsage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<AssetListEntryUsage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static AssetListEntryUsage update(AssetListEntryUsage assetListEntryUsage)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static AssetListEntryUsage update(AssetListEntryUsage assetListEntryUsage, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<AssetListEntryUsage> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<AssetListEntryUsage> findByUuid(java.lang.String uuid, 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 AssetListEntryUsageModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of asset list entry usagesend
- the upper bound of the range of asset list entry usages (not inclusive)public static java.util.List<AssetListEntryUsage> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> 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 AssetListEntryUsageModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of asset list entry usagesend
- the upper bound of the range of asset list entry usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AssetListEntryUsage> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> 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 AssetListEntryUsageModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of asset list entry usagesend
- the upper bound of the range of asset list entry usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AssetListEntryUsage findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage[] findByUuid_PrevAndNext(long assetListEntryUsageId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
assetListEntryUsageId
- the primary key of the current asset list entry usageuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a asset list entry usage with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static AssetListEntryUsage findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryUsageException
NoSuchEntryUsageException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryUsageException
uuid
- the uuidgroupId
- the group IDNoSuchEntryUsageException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<AssetListEntryUsage> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<AssetListEntryUsage> findByUuid_C(java.lang.String uuid, long companyId, 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 AssetListEntryUsageModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset list entry usagesend
- the upper bound of the range of asset list entry usages (not inclusive)public static java.util.List<AssetListEntryUsage> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> 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 AssetListEntryUsageModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset list entry usagesend
- the upper bound of the range of asset list entry usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AssetListEntryUsage> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> 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 AssetListEntryUsageModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset list entry usagesend
- the upper bound of the range of asset list entry usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AssetListEntryUsage findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage[] findByUuid_C_PrevAndNext(long assetListEntryUsageId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
assetListEntryUsageId
- the primary key of the current asset list entry usageuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a asset list entry usage with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<AssetListEntryUsage> findByAssetListEntryId(long assetListEntryId)
assetListEntryId
- the asset list entry IDpublic static java.util.List<AssetListEntryUsage> findByAssetListEntryId(long assetListEntryId, 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 AssetListEntryUsageModelImpl
.
assetListEntryId
- the asset list entry IDstart
- the lower bound of the range of asset list entry usagesend
- the upper bound of the range of asset list entry usages (not inclusive)public static java.util.List<AssetListEntryUsage> findByAssetListEntryId(long assetListEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> 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 AssetListEntryUsageModelImpl
.
assetListEntryId
- the asset list entry IDstart
- the lower bound of the range of asset list entry usagesend
- the upper bound of the range of asset list entry usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AssetListEntryUsage> findByAssetListEntryId(long assetListEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> 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 AssetListEntryUsageModelImpl
.
assetListEntryId
- the asset list entry IDstart
- the lower bound of the range of asset list entry usagesend
- the upper bound of the range of asset list entry usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AssetListEntryUsage findByAssetListEntryId_First(long assetListEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
assetListEntryId
- the asset list entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByAssetListEntryId_First(long assetListEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
assetListEntryId
- the asset list entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage findByAssetListEntryId_Last(long assetListEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
assetListEntryId
- the asset list entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByAssetListEntryId_Last(long assetListEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
assetListEntryId
- the asset list entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage[] findByAssetListEntryId_PrevAndNext(long assetListEntryUsageId, long assetListEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
assetListEntryUsageId
- the primary key of the current asset list entry usageassetListEntryId
- the asset list entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a asset list entry usage with the primary key could not be foundpublic static void removeByAssetListEntryId(long assetListEntryId)
assetListEntryId
- the asset list entry IDpublic static int countByAssetListEntryId(long assetListEntryId)
assetListEntryId
- the asset list entry IDpublic static java.util.List<AssetListEntryUsage> findByA_C(long assetListEntryId, long classNameId)
assetListEntryId
- the asset list entry IDclassNameId
- the class name IDpublic static java.util.List<AssetListEntryUsage> findByA_C(long assetListEntryId, long classNameId, 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 AssetListEntryUsageModelImpl
.
assetListEntryId
- the asset list entry IDclassNameId
- the class name IDstart
- the lower bound of the range of asset list entry usagesend
- the upper bound of the range of asset list entry usages (not inclusive)public static java.util.List<AssetListEntryUsage> findByA_C(long assetListEntryId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> 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 AssetListEntryUsageModelImpl
.
assetListEntryId
- the asset list entry IDclassNameId
- the class name IDstart
- the lower bound of the range of asset list entry usagesend
- the upper bound of the range of asset list entry usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AssetListEntryUsage> findByA_C(long assetListEntryId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> 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 AssetListEntryUsageModelImpl
.
assetListEntryId
- the asset list entry IDclassNameId
- the class name IDstart
- the lower bound of the range of asset list entry usagesend
- the upper bound of the range of asset list entry usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AssetListEntryUsage findByA_C_First(long assetListEntryId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
assetListEntryId
- the asset list entry IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByA_C_First(long assetListEntryId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
assetListEntryId
- the asset list entry IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage findByA_C_Last(long assetListEntryId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
assetListEntryId
- the asset list entry IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByA_C_Last(long assetListEntryId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
assetListEntryId
- the asset list entry IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage[] findByA_C_PrevAndNext(long assetListEntryUsageId, long assetListEntryId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
assetListEntryUsageId
- the primary key of the current asset list entry usageassetListEntryId
- the asset list entry IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a asset list entry usage with the primary key could not be foundpublic static void removeByA_C(long assetListEntryId, long classNameId)
assetListEntryId
- the asset list entry IDclassNameId
- the class name IDpublic static int countByA_C(long assetListEntryId, long classNameId)
assetListEntryId
- the asset list entry IDclassNameId
- the class name IDpublic static AssetListEntryUsage findByC_C_P(long classNameId, long classPK, java.lang.String portletId) throws NoSuchEntryUsageException
NoSuchEntryUsageException
if it could not be found.classNameId
- the class name IDclassPK
- the class pkportletId
- the portlet IDNoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByC_C_P(long classNameId, long classPK, java.lang.String portletId)
null
if it could not be found. Uses the finder cache.classNameId
- the class name IDclassPK
- the class pkportletId
- the portlet IDnull
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByC_C_P(long classNameId, long classPK, java.lang.String portletId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.classNameId
- the class name IDclassPK
- the class pkportletId
- the portlet IDuseFinderCache
- whether to use the finder cachenull
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage removeByC_C_P(long classNameId, long classPK, java.lang.String portletId) throws NoSuchEntryUsageException
classNameId
- the class name IDclassPK
- the class pkportletId
- the portlet IDNoSuchEntryUsageException
public static int countByC_C_P(long classNameId, long classPK, java.lang.String portletId)
classNameId
- the class name IDclassPK
- the class pkportletId
- the portlet IDpublic static void cacheResult(AssetListEntryUsage assetListEntryUsage)
assetListEntryUsage
- the asset list entry usagepublic static void cacheResult(java.util.List<AssetListEntryUsage> assetListEntryUsages)
assetListEntryUsages
- the asset list entry usagespublic static AssetListEntryUsage create(long assetListEntryUsageId)
assetListEntryUsageId
- the primary key for the new asset list entry usagepublic static AssetListEntryUsage remove(long assetListEntryUsageId) throws NoSuchEntryUsageException
assetListEntryUsageId
- the primary key of the asset list entry usageNoSuchEntryUsageException
- if a asset list entry usage with the primary key could not be foundpublic static AssetListEntryUsage updateImpl(AssetListEntryUsage assetListEntryUsage)
public static AssetListEntryUsage findByPrimaryKey(long assetListEntryUsageId) throws NoSuchEntryUsageException
NoSuchEntryUsageException
if it could not be found.assetListEntryUsageId
- the primary key of the asset list entry usageNoSuchEntryUsageException
- if a asset list entry usage with the primary key could not be foundpublic static AssetListEntryUsage fetchByPrimaryKey(long assetListEntryUsageId)
null
if it could not be found.assetListEntryUsageId
- the primary key of the asset list entry usagenull
if a asset list entry usage with the primary key could not be foundpublic static java.util.List<AssetListEntryUsage> findAll()
public static java.util.List<AssetListEntryUsage> 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 AssetListEntryUsageModelImpl
.
start
- the lower bound of the range of asset list entry usagesend
- the upper bound of the range of asset list entry usages (not inclusive)public static java.util.List<AssetListEntryUsage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> 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 AssetListEntryUsageModelImpl
.
start
- the lower bound of the range of asset list entry usagesend
- the upper bound of the range of asset list entry usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AssetListEntryUsage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> 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 AssetListEntryUsageModelImpl
.
start
- the lower bound of the range of asset list entry usagesend
- the upper bound of the range of asset list entry usages (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 AssetListEntryUsagePersistence getPersistence()