Class AssetDisplayPageEntryUtil

java.lang.Object
com.liferay.asset.display.page.service.persistence.AssetDisplayPageEntryUtil

public class AssetDisplayPageEntryUtil extends Object
The persistence utility for the asset display page entry service. This utility wraps com.liferay.asset.display.page.service.persistence.impl.AssetDisplayPageEntryPersistenceImpl 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

    • AssetDisplayPageEntryUtil

      public AssetDisplayPageEntryUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(AssetDisplayPageEntry assetDisplayPageEntry)
      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,AssetDisplayPageEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<AssetDisplayPageEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<AssetDisplayPageEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<AssetDisplayPageEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static AssetDisplayPageEntry update(AssetDisplayPageEntry assetDisplayPageEntry)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static AssetDisplayPageEntry update(AssetDisplayPageEntry assetDisplayPageEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<AssetDisplayPageEntry> findByUuid(String uuid)
      Returns all the asset display page entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching asset display page entries
    • findByUuid

      public static List<AssetDisplayPageEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the asset display page entries 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 AssetDisplayPageEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (not inclusive)
      Returns:
      the range of matching asset display page entries
    • findByUuid

      public static List<AssetDisplayPageEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Returns an ordered range of all the asset display page entries 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 AssetDisplayPageEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset display page entries
    • findByUuid

      public static List<AssetDisplayPageEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset display page entries 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 AssetDisplayPageEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (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 display page entries
    • findByUuid_First

      public static AssetDisplayPageEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
      Returns the first asset display page entry 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 display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a matching asset display page entry could not be found
      NoSuchDisplayPageEntryException
    • fetchByUuid_First

      public static AssetDisplayPageEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Returns the first asset display page entry 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 display page entry, or null if a matching asset display page entry could not be found
    • findByUuid_Last

      public static AssetDisplayPageEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
      Returns the last asset display page entry 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 display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a matching asset display page entry could not be found
      NoSuchDisplayPageEntryException
    • fetchByUuid_Last

      public static AssetDisplayPageEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Returns the last asset display page entry 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 display page entry, or null if a matching asset display page entry could not be found
    • findByUuid_PrevAndNext

      public static AssetDisplayPageEntry[] findByUuid_PrevAndNext(long assetDisplayPageEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
      Returns the asset display page entries before and after the current asset display page entry in the ordered set where uuid = ?.
      Parameters:
      assetDisplayPageEntryId - the primary key of the current asset display page entry
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a asset display page entry with the primary key could not be found
      NoSuchDisplayPageEntryException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the asset display page entries where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of asset display page entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching asset display page entries
    • findByUUID_G

      public static AssetDisplayPageEntry findByUUID_G(String uuid, long groupId) throws NoSuchDisplayPageEntryException
      Returns the asset display page entry where uuid = ? and groupId = ? or throws a NoSuchDisplayPageEntryException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching asset display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a matching asset display page entry could not be found
      NoSuchDisplayPageEntryException
    • fetchByUUID_G

      public static AssetDisplayPageEntry fetchByUUID_G(String uuid, long groupId)
      Returns the asset display page entry 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 display page entry, or null if a matching asset display page entry could not be found
    • fetchByUUID_G

      public static AssetDisplayPageEntry fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the asset display page entry 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 display page entry, or null if a matching asset display page entry could not be found
    • removeByUUID_G

      public static AssetDisplayPageEntry removeByUUID_G(String uuid, long groupId) throws NoSuchDisplayPageEntryException
      Removes the asset display page entry where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the asset display page entry that was removed
      Throws:
      NoSuchDisplayPageEntryException
    • countByUUID_G

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

      public static List<AssetDisplayPageEntry> findByUuid_C(String uuid, long companyId)
      Returns all the asset display page entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching asset display page entries
    • findByUuid_C

      public static List<AssetDisplayPageEntry> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the asset display page entries 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 AssetDisplayPageEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (not inclusive)
      Returns:
      the range of matching asset display page entries
    • findByUuid_C

      public static List<AssetDisplayPageEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Returns an ordered range of all the asset display page entries 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 AssetDisplayPageEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset display page entries
    • findByUuid_C

      public static List<AssetDisplayPageEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset display page entries 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 AssetDisplayPageEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (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 display page entries
    • findByUuid_C_First

      public static AssetDisplayPageEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
      Returns the first asset display page entry 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 display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a matching asset display page entry could not be found
      NoSuchDisplayPageEntryException
    • fetchByUuid_C_First

      public static AssetDisplayPageEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Returns the first asset display page entry 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 display page entry, or null if a matching asset display page entry could not be found
    • findByUuid_C_Last

      public static AssetDisplayPageEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
      Returns the last asset display page entry 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 display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a matching asset display page entry could not be found
      NoSuchDisplayPageEntryException
    • fetchByUuid_C_Last

      public static AssetDisplayPageEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Returns the last asset display page entry 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 display page entry, or null if a matching asset display page entry could not be found
    • findByUuid_C_PrevAndNext

      public static AssetDisplayPageEntry[] findByUuid_C_PrevAndNext(long assetDisplayPageEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
      Returns the asset display page entries before and after the current asset display page entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      assetDisplayPageEntryId - the primary key of the current asset display page entry
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a asset display page entry with the primary key could not be found
      NoSuchDisplayPageEntryException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the asset display page entries 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 display page entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching asset display page entries
    • findByGroupId

      public static List<AssetDisplayPageEntry> findByGroupId(long groupId)
      Returns all the asset display page entries where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching asset display page entries
    • findByGroupId

      public static List<AssetDisplayPageEntry> findByGroupId(long groupId, int start, int end)
      Returns a range of all the asset display page entries where groupId = ?.

      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 AssetDisplayPageEntryModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (not inclusive)
      Returns:
      the range of matching asset display page entries
    • findByGroupId

      public static List<AssetDisplayPageEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Returns an ordered range of all the asset display page entries where groupId = ?.

      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 AssetDisplayPageEntryModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset display page entries
    • findByGroupId

      public static List<AssetDisplayPageEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset display page entries where groupId = ?.

      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 AssetDisplayPageEntryModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (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 display page entries
    • findByGroupId_First

      public static AssetDisplayPageEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
      Returns the first asset display page entry in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a matching asset display page entry could not be found
      NoSuchDisplayPageEntryException
    • fetchByGroupId_First

      public static AssetDisplayPageEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Returns the first asset display page entry in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset display page entry, or null if a matching asset display page entry could not be found
    • findByGroupId_Last

      public static AssetDisplayPageEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
      Returns the last asset display page entry in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a matching asset display page entry could not be found
      NoSuchDisplayPageEntryException
    • fetchByGroupId_Last

      public static AssetDisplayPageEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Returns the last asset display page entry in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset display page entry, or null if a matching asset display page entry could not be found
    • findByGroupId_PrevAndNext

      public static AssetDisplayPageEntry[] findByGroupId_PrevAndNext(long assetDisplayPageEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
      Returns the asset display page entries before and after the current asset display page entry in the ordered set where groupId = ?.
      Parameters:
      assetDisplayPageEntryId - the primary key of the current asset display page entry
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a asset display page entry with the primary key could not be found
      NoSuchDisplayPageEntryException
    • removeByGroupId

      public static void removeByGroupId(long groupId)
      Removes all the asset display page entries where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      public static int countByGroupId(long groupId)
      Returns the number of asset display page entries where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching asset display page entries
    • findByLayoutPageTemplateEntryId

      public static List<AssetDisplayPageEntry> findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
      Returns all the asset display page entries where layoutPageTemplateEntryId = ?.
      Parameters:
      layoutPageTemplateEntryId - the layout page template entry ID
      Returns:
      the matching asset display page entries
    • findByLayoutPageTemplateEntryId

      public static List<AssetDisplayPageEntry> findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId, int start, int end)
      Returns a range of all the asset display page entries where layoutPageTemplateEntryId = ?.

      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 AssetDisplayPageEntryModelImpl.

      Parameters:
      layoutPageTemplateEntryId - the layout page template entry ID
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (not inclusive)
      Returns:
      the range of matching asset display page entries
    • findByLayoutPageTemplateEntryId

      public static List<AssetDisplayPageEntry> findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Returns an ordered range of all the asset display page entries where layoutPageTemplateEntryId = ?.

      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 AssetDisplayPageEntryModelImpl.

      Parameters:
      layoutPageTemplateEntryId - the layout page template entry ID
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset display page entries
    • findByLayoutPageTemplateEntryId

      public static List<AssetDisplayPageEntry> findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset display page entries where layoutPageTemplateEntryId = ?.

      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 AssetDisplayPageEntryModelImpl.

      Parameters:
      layoutPageTemplateEntryId - the layout page template entry ID
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (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 display page entries
    • findByLayoutPageTemplateEntryId_First

      public static AssetDisplayPageEntry findByLayoutPageTemplateEntryId_First(long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
      Returns the first asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.
      Parameters:
      layoutPageTemplateEntryId - the layout page template entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a matching asset display page entry could not be found
      NoSuchDisplayPageEntryException
    • fetchByLayoutPageTemplateEntryId_First

      public static AssetDisplayPageEntry fetchByLayoutPageTemplateEntryId_First(long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Returns the first asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.
      Parameters:
      layoutPageTemplateEntryId - the layout page template entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset display page entry, or null if a matching asset display page entry could not be found
    • findByLayoutPageTemplateEntryId_Last

      public static AssetDisplayPageEntry findByLayoutPageTemplateEntryId_Last(long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
      Returns the last asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.
      Parameters:
      layoutPageTemplateEntryId - the layout page template entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a matching asset display page entry could not be found
      NoSuchDisplayPageEntryException
    • fetchByLayoutPageTemplateEntryId_Last

      public static AssetDisplayPageEntry fetchByLayoutPageTemplateEntryId_Last(long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Returns the last asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.
      Parameters:
      layoutPageTemplateEntryId - the layout page template entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset display page entry, or null if a matching asset display page entry could not be found
    • findByLayoutPageTemplateEntryId_PrevAndNext

      public static AssetDisplayPageEntry[] findByLayoutPageTemplateEntryId_PrevAndNext(long assetDisplayPageEntryId, long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
      Returns the asset display page entries before and after the current asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.
      Parameters:
      assetDisplayPageEntryId - the primary key of the current asset display page entry
      layoutPageTemplateEntryId - the layout page template entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a asset display page entry with the primary key could not be found
      NoSuchDisplayPageEntryException
    • removeByLayoutPageTemplateEntryId

      public static void removeByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
      Removes all the asset display page entries where layoutPageTemplateEntryId = ? from the database.
      Parameters:
      layoutPageTemplateEntryId - the layout page template entry ID
    • countByLayoutPageTemplateEntryId

      public static int countByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
      Returns the number of asset display page entries where layoutPageTemplateEntryId = ?.
      Parameters:
      layoutPageTemplateEntryId - the layout page template entry ID
      Returns:
      the number of matching asset display page entries
    • findByG_CN

      public static List<AssetDisplayPageEntry> findByG_CN(long groupId, long classNameId)
      Returns all the asset display page entries where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      Returns:
      the matching asset display page entries
    • findByG_CN

      public static List<AssetDisplayPageEntry> findByG_CN(long groupId, long classNameId, int start, int end)
      Returns a range of all the asset display page entries where groupId = ? and classNameId = ?.

      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 AssetDisplayPageEntryModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (not inclusive)
      Returns:
      the range of matching asset display page entries
    • findByG_CN

      public static List<AssetDisplayPageEntry> findByG_CN(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Returns an ordered range of all the asset display page entries where groupId = ? and classNameId = ?.

      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 AssetDisplayPageEntryModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset display page entries
    • findByG_CN

      public static List<AssetDisplayPageEntry> findByG_CN(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset display page entries where groupId = ? and classNameId = ?.

      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 AssetDisplayPageEntryModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (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 display page entries
    • findByG_CN_First

      public static AssetDisplayPageEntry findByG_CN_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
      Returns the first asset display page entry in the ordered set where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a matching asset display page entry could not be found
      NoSuchDisplayPageEntryException
    • fetchByG_CN_First

      public static AssetDisplayPageEntry fetchByG_CN_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Returns the first asset display page entry in the ordered set where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset display page entry, or null if a matching asset display page entry could not be found
    • findByG_CN_Last

      public static AssetDisplayPageEntry findByG_CN_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
      Returns the last asset display page entry in the ordered set where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a matching asset display page entry could not be found
      NoSuchDisplayPageEntryException
    • fetchByG_CN_Last

      public static AssetDisplayPageEntry fetchByG_CN_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Returns the last asset display page entry in the ordered set where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset display page entry, or null if a matching asset display page entry could not be found
    • findByG_CN_PrevAndNext

      public static AssetDisplayPageEntry[] findByG_CN_PrevAndNext(long assetDisplayPageEntryId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
      Returns the asset display page entries before and after the current asset display page entry in the ordered set where groupId = ? and classNameId = ?.
      Parameters:
      assetDisplayPageEntryId - the primary key of the current asset display page entry
      groupId - the group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a asset display page entry with the primary key could not be found
      NoSuchDisplayPageEntryException
    • removeByG_CN

      public static void removeByG_CN(long groupId, long classNameId)
      Removes all the asset display page entries where groupId = ? and classNameId = ? from the database.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
    • countByG_CN

      public static int countByG_CN(long groupId, long classNameId)
      Returns the number of asset display page entries where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      Returns:
      the number of matching asset display page entries
    • findByG_C_C

      public static AssetDisplayPageEntry findByG_C_C(long groupId, long classNameId, long classPK) throws NoSuchDisplayPageEntryException
      Returns the asset display page entry where groupId = ? and classNameId = ? and classPK = ? or throws a NoSuchDisplayPageEntryException if it could not be found.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching asset display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a matching asset display page entry could not be found
      NoSuchDisplayPageEntryException
    • fetchByG_C_C

      public static AssetDisplayPageEntry fetchByG_C_C(long groupId, long classNameId, long classPK)
      Returns the asset display page entry where groupId = ? and classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching asset display page entry, or null if a matching asset display page entry could not be found
    • fetchByG_C_C

      public static AssetDisplayPageEntry fetchByG_C_C(long groupId, long classNameId, long classPK, boolean useFinderCache)
      Returns the asset display page entry where groupId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      classPK - the class pk
      useFinderCache - whether to use the finder cache
      Returns:
      the matching asset display page entry, or null if a matching asset display page entry could not be found
    • removeByG_C_C

      public static AssetDisplayPageEntry removeByG_C_C(long groupId, long classNameId, long classPK) throws NoSuchDisplayPageEntryException
      Removes the asset display page entry where groupId = ? and classNameId = ? and classPK = ? from the database.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the asset display page entry that was removed
      Throws:
      NoSuchDisplayPageEntryException
    • countByG_C_C

      public static int countByG_C_C(long groupId, long classNameId, long classPK)
      Returns the number of asset display page entries where groupId = ? and classNameId = ? and classPK = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching asset display page entries
    • cacheResult

      public static void cacheResult(AssetDisplayPageEntry assetDisplayPageEntry)
      Caches the asset display page entry in the entity cache if it is enabled.
      Parameters:
      assetDisplayPageEntry - the asset display page entry
    • cacheResult

      public static void cacheResult(List<AssetDisplayPageEntry> assetDisplayPageEntries)
      Caches the asset display page entries in the entity cache if it is enabled.
      Parameters:
      assetDisplayPageEntries - the asset display page entries
    • create

      public static AssetDisplayPageEntry create(long assetDisplayPageEntryId)
      Creates a new asset display page entry with the primary key. Does not add the asset display page entry to the database.
      Parameters:
      assetDisplayPageEntryId - the primary key for the new asset display page entry
      Returns:
      the new asset display page entry
    • remove

      public static AssetDisplayPageEntry remove(long assetDisplayPageEntryId) throws NoSuchDisplayPageEntryException
      Removes the asset display page entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      assetDisplayPageEntryId - the primary key of the asset display page entry
      Returns:
      the asset display page entry that was removed
      Throws:
      NoSuchDisplayPageEntryException - if a asset display page entry with the primary key could not be found
      NoSuchDisplayPageEntryException
    • updateImpl

      public static AssetDisplayPageEntry updateImpl(AssetDisplayPageEntry assetDisplayPageEntry)
    • findByPrimaryKey

      public static AssetDisplayPageEntry findByPrimaryKey(long assetDisplayPageEntryId) throws NoSuchDisplayPageEntryException
      Returns the asset display page entry with the primary key or throws a NoSuchDisplayPageEntryException if it could not be found.
      Parameters:
      assetDisplayPageEntryId - the primary key of the asset display page entry
      Returns:
      the asset display page entry
      Throws:
      NoSuchDisplayPageEntryException - if a asset display page entry with the primary key could not be found
      NoSuchDisplayPageEntryException
    • fetchByPrimaryKey

      public static AssetDisplayPageEntry fetchByPrimaryKey(long assetDisplayPageEntryId)
      Returns the asset display page entry with the primary key or returns null if it could not be found.
      Parameters:
      assetDisplayPageEntryId - the primary key of the asset display page entry
      Returns:
      the asset display page entry, or null if a asset display page entry with the primary key could not be found
    • findAll

      public static List<AssetDisplayPageEntry> findAll()
      Returns all the asset display page entries.
      Returns:
      the asset display page entries
    • findAll

      public static List<AssetDisplayPageEntry> findAll(int start, int end)
      Returns a range of all the asset display page entries.

      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 AssetDisplayPageEntryModelImpl.

      Parameters:
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (not inclusive)
      Returns:
      the range of asset display page entries
    • findAll

      public static List<AssetDisplayPageEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Returns an ordered range of all the asset display page entries.

      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 AssetDisplayPageEntryModelImpl.

      Parameters:
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of asset display page entries
    • findAll

      public static List<AssetDisplayPageEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset display page entries.

      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 AssetDisplayPageEntryModelImpl.

      Parameters:
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (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 display page entries
    • removeAll

      public static void removeAll()
      Removes all the asset display page entries from the database.
    • countAll

      public static int countAll()
      Returns the number of asset display page entries.
      Returns:
      the number of asset display page entries
    • getPersistence

      public static AssetDisplayPageEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(AssetDisplayPageEntryPersistence persistence)