Class AssetListEntryUsageUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(AssetListEntryUsage assetListEntryUsage) Caches the asset list entry usage in the entity cache if it is enabled.static void
cacheResult
(List<AssetListEntryUsage> assetListEntryUsages) Caches the asset list entry usages in the entity cache if it is enabled.static void
static void
clearCache
(AssetListEntryUsage assetListEntryUsage) static int
countAll()
Returns the number of asset list entry usages.static int
countByC_C_K
(long companyId, long classNameId, String key) Returns the number of asset list entry usages where companyId = ? and classNameId = ? and key = ?.static int
countByCK_CT_P
(String containerKey, long containerType, long plid) Returns the number of asset list entry usages where containerKey = ? and containerType = ? and plid = ?.static int
countByCT_P
(long containerType, long plid) Returns the number of asset list entry usages where containerType = ? and plid = ?.static int
countByG_C_CK_CT_K_P
(long groupId, long classNameId, String containerKey, long containerType, 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
(long groupId, long classNameId, String key) Returns the number of asset list entry usages where groupId = ? and classNameId = ? and key = ?.static int
countByG_C_K_T
(long groupId, long classNameId, String key, int type) Returns the number of asset list entry usages where groupId = ? and classNameId = ? and key = ? and type = ?.static int
countByPlid
(long plid) Returns the number of asset list entry usages where plid = ?.static int
countByUuid
(String uuid) Returns the number of asset list entry usages where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of asset list entry usages where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of asset list entry usages where uuid = ? and groupId = ?.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
fetchByC_C_K_First
(long companyId, long classNameId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) Returns the first asset list entry usage in the ordered set where companyId = ? and classNameId = ? and key = ?.static AssetListEntryUsage
fetchByC_C_K_Last
(long companyId, long classNameId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) Returns the last asset list entry usage in the ordered set where companyId = ? and classNameId = ? and key = ?.static AssetListEntryUsage
fetchByCK_CT_P_First
(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
(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
fetchByCT_P_First
(long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) Returns the first asset list entry usage in the ordered set where containerType = ? and plid = ?.static AssetListEntryUsage
fetchByCT_P_Last
(long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) Returns the last asset list entry usage in the ordered set where containerType = ? and plid = ?.static AssetListEntryUsage
fetchByG_C_CK_CT_K_P
(long groupId, long classNameId, String containerKey, long containerType, String key, long plid) Returns the asset list entry usage where groupId = ? and classNameId = ? and containerKey = ? and containerType = ? and key = ? and plid = ? or returnsnull
if it could not be found.static AssetListEntryUsage
fetchByG_C_CK_CT_K_P
(long groupId, long classNameId, String containerKey, long containerType, 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 returnsnull
if it could not be found, optionally using the finder cache.static AssetListEntryUsage
fetchByG_C_K_First
(long groupId, long classNameId, 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, 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, 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, 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 returnsnull
if it could not be found.static Map<Serializable,
AssetListEntryUsage> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static AssetListEntryUsage
fetchByUuid_C_First
(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
(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
(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
(String uuid, long groupId) Returns the asset list entry usage where uuid = ? and groupId = ? or returnsnull
if it could not be found.static AssetListEntryUsage
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the asset list entry usage where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static AssetListEntryUsage
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) Returns the last asset list entry usage in the ordered set where uuid = ?.static List<AssetListEntryUsage>
findAll()
Returns all the asset list entry usages.static List<AssetListEntryUsage>
findAll
(int start, int end) Returns a range of all the asset list entry usages.static 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 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 List<AssetListEntryUsage>
findByC_C_K
(long companyId, long classNameId, String key) Returns all the asset list entry usages where companyId = ? and classNameId = ? and key = ?.static List<AssetListEntryUsage>
findByC_C_K
(long companyId, long classNameId, String key, int start, int end) Returns a range of all the asset list entry usages where companyId = ? and classNameId = ? and key = ?.static List<AssetListEntryUsage>
findByC_C_K
(long companyId, long classNameId, 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 companyId = ? and classNameId = ? and key = ?.static List<AssetListEntryUsage>
findByC_C_K
(long companyId, long classNameId, 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 companyId = ? and classNameId = ? and key = ?.static AssetListEntryUsage
findByC_C_K_First
(long companyId, long classNameId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) Returns the first asset list entry usage in the ordered set where companyId = ? and classNameId = ? and key = ?.static AssetListEntryUsage
findByC_C_K_Last
(long companyId, long classNameId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) Returns the last asset list entry usage in the ordered set where companyId = ? and classNameId = ? and key = ?.static AssetListEntryUsage[]
findByC_C_K_PrevAndNext
(long assetListEntryUsageId, long companyId, long classNameId, 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 companyId = ? and classNameId = ? and key = ?.static List<AssetListEntryUsage>
findByCK_CT_P
(String containerKey, long containerType, long plid) Returns all the asset list entry usages where containerKey = ? and containerType = ? and plid = ?.static List<AssetListEntryUsage>
findByCK_CT_P
(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 List<AssetListEntryUsage>
findByCK_CT_P
(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 List<AssetListEntryUsage>
findByCK_CT_P
(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
findByCK_CT_P_First
(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
(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, 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 List<AssetListEntryUsage>
findByCT_P
(long containerType, long plid) Returns all the asset list entry usages where containerType = ? and plid = ?.static List<AssetListEntryUsage>
findByCT_P
(long containerType, long plid, int start, int end) Returns a range of all the asset list entry usages where containerType = ? and plid = ?.static List<AssetListEntryUsage>
findByCT_P
(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 containerType = ? and plid = ?.static List<AssetListEntryUsage>
findByCT_P
(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 containerType = ? and plid = ?.static AssetListEntryUsage
findByCT_P_First
(long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) Returns the first asset list entry usage in the ordered set where containerType = ? and plid = ?.static AssetListEntryUsage
findByCT_P_Last
(long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) Returns the last asset list entry usage in the ordered set where containerType = ? and plid = ?.static AssetListEntryUsage[]
findByCT_P_PrevAndNext
(long assetListEntryUsageId, 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 containerType = ? and plid = ?.static AssetListEntryUsage
findByG_C_CK_CT_K_P
(long groupId, long classNameId, String containerKey, long containerType, String key, long plid) Returns the asset list entry usage where groupId = ? and classNameId = ? and containerKey = ? and containerType = ? and key = ? and plid = ? or throws aNoSuchEntryUsageException
if it could not be found.static List<AssetListEntryUsage>
findByG_C_K
(long groupId, long classNameId, String key) Returns all the asset list entry usages where groupId = ? and classNameId = ? and key = ?.static List<AssetListEntryUsage>
findByG_C_K
(long groupId, long classNameId, String key, int start, int end) Returns a range of all the asset list entry usages where groupId = ? and classNameId = ? and key = ?.static List<AssetListEntryUsage>
findByG_C_K
(long groupId, long classNameId, 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 List<AssetListEntryUsage>
findByG_C_K
(long groupId, long classNameId, 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
findByG_C_K_First
(long groupId, long classNameId, 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, 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, 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 List<AssetListEntryUsage>
findByG_C_K_T
(long groupId, long classNameId, String key, int type) Returns all the asset list entry usages where groupId = ? and classNameId = ? and key = ? and type = ?.static List<AssetListEntryUsage>
findByG_C_K_T
(long groupId, long classNameId, 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 List<AssetListEntryUsage>
findByG_C_K_T
(long groupId, long classNameId, 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 List<AssetListEntryUsage>
findByG_C_K_T
(long groupId, long classNameId, 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 AssetListEntryUsage
findByG_C_K_T_First
(long groupId, long classNameId, 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, 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, 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 List<AssetListEntryUsage>
findByPlid
(long plid) Returns all the asset list entry usages where plid = ?.static List<AssetListEntryUsage>
findByPlid
(long plid, int start, int end) Returns a range of all the asset list entry usages where plid = ?.static 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 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
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 AssetListEntryUsage
findByPrimaryKey
(long assetListEntryUsageId) Returns the asset list entry usage with the primary key or throws aNoSuchEntryUsageException
if it could not be found.static List<AssetListEntryUsage>
findByUuid
(String uuid) Returns all the asset list entry usages where uuid = ?.static List<AssetListEntryUsage>
findByUuid
(String uuid, int start, int end) Returns a range of all the asset list entry usages where uuid = ?.static List<AssetListEntryUsage>
findByUuid
(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 List<AssetListEntryUsage>
findByUuid
(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 List<AssetListEntryUsage>
findByUuid_C
(String uuid, long companyId) Returns all the asset list entry usages where uuid = ? and companyId = ?.static List<AssetListEntryUsage>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the asset list entry usages where uuid = ? and companyId = ?.static List<AssetListEntryUsage>
findByUuid_C
(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 List<AssetListEntryUsage>
findByUuid_C
(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_C_First
(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
(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, 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 AssetListEntryUsage
findByUuid_First
(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
(String uuid, long groupId) Returns the asset list entry usage where uuid = ? and groupId = ? or throws aNoSuchEntryUsageException
if it could not be found.static AssetListEntryUsage
findByUuid_Last
(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, 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 List<AssetListEntryUsage>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<AssetListEntryUsage>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<AssetListEntryUsage>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) static AssetListEntryUsage
remove
(long assetListEntryUsageId) Removes the asset list entry usage with the primary key from the database.static void
Removes all the asset list entry usages from the database.static void
removeByC_C_K
(long companyId, long classNameId, String key) Removes all the asset list entry usages where companyId = ? and classNameId = ? and key = ? from the database.static void
removeByCK_CT_P
(String containerKey, long containerType, long plid) Removes all the asset list entry usages where containerKey = ? and containerType = ? and plid = ? from the database.static void
removeByCT_P
(long containerType, long plid) Removes all the asset list entry usages where containerType = ? and plid = ? from the database.static AssetListEntryUsage
removeByG_C_CK_CT_K_P
(long groupId, long classNameId, String containerKey, long containerType, 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
(long groupId, long classNameId, String key) Removes all the asset list entry usages where groupId = ? and classNameId = ? and key = ? from the database.static void
removeByG_C_K_T
(long groupId, long classNameId, String key, int type) Removes all the asset list entry usages where groupId = ? and classNameId = ? and key = ? and type = ? from the database.static void
removeByPlid
(long plid) Removes all the asset list entry usages where plid = ? from the database.static void
removeByUuid
(String uuid) Removes all the asset list entry usages where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the asset list entry usages where uuid = ? and companyId = ? from the database.static AssetListEntryUsage
removeByUUID_G
(String uuid, long groupId) Removes the asset list entry usage where uuid = ? and groupId = ? from the database.static void
setPersistence
(AssetListEntryUsagePersistence persistence) static AssetListEntryUsage
update
(AssetListEntryUsage assetListEntryUsage) static AssetListEntryUsage
update
(AssetListEntryUsage assetListEntryUsage, com.liferay.portal.kernel.service.ServiceContext serviceContext) static AssetListEntryUsage
updateImpl
(AssetListEntryUsage assetListEntryUsage)
-
Constructor Details
-
AssetListEntryUsageUtil
public AssetListEntryUsageUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,AssetListEntryUsage> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<AssetListEntryUsage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<AssetListEntryUsage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<AssetListEntryUsage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static AssetListEntryUsage update(AssetListEntryUsage assetListEntryUsage, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the asset list entry usages where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching asset list entry usages
-
findByUuid
Returns a range of all the asset list entry usages where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset list entry usages
-
findByUuid
public static List<AssetListEntryUsage> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset list entry usages
-
findByUuid
public static List<AssetListEntryUsage> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset list entry usages
-
findByUuid_First
public static AssetListEntryUsage findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the first asset list entry usage in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByUuid_First
public static AssetListEntryUsage fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) Returns the first asset list entry usage in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
findByUuid_Last
public static AssetListEntryUsage findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the last asset list entry usage in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByUuid_Last
public static AssetListEntryUsage fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) Returns the last asset list entry usage in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
findByUuid_PrevAndNext
public static AssetListEntryUsage[] findByUuid_PrevAndNext(long assetListEntryUsageId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the asset list entry usages before and after the current asset list entry usage in the ordered set where uuid = ?.- Parameters:
assetListEntryUsageId
- the primary key of the current asset list entry usageuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a asset list entry usage with the primary key could not be foundNoSuchEntryUsageException
-
removeByUuid
Removes all the asset list entry usages where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of asset list entry usages where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching asset list entry usages
-
findByUUID_G
public static AssetListEntryUsage findByUUID_G(String uuid, long groupId) throws NoSuchEntryUsageException Returns the asset list entry usage where uuid = ? and groupId = ? or throws aNoSuchEntryUsageException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByUUID_G
Returns the asset list entry usage where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
fetchByUUID_G
Returns the asset list entry usage where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
removeByUUID_G
public static AssetListEntryUsage removeByUUID_G(String uuid, long groupId) throws NoSuchEntryUsageException Removes the asset list entry usage where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the asset list entry usage that was removed
- Throws:
NoSuchEntryUsageException
-
countByUUID_G
Returns the number of asset list entry usages where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching asset list entry usages
-
findByUuid_C
Returns all the asset list entry usages where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching asset list entry usages
-
findByUuid_C
public static List<AssetListEntryUsage> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the asset list entry usages where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset list entry usages
-
findByUuid_C
public static List<AssetListEntryUsage> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset list entry usages
-
findByUuid_C
public static List<AssetListEntryUsage> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset list entry usages
-
findByUuid_C_First
public static AssetListEntryUsage findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the first asset list entry usage in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByUuid_C_First
public static AssetListEntryUsage fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
findByUuid_C_Last
public static AssetListEntryUsage findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the last asset list entry usage in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByUuid_C_Last
public static AssetListEntryUsage fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
findByUuid_C_PrevAndNext
public static AssetListEntryUsage[] findByUuid_C_PrevAndNext(long assetListEntryUsageId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the asset list entry usages before and after the current asset list entry usage in the ordered set where uuid = ? and companyId = ?.- Parameters:
assetListEntryUsageId
- the primary key of the current asset list entry usageuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a asset list entry usage with the primary key could not be foundNoSuchEntryUsageException
-
removeByUuid_C
Removes all the asset list entry usages where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of asset list entry usages where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching asset list entry usages
-
findByPlid
Returns all the asset list entry usages where plid = ?.- Parameters:
plid
- the plid- Returns:
- the matching asset list entry usages
-
findByPlid
Returns a range of all the asset list entry usages where plid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset list entry usages
-
findByPlid
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset list entry usages
-
findByPlid
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset list entry usages
-
findByPlid_First
public static AssetListEntryUsage findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the first asset list entry usage in the ordered set where plid = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByPlid_First
public 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 = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
findByPlid_Last
public static AssetListEntryUsage findByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the last asset list entry usage in the ordered set where plid = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByPlid_Last
public 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 = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
findByPlid_PrevAndNext
public static AssetListEntryUsage[] findByPlid_PrevAndNext(long assetListEntryUsageId, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the asset list entry usages before and after the current asset list entry usage in the ordered set where plid = ?.- Parameters:
assetListEntryUsageId
- the primary key of the current asset list entry usageplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a asset list entry usage with the primary key could not be foundNoSuchEntryUsageException
-
removeByPlid
public static void removeByPlid(long plid) Removes all the asset list entry usages where plid = ? from the database.- Parameters:
plid
- the plid
-
countByPlid
public static int countByPlid(long plid) Returns the number of asset list entry usages where plid = ?.- Parameters:
plid
- the plid- Returns:
- the number of matching asset list entry usages
-
findByCT_P
Returns all the asset list entry usages where containerType = ? and plid = ?.- Parameters:
containerType
- the container typeplid
- the plid- Returns:
- the matching asset list entry usages
-
findByCT_P
public static List<AssetListEntryUsage> findByCT_P(long containerType, long plid, int start, int end) Returns a range of all the asset list entry usages where containerType = ? and plid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
containerType
- 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)- Returns:
- the range of matching asset list entry usages
-
findByCT_P
public static List<AssetListEntryUsage> findByCT_P(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 containerType = ? and plid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
containerType
- 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 (optionallynull
)- Returns:
- the ordered range of matching asset list entry usages
-
findByCT_P
public static List<AssetListEntryUsage> findByCT_P(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 containerType = ? and plid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
containerType
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset list entry usages
-
findByCT_P_First
public static AssetListEntryUsage findByCT_P_First(long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the first asset list entry usage in the ordered set where containerType = ? and plid = ?.- Parameters:
containerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByCT_P_First
public static AssetListEntryUsage fetchByCT_P_First(long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) Returns the first asset list entry usage in the ordered set where containerType = ? and plid = ?.- Parameters:
containerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
findByCT_P_Last
public static AssetListEntryUsage findByCT_P_Last(long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the last asset list entry usage in the ordered set where containerType = ? and plid = ?.- Parameters:
containerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByCT_P_Last
public static AssetListEntryUsage fetchByCT_P_Last(long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) Returns the last asset list entry usage in the ordered set where containerType = ? and plid = ?.- Parameters:
containerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
findByCT_P_PrevAndNext
public static AssetListEntryUsage[] findByCT_P_PrevAndNext(long assetListEntryUsageId, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the asset list entry usages before and after the current asset list entry usage in the ordered set where containerType = ? and plid = ?.- Parameters:
assetListEntryUsageId
- the primary key of the current asset list entry usagecontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a asset list entry usage with the primary key could not be foundNoSuchEntryUsageException
-
removeByCT_P
public static void removeByCT_P(long containerType, long plid) Removes all the asset list entry usages where containerType = ? and plid = ? from the database.- Parameters:
containerType
- the container typeplid
- the plid
-
countByCT_P
public static int countByCT_P(long containerType, long plid) Returns the number of asset list entry usages where containerType = ? and plid = ?.- Parameters:
containerType
- the container typeplid
- the plid- Returns:
- the number of matching asset list entry usages
-
findByG_C_K
Returns all the asset list entry usages where groupId = ? and classNameId = ? and key = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDkey
- the key- Returns:
- the matching asset list entry usages
-
findByG_C_K
public static List<AssetListEntryUsage> findByG_C_K(long groupId, long classNameId, String key, int start, int end) Returns a range of all the asset list entry usages where groupId = ? and classNameId = ? and key = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset list entry usages
-
findByG_C_K
public static List<AssetListEntryUsage> findByG_C_K(long groupId, long classNameId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset list entry usages
-
findByG_C_K
public static List<AssetListEntryUsage> findByG_C_K(long groupId, long classNameId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset list entry usages
-
findByG_C_K_First
public static AssetListEntryUsage findByG_C_K_First(long groupId, long classNameId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the first asset list entry usage in the ordered set where groupId = ? and classNameId = ? and key = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDkey
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByG_C_K_First
public static AssetListEntryUsage fetchByG_C_K_First(long groupId, long classNameId, 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 = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDkey
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
findByG_C_K_Last
public static AssetListEntryUsage findByG_C_K_Last(long groupId, long classNameId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the last asset list entry usage in the ordered set where groupId = ? and classNameId = ? and key = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDkey
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByG_C_K_Last
public static AssetListEntryUsage fetchByG_C_K_Last(long groupId, long classNameId, 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 = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDkey
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
findByG_C_K_PrevAndNext
public static AssetListEntryUsage[] findByG_C_K_PrevAndNext(long assetListEntryUsageId, long groupId, long classNameId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a asset list entry usage with the primary key could not be foundNoSuchEntryUsageException
-
removeByG_C_K
Removes all the asset list entry usages where groupId = ? and classNameId = ? and key = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name IDkey
- the key
-
countByG_C_K
Returns the number of asset list entry usages where groupId = ? and classNameId = ? and key = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDkey
- the key- Returns:
- the number of matching asset list entry usages
-
findByC_C_K
Returns all the asset list entry usages where companyId = ? and classNameId = ? and key = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDkey
- the key- Returns:
- the matching asset list entry usages
-
findByC_C_K
public static List<AssetListEntryUsage> findByC_C_K(long companyId, long classNameId, String key, int start, int end) Returns a range of all the asset list entry usages where companyId = ? and classNameId = ? and key = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
companyId
- the company 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)- Returns:
- the range of matching asset list entry usages
-
findByC_C_K
public static List<AssetListEntryUsage> findByC_C_K(long companyId, long classNameId, 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 companyId = ? and classNameId = ? and key = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
companyId
- the company 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 (optionallynull
)- Returns:
- the ordered range of matching asset list entry usages
-
findByC_C_K
public static List<AssetListEntryUsage> findByC_C_K(long companyId, long classNameId, 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 companyId = ? and classNameId = ? and key = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
companyId
- the company 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset list entry usages
-
findByC_C_K_First
public static AssetListEntryUsage findByC_C_K_First(long companyId, long classNameId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the first asset list entry usage in the ordered set where companyId = ? and classNameId = ? and key = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDkey
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByC_C_K_First
public static AssetListEntryUsage fetchByC_C_K_First(long companyId, long classNameId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) Returns the first asset list entry usage in the ordered set where companyId = ? and classNameId = ? and key = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDkey
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
findByC_C_K_Last
public static AssetListEntryUsage findByC_C_K_Last(long companyId, long classNameId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the last asset list entry usage in the ordered set where companyId = ? and classNameId = ? and key = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDkey
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByC_C_K_Last
public static AssetListEntryUsage fetchByC_C_K_Last(long companyId, long classNameId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) Returns the last asset list entry usage in the ordered set where companyId = ? and classNameId = ? and key = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDkey
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
findByC_C_K_PrevAndNext
public static AssetListEntryUsage[] findByC_C_K_PrevAndNext(long assetListEntryUsageId, long companyId, long classNameId, String key, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the asset list entry usages before and after the current asset list entry usage in the ordered set where companyId = ? and classNameId = ? and key = ?.- Parameters:
assetListEntryUsageId
- the primary key of the current asset list entry usagecompanyId
- the company IDclassNameId
- the class name IDkey
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a asset list entry usage with the primary key could not be foundNoSuchEntryUsageException
-
removeByC_C_K
Removes all the asset list entry usages where companyId = ? and classNameId = ? and key = ? from the database.- Parameters:
companyId
- the company IDclassNameId
- the class name IDkey
- the key
-
countByC_C_K
Returns the number of asset list entry usages where companyId = ? and classNameId = ? and key = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDkey
- the key- Returns:
- the number of matching asset list entry usages
-
findByCK_CT_P
public static List<AssetListEntryUsage> findByCK_CT_P(String containerKey, long containerType, long plid) Returns all the asset list entry usages where containerKey = ? and containerType = ? and plid = ?.- Parameters:
containerKey
- the container keycontainerType
- the container typeplid
- the plid- Returns:
- the matching asset list entry usages
-
findByCK_CT_P
public static List<AssetListEntryUsage> findByCK_CT_P(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset list entry usages
-
findByCK_CT_P
public static List<AssetListEntryUsage> findByCK_CT_P(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset list entry usages
-
findByCK_CT_P
public static List<AssetListEntryUsage> findByCK_CT_P(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset list entry usages
-
findByCK_CT_P_First
public static AssetListEntryUsage findByCK_CT_P_First(String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the first asset list entry usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.- Parameters:
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByCK_CT_P_First
public static AssetListEntryUsage fetchByCK_CT_P_First(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 = ?.- Parameters:
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
findByCK_CT_P_Last
public static AssetListEntryUsage findByCK_CT_P_Last(String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the last asset list entry usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.- Parameters:
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByCK_CT_P_Last
public static AssetListEntryUsage fetchByCK_CT_P_Last(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 = ?.- Parameters:
containerKey
- the container keycontainerType
- the container typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
findByCK_CT_P_PrevAndNext
public static AssetListEntryUsage[] findByCK_CT_P_PrevAndNext(long assetListEntryUsageId, String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a asset list entry usage with the primary key could not be foundNoSuchEntryUsageException
-
removeByCK_CT_P
Removes all the asset list entry usages where containerKey = ? and containerType = ? and plid = ? from the database.- Parameters:
containerKey
- the container keycontainerType
- the container typeplid
- the plid
-
countByCK_CT_P
Returns the number of asset list entry usages where containerKey = ? and containerType = ? and plid = ?.- Parameters:
containerKey
- the container keycontainerType
- the container typeplid
- the plid- Returns:
- the number of matching asset list entry usages
-
findByG_C_K_T
public static List<AssetListEntryUsage> findByG_C_K_T(long groupId, long classNameId, String key, int type) Returns all the asset list entry usages where groupId = ? and classNameId = ? and key = ? and type = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the type- Returns:
- the matching asset list entry usages
-
findByG_C_K_T
public static List<AssetListEntryUsage> findByG_C_K_T(long groupId, long classNameId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset list entry usages
-
findByG_C_K_T
public static List<AssetListEntryUsage> findByG_C_K_T(long groupId, long classNameId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset list entry usages
-
findByG_C_K_T
public static List<AssetListEntryUsage> findByG_C_K_T(long groupId, long classNameId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset list entry usages
-
findByG_C_K_T_First
public static AssetListEntryUsage findByG_C_K_T_First(long groupId, long classNameId, String key, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the first asset list entry usage in the ordered set where groupId = ? and classNameId = ? and key = ? and type = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByG_C_K_T_First
public static AssetListEntryUsage fetchByG_C_K_T_First(long groupId, long classNameId, 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 = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
findByG_C_K_T_Last
public static AssetListEntryUsage findByG_C_K_T_Last(long groupId, long classNameId, String key, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException Returns the last asset list entry usage in the ordered set where groupId = ? and classNameId = ? and key = ? and type = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByG_C_K_T_Last
public static AssetListEntryUsage fetchByG_C_K_T_Last(long groupId, long classNameId, 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 = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
findByG_C_K_T_PrevAndNext
public static AssetListEntryUsage[] findByG_C_K_T_PrevAndNext(long assetListEntryUsageId, long groupId, long classNameId, String key, int type, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator) throws NoSuchEntryUsageException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a asset list entry usage with the primary key could not be foundNoSuchEntryUsageException
-
removeByG_C_K_T
Removes all the asset list entry usages where groupId = ? and classNameId = ? and key = ? and type = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the type
-
countByG_C_K_T
Returns the number of asset list entry usages where groupId = ? and classNameId = ? and key = ? and type = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDkey
- the keytype
- the type- Returns:
- the number of matching asset list entry usages
-
findByG_C_CK_CT_K_P
public static AssetListEntryUsage findByG_C_CK_CT_K_P(long groupId, long classNameId, String containerKey, long containerType, String key, long plid) throws NoSuchEntryUsageException Returns the asset list entry usage where groupId = ? and classNameId = ? and containerKey = ? and containerType = ? and key = ? and plid = ? or throws aNoSuchEntryUsageException
if it could not be found.- Parameters:
groupId
- the group IDclassNameId
- the class name IDcontainerKey
- the container keycontainerType
- the container typekey
- the keyplid
- the plid- Returns:
- the matching asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a matching asset list entry usage could not be foundNoSuchEntryUsageException
-
fetchByG_C_CK_CT_K_P
public static AssetListEntryUsage fetchByG_C_CK_CT_K_P(long groupId, long classNameId, String containerKey, long containerType, String key, long plid) Returns the asset list entry usage where groupId = ? and classNameId = ? and containerKey = ? and containerType = ? and key = ? and plid = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDclassNameId
- the class name IDcontainerKey
- the container keycontainerType
- the container typekey
- the keyplid
- the plid- Returns:
- the matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
fetchByG_C_CK_CT_K_P
public static AssetListEntryUsage fetchByG_C_CK_CT_K_P(long groupId, long classNameId, String containerKey, long containerType, 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 returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDclassNameId
- the class name IDcontainerKey
- the container keycontainerType
- the container typekey
- the keyplid
- the pliduseFinderCache
- whether to use the finder cache- Returns:
- the matching asset list entry usage, or
null
if a matching asset list entry usage could not be found
-
removeByG_C_CK_CT_K_P
public static AssetListEntryUsage removeByG_C_CK_CT_K_P(long groupId, long classNameId, String containerKey, long containerType, String key, long plid) throws NoSuchEntryUsageException Removes the asset list entry usage where groupId = ? and classNameId = ? and containerKey = ? and containerType = ? and key = ? and plid = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name IDcontainerKey
- the container keycontainerType
- the container typekey
- the keyplid
- the plid- Returns:
- the asset list entry usage that was removed
- Throws:
NoSuchEntryUsageException
-
countByG_C_CK_CT_K_P
public static int countByG_C_CK_CT_K_P(long groupId, long classNameId, String containerKey, long containerType, String key, long plid) Returns the number of asset list entry usages where groupId = ? and classNameId = ? and containerKey = ? and containerType = ? and key = ? and plid = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDcontainerKey
- the container keycontainerType
- the container typekey
- the keyplid
- the plid- Returns:
- the number of matching asset list entry usages
-
cacheResult
Caches the asset list entry usage in the entity cache if it is enabled.- Parameters:
assetListEntryUsage
- the asset list entry usage
-
cacheResult
Caches the asset list entry usages in the entity cache if it is enabled.- Parameters:
assetListEntryUsages
- the asset list entry usages
-
create
Creates a new asset list entry usage with the primary key. Does not add the asset list entry usage to the database.- Parameters:
assetListEntryUsageId
- the primary key for the new asset list entry usage- Returns:
- the new asset list entry usage
-
remove
public static AssetListEntryUsage remove(long assetListEntryUsageId) throws NoSuchEntryUsageException Removes the asset list entry usage with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
assetListEntryUsageId
- the primary key of the asset list entry usage- Returns:
- the asset list entry usage that was removed
- Throws:
NoSuchEntryUsageException
- if a asset list entry usage with the primary key could not be foundNoSuchEntryUsageException
-
updateImpl
-
findByPrimaryKey
public static AssetListEntryUsage findByPrimaryKey(long assetListEntryUsageId) throws NoSuchEntryUsageException Returns the asset list entry usage with the primary key or throws aNoSuchEntryUsageException
if it could not be found.- Parameters:
assetListEntryUsageId
- the primary key of the asset list entry usage- Returns:
- the asset list entry usage
- Throws:
NoSuchEntryUsageException
- if a asset list entry usage with the primary key could not be foundNoSuchEntryUsageException
-
fetchByPrimaryKey
Returns the asset list entry usage with the primary key or returnsnull
if it could not be found.- Parameters:
assetListEntryUsageId
- the primary key of the asset list entry usage- Returns:
- the asset list entry usage, or
null
if a asset list entry usage with the primary key could not be found
-
findAll
Returns all the asset list entry usages.- Returns:
- the asset list entry usages
-
findAll
Returns a range of all the asset list entry usages.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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)- Returns:
- the range of asset list entry usages
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of asset list entry usages
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetListEntryUsageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of asset list entry usages
-
removeAll
public static void removeAll()Removes all the asset list entry usages from the database. -
countAll
public static int countAll()Returns the number of asset list entry usages.- Returns:
- the number of asset list entry usages
-
getPersistence
-
setPersistence
-