Class LayoutPageTemplateStructureRelElementVariationUtil

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

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

    • LayoutPageTemplateStructureRelElementVariationUtil

      public LayoutPageTemplateStructureRelElementVariationUtil()
  • Method Details

    • cacheResult

      public static void cacheResult(List<LayoutPageTemplateStructureRelElementVariation> layoutPageTemplateStructureRelElementVariations)
      See Also:
      • BasePersistence.cacheResult(List)
    • cacheResult

      public static void cacheResult(LayoutPageTemplateStructureRelElementVariation layoutPageTemplateStructureRelElementVariation)
      See Also:
      • BasePersistence.cacheResult(com.liferay.portal.kernel.model.BaseModel)
    • clearCache

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

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

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

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

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

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

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

      public static List<LayoutPageTemplateStructureRelElementVariation> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout page template structure rel element variations 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

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

      public static LayoutPageTemplateStructureRelElementVariation findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator) throws NoSuchPageTemplateStructureRelElementVariationException
      Returns the first layout page template structure rel element variation 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 element variation
    • fetchByUuid_First

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

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

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

      Returns the layout page template structure rel element variation where uuid = ? and groupId = ? or throws a NoSuchPageTemplateStructureRelElementVariationException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching layout page template structure rel element variation
    • fetchByUUID_G

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

      Removes the layout page template structure rel element variation where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the layout page template structure rel element variation that was removed
      Throws:
      NoSuchPageTemplateStructureRelElementVariationException
    • countByUUID_G

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

      public static List<LayoutPageTemplateStructureRelElementVariation> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout page template structure rel element variations 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

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

      public static LayoutPageTemplateStructureRelElementVariation findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator) throws NoSuchPageTemplateStructureRelElementVariationException
      Returns the first layout page template structure rel element variation 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 element variation
    • fetchByUuid_C_First

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

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

      public static List<LayoutPageTemplateStructureRelElementVariation> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout page template structure rel element variations where plid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of layout page template structure rel element variations
      end - the upper bound of the range of layout page template structure rel element variations (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 rel element variations
    • findByPlid_First

      public static LayoutPageTemplateStructureRelElementVariation findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator) throws NoSuchPageTemplateStructureRelElementVariationException
      Returns the first layout page template structure rel element variation in the ordered set where plid = ?.
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template structure rel element variation
    • fetchByPlid_First

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

      public static void removeByPlid(long plid)
      Removes all the layout page template structure rel element variations where plid = ? from the database.
      Parameters:
      plid - the plid
    • countByPlid

      public static int countByPlid(long plid)
      Returns the number of layout page template structure rel element variations where plid = ?.
      Parameters:
      plid - the plid
      Returns:
      the number of matching layout page template structure rel element variations
    • findBySegmentsExperienceERC

      public static List<LayoutPageTemplateStructureRelElementVariation> findBySegmentsExperienceERC(String segmentsExperienceERC, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout page template structure rel element variations where segmentsExperienceERC = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

      Parameters:
      segmentsExperienceERC - the segments experience erc
      start - the lower bound of the range of layout page template structure rel element variations
      end - the upper bound of the range of layout page template structure rel element variations (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 rel element variations
    • findBySegmentsExperienceERC_First

      public static LayoutPageTemplateStructureRelElementVariation findBySegmentsExperienceERC_First(String segmentsExperienceERC, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator) throws NoSuchPageTemplateStructureRelElementVariationException
      Returns the first layout page template structure rel element variation in the ordered set where segmentsExperienceERC = ?.
      Parameters:
      segmentsExperienceERC - the segments experience erc
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template structure rel element variation
    • fetchBySegmentsExperienceERC_First

      public static LayoutPageTemplateStructureRelElementVariation fetchBySegmentsExperienceERC_First(String segmentsExperienceERC, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator)
      Returns the first layout page template structure rel element variation in the ordered set where segmentsExperienceERC = ?.
      Parameters:
      segmentsExperienceERC - the segments experience erc
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template structure rel element variation, or null if a matching layout page template structure rel element variation could not be found
    • removeBySegmentsExperienceERC

      public static void removeBySegmentsExperienceERC(String segmentsExperienceERC)
      Removes all the layout page template structure rel element variations where segmentsExperienceERC = ? from the database.
      Parameters:
      segmentsExperienceERC - the segments experience erc
    • countBySegmentsExperienceERC

      public static int countBySegmentsExperienceERC(String segmentsExperienceERC)
      Returns the number of layout page template structure rel element variations where segmentsExperienceERC = ?.
      Parameters:
      segmentsExperienceERC - the segments experience erc
      Returns:
      the number of matching layout page template structure rel element variations
    • findByP_SEERC

      public static List<LayoutPageTemplateStructureRelElementVariation> findByP_SEERC(long plid, String segmentsExperienceERC, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout page template structure rel element variations where plid = ? and segmentsExperienceERC = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

      Parameters:
      plid - the plid
      segmentsExperienceERC - the segments experience erc
      start - the lower bound of the range of layout page template structure rel element variations
      end - the upper bound of the range of layout page template structure rel element variations (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 rel element variations
    • findByP_SEERC_First

      public static LayoutPageTemplateStructureRelElementVariation findByP_SEERC_First(long plid, String segmentsExperienceERC, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator) throws NoSuchPageTemplateStructureRelElementVariationException
      Returns the first layout page template structure rel element variation in the ordered set where plid = ? and segmentsExperienceERC = ?.
      Parameters:
      plid - the plid
      segmentsExperienceERC - the segments experience erc
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template structure rel element variation
    • fetchByP_SEERC_First

      public static LayoutPageTemplateStructureRelElementVariation fetchByP_SEERC_First(long plid, String segmentsExperienceERC, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator)
      Returns the first layout page template structure rel element variation in the ordered set where plid = ? and segmentsExperienceERC = ?.
      Parameters:
      plid - the plid
      segmentsExperienceERC - the segments experience erc
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template structure rel element variation, or null if a matching layout page template structure rel element variation could not be found
    • removeByP_SEERC

      public static void removeByP_SEERC(long plid, String segmentsExperienceERC)
      Removes all the layout page template structure rel element variations where plid = ? and segmentsExperienceERC = ? from the database.
      Parameters:
      plid - the plid
      segmentsExperienceERC - the segments experience erc
    • countByP_SEERC

      public static int countByP_SEERC(long plid, String segmentsExperienceERC)
      Returns the number of layout page template structure rel element variations where plid = ? and segmentsExperienceERC = ?.
      Parameters:
      plid - the plid
      segmentsExperienceERC - the segments experience erc
      Returns:
      the number of matching layout page template structure rel element variations
    • findByA_P_SEERC

      public static List<LayoutPageTemplateStructureRelElementVariation> findByA_P_SEERC(boolean active, long plid, String segmentsExperienceERC, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout page template structure rel element variations where active = ? and plid = ? and segmentsExperienceERC = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

      Parameters:
      active - the active
      plid - the plid
      segmentsExperienceERC - the segments experience erc
      start - the lower bound of the range of layout page template structure rel element variations
      end - the upper bound of the range of layout page template structure rel element variations (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 rel element variations
    • findByA_P_SEERC_First

      public static LayoutPageTemplateStructureRelElementVariation findByA_P_SEERC_First(boolean active, long plid, String segmentsExperienceERC, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator) throws NoSuchPageTemplateStructureRelElementVariationException
      Returns the first layout page template structure rel element variation in the ordered set where active = ? and plid = ? and segmentsExperienceERC = ?.
      Parameters:
      active - the active
      plid - the plid
      segmentsExperienceERC - the segments experience erc
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template structure rel element variation
    • fetchByA_P_SEERC_First

      public static LayoutPageTemplateStructureRelElementVariation fetchByA_P_SEERC_First(boolean active, long plid, String segmentsExperienceERC, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator)
      Returns the first layout page template structure rel element variation in the ordered set where active = ? and plid = ? and segmentsExperienceERC = ?.
      Parameters:
      active - the active
      plid - the plid
      segmentsExperienceERC - the segments experience erc
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template structure rel element variation, or null if a matching layout page template structure rel element variation could not be found
    • removeByA_P_SEERC

      public static void removeByA_P_SEERC(boolean active, long plid, String segmentsExperienceERC)
      Removes all the layout page template structure rel element variations where active = ? and plid = ? and segmentsExperienceERC = ? from the database.
      Parameters:
      active - the active
      plid - the plid
      segmentsExperienceERC - the segments experience erc
    • countByA_P_SEERC

      public static int countByA_P_SEERC(boolean active, long plid, String segmentsExperienceERC)
      Returns the number of layout page template structure rel element variations where active = ? and plid = ? and segmentsExperienceERC = ?.
      Parameters:
      active - the active
      plid - the plid
      segmentsExperienceERC - the segments experience erc
      Returns:
      the number of matching layout page template structure rel element variations
    • findByERC_G

      public static LayoutPageTemplateStructureRelElementVariation findByERC_G(String externalReferenceCode, long groupId) throws NoSuchPageTemplateStructureRelElementVariationException
      Returns the layout page template structure rel element variation where externalReferenceCode = ? and groupId = ? or throws a NoSuchPageTemplateStructureRelElementVariationException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching layout page template structure rel element variation
    • fetchByERC_G

      public static LayoutPageTemplateStructureRelElementVariation fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
      Returns the layout page template structure rel element variation where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout page template structure rel element variation, or null if a matching layout page template structure rel element variation could not be found
    • removeByERC_G

      public static LayoutPageTemplateStructureRelElementVariation removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchPageTemplateStructureRelElementVariationException
      Removes the layout page template structure rel element variation where externalReferenceCode = ? and groupId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the layout page template structure rel element variation that was removed
      Throws:
      NoSuchPageTemplateStructureRelElementVariationException
    • countByERC_G

      public static int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of layout page template structure rel element variations where externalReferenceCode = ? and groupId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the number of matching layout page template structure rel element variations
    • create

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

      public static LayoutPageTemplateStructureRelElementVariation remove(long layoutPageTemplateStructureRelElementVariationId) throws NoSuchPageTemplateStructureRelElementVariationException
      Removes the layout page template structure rel element variation with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      layoutPageTemplateStructureRelElementVariationId - the primary key of the layout page template structure rel element variation
      Returns:
      the layout page template structure rel element variation that was removed
    • updateImpl

      public static LayoutPageTemplateStructureRelElementVariation updateImpl(LayoutPageTemplateStructureRelElementVariation layoutPageTemplateStructureRelElementVariation)
    • findByPrimaryKey

      public static LayoutPageTemplateStructureRelElementVariation findByPrimaryKey(long layoutPageTemplateStructureRelElementVariationId) throws NoSuchPageTemplateStructureRelElementVariationException
      Returns the layout page template structure rel element variation with the primary key or throws a NoSuchPageTemplateStructureRelElementVariationException if it could not be found.
      Parameters:
      layoutPageTemplateStructureRelElementVariationId - the primary key of the layout page template structure rel element variation
      Returns:
      the layout page template structure rel element variation
    • fetchByPrimaryKey

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

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

      public static LayoutPageTemplateStructureRelElementVariation fetchByERC_G(String externalReferenceCode, long groupId)
      Returns the layout page template structure rel element variation where externalReferenceCode = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching layout page template structure rel element variation, or null if a matching layout page template structure rel element variation could not be found
    • findByUuid

      Returns all the layout page template structure rel element variations where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching layout page template structure rel element variations
    • findByUuid

      public static List<LayoutPageTemplateStructureRelElementVariation> findByUuid(String uuid, int start, int end)
      Returns a range of all the layout page template structure rel element variations 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

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

      public static List<LayoutPageTemplateStructureRelElementVariation> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator)
      Returns an ordered range of all the layout page template structure rel element variations 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

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

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

      public static List<LayoutPageTemplateStructureRelElementVariation> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the layout page template structure rel element variations 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

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

      public static List<LayoutPageTemplateStructureRelElementVariation> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator)
      Returns an ordered range of all the layout page template structure rel element variations 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

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

      public static List<LayoutPageTemplateStructureRelElementVariation> findByPlid(long plid)
      Returns all the layout page template structure rel element variations where plid = ?.
      Parameters:
      plid - the plid
      Returns:
      the matching layout page template structure rel element variations
    • findByPlid

      public static List<LayoutPageTemplateStructureRelElementVariation> findByPlid(long plid, int start, int end)
      Returns a range of all the layout page template structure rel element variations where plid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of layout page template structure rel element variations
      end - the upper bound of the range of layout page template structure rel element variations (not inclusive)
      Returns:
      the range of matching layout page template structure rel element variations
    • findByPlid

      public static List<LayoutPageTemplateStructureRelElementVariation> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator)
      Returns an ordered range of all the layout page template structure rel element variations where plid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of layout page template structure rel element variations
      end - the upper bound of the range of layout page template structure rel element variations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout page template structure rel element variations
    • findBySegmentsExperienceERC

      public static List<LayoutPageTemplateStructureRelElementVariation> findBySegmentsExperienceERC(String segmentsExperienceERC)
      Returns all the layout page template structure rel element variations where segmentsExperienceERC = ?.
      Parameters:
      segmentsExperienceERC - the segments experience erc
      Returns:
      the matching layout page template structure rel element variations
    • findBySegmentsExperienceERC

      public static List<LayoutPageTemplateStructureRelElementVariation> findBySegmentsExperienceERC(String segmentsExperienceERC, int start, int end)
      Returns a range of all the layout page template structure rel element variations where segmentsExperienceERC = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

      Parameters:
      segmentsExperienceERC - the segments experience erc
      start - the lower bound of the range of layout page template structure rel element variations
      end - the upper bound of the range of layout page template structure rel element variations (not inclusive)
      Returns:
      the range of matching layout page template structure rel element variations
    • findBySegmentsExperienceERC

      public static List<LayoutPageTemplateStructureRelElementVariation> findBySegmentsExperienceERC(String segmentsExperienceERC, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator)
      Returns an ordered range of all the layout page template structure rel element variations where segmentsExperienceERC = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

      Parameters:
      segmentsExperienceERC - the segments experience erc
      start - the lower bound of the range of layout page template structure rel element variations
      end - the upper bound of the range of layout page template structure rel element variations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout page template structure rel element variations
    • findByP_SEERC

      public static List<LayoutPageTemplateStructureRelElementVariation> findByP_SEERC(long plid, String segmentsExperienceERC)
      Returns all the layout page template structure rel element variations where plid = ? and segmentsExperienceERC = ?.
      Parameters:
      plid - the plid
      segmentsExperienceERC - the segments experience erc
      Returns:
      the matching layout page template structure rel element variations
    • findByP_SEERC

      public static List<LayoutPageTemplateStructureRelElementVariation> findByP_SEERC(long plid, String segmentsExperienceERC, int start, int end)
      Returns a range of all the layout page template structure rel element variations where plid = ? and segmentsExperienceERC = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

      Parameters:
      plid - the plid
      segmentsExperienceERC - the segments experience erc
      start - the lower bound of the range of layout page template structure rel element variations
      end - the upper bound of the range of layout page template structure rel element variations (not inclusive)
      Returns:
      the range of matching layout page template structure rel element variations
    • findByP_SEERC

      public static List<LayoutPageTemplateStructureRelElementVariation> findByP_SEERC(long plid, String segmentsExperienceERC, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator)
      Returns an ordered range of all the layout page template structure rel element variations where plid = ? and segmentsExperienceERC = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

      Parameters:
      plid - the plid
      segmentsExperienceERC - the segments experience erc
      start - the lower bound of the range of layout page template structure rel element variations
      end - the upper bound of the range of layout page template structure rel element variations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout page template structure rel element variations
    • findByA_P_SEERC

      public static List<LayoutPageTemplateStructureRelElementVariation> findByA_P_SEERC(boolean active, long plid, String segmentsExperienceERC)
      Returns all the layout page template structure rel element variations where active = ? and plid = ? and segmentsExperienceERC = ?.
      Parameters:
      active - the active
      plid - the plid
      segmentsExperienceERC - the segments experience erc
      Returns:
      the matching layout page template structure rel element variations
    • findByA_P_SEERC

      public static List<LayoutPageTemplateStructureRelElementVariation> findByA_P_SEERC(boolean active, long plid, String segmentsExperienceERC, int start, int end)
      Returns a range of all the layout page template structure rel element variations where active = ? and plid = ? and segmentsExperienceERC = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

      Parameters:
      active - the active
      plid - the plid
      segmentsExperienceERC - the segments experience erc
      start - the lower bound of the range of layout page template structure rel element variations
      end - the upper bound of the range of layout page template structure rel element variations (not inclusive)
      Returns:
      the range of matching layout page template structure rel element variations
    • findByA_P_SEERC

      public static List<LayoutPageTemplateStructureRelElementVariation> findByA_P_SEERC(boolean active, long plid, String segmentsExperienceERC, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructureRelElementVariation> orderByComparator)
      Returns an ordered range of all the layout page template structure rel element variations where active = ? and plid = ? and segmentsExperienceERC = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.page.template.model.impl.LayoutPageTemplateStructureRelElementVariationModelImpl.

      Parameters:
      active - the active
      plid - the plid
      segmentsExperienceERC - the segments experience erc
      start - the lower bound of the range of layout page template structure rel element variations
      end - the upper bound of the range of layout page template structure rel element variations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout page template structure rel element variations
    • getPersistence

    • setPersistence

      public static void setPersistence(LayoutPageTemplateStructureRelElementVariationPersistence persistence)