java.lang.Object
com.liferay.portal.kernel.service.persistence.LayoutUtil

public class LayoutUtil extends Object
The persistence utility for the layout service. This utility wraps com.liferay.portal.service.persistence.impl.LayoutPersistenceImpl 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

Author:
Brian Wing Shun Chan
See Also:
Generated:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Caches the layout in the entity cache if it is enabled.
    static void
    Caches the layouts in the entity cache if it is enabled.
    static void
     
    static void
     
    static int
    Returns the number of layouts.
    static int
    countByC_C(long classNameId, long classPK)
    Returns the number of layouts where classNameId = ? and classPK = ?.
    static int
    countByC_C(long classNameId, long[] classPKs)
    Returns the number of layouts where classNameId = ? and classPK = any ?.
    static int
    countByCompanyId(long companyId)
    Returns the number of layouts where companyId = ?.
    static int
    countByERC_G(String externalReferenceCode, long groupId)
    Returns the number of layouts where externalReferenceCode = ? and groupId = ?.
    static int
    countByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC)
    Returns the number of layouts where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
    static int
    countByG_P(long groupId, boolean privateLayout)
    Returns the number of layouts where groupId = ? and privateLayout = ?.
    static int
    countByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
    Returns the number of layouts where groupId = ? and privateLayout = ? and friendlyURL = ?.
    static int
    countByG_P_L(long groupId, boolean privateLayout, long layoutId)
    Returns the number of layouts where groupId = ? and privateLayout = ? and layoutId = ?.
    static int
    countByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC)
    Returns the number of layouts where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
    static int
    countByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
    Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    static int
    countByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
    Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
    static int
    countByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden)
    Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.
    static int
    countByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden)
    Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    static int
    countByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
    Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    static int
    countByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system)
    Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.
    static int
    countByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system)
    Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    static int
    countByG_P_S(long groupId, boolean privateLayout, boolean system)
    Returns the number of layouts where groupId = ? and privateLayout = ? and system = ?.
    static int
    countByG_P_ST(long groupId, boolean privateLayout, int status)
    Returns the number of layouts where groupId = ? and privateLayout = ? and status = ?.
    static int
    countByG_P_ST(long groupId, boolean privateLayout, int[] statuses)
    Returns the number of layouts where groupId = ? and privateLayout = ? and status = any ?.
    static int
    countByG_P_T(long groupId, boolean privateLayout, String type)
    Returns the number of layouts where groupId = ? and privateLayout = ? and type = ?.
    static int
    countByG_P_T(long groupId, boolean privateLayout, String[] types)
    Returns the number of layouts where groupId = ? and privateLayout = ? and type = any ?.
    static int
    countByG_T(long groupId, String type)
    Returns the number of layouts where groupId = ? and type = ?.
    static int
    countByGroupId(long groupId)
    Returns the number of layouts where groupId = ?.
    static int
    countByIconImageId(long iconImageId)
    Returns the number of layouts where iconImageId = ?.
    static int
    countByLayoutSetPrototypeLayoutERC(String layoutSetPrototypeLayoutERC)
    Returns the number of layouts where layoutSetPrototypeLayoutERC = ?.
    static int
    countByP_I(boolean privateLayout, long iconImageId)
    Returns the number of layouts where privateLayout = ? and iconImageId = ?.
    static int
    countByParentPlid(long parentPlid)
    Returns the number of layouts where parentPlid = ?.
    static int
    countByPLPTEERC_PLPTESERC(String portletLayoutPageTemplateEntryERC, String portletLayoutPageTemplateEntryScopeERC)
    Returns the number of layouts where portletLayoutPageTemplateEntryERC = ? and portletLayoutPageTemplateEntryScopeERC = ?.
    static int
    Returns the number of layouts where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of layouts where uuid = ? and companyId = ?.
    static int
    countByUUID_G_P(String uuid, long groupId, boolean privateLayout)
    Returns the number of layouts where uuid = ? and groupId = ? and privateLayout = ?.
    static long
     
    static Layout
    create(long plid)
    Creates a new layout with the primary key.
    static Layout
    fetchByC_C_First(long classNameId, long classPK, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where classNameId = ? and classPK = ?.
    static Layout
    fetchByCompanyId_First(long companyId, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where companyId = ?.
    static Layout
    fetchByERC_G(String externalReferenceCode, long groupId)
    Returns the layout where externalReferenceCode = ? and groupId = ? or returns null if it could not be found.
    static Layout
    fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
    Returns the layout where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    static Layout
    fetchByG_MLPTEERC_First(long groupId, String masterLayoutPageTemplateEntryERC, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
    static Layout
    fetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
    Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returns null if it could not be found.
    static Layout
    fetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL, boolean useFinderCache)
    Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returns null if it could not be found, optionally using the finder cache.
    static Layout
    fetchByG_P_First(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.
    static Layout
    fetchByG_P_L(long groupId, boolean privateLayout, long layoutId)
    Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns null if it could not be found.
    static Layout
    fetchByG_P_L(long groupId, boolean privateLayout, long layoutId, boolean useFinderCache)
    Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns null if it could not be found, optionally using the finder cache.
    static Layout
    fetchByG_P_LSPLE_First(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
    static Layout
    fetchByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    static Layout
    fetchByG_P_P_H_First(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    static Layout
    fetchByG_P_P_LteP_First(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    static Layout
    fetchByG_P_P_S_First(long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    static Layout
    fetchByG_P_S_First(long groupId, boolean privateLayout, boolean system, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and system = ?.
    static Layout
    fetchByG_P_ST_First(long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.
    static Layout
    fetchByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
    static Layout
    fetchByG_T_First(long groupId, String type, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and type = ?.
    static Layout
    fetchByGroupId_First(long groupId, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ?.
    static Layout
    fetchByIconImageId_First(long iconImageId, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where iconImageId = ?.
    static Layout
    fetchByLayoutSetPrototypeLayoutERC_First(String layoutSetPrototypeLayoutERC, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where layoutSetPrototypeLayoutERC = ?.
    static Layout
    fetchByP_I_First(boolean privateLayout, long iconImageId, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where privateLayout = ? and iconImageId = ?.
    static Layout
    fetchByParentPlid_First(long parentPlid, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where parentPlid = ?.
    static Layout
    fetchByPLPTEERC_PLPTESERC_First(String portletLayoutPageTemplateEntryERC, String portletLayoutPageTemplateEntryScopeERC, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where portletLayoutPageTemplateEntryERC = ? and portletLayoutPageTemplateEntryScopeERC = ?.
    static Layout
    fetchByPrimaryKey(long plid)
    Returns the layout with the primary key or returns null if it could not be found.
     
    static Layout
    fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where uuid = ? and companyId = ?.
    static Layout
    fetchByUuid_First(String uuid, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where uuid = ?.
    static Layout
    fetchByUUID_G_P(String uuid, long groupId, boolean privateLayout)
    Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returns null if it could not be found.
    static Layout
    fetchByUUID_G_P(String uuid, long groupId, boolean privateLayout, boolean useFinderCache)
    Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returns null if it could not be found, optionally using the finder cache.
    static int
    filterCountByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC)
    Returns the number of layouts that the user has permission to view where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
    static int
    filterCountByG_P(long groupId, boolean privateLayout)
    Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ?.
    static int
    filterCountByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC)
    Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
    static int
    filterCountByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
    Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    static int
    filterCountByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
    Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
    static int
    filterCountByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden)
    Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.
    static int
    filterCountByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden)
    Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    static int
    filterCountByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
    Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    static int
    filterCountByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system)
    Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.
    static int
    filterCountByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system)
    Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    static int
    filterCountByG_P_S(long groupId, boolean privateLayout, boolean system)
    Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and system = ?.
    static int
    filterCountByG_P_ST(long groupId, boolean privateLayout, int status)
    Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = ?.
    static int
    filterCountByG_P_ST(long groupId, boolean privateLayout, int[] statuses)
    Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = any ?.
    static int
    filterCountByG_P_T(long groupId, boolean privateLayout, String type)
    Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.
    static int
    filterCountByG_P_T(long groupId, boolean privateLayout, String[] types)
    Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = any ?.
    static int
    filterCountByG_T(long groupId, String type)
    Returns the number of layouts that the user has permission to view where groupId = ? and type = ?.
    static int
    filterCountByGroupId(long groupId)
    Returns the number of layouts that the user has permission to view where groupId = ?.
    static List<Layout>
    filterFindByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC)
    Returns all the layouts that the user has permission to view where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
    static List<Layout>
    filterFindByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
    static List<Layout>
    filterFindByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
    static List<Layout>
    filterFindByG_P(long groupId, boolean privateLayout)
    Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ?.
    static List<Layout>
    filterFindByG_P(long groupId, boolean privateLayout, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ?.
    static List<Layout>
    filterFindByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ?.
    static List<Layout>
    filterFindByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC)
    Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
    static List<Layout>
    filterFindByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
    static List<Layout>
    filterFindByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
    static List<Layout>
    filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
    Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    static List<Layout>
    filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
    Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
    static List<Layout>
    filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
    static List<Layout>
    filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
    static List<Layout>
    filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    static List<Layout>
    filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    static List<Layout>
    filterFindByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden)
    Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.
    static List<Layout>
    filterFindByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.
    static List<Layout>
    filterFindByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.
    static List<Layout>
    filterFindByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden)
    Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    static List<Layout>
    filterFindByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    static List<Layout>
    filterFindByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    static List<Layout>
    filterFindByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
    Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    static List<Layout>
    filterFindByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    static List<Layout>
    filterFindByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    static List<Layout>
    filterFindByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system)
    Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.
    static List<Layout>
    filterFindByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.
    static List<Layout>
    filterFindByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.
    static List<Layout>
    filterFindByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system)
    Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    static List<Layout>
    filterFindByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    static List<Layout>
    filterFindByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    static List<Layout>
    filterFindByG_P_S(long groupId, boolean privateLayout, boolean system)
    Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and system = ?.
    static List<Layout>
    filterFindByG_P_S(long groupId, boolean privateLayout, boolean system, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and system = ?.
    static List<Layout>
    filterFindByG_P_S(long groupId, boolean privateLayout, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and system = ?.
    static List<Layout>
    filterFindByG_P_ST(long groupId, boolean privateLayout, int status)
    Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = ?.
    static List<Layout>
    filterFindByG_P_ST(long groupId, boolean privateLayout, int[] statuses)
    Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = any ?.
    static List<Layout>
    filterFindByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = any ?.
    static List<Layout>
    filterFindByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = any ?.
    static List<Layout>
    filterFindByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = ?.
    static List<Layout>
    filterFindByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and status = ?.
    static List<Layout>
    filterFindByG_P_T(long groupId, boolean privateLayout, String type)
    Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.
    static List<Layout>
    filterFindByG_P_T(long groupId, boolean privateLayout, String[] types)
    Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = any ?.
    static List<Layout>
    filterFindByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = any ?.
    static List<Layout>
    filterFindByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = any ?.
    static List<Layout>
    filterFindByG_P_T(long groupId, boolean privateLayout, String type, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.
    static List<Layout>
    filterFindByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and type = ?.
    static List<Layout>
    filterFindByG_T(long groupId, String type)
    Returns all the layouts that the user has permission to view where groupId = ? and type = ?.
    static List<Layout>
    filterFindByG_T(long groupId, String type, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and type = ?.
    static List<Layout>
    filterFindByG_T(long groupId, String type, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and type = ?.
    static List<Layout>
    filterFindByGroupId(long groupId)
    Returns all the layouts that the user has permission to view where groupId = ?.
    static List<Layout>
    filterFindByGroupId(long groupId, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ?.
    static List<Layout>
    filterFindByGroupId(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ?.
    static List<Layout>
    Returns all the layouts.
    static List<Layout>
    findAll(int start, int end)
    Returns a range of all the layouts.
    static List<Layout>
    findAll(int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts.
    static List<Layout>
    findAll(int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts.
    static List<Layout>
    findByC_C(long classNameId, long classPK)
    Returns all the layouts where classNameId = ? and classPK = ?.
    static List<Layout>
    findByC_C(long classNameId, long[] classPKs)
    Returns all the layouts where classNameId = ? and classPK = any ?.
    static List<Layout>
    findByC_C(long classNameId, long[] classPKs, int start, int end)
    Returns a range of all the layouts where classNameId = ? and classPK = any ?.
    static List<Layout>
    findByC_C(long classNameId, long[] classPKs, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where classNameId = ? and classPK = any ?.
    static List<Layout>
    findByC_C(long classNameId, long[] classPKs, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where classNameId = ? and classPK = ?, optionally using the finder cache.
    static List<Layout>
    findByC_C(long classNameId, long classPK, int start, int end)
    Returns a range of all the layouts where classNameId = ? and classPK = ?.
    static List<Layout>
    findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where classNameId = ? and classPK = ?.
    static List<Layout>
    findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where classNameId = ? and classPK = ?.
    static Layout
    findByC_C_First(long classNameId, long classPK, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where classNameId = ? and classPK = ?.
    static List<Layout>
    findByCompanyId(long companyId)
    Returns all the layouts where companyId = ?.
    static List<Layout>
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the layouts where companyId = ?.
    static List<Layout>
    findByCompanyId(long companyId, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where companyId = ?.
    static List<Layout>
    findByCompanyId(long companyId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where companyId = ?.
    static Layout
    findByCompanyId_First(long companyId, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where companyId = ?.
    static Layout
    findByERC_G(String externalReferenceCode, long groupId)
    Returns the layout where externalReferenceCode = ? and groupId = ? or throws a NoSuchLayoutException if it could not be found.
    static List<Layout>
    findByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC)
    Returns all the layouts where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
    static List<Layout>
    findByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC, int start, int end)
    Returns a range of all the layouts where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
    static List<Layout>
    findByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
    static List<Layout>
    findByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
    static Layout
    findByG_MLPTEERC_First(long groupId, String masterLayoutPageTemplateEntryERC, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
    static List<Layout>
    findByG_P(long groupId, boolean privateLayout)
    Returns all the layouts where groupId = ? and privateLayout = ?.
    static List<Layout>
    findByG_P(long groupId, boolean privateLayout, int start, int end)
    Returns a range of all the layouts where groupId = ? and privateLayout = ?.
    static List<Layout>
    findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?.
    static List<Layout>
    findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?.
    static Layout
    findByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
    Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or throws a NoSuchLayoutException if it could not be found.
    static Layout
    findByG_P_First(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.
    static Layout
    findByG_P_L(long groupId, boolean privateLayout, long layoutId)
    Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or throws a NoSuchLayoutException if it could not be found.
    static List<Layout>
    findByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC)
    Returns all the layouts where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
    static List<Layout>
    findByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC, int start, int end)
    Returns a range of all the layouts where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
    static List<Layout>
    findByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
    static List<Layout>
    findByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
    static Layout
    findByG_P_LSPLE_First(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
    static List<Layout>
    findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
    Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    static List<Layout>
    findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
    Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
    static List<Layout>
    findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end)
    Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
    static List<Layout>
    findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
    static List<Layout>
    findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?, optionally using the finder cache.
    static List<Layout>
    findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end)
    Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    static List<Layout>
    findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    static List<Layout>
    findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    static Layout
    findByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    static List<Layout>
    findByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden)
    Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.
    static List<Layout>
    findByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end)
    Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.
    static List<Layout>
    findByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.
    static List<Layout>
    findByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?, optionally using the finder cache.
    static List<Layout>
    findByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden)
    Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    static List<Layout>
    findByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end)
    Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    static List<Layout>
    findByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    static List<Layout>
    findByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    static Layout
    findByG_P_P_H_First(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    static List<Layout>
    findByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
    Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    static List<Layout>
    findByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end)
    Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    static List<Layout>
    findByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    static List<Layout>
    findByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    static Layout
    findByG_P_P_LteP_First(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    static List<Layout>
    findByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system)
    Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.
    static List<Layout>
    findByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end)
    Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.
    static List<Layout>
    findByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.
    static List<Layout>
    findByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?, optionally using the finder cache.
    static List<Layout>
    findByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system)
    Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    static List<Layout>
    findByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end)
    Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    static List<Layout>
    findByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    static List<Layout>
    findByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    static Layout
    findByG_P_P_S_First(long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    static List<Layout>
    findByG_P_S(long groupId, boolean privateLayout, boolean system)
    Returns all the layouts where groupId = ? and privateLayout = ? and system = ?.
    static List<Layout>
    findByG_P_S(long groupId, boolean privateLayout, boolean system, int start, int end)
    Returns a range of all the layouts where groupId = ? and privateLayout = ? and system = ?.
    static List<Layout>
    findByG_P_S(long groupId, boolean privateLayout, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and system = ?.
    static List<Layout>
    findByG_P_S(long groupId, boolean privateLayout, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and system = ?.
    static Layout
    findByG_P_S_First(long groupId, boolean privateLayout, boolean system, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and system = ?.
    static List<Layout>
    findByG_P_ST(long groupId, boolean privateLayout, int status)
    Returns all the layouts where groupId = ? and privateLayout = ? and status = ?.
    static List<Layout>
    findByG_P_ST(long groupId, boolean privateLayout, int[] statuses)
    Returns all the layouts where groupId = ? and privateLayout = ? and status = any ?.
    static List<Layout>
    findByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end)
    Returns a range of all the layouts where groupId = ? and privateLayout = ? and status = any ?.
    static List<Layout>
    findByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = any ?.
    static List<Layout>
    findByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = ?, optionally using the finder cache.
    static List<Layout>
    findByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end)
    Returns a range of all the layouts where groupId = ? and privateLayout = ? and status = ?.
    static List<Layout>
    findByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = ?.
    static List<Layout>
    findByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = ?.
    static Layout
    findByG_P_ST_First(long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.
    static List<Layout>
    findByG_P_T(long groupId, boolean privateLayout, String type)
    Returns all the layouts where groupId = ? and privateLayout = ? and type = ?.
    static List<Layout>
    findByG_P_T(long groupId, boolean privateLayout, String[] types)
    Returns all the layouts where groupId = ? and privateLayout = ? and type = any ?.
    static List<Layout>
    findByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end)
    Returns a range of all the layouts where groupId = ? and privateLayout = ? and type = any ?.
    static List<Layout>
    findByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = any ?.
    static List<Layout>
    findByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?, optionally using the finder cache.
    static List<Layout>
    findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end)
    Returns a range of all the layouts where groupId = ? and privateLayout = ? and type = ?.
    static List<Layout>
    findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?.
    static List<Layout>
    findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?.
    static Layout
    findByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
    static List<Layout>
    findByG_T(long groupId, String type)
    Returns all the layouts where groupId = ? and type = ?.
    static List<Layout>
    findByG_T(long groupId, String type, int start, int end)
    Returns a range of all the layouts where groupId = ? and type = ?.
    static List<Layout>
    findByG_T(long groupId, String type, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and type = ?.
    static List<Layout>
    findByG_T(long groupId, String type, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and type = ?.
    static Layout
    findByG_T_First(long groupId, String type, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and type = ?.
    static List<Layout>
    findByGroupId(long groupId)
    Returns all the layouts where groupId = ?.
    static List<Layout>
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the layouts where groupId = ?.
    static List<Layout>
    findByGroupId(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ?.
    static List<Layout>
    findByGroupId(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ?.
    static Layout
    findByGroupId_First(long groupId, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ?.
    static List<Layout>
    findByIconImageId(long iconImageId)
    Returns all the layouts where iconImageId = ?.
    static List<Layout>
    findByIconImageId(long iconImageId, int start, int end)
    Returns a range of all the layouts where iconImageId = ?.
    static List<Layout>
    findByIconImageId(long iconImageId, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where iconImageId = ?.
    static List<Layout>
    findByIconImageId(long iconImageId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where iconImageId = ?.
    static Layout
    findByIconImageId_First(long iconImageId, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where iconImageId = ?.
    static List<Layout>
    findByLayoutSetPrototypeLayoutERC(String layoutSetPrototypeLayoutERC)
    Returns all the layouts where layoutSetPrototypeLayoutERC = ?.
    static List<Layout>
    findByLayoutSetPrototypeLayoutERC(String layoutSetPrototypeLayoutERC, int start, int end)
    Returns a range of all the layouts where layoutSetPrototypeLayoutERC = ?.
    static List<Layout>
    findByLayoutSetPrototypeLayoutERC(String layoutSetPrototypeLayoutERC, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where layoutSetPrototypeLayoutERC = ?.
    static List<Layout>
    findByLayoutSetPrototypeLayoutERC(String layoutSetPrototypeLayoutERC, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where layoutSetPrototypeLayoutERC = ?.
    static Layout
    findByLayoutSetPrototypeLayoutERC_First(String layoutSetPrototypeLayoutERC, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where layoutSetPrototypeLayoutERC = ?.
    static List<Layout>
    findByP_I(boolean privateLayout, long iconImageId)
    Returns all the layouts where privateLayout = ? and iconImageId = ?.
    static List<Layout>
    findByP_I(boolean privateLayout, long iconImageId, int start, int end)
    Returns a range of all the layouts where privateLayout = ? and iconImageId = ?.
    static List<Layout>
    findByP_I(boolean privateLayout, long iconImageId, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where privateLayout = ? and iconImageId = ?.
    static List<Layout>
    findByP_I(boolean privateLayout, long iconImageId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where privateLayout = ? and iconImageId = ?.
    static Layout
    findByP_I_First(boolean privateLayout, long iconImageId, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where privateLayout = ? and iconImageId = ?.
    static List<Layout>
    findByParentPlid(long parentPlid)
    Returns all the layouts where parentPlid = ?.
    static List<Layout>
    findByParentPlid(long parentPlid, int start, int end)
    Returns a range of all the layouts where parentPlid = ?.
    static List<Layout>
    findByParentPlid(long parentPlid, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where parentPlid = ?.
    static List<Layout>
    findByParentPlid(long parentPlid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where parentPlid = ?.
    static Layout
    findByParentPlid_First(long parentPlid, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where parentPlid = ?.
    static List<Layout>
    findByPLPTEERC_PLPTESERC(String portletLayoutPageTemplateEntryERC, String portletLayoutPageTemplateEntryScopeERC)
    Returns all the layouts where portletLayoutPageTemplateEntryERC = ? and portletLayoutPageTemplateEntryScopeERC = ?.
    static List<Layout>
    findByPLPTEERC_PLPTESERC(String portletLayoutPageTemplateEntryERC, String portletLayoutPageTemplateEntryScopeERC, int start, int end)
    Returns a range of all the layouts where portletLayoutPageTemplateEntryERC = ? and portletLayoutPageTemplateEntryScopeERC = ?.
    static List<Layout>
    findByPLPTEERC_PLPTESERC(String portletLayoutPageTemplateEntryERC, String portletLayoutPageTemplateEntryScopeERC, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where portletLayoutPageTemplateEntryERC = ? and portletLayoutPageTemplateEntryScopeERC = ?.
    static List<Layout>
    findByPLPTEERC_PLPTESERC(String portletLayoutPageTemplateEntryERC, String portletLayoutPageTemplateEntryScopeERC, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where portletLayoutPageTemplateEntryERC = ? and portletLayoutPageTemplateEntryScopeERC = ?.
    static Layout
    findByPLPTEERC_PLPTESERC_First(String portletLayoutPageTemplateEntryERC, String portletLayoutPageTemplateEntryScopeERC, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where portletLayoutPageTemplateEntryERC = ? and portletLayoutPageTemplateEntryScopeERC = ?.
    static Layout
    findByPrimaryKey(long plid)
    Returns the layout with the primary key or throws a NoSuchLayoutException if it could not be found.
    static List<Layout>
    Returns all the layouts where uuid = ?.
    static List<Layout>
    findByUuid(String uuid, int start, int end)
    Returns a range of all the layouts where uuid = ?.
    static List<Layout>
    findByUuid(String uuid, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where uuid = ?.
    static List<Layout>
    findByUuid(String uuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where uuid = ?.
    static List<Layout>
    findByUuid_C(String uuid, long companyId)
    Returns all the layouts where uuid = ? and companyId = ?.
    static List<Layout>
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the layouts where uuid = ? and companyId = ?.
    static List<Layout>
    findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where uuid = ? and companyId = ?.
    static List<Layout>
    findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where uuid = ? and companyId = ?.
    static Layout
    findByUuid_C_First(String uuid, long companyId, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where uuid = ? and companyId = ?.
    static Layout
    findByUuid_First(String uuid, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where uuid = ?.
    static Layout
    findByUUID_G_P(String uuid, long groupId, boolean privateLayout)
    Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or throws a NoSuchLayoutException if it could not be found.
    static List<Layout>
     
    static List<Layout>
    findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
     
    static List<Layout>
    findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<Layout> orderByComparator)
     
     
    static Layout
    remove(long plid)
    Removes the layout with the primary key from the database.
    static void
    Removes all the layouts from the database.
    static void
    removeByC_C(long classNameId, long classPK)
    Removes all the layouts where classNameId = ? and classPK = ? from the database.
    static void
    removeByCompanyId(long companyId)
    Removes all the layouts where companyId = ? from the database.
    static Layout
    removeByERC_G(String externalReferenceCode, long groupId)
    Removes the layout where externalReferenceCode = ? and groupId = ? from the database.
    static void
    removeByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC)
    Removes all the layouts where groupId = ? and masterLayoutPageTemplateEntryERC = ? from the database.
    static void
    removeByG_P(long groupId, boolean privateLayout)
    Removes all the layouts where groupId = ? and privateLayout = ? from the database.
    static Layout
    removeByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
    Removes the layout where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.
    static Layout
    removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
    Removes the layout where groupId = ? and privateLayout = ? and layoutId = ? from the database.
    static void
    removeByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC)
    Removes all the layouts where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ? from the database.
    static void
    removeByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
    Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? from the database.
    static void
    removeByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden)
    Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ? from the database.
    static void
    removeByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
    Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ? from the database.
    static void
    removeByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system)
    Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ? from the database.
    static void
    removeByG_P_S(long groupId, boolean privateLayout, boolean system)
    Removes all the layouts where groupId = ? and privateLayout = ? and system = ? from the database.
    static void
    removeByG_P_ST(long groupId, boolean privateLayout, int status)
    Removes all the layouts where groupId = ? and privateLayout = ? and status = ? from the database.
    static void
    removeByG_P_T(long groupId, boolean privateLayout, String type)
    Removes all the layouts where groupId = ? and privateLayout = ? and type = ? from the database.
    static void
    removeByG_T(long groupId, String type)
    Removes all the layouts where groupId = ? and type = ? from the database.
    static void
    removeByGroupId(long groupId)
    Removes all the layouts where groupId = ? from the database.
    static void
    removeByIconImageId(long iconImageId)
    Removes all the layouts where iconImageId = ? from the database.
    static void
    removeByLayoutSetPrototypeLayoutERC(String layoutSetPrototypeLayoutERC)
    Removes all the layouts where layoutSetPrototypeLayoutERC = ? from the database.
    static void
    removeByP_I(boolean privateLayout, long iconImageId)
    Removes all the layouts where privateLayout = ? and iconImageId = ? from the database.
    static void
    removeByParentPlid(long parentPlid)
    Removes all the layouts where parentPlid = ? from the database.
    static void
    removeByPLPTEERC_PLPTESERC(String portletLayoutPageTemplateEntryERC, String portletLayoutPageTemplateEntryScopeERC)
    Removes all the layouts where portletLayoutPageTemplateEntryERC = ? and portletLayoutPageTemplateEntryScopeERC = ? from the database.
    static void
    Removes all the layouts where uuid = ? from the database.
    static void
    removeByUuid_C(String uuid, long companyId)
    Removes all the layouts where uuid = ? and companyId = ? from the database.
    static Layout
    removeByUUID_G_P(String uuid, long groupId, boolean privateLayout)
    Removes the layout where uuid = ? and groupId = ? and privateLayout = ? from the database.
    static void
     
    static Layout
    update(Layout layout)
     
    static Layout
    update(Layout layout, ServiceContext serviceContext)
     
    static Layout
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LayoutUtil

      public LayoutUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
    • clearCache

      public static void clearCache(Layout layout)
      See Also:
    • countWithDynamicQuery

      public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
      See Also:
    • fetchByPrimaryKeys

      public static Map<Serializable,Layout> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
    • findWithDynamicQuery

      public static List<Layout> findWithDynamicQuery(DynamicQuery dynamicQuery)
      See Also:
    • findWithDynamicQuery

      public static List<Layout> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
      See Also:
    • findWithDynamicQuery

      public static List<Layout> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<Layout> orderByComparator)
      See Also:
    • update

      public static Layout update(Layout layout)
      See Also:
    • update

      public static Layout update(Layout layout, ServiceContext serviceContext)
      See Also:
    • findByUuid

      public static List<Layout> findByUuid(String uuid)
      Returns all the layouts where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching layouts
    • findByUuid

      public static List<Layout> findByUuid(String uuid, int start, int end)
      Returns a range of all the layouts 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.portal.model.impl.LayoutModelImpl.

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

      public static List<Layout> findByUuid(String uuid, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts 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.portal.model.impl.LayoutModelImpl.

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

      public static List<Layout> findByUuid(String uuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts 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.portal.model.impl.LayoutModelImpl.

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

      public static Layout findByUuid_First(String uuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout 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
    • fetchByUuid_First

      public static Layout fetchByUuid_First(String uuid, OrderByComparator<Layout> orderByComparator)
      Returns the first layout 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, or null if a matching layout could not be found
    • removeByUuid

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

      public static int countByUuid(String uuid)
      Returns the number of layouts where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching layouts
    • findByUUID_G_P

      public static Layout findByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws NoSuchLayoutException
      Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or throws a NoSuchLayoutException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      privateLayout - the private layout
      Returns:
      the matching layout
    • fetchByUUID_G_P

      public static Layout fetchByUUID_G_P(String uuid, long groupId, boolean privateLayout)
      Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      privateLayout - the private layout
      Returns:
      the matching layout, or null if a matching layout could not be found
    • fetchByUUID_G_P

      public static Layout fetchByUUID_G_P(String uuid, long groupId, boolean privateLayout, boolean useFinderCache)
      Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      privateLayout - the private layout
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout, or null if a matching layout could not be found
    • removeByUUID_G_P

      public static Layout removeByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws NoSuchLayoutException
      Removes the layout where uuid = ? and groupId = ? and privateLayout = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      privateLayout - the private layout
      Returns:
      the layout that was removed
      Throws:
      NoSuchLayoutException
    • countByUUID_G_P

      public static int countByUUID_G_P(String uuid, long groupId, boolean privateLayout)
      Returns the number of layouts where uuid = ? and groupId = ? and privateLayout = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      privateLayout - the private layout
      Returns:
      the number of matching layouts
    • findByUuid_C

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

      public static List<Layout> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the layouts 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.portal.model.impl.LayoutModelImpl.

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

      public static List<Layout> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts 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.portal.model.impl.LayoutModelImpl.

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

      public static List<Layout> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts 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.portal.model.impl.LayoutModelImpl.

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

      public static Layout findByUuid_C_First(String uuid, long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout 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
    • fetchByUuid_C_First

      public static Layout fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<Layout> orderByComparator)
      Returns the first layout 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, or null if a matching layout could not be found
    • removeByUuid_C

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

      public static List<Layout> findByGroupId(long groupId)
      Returns all the layouts where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching layouts
    • findByGroupId

      public static List<Layout> findByGroupId(long groupId, int start, int end)
      Returns a range of all the layouts 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 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.portal.model.impl.LayoutModelImpl.

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

      public static List<Layout> findByGroupId(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts 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 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.portal.model.impl.LayoutModelImpl.

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

      public static List<Layout> findByGroupId(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts 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 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.portal.model.impl.LayoutModelImpl.

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

      public static Layout findByGroupId_First(long groupId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout 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
    • fetchByGroupId_First

      public static Layout fetchByGroupId_First(long groupId, OrderByComparator<Layout> orderByComparator)
      Returns the first layout 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, or null if a matching layout could not be found
    • filterFindByGroupId

      public static List<Layout> filterFindByGroupId(long groupId)
      Returns all the layouts that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByGroupId

      public static List<Layout> filterFindByGroupId(long groupId, int start, int end)
      Returns a range of all the layouts that the user has permission to view 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 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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByGroupId

      public static List<Layout> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permissions to view 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 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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • removeByGroupId

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

      public static int countByGroupId(long groupId)
      Returns the number of layouts where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching layouts
    • filterCountByGroupId

      public static int filterCountByGroupId(long groupId)
      Returns the number of layouts that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching layouts that the user has permission to view
    • findByCompanyId

      public static List<Layout> findByCompanyId(long companyId)
      Returns all the layouts where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching layouts
    • findByCompanyId

      public static List<Layout> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the layouts where 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.portal.model.impl.LayoutModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByCompanyId

      public static List<Layout> findByCompanyId(long companyId, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where 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.portal.model.impl.LayoutModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByCompanyId

      public static List<Layout> findByCompanyId(long companyId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where 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.portal.model.impl.LayoutModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByCompanyId_First

      public static Layout findByCompanyId_First(long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByCompanyId_First

      public static Layout fetchByCompanyId_First(long companyId, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • removeByCompanyId

      public static void removeByCompanyId(long companyId)
      Removes all the layouts where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public static int countByCompanyId(long companyId)
      Returns the number of layouts where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching layouts
    • findByParentPlid

      public static List<Layout> findByParentPlid(long parentPlid)
      Returns all the layouts where parentPlid = ?.
      Parameters:
      parentPlid - the parent plid
      Returns:
      the matching layouts
    • findByParentPlid

      public static List<Layout> findByParentPlid(long parentPlid, int start, int end)
      Returns a range of all the layouts where parentPlid = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      parentPlid - the parent plid
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByParentPlid

      public static List<Layout> findByParentPlid(long parentPlid, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where parentPlid = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      parentPlid - the parent plid
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByParentPlid

      public static List<Layout> findByParentPlid(long parentPlid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where parentPlid = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      parentPlid - the parent plid
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByParentPlid_First

      public static Layout findByParentPlid_First(long parentPlid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where parentPlid = ?.
      Parameters:
      parentPlid - the parent plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByParentPlid_First

      public static Layout fetchByParentPlid_First(long parentPlid, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where parentPlid = ?.
      Parameters:
      parentPlid - the parent plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • removeByParentPlid

      public static void removeByParentPlid(long parentPlid)
      Removes all the layouts where parentPlid = ? from the database.
      Parameters:
      parentPlid - the parent plid
    • countByParentPlid

      public static int countByParentPlid(long parentPlid)
      Returns the number of layouts where parentPlid = ?.
      Parameters:
      parentPlid - the parent plid
      Returns:
      the number of matching layouts
    • findByIconImageId

      public static List<Layout> findByIconImageId(long iconImageId)
      Returns all the layouts where iconImageId = ?.
      Parameters:
      iconImageId - the icon image ID
      Returns:
      the matching layouts
    • findByIconImageId

      public static List<Layout> findByIconImageId(long iconImageId, int start, int end)
      Returns a range of all the layouts where iconImageId = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      iconImageId - the icon image ID
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByIconImageId

      public static List<Layout> findByIconImageId(long iconImageId, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where iconImageId = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      iconImageId - the icon image ID
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByIconImageId

      public static List<Layout> findByIconImageId(long iconImageId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where iconImageId = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      iconImageId - the icon image ID
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByIconImageId_First

      public static Layout findByIconImageId_First(long iconImageId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where iconImageId = ?.
      Parameters:
      iconImageId - the icon image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByIconImageId_First

      public static Layout fetchByIconImageId_First(long iconImageId, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where iconImageId = ?.
      Parameters:
      iconImageId - the icon image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • removeByIconImageId

      public static void removeByIconImageId(long iconImageId)
      Removes all the layouts where iconImageId = ? from the database.
      Parameters:
      iconImageId - the icon image ID
    • countByIconImageId

      public static int countByIconImageId(long iconImageId)
      Returns the number of layouts where iconImageId = ?.
      Parameters:
      iconImageId - the icon image ID
      Returns:
      the number of matching layouts
    • findByLayoutSetPrototypeLayoutERC

      public static List<Layout> findByLayoutSetPrototypeLayoutERC(String layoutSetPrototypeLayoutERC)
      Returns all the layouts where layoutSetPrototypeLayoutERC = ?.
      Parameters:
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      Returns:
      the matching layouts
    • findByLayoutSetPrototypeLayoutERC

      public static List<Layout> findByLayoutSetPrototypeLayoutERC(String layoutSetPrototypeLayoutERC, int start, int end)
      Returns a range of all the layouts where layoutSetPrototypeLayoutERC = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByLayoutSetPrototypeLayoutERC

      public static List<Layout> findByLayoutSetPrototypeLayoutERC(String layoutSetPrototypeLayoutERC, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where layoutSetPrototypeLayoutERC = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByLayoutSetPrototypeLayoutERC

      public static List<Layout> findByLayoutSetPrototypeLayoutERC(String layoutSetPrototypeLayoutERC, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where layoutSetPrototypeLayoutERC = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByLayoutSetPrototypeLayoutERC_First

      public static Layout findByLayoutSetPrototypeLayoutERC_First(String layoutSetPrototypeLayoutERC, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where layoutSetPrototypeLayoutERC = ?.
      Parameters:
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByLayoutSetPrototypeLayoutERC_First

      public static Layout fetchByLayoutSetPrototypeLayoutERC_First(String layoutSetPrototypeLayoutERC, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where layoutSetPrototypeLayoutERC = ?.
      Parameters:
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • removeByLayoutSetPrototypeLayoutERC

      public static void removeByLayoutSetPrototypeLayoutERC(String layoutSetPrototypeLayoutERC)
      Removes all the layouts where layoutSetPrototypeLayoutERC = ? from the database.
      Parameters:
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
    • countByLayoutSetPrototypeLayoutERC

      public static int countByLayoutSetPrototypeLayoutERC(String layoutSetPrototypeLayoutERC)
      Returns the number of layouts where layoutSetPrototypeLayoutERC = ?.
      Parameters:
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      Returns:
      the number of matching layouts
    • findByG_P

      public static List<Layout> findByG_P(long groupId, boolean privateLayout)
      Returns all the layouts where groupId = ? and privateLayout = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      Returns:
      the matching layouts
    • findByG_P

      public static List<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end)
      Returns a range of all the layouts where groupId = ? and privateLayout = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByG_P

      public static List<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByG_P

      public static List<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByG_P_First

      public static Layout findByG_P_First(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByG_P_First

      public static Layout fetchByG_P_First(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • filterFindByG_P

      public static List<Layout> filterFindByG_P(long groupId, boolean privateLayout)
      Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_P

      public static List<Layout> filterFindByG_P(long groupId, boolean privateLayout, int start, int end)
      Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByG_P

      public static List<Layout> filterFindByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • removeByG_P

      public static void removeByG_P(long groupId, boolean privateLayout)
      Removes all the layouts where groupId = ? and privateLayout = ? from the database.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
    • countByG_P

      public static int countByG_P(long groupId, boolean privateLayout)
      Returns the number of layouts where groupId = ? and privateLayout = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      Returns:
      the number of matching layouts
    • filterCountByG_P

      public static int filterCountByG_P(long groupId, boolean privateLayout)
      Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      Returns:
      the number of matching layouts that the user has permission to view
    • findByG_T

      public static List<Layout> findByG_T(long groupId, String type)
      Returns all the layouts where groupId = ? and type = ?.
      Parameters:
      groupId - the group ID
      type - the type
      Returns:
      the matching layouts
    • findByG_T

      public static List<Layout> findByG_T(long groupId, String type, int start, int end)
      Returns a range of all the layouts where groupId = ? and type = ?.

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

      Parameters:
      groupId - the group ID
      type - the type
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByG_T

      public static List<Layout> findByG_T(long groupId, String type, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where groupId = ? and type = ?.

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

      Parameters:
      groupId - the group ID
      type - the type
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByG_T

      public static List<Layout> findByG_T(long groupId, String type, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where groupId = ? and type = ?.

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

      Parameters:
      groupId - the group ID
      type - the type
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByG_T_First

      public static Layout findByG_T_First(long groupId, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and type = ?.
      Parameters:
      groupId - the group ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByG_T_First

      public static Layout fetchByG_T_First(long groupId, String type, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and type = ?.
      Parameters:
      groupId - the group ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • filterFindByG_T

      public static List<Layout> filterFindByG_T(long groupId, String type)
      Returns all the layouts that the user has permission to view where groupId = ? and type = ?.
      Parameters:
      groupId - the group ID
      type - the type
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_T

      public static List<Layout> filterFindByG_T(long groupId, String type, int start, int end)
      Returns a range of all the layouts that the user has permission to view where groupId = ? and type = ?.

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

      Parameters:
      groupId - the group ID
      type - the type
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByG_T

      public static List<Layout> filterFindByG_T(long groupId, String type, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and type = ?.

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

      Parameters:
      groupId - the group ID
      type - the type
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • removeByG_T

      public static void removeByG_T(long groupId, String type)
      Removes all the layouts where groupId = ? and type = ? from the database.
      Parameters:
      groupId - the group ID
      type - the type
    • countByG_T

      public static int countByG_T(long groupId, String type)
      Returns the number of layouts where groupId = ? and type = ?.
      Parameters:
      groupId - the group ID
      type - the type
      Returns:
      the number of matching layouts
    • filterCountByG_T

      public static int filterCountByG_T(long groupId, String type)
      Returns the number of layouts that the user has permission to view where groupId = ? and type = ?.
      Parameters:
      groupId - the group ID
      type - the type
      Returns:
      the number of matching layouts that the user has permission to view
    • findByG_MLPTEERC

      public static List<Layout> findByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC)
      Returns all the layouts where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
      Parameters:
      groupId - the group ID
      masterLayoutPageTemplateEntryERC - the master layout page template entry erc
      Returns:
      the matching layouts
    • findByG_MLPTEERC

      public static List<Layout> findByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC, int start, int end)
      Returns a range of all the layouts where groupId = ? and masterLayoutPageTemplateEntryERC = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      masterLayoutPageTemplateEntryERC - the master layout page template entry erc
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByG_MLPTEERC

      public static List<Layout> findByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where groupId = ? and masterLayoutPageTemplateEntryERC = ?.

      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.portal.model.impl.LayoutModelImpl.

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

      public static List<Layout> findByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where groupId = ? and masterLayoutPageTemplateEntryERC = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      masterLayoutPageTemplateEntryERC - the master layout page template entry erc
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByG_MLPTEERC_First

      public static Layout findByG_MLPTEERC_First(long groupId, String masterLayoutPageTemplateEntryERC, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
      Parameters:
      groupId - the group ID
      masterLayoutPageTemplateEntryERC - the master layout page template entry erc
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByG_MLPTEERC_First

      public static Layout fetchByG_MLPTEERC_First(long groupId, String masterLayoutPageTemplateEntryERC, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
      Parameters:
      groupId - the group ID
      masterLayoutPageTemplateEntryERC - the master layout page template entry erc
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • filterFindByG_MLPTEERC

      public static List<Layout> filterFindByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC)
      Returns all the layouts that the user has permission to view where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
      Parameters:
      groupId - the group ID
      masterLayoutPageTemplateEntryERC - the master layout page template entry erc
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_MLPTEERC

      public static List<Layout> filterFindByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC, int start, int end)
      Returns a range of all the layouts that the user has permission to view where groupId = ? and masterLayoutPageTemplateEntryERC = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      masterLayoutPageTemplateEntryERC - the master layout page template entry erc
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByG_MLPTEERC

      public static List<Layout> filterFindByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and masterLayoutPageTemplateEntryERC = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      masterLayoutPageTemplateEntryERC - the master layout page template entry erc
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • removeByG_MLPTEERC

      public static void removeByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC)
      Removes all the layouts where groupId = ? and masterLayoutPageTemplateEntryERC = ? from the database.
      Parameters:
      groupId - the group ID
      masterLayoutPageTemplateEntryERC - the master layout page template entry erc
    • countByG_MLPTEERC

      public static int countByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC)
      Returns the number of layouts where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
      Parameters:
      groupId - the group ID
      masterLayoutPageTemplateEntryERC - the master layout page template entry erc
      Returns:
      the number of matching layouts
    • filterCountByG_MLPTEERC

      public static int filterCountByG_MLPTEERC(long groupId, String masterLayoutPageTemplateEntryERC)
      Returns the number of layouts that the user has permission to view where groupId = ? and masterLayoutPageTemplateEntryERC = ?.
      Parameters:
      groupId - the group ID
      masterLayoutPageTemplateEntryERC - the master layout page template entry erc
      Returns:
      the number of matching layouts that the user has permission to view
    • findByP_I

      public static List<Layout> findByP_I(boolean privateLayout, long iconImageId)
      Returns all the layouts where privateLayout = ? and iconImageId = ?.
      Parameters:
      privateLayout - the private layout
      iconImageId - the icon image ID
      Returns:
      the matching layouts
    • findByP_I

      public static List<Layout> findByP_I(boolean privateLayout, long iconImageId, int start, int end)
      Returns a range of all the layouts where privateLayout = ? and iconImageId = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      privateLayout - the private layout
      iconImageId - the icon image ID
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByP_I

      public static List<Layout> findByP_I(boolean privateLayout, long iconImageId, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where privateLayout = ? and iconImageId = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      privateLayout - the private layout
      iconImageId - the icon image ID
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByP_I

      public static List<Layout> findByP_I(boolean privateLayout, long iconImageId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where privateLayout = ? and iconImageId = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      privateLayout - the private layout
      iconImageId - the icon image ID
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByP_I_First

      public static Layout findByP_I_First(boolean privateLayout, long iconImageId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where privateLayout = ? and iconImageId = ?.
      Parameters:
      privateLayout - the private layout
      iconImageId - the icon image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByP_I_First

      public static Layout fetchByP_I_First(boolean privateLayout, long iconImageId, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where privateLayout = ? and iconImageId = ?.
      Parameters:
      privateLayout - the private layout
      iconImageId - the icon image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • removeByP_I

      public static void removeByP_I(boolean privateLayout, long iconImageId)
      Removes all the layouts where privateLayout = ? and iconImageId = ? from the database.
      Parameters:
      privateLayout - the private layout
      iconImageId - the icon image ID
    • countByP_I

      public static int countByP_I(boolean privateLayout, long iconImageId)
      Returns the number of layouts where privateLayout = ? and iconImageId = ?.
      Parameters:
      privateLayout - the private layout
      iconImageId - the icon image ID
      Returns:
      the number of matching layouts
    • findByC_C

      public static List<Layout> findByC_C(long classNameId, long classPK)
      Returns all the layouts where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching layouts
    • findByC_C

      public static List<Layout> findByC_C(long classNameId, long classPK, int start, int end)
      Returns a range of all the layouts where classNameId = ? and classPK = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByC_C

      public static List<Layout> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where classNameId = ? and classPK = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByC_C

      public static List<Layout> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where classNameId = ? and classPK = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByC_C_First

      public static Layout findByC_C_First(long classNameId, long classPK, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByC_C_First

      public static Layout fetchByC_C_First(long classNameId, long classPK, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • findByC_C

      public static List<Layout> findByC_C(long classNameId, long[] classPKs)
      Returns all the layouts where classNameId = ? and classPK = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      classNameId - the class name ID
      classPKs - the class pks
      Returns:
      the matching layouts
    • findByC_C

      public static List<Layout> findByC_C(long classNameId, long[] classPKs, int start, int end)
      Returns a range of all the layouts where classNameId = ? and classPK = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      classNameId - the class name ID
      classPKs - the class pks
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByC_C

      public static List<Layout> findByC_C(long classNameId, long[] classPKs, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where classNameId = ? and classPK = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      classNameId - the class name ID
      classPKs - the class pks
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByC_C

      public static List<Layout> findByC_C(long classNameId, long[] classPKs, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where classNameId = ? and classPK = ?, optionally using the finder cache.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      classNameId - the class name ID
      classPKs - the class pks
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • removeByC_C

      public static void removeByC_C(long classNameId, long classPK)
      Removes all the layouts where classNameId = ? and classPK = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
    • countByC_C

      public static int countByC_C(long classNameId, long classPK)
      Returns the number of layouts where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching layouts
    • countByC_C

      public static int countByC_C(long classNameId, long[] classPKs)
      Returns the number of layouts where classNameId = ? and classPK = any ?.
      Parameters:
      classNameId - the class name ID
      classPKs - the class pks
      Returns:
      the number of matching layouts
    • findByPLPTEERC_PLPTESERC

      public static List<Layout> findByPLPTEERC_PLPTESERC(String portletLayoutPageTemplateEntryERC, String portletLayoutPageTemplateEntryScopeERC)
      Returns all the layouts where portletLayoutPageTemplateEntryERC = ? and portletLayoutPageTemplateEntryScopeERC = ?.
      Parameters:
      portletLayoutPageTemplateEntryERC - the portlet layout page template entry erc
      portletLayoutPageTemplateEntryScopeERC - the portlet layout page template entry scope erc
      Returns:
      the matching layouts
    • findByPLPTEERC_PLPTESERC

      public static List<Layout> findByPLPTEERC_PLPTESERC(String portletLayoutPageTemplateEntryERC, String portletLayoutPageTemplateEntryScopeERC, int start, int end)
      Returns a range of all the layouts where portletLayoutPageTemplateEntryERC = ? and portletLayoutPageTemplateEntryScopeERC = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      portletLayoutPageTemplateEntryERC - the portlet layout page template entry erc
      portletLayoutPageTemplateEntryScopeERC - the portlet layout page template entry scope erc
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByPLPTEERC_PLPTESERC

      public static List<Layout> findByPLPTEERC_PLPTESERC(String portletLayoutPageTemplateEntryERC, String portletLayoutPageTemplateEntryScopeERC, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where portletLayoutPageTemplateEntryERC = ? and portletLayoutPageTemplateEntryScopeERC = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      portletLayoutPageTemplateEntryERC - the portlet layout page template entry erc
      portletLayoutPageTemplateEntryScopeERC - the portlet layout page template entry scope erc
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByPLPTEERC_PLPTESERC

      public static List<Layout> findByPLPTEERC_PLPTESERC(String portletLayoutPageTemplateEntryERC, String portletLayoutPageTemplateEntryScopeERC, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where portletLayoutPageTemplateEntryERC = ? and portletLayoutPageTemplateEntryScopeERC = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      portletLayoutPageTemplateEntryERC - the portlet layout page template entry erc
      portletLayoutPageTemplateEntryScopeERC - the portlet layout page template entry scope erc
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByPLPTEERC_PLPTESERC_First

      public static Layout findByPLPTEERC_PLPTESERC_First(String portletLayoutPageTemplateEntryERC, String portletLayoutPageTemplateEntryScopeERC, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where portletLayoutPageTemplateEntryERC = ? and portletLayoutPageTemplateEntryScopeERC = ?.
      Parameters:
      portletLayoutPageTemplateEntryERC - the portlet layout page template entry erc
      portletLayoutPageTemplateEntryScopeERC - the portlet layout page template entry scope erc
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByPLPTEERC_PLPTESERC_First

      public static Layout fetchByPLPTEERC_PLPTESERC_First(String portletLayoutPageTemplateEntryERC, String portletLayoutPageTemplateEntryScopeERC, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where portletLayoutPageTemplateEntryERC = ? and portletLayoutPageTemplateEntryScopeERC = ?.
      Parameters:
      portletLayoutPageTemplateEntryERC - the portlet layout page template entry erc
      portletLayoutPageTemplateEntryScopeERC - the portlet layout page template entry scope erc
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • removeByPLPTEERC_PLPTESERC

      public static void removeByPLPTEERC_PLPTESERC(String portletLayoutPageTemplateEntryERC, String portletLayoutPageTemplateEntryScopeERC)
      Removes all the layouts where portletLayoutPageTemplateEntryERC = ? and portletLayoutPageTemplateEntryScopeERC = ? from the database.
      Parameters:
      portletLayoutPageTemplateEntryERC - the portlet layout page template entry erc
      portletLayoutPageTemplateEntryScopeERC - the portlet layout page template entry scope erc
    • countByPLPTEERC_PLPTESERC

      public static int countByPLPTEERC_PLPTESERC(String portletLayoutPageTemplateEntryERC, String portletLayoutPageTemplateEntryScopeERC)
      Returns the number of layouts where portletLayoutPageTemplateEntryERC = ? and portletLayoutPageTemplateEntryScopeERC = ?.
      Parameters:
      portletLayoutPageTemplateEntryERC - the portlet layout page template entry erc
      portletLayoutPageTemplateEntryScopeERC - the portlet layout page template entry scope erc
      Returns:
      the number of matching layouts
    • findByG_P_L

      public static Layout findByG_P_L(long groupId, boolean privateLayout, long layoutId) throws NoSuchLayoutException
      Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or throws a NoSuchLayoutException if it could not be found.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      Returns:
      the matching layout
    • fetchByG_P_L

      public static Layout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId)
      Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      Returns:
      the matching layout, or null if a matching layout could not be found
    • fetchByG_P_L

      public static Layout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId, boolean useFinderCache)
      Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout, or null if a matching layout could not be found
    • removeByG_P_L

      public static Layout removeByG_P_L(long groupId, boolean privateLayout, long layoutId) throws NoSuchLayoutException
      Removes the layout where groupId = ? and privateLayout = ? and layoutId = ? from the database.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      Returns:
      the layout that was removed
      Throws:
      NoSuchLayoutException
    • countByG_P_L

      public static int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
      Returns the number of layouts where groupId = ? and privateLayout = ? and layoutId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      Returns:
      the number of matching layouts
    • findByG_P_P

      public static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
      Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      Returns:
      the matching layouts
    • findByG_P_P

      public static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end)
      Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByG_P_P

      public static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByG_P_P

      public static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByG_P_P_First

      public static Layout findByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByG_P_P_First

      public static Layout fetchByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • filterFindByG_P_P

      public static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
      Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_P_P

      public static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end)
      Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByG_P_P

      public static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • filterFindByG_P_P

      public static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
      Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_P_P

      public static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end)
      Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByG_P_P

      public static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • findByG_P_P

      public static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
      Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      Returns:
      the matching layouts
    • findByG_P_P

      public static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end)
      Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByG_P_P

      public static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByG_P_P

      public static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?, optionally using the finder cache.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • removeByG_P_P

      public static void removeByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
      Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? from the database.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
    • countByG_P_P

      public static int countByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
      Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      Returns:
      the number of matching layouts
    • countByG_P_P

      public static int countByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
      Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      Returns:
      the number of matching layouts
    • filterCountByG_P_P

      public static int filterCountByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
      Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      Returns:
      the number of matching layouts that the user has permission to view
    • filterCountByG_P_P

      public static int filterCountByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
      Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      Returns:
      the number of matching layouts that the user has permission to view
    • findByG_P_T

      public static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type)
      Returns all the layouts where groupId = ? and privateLayout = ? and type = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      type - the type
      Returns:
      the matching layouts
    • findByG_P_T

      public static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end)
      Returns a range of all the layouts where groupId = ? and privateLayout = ? and type = ?.

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

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      type - the type
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByG_P_T

      public static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?.

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

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      type - the type
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByG_P_T

      public static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?.

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

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      type - the type
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByG_P_T_First

      public static Layout findByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByG_P_T_First

      public static Layout fetchByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • filterFindByG_P_T

      public static List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type)
      Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      type - the type
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_P_T

      public static List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type, int start, int end)
      Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.

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

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      type - the type
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByG_P_T

      public static List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and type = ?.

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

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      type - the type
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • filterFindByG_P_T

      public static List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String[] types)
      Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = any ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      types - the types
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_P_T

      public static List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end)
      Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      types - the types
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByG_P_T

      public static List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      types - the types
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • findByG_P_T

      public static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String[] types)
      Returns all the layouts where groupId = ? and privateLayout = ? and type = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      types - the types
      Returns:
      the matching layouts
    • findByG_P_T

      public static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end)
      Returns a range of all the layouts where groupId = ? and privateLayout = ? and type = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      types - the types
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByG_P_T

      public static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      types - the types
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByG_P_T

      public static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?, optionally using the finder cache.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      types - the types
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • removeByG_P_T

      public static void removeByG_P_T(long groupId, boolean privateLayout, String type)
      Removes all the layouts where groupId = ? and privateLayout = ? and type = ? from the database.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      type - the type
    • countByG_P_T

      public static int countByG_P_T(long groupId, boolean privateLayout, String type)
      Returns the number of layouts where groupId = ? and privateLayout = ? and type = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      type - the type
      Returns:
      the number of matching layouts
    • countByG_P_T

      public static int countByG_P_T(long groupId, boolean privateLayout, String[] types)
      Returns the number of layouts where groupId = ? and privateLayout = ? and type = any ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      types - the types
      Returns:
      the number of matching layouts
    • filterCountByG_P_T

      public static int filterCountByG_P_T(long groupId, boolean privateLayout, String type)
      Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      type - the type
      Returns:
      the number of matching layouts that the user has permission to view
    • filterCountByG_P_T

      public static int filterCountByG_P_T(long groupId, boolean privateLayout, String[] types)
      Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = any ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      types - the types
      Returns:
      the number of matching layouts that the user has permission to view
    • findByG_P_S

      public static List<Layout> findByG_P_S(long groupId, boolean privateLayout, boolean system)
      Returns all the layouts where groupId = ? and privateLayout = ? and system = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      system - the system
      Returns:
      the matching layouts
    • findByG_P_S

      public static List<Layout> findByG_P_S(long groupId, boolean privateLayout, boolean system, int start, int end)
      Returns a range of all the layouts where groupId = ? and privateLayout = ? and system = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      system - the system
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByG_P_S

      public static List<Layout> findByG_P_S(long groupId, boolean privateLayout, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and system = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      system - the system
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByG_P_S

      public static List<Layout> findByG_P_S(long groupId, boolean privateLayout, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and system = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      system - the system
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByG_P_S_First

      public static Layout findByG_P_S_First(long groupId, boolean privateLayout, boolean system, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and system = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByG_P_S_First

      public static Layout fetchByG_P_S_First(long groupId, boolean privateLayout, boolean system, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and system = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • filterFindByG_P_S

      public static List<Layout> filterFindByG_P_S(long groupId, boolean privateLayout, boolean system)
      Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and system = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      system - the system
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_P_S

      public static List<Layout> filterFindByG_P_S(long groupId, boolean privateLayout, boolean system, int start, int end)
      Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and system = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      system - the system
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByG_P_S

      public static List<Layout> filterFindByG_P_S(long groupId, boolean privateLayout, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and system = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      system - the system
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • removeByG_P_S

      public static void removeByG_P_S(long groupId, boolean privateLayout, boolean system)
      Removes all the layouts where groupId = ? and privateLayout = ? and system = ? from the database.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      system - the system
    • countByG_P_S

      public static int countByG_P_S(long groupId, boolean privateLayout, boolean system)
      Returns the number of layouts where groupId = ? and privateLayout = ? and system = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      system - the system
      Returns:
      the number of matching layouts
    • filterCountByG_P_S

      public static int filterCountByG_P_S(long groupId, boolean privateLayout, boolean system)
      Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and system = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      system - the system
      Returns:
      the number of matching layouts that the user has permission to view
    • findByG_P_F

      public static Layout findByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws NoSuchLayoutException
      Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or throws a NoSuchLayoutException if it could not be found.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      friendlyURL - the friendly url
      Returns:
      the matching layout
    • fetchByG_P_F

      public static Layout fetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
      Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      friendlyURL - the friendly url
      Returns:
      the matching layout, or null if a matching layout could not be found
    • fetchByG_P_F

      public static Layout fetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL, boolean useFinderCache)
      Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      friendlyURL - the friendly url
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout, or null if a matching layout could not be found
    • removeByG_P_F

      public static Layout removeByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws NoSuchLayoutException
      Removes the layout where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      friendlyURL - the friendly url
      Returns:
      the layout that was removed
      Throws:
      NoSuchLayoutException
    • countByG_P_F

      public static int countByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
      Returns the number of layouts where groupId = ? and privateLayout = ? and friendlyURL = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      friendlyURL - the friendly url
      Returns:
      the number of matching layouts
    • findByG_P_LSPLE

      public static List<Layout> findByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC)
      Returns all the layouts where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      Returns:
      the matching layouts
    • findByG_P_LSPLE

      public static List<Layout> findByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC, int start, int end)
      Returns a range of all the layouts where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByG_P_LSPLE

      public static List<Layout> findByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByG_P_LSPLE

      public static List<Layout> findByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByG_P_LSPLE_First

      public static Layout findByG_P_LSPLE_First(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByG_P_LSPLE_First

      public static Layout fetchByG_P_LSPLE_First(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • filterFindByG_P_LSPLE

      public static List<Layout> filterFindByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC)
      Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_P_LSPLE

      public static List<Layout> filterFindByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC, int start, int end)
      Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByG_P_LSPLE

      public static List<Layout> filterFindByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • removeByG_P_LSPLE

      public static void removeByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC)
      Removes all the layouts where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ? from the database.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
    • countByG_P_LSPLE

      public static int countByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC)
      Returns the number of layouts where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      Returns:
      the number of matching layouts
    • filterCountByG_P_LSPLE

      public static int filterCountByG_P_LSPLE(long groupId, boolean privateLayout, String layoutSetPrototypeLayoutERC)
      Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and layoutSetPrototypeLayoutERC = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutSetPrototypeLayoutERC - the layout set prototype layout erc
      Returns:
      the number of matching layouts that the user has permission to view
    • findByG_P_ST

      public static List<Layout> findByG_P_ST(long groupId, boolean privateLayout, int status)
      Returns all the layouts where groupId = ? and privateLayout = ? and status = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      status - the status
      Returns:
      the matching layouts
    • findByG_P_ST

      public static List<Layout> findByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end)
      Returns a range of all the layouts where groupId = ? and privateLayout = ? and status = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      status - the status
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByG_P_ST

      public static List<Layout> findByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      status - the status
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByG_P_ST

      public static List<Layout> findByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      status - the status
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByG_P_ST_First

      public static Layout findByG_P_ST_First(long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByG_P_ST_First

      public static Layout fetchByG_P_ST_First(long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • filterFindByG_P_ST

      public static List<Layout> filterFindByG_P_ST(long groupId, boolean privateLayout, int status)
      Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      status - the status
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_P_ST

      public static List<Layout> filterFindByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end)
      Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      status - the status
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByG_P_ST

      public static List<Layout> filterFindByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and status = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      status - the status
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • filterFindByG_P_ST

      public static List<Layout> filterFindByG_P_ST(long groupId, boolean privateLayout, int[] statuses)
      Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = any ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      statuses - the statuses
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_P_ST

      public static List<Layout> filterFindByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end)
      Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      statuses - the statuses
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByG_P_ST

      public static List<Layout> filterFindByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      statuses - the statuses
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • findByG_P_ST

      public static List<Layout> findByG_P_ST(long groupId, boolean privateLayout, int[] statuses)
      Returns all the layouts where groupId = ? and privateLayout = ? and status = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      statuses - the statuses
      Returns:
      the matching layouts
    • findByG_P_ST

      public static List<Layout> findByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end)
      Returns a range of all the layouts where groupId = ? and privateLayout = ? and status = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      statuses - the statuses
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByG_P_ST

      public static List<Layout> findByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = any ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      statuses - the statuses
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByG_P_ST

      public static List<Layout> findByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = ?, optionally using the finder cache.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      statuses - the statuses
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • removeByG_P_ST

      public static void removeByG_P_ST(long groupId, boolean privateLayout, int status)
      Removes all the layouts where groupId = ? and privateLayout = ? and status = ? from the database.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      status - the status
    • countByG_P_ST

      public static int countByG_P_ST(long groupId, boolean privateLayout, int status)
      Returns the number of layouts where groupId = ? and privateLayout = ? and status = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      status - the status
      Returns:
      the number of matching layouts
    • countByG_P_ST

      public static int countByG_P_ST(long groupId, boolean privateLayout, int[] statuses)
      Returns the number of layouts where groupId = ? and privateLayout = ? and status = any ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      statuses - the statuses
      Returns:
      the number of matching layouts
    • filterCountByG_P_ST

      public static int filterCountByG_P_ST(long groupId, boolean privateLayout, int status)
      Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      status - the status
      Returns:
      the number of matching layouts that the user has permission to view
    • filterCountByG_P_ST

      public static int filterCountByG_P_ST(long groupId, boolean privateLayout, int[] statuses)
      Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = any ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      statuses - the statuses
      Returns:
      the number of matching layouts that the user has permission to view
    • findByG_P_P_H

      public static List<Layout> findByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden)
      Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      hidden - the hidden
      Returns:
      the matching layouts
    • findByG_P_P_H

      public static List<Layout> findByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end)
      Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      hidden - the hidden
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByG_P_P_H

      public static List<Layout> findByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      hidden - the hidden
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByG_P_P_H

      public static List<Layout> findByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      hidden - the hidden
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByG_P_P_H_First

      public static Layout findByG_P_P_H_First(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      hidden - the hidden
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByG_P_P_H_First

      public static Layout fetchByG_P_P_H_First(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      hidden - the hidden
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • filterFindByG_P_P_H

      public static List<Layout> filterFindByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden)
      Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      hidden - the hidden
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_P_P_H

      public static List<Layout> filterFindByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end)
      Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      hidden - the hidden
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByG_P_P_H

      public static List<Layout> filterFindByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      hidden - the hidden
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • filterFindByG_P_P_H

      public static List<Layout> filterFindByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden)
      Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      hidden - the hidden
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_P_P_H

      public static List<Layout> filterFindByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end)
      Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      hidden - the hidden
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByG_P_P_H

      public static List<Layout> filterFindByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      hidden - the hidden
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • findByG_P_P_H

      public static List<Layout> findByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden)
      Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      hidden - the hidden
      Returns:
      the matching layouts
    • findByG_P_P_H

      public static List<Layout> findByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end)
      Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      hidden - the hidden
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByG_P_P_H

      public static List<Layout> findByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      hidden - the hidden
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByG_P_P_H

      public static List<Layout> findByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?, optionally using the finder cache.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      hidden - the hidden
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • removeByG_P_P_H

      public static void removeByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden)
      Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ? from the database.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      hidden - the hidden
    • countByG_P_P_H

      public static int countByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden)
      Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      hidden - the hidden
      Returns:
      the number of matching layouts
    • countByG_P_P_H

      public static int countByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden)
      Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      hidden - the hidden
      Returns:
      the number of matching layouts
    • filterCountByG_P_P_H

      public static int filterCountByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden)
      Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      hidden - the hidden
      Returns:
      the number of matching layouts that the user has permission to view
    • filterCountByG_P_P_H

      public static int filterCountByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden)
      Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      hidden - the hidden
      Returns:
      the number of matching layouts that the user has permission to view
    • findByG_P_P_S

      public static List<Layout> findByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system)
      Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      system - the system
      Returns:
      the matching layouts
    • findByG_P_P_S

      public static List<Layout> findByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end)
      Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      system - the system
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByG_P_P_S

      public static List<Layout> findByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      system - the system
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByG_P_P_S

      public static List<Layout> findByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      system - the system
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByG_P_P_S_First

      public static Layout findByG_P_P_S_First(long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByG_P_P_S_First

      public static Layout fetchByG_P_P_S_First(long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • filterFindByG_P_P_S

      public static List<Layout> filterFindByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system)
      Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      system - the system
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_P_P_S

      public static List<Layout> filterFindByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end)
      Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      system - the system
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByG_P_P_S

      public static List<Layout> filterFindByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      system - the system
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • filterFindByG_P_P_S

      public static List<Layout> filterFindByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system)
      Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      system - the system
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_P_P_S

      public static List<Layout> filterFindByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end)
      Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      system - the system
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByG_P_P_S

      public static List<Layout> filterFindByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      system - the system
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • findByG_P_P_S

      public static List<Layout> findByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system)
      Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      system - the system
      Returns:
      the matching layouts
    • findByG_P_P_S

      public static List<Layout> findByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end)
      Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      system - the system
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByG_P_P_S

      public static List<Layout> findByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      system - the system
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByG_P_P_S

      public static List<Layout> findByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?, optionally using the finder cache.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      system - the system
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • removeByG_P_P_S

      public static void removeByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system)
      Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ? from the database.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      system - the system
    • countByG_P_P_S

      public static int countByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system)
      Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      system - the system
      Returns:
      the number of matching layouts
    • countByG_P_P_S

      public static int countByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system)
      Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      system - the system
      Returns:
      the number of matching layouts
    • filterCountByG_P_P_S

      public static int filterCountByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system)
      Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      system - the system
      Returns:
      the number of matching layouts that the user has permission to view
    • filterCountByG_P_P_S

      public static int filterCountByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system)
      Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      system - the system
      Returns:
      the number of matching layouts that the user has permission to view
    • findByG_P_P_LteP

      public static List<Layout> findByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
      Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      priority - the priority
      Returns:
      the matching layouts
    • findByG_P_P_LteP

      public static List<Layout> findByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end)
      Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      priority - the priority
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts
    • findByG_P_P_LteP

      public static List<Layout> findByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      priority - the priority
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts
    • findByG_P_P_LteP

      public static List<Layout> findByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      priority - the priority
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (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 layouts
    • findByG_P_P_LteP_First

      public static Layout findByG_P_P_LteP_First(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      priority - the priority
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
    • fetchByG_P_P_LteP_First

      public static Layout fetchByG_P_P_LteP_First(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      priority - the priority
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout, or null if a matching layout could not be found
    • filterFindByG_P_P_LteP

      public static List<Layout> filterFindByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
      Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      priority - the priority
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_P_P_LteP

      public static List<Layout> filterFindByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end)
      Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      priority - the priority
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of matching layouts that the user has permission to view
    • filterFindByG_P_P_LteP

      public static List<Layout> filterFindByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      priority - the priority
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layouts that the user has permission to view
    • removeByG_P_P_LteP

      public static void removeByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
      Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ? from the database.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      priority - the priority
    • countByG_P_P_LteP

      public static int countByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
      Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      priority - the priority
      Returns:
      the number of matching layouts
    • filterCountByG_P_P_LteP

      public static int filterCountByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
      Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      priority - the priority
      Returns:
      the number of matching layouts that the user has permission to view
    • findByERC_G

      public static Layout findByERC_G(String externalReferenceCode, long groupId) throws NoSuchLayoutException
      Returns the layout where externalReferenceCode = ? and groupId = ? or throws a NoSuchLayoutException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching layout
    • fetchByERC_G

      public static Layout fetchByERC_G(String externalReferenceCode, long groupId)
      Returns the layout 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, or null if a matching layout could not be found
    • fetchByERC_G

      public static Layout fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
      Returns the layout 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, or null if a matching layout could not be found
    • removeByERC_G

      public static Layout removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchLayoutException
      Removes the layout where externalReferenceCode = ? and groupId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the layout that was removed
      Throws:
      NoSuchLayoutException
    • countByERC_G

      public static int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of layouts where externalReferenceCode = ? and groupId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the number of matching layouts
    • cacheResult

      public static void cacheResult(Layout layout)
      Caches the layout in the entity cache if it is enabled.
      Parameters:
      layout - the layout
    • cacheResult

      public static void cacheResult(List<Layout> layouts)
      Caches the layouts in the entity cache if it is enabled.
      Parameters:
      layouts - the layouts
    • create

      public static Layout create(long plid)
      Creates a new layout with the primary key. Does not add the layout to the database.
      Parameters:
      plid - the primary key for the new layout
      Returns:
      the new layout
    • remove

      public static Layout remove(long plid) throws NoSuchLayoutException
      Removes the layout with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      plid - the primary key of the layout
      Returns:
      the layout that was removed
    • updateImpl

      public static Layout updateImpl(Layout layout)
    • findByPrimaryKey

      public static Layout findByPrimaryKey(long plid) throws NoSuchLayoutException
      Returns the layout with the primary key or throws a NoSuchLayoutException if it could not be found.
      Parameters:
      plid - the primary key of the layout
      Returns:
      the layout
    • fetchByPrimaryKey

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

      public static List<Layout> findAll()
      Returns all the layouts.
      Returns:
      the layouts
    • findAll

      public static List<Layout> findAll(int start, int end)
      Returns a range of all the layouts.

      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.portal.model.impl.LayoutModelImpl.

      Parameters:
      start - the lower bound of the range of layouts
      end - the upper bound of the range of layouts (not inclusive)
      Returns:
      the range of layouts
    • findAll

      public static List<Layout> findAll(int start, int end, OrderByComparator<Layout> orderByComparator)
      Returns an ordered range of all the layouts.

      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.portal.model.impl.LayoutModelImpl.

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

      public static List<Layout> findAll(int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layouts.

      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.portal.model.impl.LayoutModelImpl.

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

      public static void removeAll()
      Removes all the layouts from the database.
    • countAll

      public static int countAll()
      Returns the number of layouts.
      Returns:
      the number of layouts
    • getPersistence

      public static LayoutPersistence getPersistence()
    • setPersistence

      public static void setPersistence(LayoutPersistence persistence)