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.description}
  • 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_L(long companyId, String layoutPrototypeUuid)
    Returns the number of layouts where companyId = ? and layoutPrototypeUuid = ?.
    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_MLP(long groupId, long masterLayoutPlid)
    Returns the number of layouts where groupId = ? and masterLayoutPlid = ?.
    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_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_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid)
    Returns the number of layouts where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ?.
    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
    countByLayoutPrototypeUuid(String layoutPrototypeUuid)
    Returns the number of layouts where layoutPrototypeUuid = ?.
    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
    countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
    Returns the number of layouts where sourcePrototypeLayoutUuid = ?.
    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(long classNameId, long classPK)
    Returns the layout where classNameId = ? and classPK = ? or returns null if it could not be found.
    static Layout
    fetchByC_C(long classNameId, long classPK, boolean useFinderCache)
    Returns the layout where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
    static Layout
    fetchByC_L_First(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
    static Layout
    fetchByC_L_Last(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
    static Layout
    fetchByCompanyId_First(long companyId, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where companyId = ?.
    static Layout
    fetchByCompanyId_Last(long companyId, OrderByComparator<Layout> orderByComparator)
    Returns the last 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_MLP_First(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
    static Layout
    fetchByG_MLP_Last(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
    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_Last(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.
    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_H_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    static Layout
    fetchByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    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_LteP_Last(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator)
    Returns the last 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_P_S_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    static Layout
    fetchByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid)
    Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returns null if it could not be found.
    static Layout
    fetchByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid, boolean useFinderCache)
    Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returns null if it could not be found, optionally using the finder cache.
    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_ST_Last(long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator)
    Returns the last 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_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator)
    Returns the last 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
    fetchByG_T_Last(long groupId, String type, OrderByComparator<Layout> orderByComparator)
    Returns the last 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
    fetchByGroupId_Last(long groupId, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ?.
    static Layout
    fetchByIconImageId(long iconImageId)
    Returns the layout where iconImageId = ? or returns null if it could not be found.
    static Layout
    fetchByIconImageId(long iconImageId, boolean useFinderCache)
    Returns the layout where iconImageId = ? or returns null if it could not be found, optionally using the finder cache.
    static Layout
    fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where layoutPrototypeUuid = ?.
    static Layout
    fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where layoutPrototypeUuid = ?.
    static Layout
    fetchByP_I(boolean privateLayout, long iconImageId)
    Returns the layout where privateLayout = ? and iconImageId = ? or returns null if it could not be found.
    static Layout
    fetchByP_I(boolean privateLayout, long iconImageId, boolean useFinderCache)
    Returns the layout where privateLayout = ? and iconImageId = ? or returns null if it could not be found, optionally using the finder cache.
    static Layout
    fetchByParentPlid_First(long parentPlid, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where parentPlid = ?.
    static Layout
    fetchByParentPlid_Last(long parentPlid, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where parentPlid = ?.
    static Layout
    fetchByPrimaryKey(long plid)
    Returns the layout with the primary key or returns null if it could not be found.
     
    static Layout
    fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.
    static Layout
    fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.
    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_C_Last(String uuid, long companyId, OrderByComparator<Layout> orderByComparator)
    Returns the last 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 Layout
    fetchByUuid_Last(String uuid, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where uuid = ?.
    static int
    filterCountByG_MLP(long groupId, long masterLayoutPlid)
    Returns the number of layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.
    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_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_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_MLP(long groupId, long masterLayoutPlid)
    Returns all the layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.
    static List<Layout>
    filterFindByG_MLP(long groupId, long masterLayoutPlid, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.
    static List<Layout>
    filterFindByG_MLP(long groupId, long masterLayoutPlid, 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 masterLayoutPlid = ?.
    static Layout[]
    filterFindByG_MLP_PrevAndNext(long plid, long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.
    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_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 Layout[]
    filterFindByG_P_P_H_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission 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 Layout[]
    filterFindByG_P_P_LteP_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    static Layout[]
    filterFindByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    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 Layout[]
    filterFindByG_P_P_S_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    static Layout[]
    filterFindByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ?.
    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 Layout[]
    filterFindByG_P_ST_PrevAndNext(long plid, long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission 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 Layout[]
    filterFindByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission 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 Layout[]
    filterFindByG_T_PrevAndNext(long plid, long groupId, String type, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission 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 Layout[]
    filterFindByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission 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 Layout
    findByC_C(long classNameId, long classPK)
    Returns the layout where classNameId = ? and classPK = ? or throws a NoSuchLayoutException if it could not be found.
    static List<Layout>
    findByC_L(long companyId, String layoutPrototypeUuid)
    Returns all the layouts where companyId = ? and layoutPrototypeUuid = ?.
    static List<Layout>
    findByC_L(long companyId, String layoutPrototypeUuid, int start, int end)
    Returns a range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.
    static List<Layout>
    findByC_L(long companyId, String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.
    static List<Layout>
    findByC_L(long companyId, String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.
    static Layout
    findByC_L_First(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
    static Layout
    findByC_L_Last(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
    static Layout[]
    findByC_L_PrevAndNext(long plid, long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
    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
    findByCompanyId_Last(long companyId, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where companyId = ?.
    static Layout[]
    findByCompanyId_PrevAndNext(long plid, long companyId, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current 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_MLP(long groupId, long masterLayoutPlid)
    Returns all the layouts where groupId = ? and masterLayoutPlid = ?.
    static List<Layout>
    findByG_MLP(long groupId, long masterLayoutPlid, int start, int end)
    Returns a range of all the layouts where groupId = ? and masterLayoutPlid = ?.
    static List<Layout>
    findByG_MLP(long groupId, long masterLayoutPlid, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and masterLayoutPlid = ?.
    static List<Layout>
    findByG_MLP(long groupId, long masterLayoutPlid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and masterLayoutPlid = ?.
    static Layout
    findByG_MLP_First(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
    static Layout
    findByG_MLP_Last(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
    static Layout[]
    findByG_MLP_PrevAndNext(long plid, long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
    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 Layout
    findByG_P_Last(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.
    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 Layout
    findByG_P_P_H_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    static Layout[]
    findByG_P_P_H_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    static Layout
    findByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    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 Layout
    findByG_P_P_LteP_Last(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    static Layout[]
    findByG_P_P_LteP_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    static Layout[]
    findByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    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 Layout
    findByG_P_P_S_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    static Layout[]
    findByG_P_P_S_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    static Layout[]
    findByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ?.
    static Layout
    findByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid)
    Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or throws a NoSuchLayoutException if it could not be found.
    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 Layout
    findByG_P_ST_Last(long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.
    static Layout[]
    findByG_P_ST_PrevAndNext(long plid, long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current 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 Layout
    findByG_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
    static Layout[]
    findByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current 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 Layout
    findByG_T_Last(long groupId, String type, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and type = ?.
    static Layout[]
    findByG_T_PrevAndNext(long plid, long groupId, String type, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current 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 Layout
    findByGroupId_Last(long groupId, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ?.
    static Layout[]
    findByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ?.
    static Layout
    findByIconImageId(long iconImageId)
    Returns the layout where iconImageId = ? or throws a NoSuchLayoutException if it could not be found.
    static List<Layout>
    findByLayoutPrototypeUuid(String layoutPrototypeUuid)
    Returns all the layouts where layoutPrototypeUuid = ?.
    static List<Layout>
    findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end)
    Returns a range of all the layouts where layoutPrototypeUuid = ?.
    static List<Layout>
    findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where layoutPrototypeUuid = ?.
    static List<Layout>
    findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where layoutPrototypeUuid = ?.
    static Layout
    findByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where layoutPrototypeUuid = ?.
    static Layout
    findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where layoutPrototypeUuid = ?.
    static Layout[]
    findByLayoutPrototypeUuid_PrevAndNext(long plid, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where layoutPrototypeUuid = ?.
    static Layout
    findByP_I(boolean privateLayout, long iconImageId)
    Returns the layout where privateLayout = ? and iconImageId = ? or throws a NoSuchLayoutException if it could not be found.
    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 Layout
    findByParentPlid_Last(long parentPlid, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where parentPlid = ?.
    static Layout[]
    findByParentPlid_PrevAndNext(long plid, long parentPlid, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where parentPlid = ?.
    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>
    findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
    Returns all the layouts where sourcePrototypeLayoutUuid = ?.
    static List<Layout>
    findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end)
    Returns a range of all the layouts where sourcePrototypeLayoutUuid = ?.
    static List<Layout>
    findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end, OrderByComparator<Layout> orderByComparator)
    Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?.
    static List<Layout>
    findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?.
    static Layout
    findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator)
    Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.
    static Layout
    findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.
    static Layout[]
    findBySourcePrototypeLayoutUuid_PrevAndNext(long plid, String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where sourcePrototypeLayoutUuid = ?.
    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_C_Last(String uuid, long companyId, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where uuid = ? and companyId = ?.
    static Layout[]
    findByUuid_C_PrevAndNext(long plid, String uuid, long companyId, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current 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 Layout
    findByUuid_Last(String uuid, OrderByComparator<Layout> orderByComparator)
    Returns the last layout in the ordered set where uuid = ?.
    static Layout[]
    findByUuid_PrevAndNext(long plid, String uuid, OrderByComparator<Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where uuid = ?.
    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 Layout
    removeByC_C(long classNameId, long classPK)
    Removes the layout where classNameId = ? and classPK = ? from the database.
    static void
    removeByC_L(long companyId, String layoutPrototypeUuid)
    Removes all the layouts where companyId = ? and layoutPrototypeUuid = ? 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_MLP(long groupId, long masterLayoutPlid)
    Removes all the layouts where groupId = ? and masterLayoutPlid = ? 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_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 Layout
    removeByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid)
    Removes the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? 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 Layout
    removeByIconImageId(long iconImageId)
    Removes the layout where iconImageId = ? from the database.
    static void
    removeByLayoutPrototypeUuid(String layoutPrototypeUuid)
    Removes all the layouts where layoutPrototypeUuid = ? from the database.
    static Layout
    removeByP_I(boolean privateLayout, long iconImageId)
    Removes the layout where privateLayout = ? and iconImageId = ? from the database.
    static void
    removeByParentPlid(long parentPlid)
    Removes all the layouts where parentPlid = ? from the database.
    static void
    removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
    Removes all the layouts where sourcePrototypeLayoutUuid = ? 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 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 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 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 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 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 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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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
    • findByUuid_Last

      public static Layout findByUuid_Last(String uuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the last layout in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByUuid_Last

      public static Layout fetchByUuid_Last(String uuid, OrderByComparator<Layout> orderByComparator)
      Returns the last layout in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout, or null if a matching layout could not be found
    • findByUuid_PrevAndNext

      public static Layout[] findByUuid_PrevAndNext(long plid, String uuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where uuid = ?.
      Parameters:
      plid - the primary key of the current layout
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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 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 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 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 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 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 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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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
    • findByUuid_C_Last

      public static Layout findByUuid_C_Last(String uuid, long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the last 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 last matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByUuid_C_Last

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

      public static Layout[] findByUuid_C_PrevAndNext(long plid, String uuid, long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      plid - the primary key of the current layout
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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 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 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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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
    • findByGroupId_Last

      public static Layout findByGroupId_Last(long groupId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the last layout in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByGroupId_Last

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

      public static Layout[] findByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ?.
      Parameters:
      plid - the primary key of the current layout
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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
    • filterFindByGroupId_PrevAndNext

      public static Layout[] filterFindByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ?.
      Parameters:
      plid - the primary key of the current layout
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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 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 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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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
    • findByCompanyId_Last

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

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

      public static Layout[] findByCompanyId_PrevAndNext(long plid, long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where companyId = ?.
      Parameters:
      plid - the primary key of the current layout
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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 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 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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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
    • findByParentPlid_Last

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

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

      public static Layout[] findByParentPlid_PrevAndNext(long plid, long parentPlid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where parentPlid = ?.
      Parameters:
      plid - the primary key of the current layout
      parentPlid - the parent plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 Layout findByIconImageId(long iconImageId) throws NoSuchLayoutException
      Returns the layout where iconImageId = ? or throws a NoSuchLayoutException if it could not be found.
      Parameters:
      iconImageId - the icon image ID
      Returns:
      the matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByIconImageId

      public static Layout fetchByIconImageId(long iconImageId)
      Returns the layout where iconImageId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      iconImageId - the icon image ID
      Returns:
      the matching layout, or null if a matching layout could not be found
    • fetchByIconImageId

      public static Layout fetchByIconImageId(long iconImageId, boolean useFinderCache)
      Returns the layout where iconImageId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      iconImageId - the icon image ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout, or null if a matching layout could not be found
    • removeByIconImageId

      public static Layout removeByIconImageId(long iconImageId) throws NoSuchLayoutException
      Removes the layout where iconImageId = ? from the database.
      Parameters:
      iconImageId - the icon image ID
      Returns:
      the layout that was removed
      Throws:
      NoSuchLayoutException
    • 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
    • findByLayoutPrototypeUuid

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

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

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

      Parameters:
      layoutPrototypeUuid - the layout prototype 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
    • findByLayoutPrototypeUuid

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

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

      Parameters:
      layoutPrototypeUuid - the layout prototype 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
    • findByLayoutPrototypeUuid

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

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

      Parameters:
      layoutPrototypeUuid - the layout prototype 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
    • findByLayoutPrototypeUuid_First

      public static Layout findByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where layoutPrototypeUuid = ?.
      Parameters:
      layoutPrototypeUuid - the layout prototype uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByLayoutPrototypeUuid_First

      public static Layout fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where layoutPrototypeUuid = ?.
      Parameters:
      layoutPrototypeUuid - the layout prototype 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
    • findByLayoutPrototypeUuid_Last

      public static Layout findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the last layout in the ordered set where layoutPrototypeUuid = ?.
      Parameters:
      layoutPrototypeUuid - the layout prototype uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByLayoutPrototypeUuid_Last

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

      public static Layout[] findByLayoutPrototypeUuid_PrevAndNext(long plid, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where layoutPrototypeUuid = ?.
      Parameters:
      plid - the primary key of the current layout
      layoutPrototypeUuid - the layout prototype uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • removeByLayoutPrototypeUuid

      public static void removeByLayoutPrototypeUuid(String layoutPrototypeUuid)
      Removes all the layouts where layoutPrototypeUuid = ? from the database.
      Parameters:
      layoutPrototypeUuid - the layout prototype uuid
    • countByLayoutPrototypeUuid

      public static int countByLayoutPrototypeUuid(String layoutPrototypeUuid)
      Returns the number of layouts where layoutPrototypeUuid = ?.
      Parameters:
      layoutPrototypeUuid - the layout prototype uuid
      Returns:
      the number of matching layouts
    • findBySourcePrototypeLayoutUuid

      public static List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
      Returns all the layouts where sourcePrototypeLayoutUuid = ?.
      Parameters:
      sourcePrototypeLayoutUuid - the source prototype layout uuid
      Returns:
      the matching layouts
    • findBySourcePrototypeLayoutUuid

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

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

      Parameters:
      sourcePrototypeLayoutUuid - the source prototype layout 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
    • findBySourcePrototypeLayoutUuid

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

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

      Parameters:
      sourcePrototypeLayoutUuid - the source prototype layout 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
    • findBySourcePrototypeLayoutUuid

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

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

      Parameters:
      sourcePrototypeLayoutUuid - the source prototype layout 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
    • findBySourcePrototypeLayoutUuid_First

      public static Layout findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.
      Parameters:
      sourcePrototypeLayoutUuid - the source prototype layout uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchBySourcePrototypeLayoutUuid_First

      public static Layout fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.
      Parameters:
      sourcePrototypeLayoutUuid - the source prototype layout 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
    • findBySourcePrototypeLayoutUuid_Last

      public static Layout findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.
      Parameters:
      sourcePrototypeLayoutUuid - the source prototype layout uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchBySourcePrototypeLayoutUuid_Last

      public static Layout fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator)
      Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.
      Parameters:
      sourcePrototypeLayoutUuid - the source prototype layout uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout, or null if a matching layout could not be found
    • findBySourcePrototypeLayoutUuid_PrevAndNext

      public static Layout[] findBySourcePrototypeLayoutUuid_PrevAndNext(long plid, String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where sourcePrototypeLayoutUuid = ?.
      Parameters:
      plid - the primary key of the current layout
      sourcePrototypeLayoutUuid - the source prototype layout uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • removeBySourcePrototypeLayoutUuid

      public static void removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
      Removes all the layouts where sourcePrototypeLayoutUuid = ? from the database.
      Parameters:
      sourcePrototypeLayoutUuid - the source prototype layout uuid
    • countBySourcePrototypeLayoutUuid

      public static int countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
      Returns the number of layouts where sourcePrototypeLayoutUuid = ?.
      Parameters:
      sourcePrototypeLayoutUuid - the source prototype layout uuid
      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 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 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 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 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 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 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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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
    • findByG_P_Last

      public static Layout findByG_P_Last(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the last 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 last matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByG_P_Last

      public static Layout fetchByG_P_Last(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator)
      Returns the last 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 last matching layout, or null if a matching layout could not be found
    • findByG_P_PrevAndNext

      public static Layout[] findByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ?.
      Parameters:
      plid - the primary key of the current layout
      groupId - the group ID
      privateLayout - the private layout
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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
    • filterFindByG_P_PrevAndNext

      public static Layout[] filterFindByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ?.
      Parameters:
      plid - the primary key of the current layout
      groupId - the group ID
      privateLayout - the private layout
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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 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 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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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
    • findByG_T_Last

      public static Layout findByG_T_Last(long groupId, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the last 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 last matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByG_T_Last

      public static Layout fetchByG_T_Last(long groupId, String type, OrderByComparator<Layout> orderByComparator)
      Returns the last 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 last matching layout, or null if a matching layout could not be found
    • findByG_T_PrevAndNext

      public static Layout[] findByG_T_PrevAndNext(long plid, long groupId, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and type = ?.
      Parameters:
      plid - the primary key of the current layout
      groupId - the group ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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
    • filterFindByG_T_PrevAndNext

      public static Layout[] filterFindByG_T_PrevAndNext(long plid, long groupId, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and type = ?.
      Parameters:
      plid - the primary key of the current layout
      groupId - the group ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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_MLP

      public static List<Layout> findByG_MLP(long groupId, long masterLayoutPlid)
      Returns all the layouts where groupId = ? and masterLayoutPlid = ?.
      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout plid
      Returns:
      the matching layouts
    • findByG_MLP

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

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

      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout 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
    • findByG_MLP

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

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

      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout 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
    • findByG_MLP

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

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

      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout 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
    • findByG_MLP_First

      public static Layout findByG_MLP_First(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByG_MLP_First

      public static Layout fetchByG_MLP_First(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout 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
    • findByG_MLP_Last

      public static Layout findByG_MLP_Last(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the last layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByG_MLP_Last

      public static Layout fetchByG_MLP_Last(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator)
      Returns the last layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout, or null if a matching layout could not be found
    • findByG_MLP_PrevAndNext

      public static Layout[] findByG_MLP_PrevAndNext(long plid, long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
      Parameters:
      plid - the primary key of the current layout
      groupId - the group ID
      masterLayoutPlid - the master layout plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • filterFindByG_MLP

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

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

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

      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout 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 that the user has permission to view
    • filterFindByG_MLP

      public static List<Layout> filterFindByG_MLP(long groupId, long masterLayoutPlid, 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 masterLayoutPlid = ?.

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

      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout 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 that the user has permission to view
    • filterFindByG_MLP_PrevAndNext

      public static Layout[] filterFindByG_MLP_PrevAndNext(long plid, long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.
      Parameters:
      plid - the primary key of the current layout
      groupId - the group ID
      masterLayoutPlid - the master layout plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • removeByG_MLP

      public static void removeByG_MLP(long groupId, long masterLayoutPlid)
      Removes all the layouts where groupId = ? and masterLayoutPlid = ? from the database.
      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout plid
    • countByG_MLP

      public static int countByG_MLP(long groupId, long masterLayoutPlid)
      Returns the number of layouts where groupId = ? and masterLayoutPlid = ?.
      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout plid
      Returns:
      the number of matching layouts
    • filterCountByG_MLP

      public static int filterCountByG_MLP(long groupId, long masterLayoutPlid)
      Returns the number of layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.
      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout plid
      Returns:
      the number of matching layouts that the user has permission to view
    • findByC_L

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

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

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

      Parameters:
      companyId - the company ID
      layoutPrototypeUuid - the layout prototype 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
    • findByC_L

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

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

      Parameters:
      companyId - the company ID
      layoutPrototypeUuid - the layout prototype 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
    • findByC_L

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

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

      Parameters:
      companyId - the company ID
      layoutPrototypeUuid - the layout prototype 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
    • findByC_L_First

      public static Layout findByC_L_First(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
      Parameters:
      companyId - the company ID
      layoutPrototypeUuid - the layout prototype uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByC_L_First

      public static Layout fetchByC_L_First(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
      Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
      Parameters:
      companyId - the company ID
      layoutPrototypeUuid - the layout prototype 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
    • findByC_L_Last

      public static Layout findByC_L_Last(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
      Parameters:
      companyId - the company ID
      layoutPrototypeUuid - the layout prototype uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByC_L_Last

      public static Layout fetchByC_L_Last(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator)
      Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
      Parameters:
      companyId - the company ID
      layoutPrototypeUuid - the layout prototype uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout, or null if a matching layout could not be found
    • findByC_L_PrevAndNext

      public static Layout[] findByC_L_PrevAndNext(long plid, long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
      Parameters:
      plid - the primary key of the current layout
      companyId - the company ID
      layoutPrototypeUuid - the layout prototype uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • removeByC_L

      public static void removeByC_L(long companyId, String layoutPrototypeUuid)
      Removes all the layouts where companyId = ? and layoutPrototypeUuid = ? from the database.
      Parameters:
      companyId - the company ID
      layoutPrototypeUuid - the layout prototype uuid
    • countByC_L

      public static int countByC_L(long companyId, String layoutPrototypeUuid)
      Returns the number of layouts where companyId = ? and layoutPrototypeUuid = ?.
      Parameters:
      companyId - the company ID
      layoutPrototypeUuid - the layout prototype uuid
      Returns:
      the number of matching layouts
    • findByP_I

      public static Layout findByP_I(boolean privateLayout, long iconImageId) throws NoSuchLayoutException
      Returns the layout where privateLayout = ? and iconImageId = ? or throws a NoSuchLayoutException if it could not be found.
      Parameters:
      privateLayout - the private layout
      iconImageId - the icon image ID
      Returns:
      the matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByP_I

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

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

      public static Layout removeByP_I(boolean privateLayout, long iconImageId) throws NoSuchLayoutException
      Removes the layout where privateLayout = ? and iconImageId = ? from the database.
      Parameters:
      privateLayout - the private layout
      iconImageId - the icon image ID
      Returns:
      the layout that was removed
      Throws:
      NoSuchLayoutException
    • 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 Layout findByC_C(long classNameId, long classPK) throws NoSuchLayoutException
      Returns the layout where classNameId = ? and classPK = ? or throws a NoSuchLayoutException if it could not be found.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByC_C

      public static Layout fetchByC_C(long classNameId, long classPK)
      Returns the layout where classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching layout, or null if a matching layout could not be found
    • fetchByC_C

      public static Layout fetchByC_C(long classNameId, long classPK, boolean useFinderCache)
      Returns the layout where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout, or null if a matching layout could not be found
    • removeByC_C

      public static Layout removeByC_C(long classNameId, long classPK) throws NoSuchLayoutException
      Removes the layout where classNameId = ? and classPK = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the layout that was removed
      Throws:
      NoSuchLayoutException
    • 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
    • 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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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 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 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 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 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 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 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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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
    • findByG_P_P_Last

      public static Layout findByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the last 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 last matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByG_P_P_Last

      public static Layout fetchByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator)
      Returns the last 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 last matching layout, or null if a matching layout could not be found
    • findByG_P_P_PrevAndNext

      public static Layout[] findByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
      Parameters:
      plid - the primary key of the current layout
      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 previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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_PrevAndNext

      public static Layout[] filterFindByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.
      Parameters:
      plid - the primary key of the current layout
      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 previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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
    • findByG_P_T_Last

      public static Layout findByG_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the last 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 last matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByG_P_T_Last

      public static Layout fetchByG_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator)
      Returns the last 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 last matching layout, or null if a matching layout could not be found
    • findByG_P_T_PrevAndNext

      public static Layout[] findByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
      Parameters:
      plid - the primary key of the current layout
      groupId - the group ID
      privateLayout - the private layout
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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_PrevAndNext

      public static Layout[] filterFindByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.
      Parameters:
      plid - the primary key of the current layout
      groupId - the group ID
      privateLayout - the private layout
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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 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 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 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 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 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 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 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 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_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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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_SPLU

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

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

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

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

      public static int countByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid)
      Returns the number of layouts where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ?.
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      sourcePrototypeLayoutUuid - the source prototype layout uuid
      Returns:
      the number of matching layouts
    • 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 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 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 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 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 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 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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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
    • findByG_P_ST_Last

      public static Layout findByG_P_ST_Last(long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the last 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 last matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByG_P_ST_Last

      public static Layout fetchByG_P_ST_Last(long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator)
      Returns the last 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 last matching layout, or null if a matching layout could not be found
    • findByG_P_ST_PrevAndNext

      public static Layout[] findByG_P_ST_PrevAndNext(long plid, long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.
      Parameters:
      plid - the primary key of the current layout
      groupId - the group ID
      privateLayout - the private layout
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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_PrevAndNext

      public static Layout[] filterFindByG_P_ST_PrevAndNext(long plid, long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = ?.
      Parameters:
      plid - the primary key of the current layout
      groupId - the group ID
      privateLayout - the private layout
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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
    • findByG_P_P_H_Last

      public static Layout findByG_P_P_H_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the last 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 last matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByG_P_P_H_Last

      public static Layout fetchByG_P_P_H_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator)
      Returns the last 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 last matching layout, or null if a matching layout could not be found
    • findByG_P_P_H_PrevAndNext

      public static Layout[] findByG_P_P_H_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
      Parameters:
      plid - the primary key of the current layout
      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 previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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_PrevAndNext

      public static Layout[] filterFindByG_P_P_H_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
      Parameters:
      plid - the primary key of the current layout
      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 previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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
    • findByG_P_P_S_Last

      public static Layout findByG_P_P_S_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the last 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 last matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByG_P_P_S_Last

      public static Layout fetchByG_P_P_S_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator)
      Returns the last 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 last matching layout, or null if a matching layout could not be found
    • findByG_P_P_S_PrevAndNext

      public static Layout[] findByG_P_P_S_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
      Parameters:
      plid - the primary key of the current layout
      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 previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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_PrevAndNext

      public static Layout[] filterFindByG_P_P_S_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
      Parameters:
      plid - the primary key of the current layout
      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 previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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
    • findByG_P_P_LteP_Last

      public static Layout findByG_P_P_LteP_Last(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the last 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 last matching layout
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • fetchByG_P_P_LteP_Last

      public static Layout fetchByG_P_P_LteP_Last(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator)
      Returns the last 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 last matching layout, or null if a matching layout could not be found
    • findByG_P_P_LteP_PrevAndNext

      public static Layout[] findByG_P_P_LteP_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
      Parameters:
      plid - the primary key of the current layout
      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 previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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
    • filterFindByG_P_P_LteP_PrevAndNext

      public static Layout[] filterFindByG_P_P_LteP_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
      Parameters:
      plid - the primary key of the current layout
      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 previous, current, and next layout
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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
      Throws:
      NoSuchLayoutException - if a matching layout could not be found
      NoSuchLayoutException
    • 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
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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
      Throws:
      NoSuchLayoutException - if a layout with the primary key could not be found
      NoSuchLayoutException
    • 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 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 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 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 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 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 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)