Class AssetListEntryUsageUtil

java.lang.Object
com.liferay.asset.list.service.persistence.AssetListEntryUsageUtil

public class AssetListEntryUsageUtil extends Object
The persistence utility for the asset list entry usage service. This utility wraps 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 Details

    • AssetListEntryUsageUtil

      public AssetListEntryUsageUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(AssetListEntryUsage assetListEntryUsage)
      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

      public static AssetListEntryUsage update(AssetListEntryUsage assetListEntryUsage)
      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

      public static List<AssetListEntryUsage> findByUuid(String uuid)
      Returns all the asset list entry usages where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching asset list entry usages
    • findByUuid

      public static List<AssetListEntryUsage> findByUuid(String uuid, int start, int end)
      Returns a range of all the asset list entry usages where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset list entry usages
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 usage
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchEntryUsageException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the asset list entry usages where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      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 a NoSuchEntryUsageException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • fetchByUUID_G

      public static AssetListEntryUsage fetchByUUID_G(String uuid, long groupId)
      Returns the asset list entry usage where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - 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

      public static AssetListEntryUsage fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the asset list entry usage where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - 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 uuid
      groupId - the group ID
      Returns:
      the asset list entry usage that was removed
      Throws:
      NoSuchEntryUsageException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of asset list entry usages where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching asset list entry usages
    • findByUuid_C

      public static List<AssetListEntryUsage> findByUuid_C(String uuid, long companyId)
      Returns all the asset list entry usages where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset list entry usages
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 usage
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchEntryUsageException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the asset list entry usages where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of asset list entry usages where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching asset list entry usages
    • findByPlid

      public static List<AssetListEntryUsage> findByPlid(long plid)
      Returns all the asset list entry usages where plid = ?.
      Parameters:
      plid - the plid
      Returns:
      the matching asset list entry usages
    • findByPlid

      public static List<AssetListEntryUsage> findByPlid(long plid, int start, int end)
      Returns a range of all the asset list entry usages where plid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of asset list entry usages
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 plid
      orderByComparator - the comparator to order the set by (optionally null)
      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 plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 plid
      orderByComparator - the comparator to order the set by (optionally null)
      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 usage
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchEntryUsageException
    • 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

      public static List<AssetListEntryUsage> findByCT_P(long containerType, long plid)
      Returns all the asset list entry usages where containerType = ? and plid = ?.
      Parameters:
      containerType - the container type
      plid - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      containerType - the container type
      plid - the plid
      start - the lower bound of the range of asset list entry usages
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      containerType - the container type
      plid - the plid
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      containerType - the container type
      plid - the plid
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      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 type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      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 usage
      containerType - the container type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchEntryUsageException
    • 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 type
      plid - 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 type
      plid - the plid
      Returns:
      the number of matching asset list entry usages
    • findByG_C_K

      public 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 = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      key - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      key - the key
      start - the lower bound of the range of asset list entry usages
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      key - the key
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      key - the key
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      classNameId - the class name ID
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 ID
      classNameId - the class name ID
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classNameId - the class name ID
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 ID
      classNameId - the class name ID
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      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 usage
      groupId - the group ID
      classNameId - the class name ID
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchEntryUsageException
    • removeByG_C_K

      public 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.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      key - the key
    • countByG_C_K

      public 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 = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      key - the key
      Returns:
      the number of matching asset list entry usages
    • findByC_C_K

      public 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 = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      key - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      key - the key
      start - the lower bound of the range of asset list entry usages
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      key - the key
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      key - the key
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      classNameId - the class name ID
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 ID
      classNameId - the class name ID
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classNameId - the class name ID
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 ID
      classNameId - the class name ID
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      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 usage
      companyId - the company ID
      classNameId - the class name ID
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchEntryUsageException
    • removeByC_C_K

      public 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.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      key - the key
    • countByC_C_K

      public 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 = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      key - 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 key
      containerType - the container type
      plid - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      containerKey - the container key
      containerType - the container type
      plid - the plid
      start - the lower bound of the range of asset list entry usages
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      containerKey - the container key
      containerType - the container type
      plid - the plid
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      containerKey - the container key
      containerType - the container type
      plid - the plid
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 key
      containerType - the container type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 key
      containerType - the container type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      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 key
      containerType - the container type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 key
      containerType - the container type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      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 usage
      containerKey - the container key
      containerType - the container type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchEntryUsageException
    • removeByCK_CT_P

      public 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.
      Parameters:
      containerKey - the container key
      containerType - the container type
      plid - the plid
    • countByCK_CT_P

      public 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 = ?.
      Parameters:
      containerKey - the container key
      containerType - the container type
      plid - 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 ID
      classNameId - the class name ID
      key - the key
      type - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      key - the key
      type - the type
      start - the lower bound of the range of asset list entry usages
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      key - the key
      type - the type
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      key - the key
      type - the type
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      classNameId - the class name ID
      key - the key
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 ID
      classNameId - the class name ID
      key - the key
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classNameId - the class name ID
      key - the key
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 ID
      classNameId - the class name ID
      key - the key
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 usage
      groupId - the group ID
      classNameId - the class name ID
      key - the key
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchEntryUsageException
    • removeByG_C_K_T

      public 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.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      key - the key
      type - the type
    • countByG_C_K_T

      public 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 = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      key - the key
      type - 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 a NoSuchEntryUsageException if it could not be found.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      containerKey - the container key
      containerType - the container type
      key - the key
      plid - the plid
      Returns:
      the matching asset list entry usage
      Throws:
      NoSuchEntryUsageException - if a matching asset list entry usage could not be found
      NoSuchEntryUsageException
    • 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 returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      containerKey - the container key
      containerType - the container type
      key - the key
      plid - 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      containerKey - the container key
      containerType - the container type
      key - the key
      plid - the plid
      useFinderCache - 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 ID
      classNameId - the class name ID
      containerKey - the container key
      containerType - the container type
      key - the key
      plid - 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 ID
      classNameId - the class name ID
      containerKey - the container key
      containerType - the container type
      key - the key
      plid - the plid
      Returns:
      the number of matching asset list entry usages
    • cacheResult

      public static void cacheResult(AssetListEntryUsage assetListEntryUsage)
      Caches the asset list entry usage in the entity cache if it is enabled.
      Parameters:
      assetListEntryUsage - the asset list entry usage
    • cacheResult

      public static void cacheResult(List<AssetListEntryUsage> assetListEntryUsages)
      Caches the asset list entry usages in the entity cache if it is enabled.
      Parameters:
      assetListEntryUsages - the asset list entry usages
    • create

      public static AssetListEntryUsage create(long assetListEntryUsageId)
      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 found
      NoSuchEntryUsageException
    • updateImpl

      public static AssetListEntryUsage updateImpl(AssetListEntryUsage assetListEntryUsage)
    • findByPrimaryKey

      public static AssetListEntryUsage findByPrimaryKey(long assetListEntryUsageId) throws NoSuchEntryUsageException
      Returns the asset list entry usage with the primary key or throws a NoSuchEntryUsageException 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 found
      NoSuchEntryUsageException
    • fetchByPrimaryKey

      public static AssetListEntryUsage fetchByPrimaryKey(long assetListEntryUsageId)
      Returns the asset list entry usage with the primary key or returns null 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

      public static List<AssetListEntryUsage> findAll()
      Returns all the asset list entry usages.
      Returns:
      the asset list entry usages
    • findAll

      public static List<AssetListEntryUsage> findAll(int start, int end)
      Returns a range of all the asset list entry usages.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      start - the lower bound of the range of asset list entry usages
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetListEntryUsageModelImpl.

      Parameters:
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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

      public static AssetListEntryUsagePersistence getPersistence()
    • setPersistence

      public static void setPersistence(AssetListEntryUsagePersistence persistence)