Class LayoutPageTemplateStructureRelUtil

java.lang.Object
com.liferay.layout.page.template.service.persistence.LayoutPageTemplateStructureRelUtil

public class LayoutPageTemplateStructureRelUtil extends Object
The persistence utility for the layout page template structure rel service. This utility wraps com.liferay.layout.page.template.service.persistence.impl.LayoutPageTemplateStructureRelPersistenceImpl 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

    • LayoutPageTemplateStructureRelUtil

      public LayoutPageTemplateStructureRelUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

      public static List<LayoutPageTemplateStructureRel> findByUuid(String uuid)
      Returns all the layout page template structure rels where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching layout page template structure rels
    • findByUuid

      public static List<LayoutPageTemplateStructureRel> findByUuid(String uuid, int start, int end)
      Returns a range of all the layout page template structure rels 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 LayoutPageTemplateStructureRelModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of layout page template structure rels
      end - the upper bound of the range of layout page template structure rels (not inclusive)
      Returns:
      the range of matching layout page template structure rels
    • findByUuid

      public static List<LayoutPageTemplateStructureRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
      Returns an ordered range of all the layout page template structure rels 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 LayoutPageTemplateStructureRelModelImpl.

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

      public static List<LayoutPageTemplateStructureRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout page template structure rels 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 LayoutPageTemplateStructureRelModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of layout page template structure rels
      end - the upper bound of the range of layout page template structure rels (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 layout page template structure rels
    • findByUuid_First

      public static LayoutPageTemplateStructureRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
      Returns the first layout page template structure rel in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template structure rel
      Throws:
      NoSuchPageTemplateStructureRelException - if a matching layout page template structure rel could not be found
      NoSuchPageTemplateStructureRelException
    • fetchByUuid_First

      public static LayoutPageTemplateStructureRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
      Returns the first layout page template structure rel in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template structure rel, or null if a matching layout page template structure rel could not be found
    • findByUuid_Last

      public static LayoutPageTemplateStructureRel findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
      Returns the last layout page template structure rel in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template structure rel
      Throws:
      NoSuchPageTemplateStructureRelException - if a matching layout page template structure rel could not be found
      NoSuchPageTemplateStructureRelException
    • fetchByUuid_Last

      public static LayoutPageTemplateStructureRel fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
      Returns the last layout page template structure rel in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template structure rel, or null if a matching layout page template structure rel could not be found
    • findByUuid_PrevAndNext

      public static LayoutPageTemplateStructureRel[] findByUuid_PrevAndNext(long layoutPageTemplateStructureRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
      Returns the layout page template structure rels before and after the current layout page template structure rel in the ordered set where uuid = ?.
      Parameters:
      layoutPageTemplateStructureRelId - the primary key of the current layout page template structure rel
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout page template structure rel
      Throws:
      NoSuchPageTemplateStructureRelException - if a layout page template structure rel with the primary key could not be found
      NoSuchPageTemplateStructureRelException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the layout page template structure rels where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of layout page template structure rels where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching layout page template structure rels
    • findByUUID_G

      public static LayoutPageTemplateStructureRel findByUUID_G(String uuid, long groupId) throws NoSuchPageTemplateStructureRelException
      Returns the layout page template structure rel where uuid = ? and groupId = ? or throws a NoSuchPageTemplateStructureRelException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching layout page template structure rel
      Throws:
      NoSuchPageTemplateStructureRelException - if a matching layout page template structure rel could not be found
      NoSuchPageTemplateStructureRelException
    • fetchByUUID_G

      public static LayoutPageTemplateStructureRel fetchByUUID_G(String uuid, long groupId)
      Returns the layout page template structure rel 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 layout page template structure rel, or null if a matching layout page template structure rel could not be found
    • fetchByUUID_G

      public static LayoutPageTemplateStructureRel fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the layout page template structure rel 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 layout page template structure rel, or null if a matching layout page template structure rel could not be found
    • removeByUUID_G

      public static LayoutPageTemplateStructureRel removeByUUID_G(String uuid, long groupId) throws NoSuchPageTemplateStructureRelException
      Removes the layout page template structure rel where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the layout page template structure rel that was removed
      Throws:
      NoSuchPageTemplateStructureRelException
    • countByUUID_G

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

      public static List<LayoutPageTemplateStructureRel> findByUuid_C(String uuid, long companyId)
      Returns all the layout page template structure rels where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching layout page template structure rels
    • findByUuid_C

      public static List<LayoutPageTemplateStructureRel> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the layout page template structure rels 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 LayoutPageTemplateStructureRelModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of layout page template structure rels
      end - the upper bound of the range of layout page template structure rels (not inclusive)
      Returns:
      the range of matching layout page template structure rels
    • findByUuid_C

      public static List<LayoutPageTemplateStructureRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
      Returns an ordered range of all the layout page template structure rels 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 LayoutPageTemplateStructureRelModelImpl.

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

      public static List<LayoutPageTemplateStructureRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout page template structure rels 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 LayoutPageTemplateStructureRelModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of layout page template structure rels
      end - the upper bound of the range of layout page template structure rels (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 layout page template structure rels
    • findByUuid_C_First

      public static LayoutPageTemplateStructureRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
      Returns the first layout page template structure rel 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 layout page template structure rel
      Throws:
      NoSuchPageTemplateStructureRelException - if a matching layout page template structure rel could not be found
      NoSuchPageTemplateStructureRelException
    • fetchByUuid_C_First

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

      public static LayoutPageTemplateStructureRel findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
      Returns the last layout page template structure rel 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 layout page template structure rel
      Throws:
      NoSuchPageTemplateStructureRelException - if a matching layout page template structure rel could not be found
      NoSuchPageTemplateStructureRelException
    • fetchByUuid_C_Last

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

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

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

      public static List<LayoutPageTemplateStructureRel> findByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId)
      Returns all the layout page template structure rels where layoutPageTemplateStructureId = ?.
      Parameters:
      layoutPageTemplateStructureId - the layout page template structure ID
      Returns:
      the matching layout page template structure rels
    • findByLayoutPageTemplateStructureId

      public static List<LayoutPageTemplateStructureRel> findByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId, int start, int end)
      Returns a range of all the layout page template structure rels where layoutPageTemplateStructureId = ?.

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

      Parameters:
      layoutPageTemplateStructureId - the layout page template structure ID
      start - the lower bound of the range of layout page template structure rels
      end - the upper bound of the range of layout page template structure rels (not inclusive)
      Returns:
      the range of matching layout page template structure rels
    • findByLayoutPageTemplateStructureId

      public static List<LayoutPageTemplateStructureRel> findByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
      Returns an ordered range of all the layout page template structure rels where layoutPageTemplateStructureId = ?.

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

      Parameters:
      layoutPageTemplateStructureId - the layout page template structure ID
      start - the lower bound of the range of layout page template structure rels
      end - the upper bound of the range of layout page template structure rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout page template structure rels
    • findByLayoutPageTemplateStructureId

      public static List<LayoutPageTemplateStructureRel> findByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout page template structure rels where layoutPageTemplateStructureId = ?.

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

      Parameters:
      layoutPageTemplateStructureId - the layout page template structure ID
      start - the lower bound of the range of layout page template structure rels
      end - the upper bound of the range of layout page template structure rels (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 layout page template structure rels
    • findByLayoutPageTemplateStructureId_First

      public static LayoutPageTemplateStructureRel findByLayoutPageTemplateStructureId_First(long layoutPageTemplateStructureId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
      Returns the first layout page template structure rel in the ordered set where layoutPageTemplateStructureId = ?.
      Parameters:
      layoutPageTemplateStructureId - the layout page template structure ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template structure rel
      Throws:
      NoSuchPageTemplateStructureRelException - if a matching layout page template structure rel could not be found
      NoSuchPageTemplateStructureRelException
    • fetchByLayoutPageTemplateStructureId_First

      public static LayoutPageTemplateStructureRel fetchByLayoutPageTemplateStructureId_First(long layoutPageTemplateStructureId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
      Returns the first layout page template structure rel in the ordered set where layoutPageTemplateStructureId = ?.
      Parameters:
      layoutPageTemplateStructureId - the layout page template structure ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template structure rel, or null if a matching layout page template structure rel could not be found
    • findByLayoutPageTemplateStructureId_Last

      public static LayoutPageTemplateStructureRel findByLayoutPageTemplateStructureId_Last(long layoutPageTemplateStructureId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
      Returns the last layout page template structure rel in the ordered set where layoutPageTemplateStructureId = ?.
      Parameters:
      layoutPageTemplateStructureId - the layout page template structure ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template structure rel
      Throws:
      NoSuchPageTemplateStructureRelException - if a matching layout page template structure rel could not be found
      NoSuchPageTemplateStructureRelException
    • fetchByLayoutPageTemplateStructureId_Last

      public static LayoutPageTemplateStructureRel fetchByLayoutPageTemplateStructureId_Last(long layoutPageTemplateStructureId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
      Returns the last layout page template structure rel in the ordered set where layoutPageTemplateStructureId = ?.
      Parameters:
      layoutPageTemplateStructureId - the layout page template structure ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template structure rel, or null if a matching layout page template structure rel could not be found
    • findByLayoutPageTemplateStructureId_PrevAndNext

      public static LayoutPageTemplateStructureRel[] findByLayoutPageTemplateStructureId_PrevAndNext(long layoutPageTemplateStructureRelId, long layoutPageTemplateStructureId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
      Returns the layout page template structure rels before and after the current layout page template structure rel in the ordered set where layoutPageTemplateStructureId = ?.
      Parameters:
      layoutPageTemplateStructureRelId - the primary key of the current layout page template structure rel
      layoutPageTemplateStructureId - the layout page template structure ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout page template structure rel
      Throws:
      NoSuchPageTemplateStructureRelException - if a layout page template structure rel with the primary key could not be found
      NoSuchPageTemplateStructureRelException
    • removeByLayoutPageTemplateStructureId

      public static void removeByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId)
      Removes all the layout page template structure rels where layoutPageTemplateStructureId = ? from the database.
      Parameters:
      layoutPageTemplateStructureId - the layout page template structure ID
    • countByLayoutPageTemplateStructureId

      public static int countByLayoutPageTemplateStructureId(long layoutPageTemplateStructureId)
      Returns the number of layout page template structure rels where layoutPageTemplateStructureId = ?.
      Parameters:
      layoutPageTemplateStructureId - the layout page template structure ID
      Returns:
      the number of matching layout page template structure rels
    • findBySegmentsExperienceId

      public static List<LayoutPageTemplateStructureRel> findBySegmentsExperienceId(long segmentsExperienceId)
      Returns all the layout page template structure rels where segmentsExperienceId = ?.
      Parameters:
      segmentsExperienceId - the segments experience ID
      Returns:
      the matching layout page template structure rels
    • findBySegmentsExperienceId

      public static List<LayoutPageTemplateStructureRel> findBySegmentsExperienceId(long segmentsExperienceId, int start, int end)
      Returns a range of all the layout page template structure rels where segmentsExperienceId = ?.

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

      Parameters:
      segmentsExperienceId - the segments experience ID
      start - the lower bound of the range of layout page template structure rels
      end - the upper bound of the range of layout page template structure rels (not inclusive)
      Returns:
      the range of matching layout page template structure rels
    • findBySegmentsExperienceId

      public static List<LayoutPageTemplateStructureRel> findBySegmentsExperienceId(long segmentsExperienceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
      Returns an ordered range of all the layout page template structure rels where segmentsExperienceId = ?.

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

      Parameters:
      segmentsExperienceId - the segments experience ID
      start - the lower bound of the range of layout page template structure rels
      end - the upper bound of the range of layout page template structure rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout page template structure rels
    • findBySegmentsExperienceId

      public static List<LayoutPageTemplateStructureRel> findBySegmentsExperienceId(long segmentsExperienceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout page template structure rels where segmentsExperienceId = ?.

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

      Parameters:
      segmentsExperienceId - the segments experience ID
      start - the lower bound of the range of layout page template structure rels
      end - the upper bound of the range of layout page template structure rels (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 layout page template structure rels
    • findBySegmentsExperienceId_First

      public static LayoutPageTemplateStructureRel findBySegmentsExperienceId_First(long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
      Returns the first layout page template structure rel in the ordered set where segmentsExperienceId = ?.
      Parameters:
      segmentsExperienceId - the segments experience ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template structure rel
      Throws:
      NoSuchPageTemplateStructureRelException - if a matching layout page template structure rel could not be found
      NoSuchPageTemplateStructureRelException
    • fetchBySegmentsExperienceId_First

      public static LayoutPageTemplateStructureRel fetchBySegmentsExperienceId_First(long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
      Returns the first layout page template structure rel in the ordered set where segmentsExperienceId = ?.
      Parameters:
      segmentsExperienceId - the segments experience ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template structure rel, or null if a matching layout page template structure rel could not be found
    • findBySegmentsExperienceId_Last

      public static LayoutPageTemplateStructureRel findBySegmentsExperienceId_Last(long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
      Returns the last layout page template structure rel in the ordered set where segmentsExperienceId = ?.
      Parameters:
      segmentsExperienceId - the segments experience ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template structure rel
      Throws:
      NoSuchPageTemplateStructureRelException - if a matching layout page template structure rel could not be found
      NoSuchPageTemplateStructureRelException
    • fetchBySegmentsExperienceId_Last

      public static LayoutPageTemplateStructureRel fetchBySegmentsExperienceId_Last(long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
      Returns the last layout page template structure rel in the ordered set where segmentsExperienceId = ?.
      Parameters:
      segmentsExperienceId - the segments experience ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template structure rel, or null if a matching layout page template structure rel could not be found
    • findBySegmentsExperienceId_PrevAndNext

      public static LayoutPageTemplateStructureRel[] findBySegmentsExperienceId_PrevAndNext(long layoutPageTemplateStructureRelId, long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator) throws NoSuchPageTemplateStructureRelException
      Returns the layout page template structure rels before and after the current layout page template structure rel in the ordered set where segmentsExperienceId = ?.
      Parameters:
      layoutPageTemplateStructureRelId - the primary key of the current layout page template structure rel
      segmentsExperienceId - the segments experience ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout page template structure rel
      Throws:
      NoSuchPageTemplateStructureRelException - if a layout page template structure rel with the primary key could not be found
      NoSuchPageTemplateStructureRelException
    • removeBySegmentsExperienceId

      public static void removeBySegmentsExperienceId(long segmentsExperienceId)
      Removes all the layout page template structure rels where segmentsExperienceId = ? from the database.
      Parameters:
      segmentsExperienceId - the segments experience ID
    • countBySegmentsExperienceId

      public static int countBySegmentsExperienceId(long segmentsExperienceId)
      Returns the number of layout page template structure rels where segmentsExperienceId = ?.
      Parameters:
      segmentsExperienceId - the segments experience ID
      Returns:
      the number of matching layout page template structure rels
    • findByL_S

      public static LayoutPageTemplateStructureRel findByL_S(long layoutPageTemplateStructureId, long segmentsExperienceId) throws NoSuchPageTemplateStructureRelException
      Returns the layout page template structure rel where layoutPageTemplateStructureId = ? and segmentsExperienceId = ? or throws a NoSuchPageTemplateStructureRelException if it could not be found.
      Parameters:
      layoutPageTemplateStructureId - the layout page template structure ID
      segmentsExperienceId - the segments experience ID
      Returns:
      the matching layout page template structure rel
      Throws:
      NoSuchPageTemplateStructureRelException - if a matching layout page template structure rel could not be found
      NoSuchPageTemplateStructureRelException
    • fetchByL_S

      public static LayoutPageTemplateStructureRel fetchByL_S(long layoutPageTemplateStructureId, long segmentsExperienceId)
      Returns the layout page template structure rel where layoutPageTemplateStructureId = ? and segmentsExperienceId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      layoutPageTemplateStructureId - the layout page template structure ID
      segmentsExperienceId - the segments experience ID
      Returns:
      the matching layout page template structure rel, or null if a matching layout page template structure rel could not be found
    • fetchByL_S

      public static LayoutPageTemplateStructureRel fetchByL_S(long layoutPageTemplateStructureId, long segmentsExperienceId, boolean useFinderCache)
      Returns the layout page template structure rel where layoutPageTemplateStructureId = ? and segmentsExperienceId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      layoutPageTemplateStructureId - the layout page template structure ID
      segmentsExperienceId - the segments experience ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout page template structure rel, or null if a matching layout page template structure rel could not be found
    • removeByL_S

      public static LayoutPageTemplateStructureRel removeByL_S(long layoutPageTemplateStructureId, long segmentsExperienceId) throws NoSuchPageTemplateStructureRelException
      Removes the layout page template structure rel where layoutPageTemplateStructureId = ? and segmentsExperienceId = ? from the database.
      Parameters:
      layoutPageTemplateStructureId - the layout page template structure ID
      segmentsExperienceId - the segments experience ID
      Returns:
      the layout page template structure rel that was removed
      Throws:
      NoSuchPageTemplateStructureRelException
    • countByL_S

      public static int countByL_S(long layoutPageTemplateStructureId, long segmentsExperienceId)
      Returns the number of layout page template structure rels where layoutPageTemplateStructureId = ? and segmentsExperienceId = ?.
      Parameters:
      layoutPageTemplateStructureId - the layout page template structure ID
      segmentsExperienceId - the segments experience ID
      Returns:
      the number of matching layout page template structure rels
    • cacheResult

      public static void cacheResult(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel)
      Caches the layout page template structure rel in the entity cache if it is enabled.
      Parameters:
      layoutPageTemplateStructureRel - the layout page template structure rel
    • cacheResult

      public static void cacheResult(List<LayoutPageTemplateStructureRel> layoutPageTemplateStructureRels)
      Caches the layout page template structure rels in the entity cache if it is enabled.
      Parameters:
      layoutPageTemplateStructureRels - the layout page template structure rels
    • create

      public static LayoutPageTemplateStructureRel create(long layoutPageTemplateStructureRelId)
      Creates a new layout page template structure rel with the primary key. Does not add the layout page template structure rel to the database.
      Parameters:
      layoutPageTemplateStructureRelId - the primary key for the new layout page template structure rel
      Returns:
      the new layout page template structure rel
    • remove

      public static LayoutPageTemplateStructureRel remove(long layoutPageTemplateStructureRelId) throws NoSuchPageTemplateStructureRelException
      Removes the layout page template structure rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      layoutPageTemplateStructureRelId - the primary key of the layout page template structure rel
      Returns:
      the layout page template structure rel that was removed
      Throws:
      NoSuchPageTemplateStructureRelException - if a layout page template structure rel with the primary key could not be found
      NoSuchPageTemplateStructureRelException
    • updateImpl

      public static LayoutPageTemplateStructureRel updateImpl(LayoutPageTemplateStructureRel layoutPageTemplateStructureRel)
    • findByPrimaryKey

      public static LayoutPageTemplateStructureRel findByPrimaryKey(long layoutPageTemplateStructureRelId) throws NoSuchPageTemplateStructureRelException
      Returns the layout page template structure rel with the primary key or throws a NoSuchPageTemplateStructureRelException if it could not be found.
      Parameters:
      layoutPageTemplateStructureRelId - the primary key of the layout page template structure rel
      Returns:
      the layout page template structure rel
      Throws:
      NoSuchPageTemplateStructureRelException - if a layout page template structure rel with the primary key could not be found
      NoSuchPageTemplateStructureRelException
    • fetchByPrimaryKey

      public static LayoutPageTemplateStructureRel fetchByPrimaryKey(long layoutPageTemplateStructureRelId)
      Returns the layout page template structure rel with the primary key or returns null if it could not be found.
      Parameters:
      layoutPageTemplateStructureRelId - the primary key of the layout page template structure rel
      Returns:
      the layout page template structure rel, or null if a layout page template structure rel with the primary key could not be found
    • findAll

      public static List<LayoutPageTemplateStructureRel> findAll()
      Returns all the layout page template structure rels.
      Returns:
      the layout page template structure rels
    • findAll

      public static List<LayoutPageTemplateStructureRel> findAll(int start, int end)
      Returns a range of all the layout page template structure rels.

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

      Parameters:
      start - the lower bound of the range of layout page template structure rels
      end - the upper bound of the range of layout page template structure rels (not inclusive)
      Returns:
      the range of layout page template structure rels
    • findAll

      public static List<LayoutPageTemplateStructureRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator)
      Returns an ordered range of all the layout page template structure rels.

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

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

      public static List<LayoutPageTemplateStructureRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout page template structure rels.

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

      Parameters:
      start - the lower bound of the range of layout page template structure rels
      end - the upper bound of the range of layout page template structure rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of layout page template structure rels
    • removeAll

      public static void removeAll()
      Removes all the layout page template structure rels from the database.
    • countAll

      public static int countAll()
      Returns the number of layout page template structure rels.
      Returns:
      the number of layout page template structure rels
    • getPersistence

      public static LayoutPageTemplateStructureRelPersistence getPersistence()
    • setPersistence

      public static void setPersistence(LayoutPageTemplateStructureRelPersistence persistence)