Class LayoutPageTemplateStructureUtil

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

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

    • LayoutPageTemplateStructureUtil

      public LayoutPageTemplateStructureUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static LayoutPageTemplateStructure[] findByUuid_C_PrevAndNext(long layoutPageTemplateStructureId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
      Returns the layout page template structures before and after the current layout page template structure in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      layoutPageTemplateStructureId - the primary key of the current layout page template structure
      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
      Throws:
      NoSuchPageTemplateStructureException - if a layout page template structure with the primary key could not be found
      NoSuchPageTemplateStructureException
    • removeByUuid_C

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

      public static List<LayoutPageTemplateStructure> findByGroupId(long groupId)
      Returns all the layout page template structures where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching layout page template structures
    • findByGroupId

      public static List<LayoutPageTemplateStructure> findByGroupId(long groupId, int start, int end)
      Returns a range of all the layout page template structures where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of layout page template structures
      end - the upper bound of the range of layout page template structures (not inclusive)
      Returns:
      the range of matching layout page template structures
    • findByGroupId

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

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

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

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

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

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

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

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

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

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

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

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

      public static int countByGroupId(long groupId)
      Returns the number of layout page template structures where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching layout page template structures
    • findByG_P

      public static LayoutPageTemplateStructure findByG_P(long groupId, long plid) throws NoSuchPageTemplateStructureException
      Returns the layout page template structure where groupId = ? and plid = ? or throws a NoSuchPageTemplateStructureException if it could not be found.
      Parameters:
      groupId - the group ID
      plid - the plid
      Returns:
      the matching layout page template structure
      Throws:
      NoSuchPageTemplateStructureException - if a matching layout page template structure could not be found
      NoSuchPageTemplateStructureException
    • fetchByG_P

      public static LayoutPageTemplateStructure fetchByG_P(long groupId, long plid)
      Returns the layout page template structure where groupId = ? and plid = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      plid - the plid
      Returns:
      the matching layout page template structure, or null if a matching layout page template structure could not be found
    • fetchByG_P

      public static LayoutPageTemplateStructure fetchByG_P(long groupId, long plid, boolean useFinderCache)
      Returns the layout page template structure where groupId = ? and plid = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      plid - the plid
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout page template structure, or null if a matching layout page template structure could not be found
    • removeByG_P

      public static LayoutPageTemplateStructure removeByG_P(long groupId, long plid) throws NoSuchPageTemplateStructureException
      Removes the layout page template structure where groupId = ? and plid = ? from the database.
      Parameters:
      groupId - the group ID
      plid - the plid
      Returns:
      the layout page template structure that was removed
      Throws:
      NoSuchPageTemplateStructureException
    • countByG_P

      public static int countByG_P(long groupId, long plid)
      Returns the number of layout page template structures where groupId = ? and plid = ?.
      Parameters:
      groupId - the group ID
      plid - the plid
      Returns:
      the number of matching layout page template structures
    • cacheResult

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

      public static void cacheResult(List<LayoutPageTemplateStructure> layoutPageTemplateStructures)
      Caches the layout page template structures in the entity cache if it is enabled.
      Parameters:
      layoutPageTemplateStructures - the layout page template structures
    • create

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

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

      public static LayoutPageTemplateStructure updateImpl(LayoutPageTemplateStructure layoutPageTemplateStructure)
    • findByPrimaryKey

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

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

      public static List<LayoutPageTemplateStructure> findAll()
      Returns all the layout page template structures.
      Returns:
      the layout page template structures
    • findAll

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

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

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

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

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

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

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

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

      Parameters:
      start - the lower bound of the range of layout page template structures
      end - the upper bound of the range of layout page template structures (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 structures
    • removeAll

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

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

      public static LayoutPageTemplateStructurePersistence getPersistence()
    • setPersistence

      public static void setPersistence(LayoutPageTemplateStructurePersistence persistence)