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 |
countByCK_CT_P(java.lang.String containerKey,
long containerType,
long plid)
Returns the number of asset list entry usages where containerKey = ? and containerType = ? and plid = ?.
|
static int |
countByG_C_CK_CT_K_P(long groupId,
long classNameId,
java.lang.String containerKey,
long containerType,
java.lang.String key,
long plid)
Returns the number of asset list entry usages where groupId = ? and classNameId = ? and containerKey = ? and containerType = ? and key = ? and plid = ?.
|
static int |
countByG_C_K_T(long groupId,
long classNameId,
java.lang.String key,
int type)
Returns the number of asset list entry usages where groupId = ? and classNameId = ? and key = ? and type = ?.
|
static int |
countByG_C_K(long groupId,
long classNameId,
java.lang.String key)
Returns the number of asset list entry usages where groupId = ? and classNameId = ? and key = ?.
|
static int |
countByPlid(long plid)
Returns the number of asset list entry usages where plid = ?.
|
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 |
fetchByCK_CT_P_First(java.lang.String containerKey,
long containerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the first asset list entry usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
|
static AssetListEntryUsage |
fetchByCK_CT_P_Last(java.lang.String containerKey,
long containerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the last asset list entry usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
|
static AssetListEntryUsage |
fetchByG_C_CK_CT_K_P(long groupId,
long classNameId,
java.lang.String containerKey,
long containerType,
java.lang.String key,
long plid)
Returns the asset list entry usage where groupId = ? and classNameId = ? and containerKey = ? and containerType = ? and key = ? and plid = ? or returns
null if it could not be found. |
static AssetListEntryUsage |
fetchByG_C_CK_CT_K_P(long groupId,
long classNameId,
java.lang.String containerKey,
long containerType,
java.lang.String key,
long plid,
boolean useFinderCache)
Returns the asset list entry usage where groupId = ? and classNameId = ? and containerKey = ? and containerType = ? and key = ? and plid = ? or returns
null if it could not be found, optionally using the finder cache. |
static AssetListEntryUsage |
fetchByG_C_K_First(long groupId,
long classNameId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the first asset list entry usage in the ordered set where groupId = ? and classNameId = ? and key = ?.
|
static AssetListEntryUsage |
fetchByG_C_K_Last(long groupId,
long classNameId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the last asset list entry usage in the ordered set where groupId = ? and classNameId = ? and key = ?.
|
static AssetListEntryUsage |
fetchByG_C_K_T_First(long groupId,
long classNameId,
java.lang.String key,
int type,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the first asset list entry usage in the ordered set where groupId = ? and classNameId = ? and key = ? and type = ?.
|
static AssetListEntryUsage |
fetchByG_C_K_T_Last(long groupId,
long classNameId,
java.lang.String key,
int type,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the last asset list entry usage in the ordered set where groupId = ? and classNameId = ? and key = ? and type = ?.
|
static AssetListEntryUsage |
fetchByPlid_First(long plid,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the first asset list entry usage in the ordered set where plid = ?.
|
static AssetListEntryUsage |
fetchByPlid_Last(long plid,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the last asset list entry usage in the ordered set where plid = ?.
|
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 |
findByCK_CT_P_First(java.lang.String containerKey,
long containerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the first asset list entry usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
|
static AssetListEntryUsage |
findByCK_CT_P_Last(java.lang.String containerKey,
long containerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the last asset list entry usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
|
static AssetListEntryUsage[] |
findByCK_CT_P_PrevAndNext(long assetListEntryUsageId,
java.lang.String containerKey,
long containerType,
long plid,
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 containerKey = ? and containerType = ? and plid = ?.
|
static java.util.List<AssetListEntryUsage> |
findByCK_CT_P(java.lang.String containerKey,
long containerType,
long plid)
Returns all the asset list entry usages where containerKey = ? and containerType = ? and plid = ?.
|
static java.util.List<AssetListEntryUsage> |
findByCK_CT_P(java.lang.String containerKey,
long containerType,
long plid,
int start,
int end)
Returns a range of all the asset list entry usages where containerKey = ? and containerType = ? and plid = ?.
|
static java.util.List<AssetListEntryUsage> |
findByCK_CT_P(java.lang.String containerKey,
long containerType,
long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns an ordered range of all the asset list entry usages where containerKey = ? and containerType = ? and plid = ?.
|
static java.util.List<AssetListEntryUsage> |
findByCK_CT_P(java.lang.String containerKey,
long containerType,
long plid,
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 containerKey = ? and containerType = ? and plid = ?.
|
static AssetListEntryUsage |
findByG_C_CK_CT_K_P(long groupId,
long classNameId,
java.lang.String containerKey,
long containerType,
java.lang.String key,
long plid)
Returns the asset list entry usage where groupId = ? and classNameId = ? and containerKey = ? and containerType = ? and key = ? and plid = ? or throws a
NoSuchEntryUsageException if it could not be found. |
static AssetListEntryUsage |
findByG_C_K_First(long groupId,
long classNameId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the first asset list entry usage in the ordered set where groupId = ? and classNameId = ? and key = ?.
|
static AssetListEntryUsage |
findByG_C_K_Last(long groupId,
long classNameId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the last asset list entry usage in the ordered set where groupId = ? and classNameId = ? and key = ?.
|
static AssetListEntryUsage[] |
findByG_C_K_PrevAndNext(long assetListEntryUsageId,
long groupId,
long classNameId,
java.lang.String key,
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 groupId = ? and classNameId = ? and key = ?.
|
static AssetListEntryUsage |
findByG_C_K_T_First(long groupId,
long classNameId,
java.lang.String key,
int type,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the first asset list entry usage in the ordered set where groupId = ? and classNameId = ? and key = ? and type = ?.
|
static AssetListEntryUsage |
findByG_C_K_T_Last(long groupId,
long classNameId,
java.lang.String key,
int type,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the last asset list entry usage in the ordered set where groupId = ? and classNameId = ? and key = ? and type = ?.
|
static AssetListEntryUsage[] |
findByG_C_K_T_PrevAndNext(long assetListEntryUsageId,
long groupId,
long classNameId,
java.lang.String key,
int type,
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 groupId = ? and classNameId = ? and key = ? and type = ?.
|
static java.util.List<AssetListEntryUsage> |
findByG_C_K_T(long groupId,
long classNameId,
java.lang.String key,
int type)
Returns all the asset list entry usages where groupId = ? and classNameId = ? and key = ? and type = ?.
|
static java.util.List<AssetListEntryUsage> |
findByG_C_K_T(long groupId,
long classNameId,
java.lang.String key,
int type,
int start,
int end)
Returns a range of all the asset list entry usages where groupId = ? and classNameId = ? and key = ? and type = ?.
|
static java.util.List<AssetListEntryUsage> |
findByG_C_K_T(long groupId,
long classNameId,
java.lang.String key,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns an ordered range of all the asset list entry usages where groupId = ? and classNameId = ? and key = ? and type = ?.
|
static java.util.List<AssetListEntryUsage> |
findByG_C_K_T(long groupId,
long classNameId,
java.lang.String key,
int type,
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 groupId = ? and classNameId = ? and key = ? and type = ?.
|
static java.util.List<AssetListEntryUsage> |
findByG_C_K(long groupId,
long classNameId,
java.lang.String key)
Returns all the asset list entry usages where groupId = ? and classNameId = ? and key = ?.
|
static java.util.List<AssetListEntryUsage> |
findByG_C_K(long groupId,
long classNameId,
java.lang.String key,
int start,
int end)
Returns a range of all the asset list entry usages where groupId = ? and classNameId = ? and key = ?.
|
static java.util.List<AssetListEntryUsage> |
findByG_C_K(long groupId,
long classNameId,
java.lang.String key,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns an ordered range of all the asset list entry usages where groupId = ? and classNameId = ? and key = ?.
|
static java.util.List<AssetListEntryUsage> |
findByG_C_K(long groupId,
long classNameId,
java.lang.String key,
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 groupId = ? and classNameId = ? and key = ?.
|
static AssetListEntryUsage |
findByPlid_First(long plid,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the first asset list entry usage in the ordered set where plid = ?.
|
static AssetListEntryUsage |
findByPlid_Last(long plid,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns the last asset list entry usage in the ordered set where plid = ?.
|
static AssetListEntryUsage[] |
findByPlid_PrevAndNext(long assetListEntryUsageId,
long plid,
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 plid = ?.
|
static java.util.List<AssetListEntryUsage> |
findByPlid(long plid)
Returns all the asset list entry usages where plid = ?.
|
static java.util.List<AssetListEntryUsage> |
findByPlid(long plid,
int start,
int end)
Returns a range of all the asset list entry usages where plid = ?.
|
static java.util.List<AssetListEntryUsage> |
findByPlid(long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
Returns an ordered range of all the asset list entry usages where plid = ?.
|
static java.util.List<AssetListEntryUsage> |
findByPlid(long plid,
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 plid = ?.
|
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 |
removeByCK_CT_P(java.lang.String containerKey,
long containerType,
long plid)
Removes all the asset list entry usages where containerKey = ? and containerType = ? and plid = ? from the database.
|
static AssetListEntryUsage |
removeByG_C_CK_CT_K_P(long groupId,
long classNameId,
java.lang.String containerKey,
long containerType,
java.lang.String key,
long plid)
Removes the asset list entry usage where groupId = ? and classNameId = ? and containerKey = ? and containerType = ? and key = ? and plid = ? from the database.
|
static void |
removeByG_C_K_T(long groupId,
long classNameId,
java.lang.String key,
int type)
Removes all the asset list entry usages where groupId = ? and classNameId = ? and key = ? and type = ? from the database.
|
static void |
removeByG_C_K(long groupId,
long classNameId,
java.lang.String key)
Removes all the asset list entry usages where groupId = ? and classNameId = ? and key = ? from the database.
|
static void |
removeByPlid(long plid)
Removes all the asset list entry usages where plid = ? 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> findByPlid(long plid)
plid
- the plidpublic static java.util.List<AssetListEntryUsage> findByPlid(long plid, 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
.
plid
- the plidstart
- 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> findByPlid(long plid, 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
.
plid
- the plidstart
- 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> findByPlid(long plid, 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
.
plid
- the plidstart
- 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 findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage findByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage[] findByPlid_PrevAndNext(long assetListEntryUsageId, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
assetListEntryUsageId
- the primary key of the current asset list entry usageplid
- the plidorderByComparator
- 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 removeByPlid(long plid)
plid
- the plidpublic static int countByPlid(long plid)
plid
- the plidpublic 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 java.util.List<AssetListEntryUsage> findByG_C_K(long groupId, long classNameId, java.lang.String key)
groupId
- the group IDclassNameId
- the class name IDkey
- the keypublic static java.util.List<AssetListEntryUsage> findByG_C_K(long groupId, long classNameId, java.lang.String key, 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
.
groupId
- the group IDclassNameId
- the class name IDkey
- the keystart
- 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> findByG_C_K(long groupId, long classNameId, java.lang.String key, 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
.
groupId
- the group IDclassNameId
- the class name IDkey
- the keystart
- 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> findByG_C_K(long groupId, long classNameId, java.lang.String key, 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
.
groupId
- the group IDclassNameId
- the class name IDkey
- the keystart
- 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 findByG_C_K_First(long groupId, long classNameId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
groupId
- the group IDclassNameId
- the class name IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByG_C_K_First(long groupId, long classNameId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage findByG_C_K_Last(long groupId, long classNameId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
groupId
- the group IDclassNameId
- the class name IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByG_C_K_Last(long groupId, long classNameId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage[] findByG_C_K_PrevAndNext(long assetListEntryUsageId, long groupId, long classNameId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
assetListEntryUsageId
- the primary key of the current asset list entry usagegroupId
- the group IDclassNameId
- the class name IDkey
- the keyorderByComparator
- 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 removeByG_C_K(long groupId, long classNameId, java.lang.String key)
groupId
- the group IDclassNameId
- the class name IDkey
- the keypublic static int countByG_C_K(long groupId, long classNameId, java.lang.String key)
groupId
- the group IDclassNameId
- the class name IDkey
- the keypublic 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 java.util.List<AssetListEntryUsage> findByCK_CT_P(java.lang.String containerKey, long containerType, long plid)
containerKey
- the container keycontainerType
- the container typeplid
- the plidpublic static java.util.List<AssetListEntryUsage> findByCK_CT_P(java.lang.String containerKey, long containerType, long plid, 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
.
containerKey
- the container keycontainerType
- the container typeplid
- the plidstart
- 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> findByCK_CT_P(java.lang.String containerKey, long containerType, long plid, 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
.
containerKey
- the container keycontainerType
- the container typeplid
- the plidstart
- 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> findByCK_CT_P(java.lang.String containerKey, long containerType, long plid, 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
.
containerKey
- the container keycontainerType
- the container typeplid
- the plidstart
- 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 findByCK_CT_P_First(java.lang.String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByCK_CT_P_First(java.lang.String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage findByCK_CT_P_Last(java.lang.String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByCK_CT_P_Last(java.lang.String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage[] findByCK_CT_P_PrevAndNext(long assetListEntryUsageId, java.lang.String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
assetListEntryUsageId
- the primary key of the current asset list entry usagecontainerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- 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 removeByCK_CT_P(java.lang.String containerKey, long containerType, long plid)
containerKey
- the container keycontainerType
- the container typeplid
- the plidpublic static int countByCK_CT_P(java.lang.String containerKey, long containerType, long plid)
containerKey
- the container keycontainerType
- the container typeplid
- the plidpublic static java.util.List<AssetListEntryUsage> findByG_C_K_T(long groupId, long classNameId, java.lang.String key, int type)
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the typepublic static java.util.List<AssetListEntryUsage> findByG_C_K_T(long groupId, long classNameId, java.lang.String key, int type, 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
.
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the typestart
- 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> findByG_C_K_T(long groupId, long classNameId, java.lang.String key, int type, 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
.
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the typestart
- 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> findByG_C_K_T(long groupId, long classNameId, java.lang.String key, int type, 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
.
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the typestart
- 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 findByG_C_K_T_First(long groupId, long classNameId, java.lang.String key, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByG_C_K_T_First(long groupId, long classNameId, java.lang.String key, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage findByG_C_K_T_Last(long groupId, long classNameId, java.lang.String key, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByG_C_K_T_Last(long groupId, long classNameId, java.lang.String key, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage[] findByG_C_K_T_PrevAndNext(long assetListEntryUsageId, long groupId, long classNameId, java.lang.String key, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException
assetListEntryUsageId
- the primary key of the current asset list entry usagegroupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the typeorderByComparator
- 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 removeByG_C_K_T(long groupId, long classNameId, java.lang.String key, int type)
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the typepublic static int countByG_C_K_T(long groupId, long classNameId, java.lang.String key, int type)
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the typepublic static AssetListEntryUsage findByG_C_CK_CT_K_P(long groupId, long classNameId, java.lang.String containerKey, long containerType, java.lang.String key, long plid) throws NoSuchEntryUsageException
NoSuchEntryUsageException
if it could not be found.groupId
- the group IDclassNameId
- the class name IDcontainerKey
- the container keycontainerType
- the container typekey
- the keyplid
- the plidNoSuchEntryUsageException
- if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByG_C_CK_CT_K_P(long groupId, long classNameId, java.lang.String containerKey, long containerType, java.lang.String key, long plid)
null
if it could not be found. Uses the finder cache.groupId
- the group IDclassNameId
- the class name IDcontainerKey
- the container keycontainerType
- the container typekey
- the keyplid
- the plidnull
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage fetchByG_C_CK_CT_K_P(long groupId, long classNameId, java.lang.String containerKey, long containerType, java.lang.String key, long plid, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDclassNameId
- the class name IDcontainerKey
- the container keycontainerType
- the container typekey
- the keyplid
- the pliduseFinderCache
- whether to use the finder cachenull
if a matching asset list entry usage could not be foundpublic static AssetListEntryUsage removeByG_C_CK_CT_K_P(long groupId, long classNameId, java.lang.String containerKey, long containerType, java.lang.String key, long plid) throws NoSuchEntryUsageException
groupId
- the group IDclassNameId
- the class name IDcontainerKey
- the container keycontainerType
- the container typekey
- the keyplid
- the plidNoSuchEntryUsageException
public static int countByG_C_CK_CT_K_P(long groupId, long classNameId, java.lang.String containerKey, long containerType, java.lang.String key, long plid)
groupId
- the group IDclassNameId
- the class name IDcontainerKey
- the container keycontainerType
- the container typekey
- the keyplid
- the plidpublic 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()