Class LayoutPersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
com.liferay.portal.service.persistence.impl.LayoutPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Layout>, com.liferay.portal.kernel.service.persistence.LayoutPersistence

public class LayoutPersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout> implements com.liferay.portal.kernel.service.persistence.LayoutPersistence
The persistence implementation for the layout service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
{$generated.description}
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Initializes the layout persistence.
    void
    cacheResult(com.liferay.portal.kernel.model.Layout layout)
    Caches the layout in the entity cache if it is enabled.
    void
    cacheResult(List<com.liferay.portal.kernel.model.Layout> layouts)
    Caches the layouts in the entity cache if it is enabled.
    protected void
     
    void
    Clears the cache for all layouts.
    void
    clearCache(com.liferay.portal.kernel.model.Layout layout)
    Clears the cache for the layout.
    void
    clearCache(List<com.liferay.portal.kernel.model.Layout> layouts)
     
    void
    clearCache(Set<Serializable> primaryKeys)
     
    int
    Returns the number of layouts.
    int
    countByC_C(long classNameId, long classPK)
    Returns the number of layouts where classNameId = ? and classPK = ?.
    int
    countByC_L(long companyId, String layoutPrototypeUuid)
    Returns the number of layouts where companyId = ? and layoutPrototypeUuid = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of layouts where companyId = ?.
    int
    countByERC_G(String externalReferenceCode, long groupId)
    Returns the number of layouts where externalReferenceCode = ? and groupId = ?.
    int
    countByG_MLP(long groupId, long masterLayoutPlid)
    Returns the number of layouts where groupId = ? and masterLayoutPlid = ?.
    int
    countByG_P(long groupId, boolean privateLayout)
    Returns the number of layouts where groupId = ? and privateLayout = ?.
    int
    countByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
    Returns the number of layouts where groupId = ? and privateLayout = ? and friendlyURL = ?.
    int
    countByG_P_L(long groupId, boolean privateLayout, long layoutId)
    Returns the number of layouts where groupId = ? and privateLayout = ? and layoutId = ?.
    int
    countByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
    Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    int
    countByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
    Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
    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 = ?.
    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 = ?.
    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 ≤ ?.
    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 = ?.
    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 = ?.
    int
    countByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid)
    Returns the number of layouts where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ?.
    int
    countByG_P_ST(long groupId, boolean privateLayout, int status)
    Returns the number of layouts where groupId = ? and privateLayout = ? and status = ?.
    int
    countByG_P_ST(long groupId, boolean privateLayout, int[] statuses)
    Returns the number of layouts where groupId = ? and privateLayout = ? and status = any ?.
    int
    countByG_P_T(long groupId, boolean privateLayout, String type)
    Returns the number of layouts where groupId = ? and privateLayout = ? and type = ?.
    int
    countByG_P_T(long groupId, boolean privateLayout, String[] types)
    Returns the number of layouts where groupId = ? and privateLayout = ? and type = any ?.
    int
    countByG_T(long groupId, String type)
    Returns the number of layouts where groupId = ? and type = ?.
    int
    countByGroupId(long groupId)
    Returns the number of layouts where groupId = ?.
    int
    countByIconImageId(long iconImageId)
    Returns the number of layouts where iconImageId = ?.
    int
    countByLayoutPrototypeUuid(String layoutPrototypeUuid)
    Returns the number of layouts where layoutPrototypeUuid = ?.
    int
    countByP_I(boolean privateLayout, long iconImageId)
    Returns the number of layouts where privateLayout = ? and iconImageId = ?.
    int
    countByParentPlid(long parentPlid)
    Returns the number of layouts where parentPlid = ?.
    int
    countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
    Returns the number of layouts where sourcePrototypeLayoutUuid = ?.
    int
    Returns the number of layouts where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of layouts where uuid = ? and companyId = ?.
    int
    countByUUID_G_P(String uuid, long groupId, boolean privateLayout)
    Returns the number of layouts where uuid = ? and groupId = ? and privateLayout = ?.
    com.liferay.portal.kernel.model.Layout
    create(long plid)
    Creates a new layout with the primary key.
    void
     
    com.liferay.portal.kernel.model.Layout
    fetchByC_C(long classNameId, long classPK)
    Returns the layout where classNameId = ? and classPK = ? or returns null if it could not be found.
    com.liferay.portal.kernel.model.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.
    com.liferay.portal.kernel.model.Layout
    fetchByC_L_First(long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByC_L_Last(long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where companyId = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where companyId = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByERC_G(String externalReferenceCode, long groupId)
    Returns the layout where externalReferenceCode = ? and groupId = ? or returns null if it could not be found.
    com.liferay.portal.kernel.model.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.
    com.liferay.portal.kernel.model.Layout
    fetchByG_MLP_First(long groupId, long masterLayoutPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByG_MLP_Last(long groupId, long masterLayoutPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
    com.liferay.portal.kernel.model.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.
    com.liferay.portal.kernel.model.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.
    com.liferay.portal.kernel.model.Layout
    fetchByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.
    com.liferay.portal.kernel.model.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.
    com.liferay.portal.kernel.model.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.
    com.liferay.portal.kernel.model.Layout
    fetchByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByG_P_P_H_First(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByG_P_P_H_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByG_P_P_LteP_First(long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    com.liferay.portal.kernel.model.Layout
    fetchByG_P_P_LteP_Last(long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    com.liferay.portal.kernel.model.Layout
    fetchByG_P_P_S_First(long groupId, boolean privateLayout, long parentLayoutId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByG_P_P_S_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    com.liferay.portal.kernel.model.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.
    com.liferay.portal.kernel.model.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.
    com.liferay.portal.kernel.model.Layout
    fetchByG_P_ST_First(long groupId, boolean privateLayout, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByG_P_ST_Last(long groupId, boolean privateLayout, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByG_P_T_First(long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByG_P_T_Last(long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByG_T_First(long groupId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and type = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByG_T_Last(long groupId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and type = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByIconImageId(long iconImageId)
    Returns the layout where iconImageId = ? or returns null if it could not be found.
    com.liferay.portal.kernel.model.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.
    com.liferay.portal.kernel.model.Layout
    fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where layoutPrototypeUuid = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where layoutPrototypeUuid = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByP_I(boolean privateLayout, long iconImageId)
    Returns the layout where privateLayout = ? and iconImageId = ? or returns null if it could not be found.
    com.liferay.portal.kernel.model.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.
    com.liferay.portal.kernel.model.Layout
    fetchByParentPlid_First(long parentPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where parentPlid = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByParentPlid_Last(long parentPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where parentPlid = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByPrimaryKey(long plid)
    Returns the layout with the primary key or returns null if it could not be found.
    com.liferay.portal.kernel.model.Layout
    Returns the layout with the primary key or returns null if it could not be found.
    Map<Serializable,com.liferay.portal.kernel.model.Layout>
     
    com.liferay.portal.kernel.model.Layout
    fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.
    com.liferay.portal.kernel.model.Layout
    fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.Layout
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where uuid = ?.
    com.liferay.portal.kernel.model.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.
    com.liferay.portal.kernel.model.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.
    com.liferay.portal.kernel.model.Layout
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where uuid = ?.
    int
    filterCountByG_MLP(long groupId, long masterLayoutPlid)
    Returns the number of layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.
    int
    filterCountByG_P(long groupId, boolean privateLayout)
    Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ?.
    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 = ?.
    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 ?.
    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 = ?.
    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 = ?.
    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 ≤ ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 ?.
    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 = ?.
    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 ?.
    int
    filterCountByG_T(long groupId, String type)
    Returns the number of layouts that the user has permission to view where groupId = ? and type = ?.
    int
    filterCountByGroupId(long groupId)
    Returns the number of layouts that the user has permission to view where groupId = ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_MLP(long groupId, long masterLayoutPlid)
    Returns all the layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_MLP(long groupId, long masterLayoutPlid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and masterLayoutPlid = ?.
    com.liferay.portal.kernel.model.Layout[]
    filterFindByG_MLP_PrevAndNext(long plid, long groupId, long masterLayoutPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_P(long groupId, boolean privateLayout)
    Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 ?.
    List<com.liferay.portal.kernel.model.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 ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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 = ?.
    com.liferay.portal.kernel.model.Layout[]
    filterFindByG_P_P_H_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 ≤ ?.
    List<com.liferay.portal.kernel.model.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 ≤ ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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 ≤ ?.
    com.liferay.portal.kernel.model.Layout[]
    filterFindByG_P_P_LteP_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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 ≤ ?.
    com.liferay.portal.kernel.model.Layout[]
    filterFindByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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 = ?.
    com.liferay.portal.kernel.model.Layout[]
    filterFindByG_P_P_S_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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 = ?.
    com.liferay.portal.kernel.model.Layout[]
    filterFindByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 ?.
    List<com.liferay.portal.kernel.model.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 ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = any ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and status = ?.
    com.liferay.portal.kernel.model.Layout[]
    filterFindByG_P_ST_PrevAndNext(long plid, long groupId, boolean privateLayout, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 ?.
    List<com.liferay.portal.kernel.model.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 ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = any ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and type = ?.
    com.liferay.portal.kernel.model.Layout[]
    filterFindByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_T(long groupId, String type)
    Returns all the layouts that the user has permission to view where groupId = ? and type = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByG_T(long groupId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and type = ?.
    com.liferay.portal.kernel.model.Layout[]
    filterFindByG_T_PrevAndNext(long plid, long groupId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByGroupId(long groupId)
    Returns all the layouts that the user has permission to view where groupId = ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByGroupId(long groupId, int start, int end)
    Returns a range of all the layouts that the user has permission to view where groupId = ?.
    List<com.liferay.portal.kernel.model.Layout>
    filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts that the user has permissions to view where groupId = ?.
    com.liferay.portal.kernel.model.Layout[]
    filterFindByGroupId_PrevAndNext(long plid, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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 = ?.
    protected com.liferay.portal.kernel.model.Layout
    filterGetByG_MLP_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, long masterLayoutPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    filterGetByG_P_P_H_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    filterGetByG_P_P_LteP_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    filterGetByG_P_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    filterGetByG_P_P_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    filterGetByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    filterGetByG_P_ST_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    filterGetByG_P_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    filterGetByG_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    List<com.liferay.portal.kernel.model.Layout>
    Returns all the layouts.
    List<com.liferay.portal.kernel.model.Layout>
    findAll(int start, int end)
    Returns a range of all the layouts.
    List<com.liferay.portal.kernel.model.Layout>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts.
    List<com.liferay.portal.kernel.model.Layout>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts.
    com.liferay.portal.kernel.model.Layout
    findByC_C(long classNameId, long classPK)
    Returns the layout where classNameId = ? and classPK = ? or throws a NoSuchLayoutException if it could not be found.
    List<com.liferay.portal.kernel.model.Layout>
    findByC_L(long companyId, String layoutPrototypeUuid)
    Returns all the layouts where companyId = ? and layoutPrototypeUuid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByC_L(long companyId, String layoutPrototypeUuid, int start, int end)
    Returns a range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByC_L(long companyId, String layoutPrototypeUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByC_L(long companyId, String layoutPrototypeUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.
    com.liferay.portal.kernel.model.Layout
    findByC_L_First(long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
    com.liferay.portal.kernel.model.Layout
    findByC_L_Last(long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
    com.liferay.portal.kernel.model.Layout[]
    findByC_L_PrevAndNext(long plid, long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByCompanyId(long companyId)
    Returns all the layouts where companyId = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the layouts where companyId = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where companyId = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where companyId = ?.
    com.liferay.portal.kernel.model.Layout
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where companyId = ?.
    com.liferay.portal.kernel.model.Layout
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where companyId = ?.
    com.liferay.portal.kernel.model.Layout[]
    findByCompanyId_PrevAndNext(long plid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where companyId = ?.
    com.liferay.portal.kernel.model.Layout
    findByERC_G(String externalReferenceCode, long groupId)
    Returns the layout where externalReferenceCode = ? and groupId = ? or throws a NoSuchLayoutException if it could not be found.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_MLP(long groupId, long masterLayoutPlid)
    Returns all the layouts where groupId = ? and masterLayoutPlid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_MLP(long groupId, long masterLayoutPlid, int start, int end)
    Returns a range of all the layouts where groupId = ? and masterLayoutPlid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_MLP(long groupId, long masterLayoutPlid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and masterLayoutPlid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_MLP(long groupId, long masterLayoutPlid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and masterLayoutPlid = ?.
    com.liferay.portal.kernel.model.Layout
    findByG_MLP_First(long groupId, long masterLayoutPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
    com.liferay.portal.kernel.model.Layout
    findByG_MLP_Last(long groupId, long masterLayoutPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
    com.liferay.portal.kernel.model.Layout[]
    findByG_MLP_PrevAndNext(long plid, long groupId, long masterLayoutPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P(long groupId, boolean privateLayout)
    Returns all the layouts where groupId = ? and privateLayout = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P(long groupId, boolean privateLayout, int start, int end)
    Returns a range of all the layouts where groupId = ? and privateLayout = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?.
    com.liferay.portal.kernel.model.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.
    com.liferay.portal.kernel.model.Layout
    findByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.
    com.liferay.portal.kernel.model.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.
    com.liferay.portal.kernel.model.Layout
    findByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
    Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
    Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
    List<com.liferay.portal.kernel.model.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 ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?, optionally using the finder cache.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    com.liferay.portal.kernel.model.Layout
    findByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    com.liferay.portal.kernel.model.Layout
    findByG_P_P_H_First(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    com.liferay.portal.kernel.model.Layout
    findByG_P_P_H_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    com.liferay.portal.kernel.model.Layout[]
    findByG_P_P_H_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
    com.liferay.portal.kernel.model.Layout
    findByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    List<com.liferay.portal.kernel.model.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 ≤ ?.
    List<com.liferay.portal.kernel.model.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 ≤ ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    com.liferay.portal.kernel.model.Layout
    findByG_P_P_LteP_First(long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    com.liferay.portal.kernel.model.Layout
    findByG_P_P_LteP_Last(long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    com.liferay.portal.kernel.model.Layout[]
    findByG_P_P_LteP_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
    com.liferay.portal.kernel.model.Layout[]
    findByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    com.liferay.portal.kernel.model.Layout
    findByG_P_P_S_First(long groupId, boolean privateLayout, long parentLayoutId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    com.liferay.portal.kernel.model.Layout
    findByG_P_P_S_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    com.liferay.portal.kernel.model.Layout[]
    findByG_P_P_S_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
    com.liferay.portal.kernel.model.Layout[]
    findByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ?.
    com.liferay.portal.kernel.model.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.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_ST(long groupId, boolean privateLayout, int status)
    Returns all the layouts where groupId = ? and privateLayout = ? and status = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_ST(long groupId, boolean privateLayout, int[] statuses)
    Returns all the layouts where groupId = ? and privateLayout = ? and status = any ?.
    List<com.liferay.portal.kernel.model.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 ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = any ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = ?, optionally using the finder cache.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = ?.
    com.liferay.portal.kernel.model.Layout
    findByG_P_ST_First(long groupId, boolean privateLayout, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.
    com.liferay.portal.kernel.model.Layout
    findByG_P_ST_Last(long groupId, boolean privateLayout, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.
    com.liferay.portal.kernel.model.Layout[]
    findByG_P_ST_PrevAndNext(long plid, long groupId, boolean privateLayout, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_T(long groupId, boolean privateLayout, String type)
    Returns all the layouts where groupId = ? and privateLayout = ? and type = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_T(long groupId, boolean privateLayout, String[] types)
    Returns all the layouts where groupId = ? and privateLayout = ? and type = any ?.
    List<com.liferay.portal.kernel.model.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 ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = any ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?, optionally using the finder cache.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?.
    com.liferay.portal.kernel.model.Layout
    findByG_P_T_First(long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
    com.liferay.portal.kernel.model.Layout
    findByG_P_T_Last(long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
    com.liferay.portal.kernel.model.Layout[]
    findByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_T(long groupId, String type)
    Returns all the layouts where groupId = ? and type = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_T(long groupId, String type, int start, int end)
    Returns a range of all the layouts where groupId = ? and type = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_T(long groupId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ? and type = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByG_T(long groupId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ? and type = ?.
    com.liferay.portal.kernel.model.Layout
    findByG_T_First(long groupId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ? and type = ?.
    com.liferay.portal.kernel.model.Layout
    findByG_T_Last(long groupId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ? and type = ?.
    com.liferay.portal.kernel.model.Layout[]
    findByG_T_PrevAndNext(long plid, long groupId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ? and type = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByGroupId(long groupId)
    Returns all the layouts where groupId = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the layouts where groupId = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where groupId = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where groupId = ?.
    com.liferay.portal.kernel.model.Layout
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where groupId = ?.
    com.liferay.portal.kernel.model.Layout
    findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where groupId = ?.
    com.liferay.portal.kernel.model.Layout[]
    findByGroupId_PrevAndNext(long plid, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where groupId = ?.
    com.liferay.portal.kernel.model.Layout
    findByIconImageId(long iconImageId)
    Returns the layout where iconImageId = ? or throws a NoSuchLayoutException if it could not be found.
    List<com.liferay.portal.kernel.model.Layout>
    findByLayoutPrototypeUuid(String layoutPrototypeUuid)
    Returns all the layouts where layoutPrototypeUuid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end)
    Returns a range of all the layouts where layoutPrototypeUuid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where layoutPrototypeUuid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where layoutPrototypeUuid = ?.
    com.liferay.portal.kernel.model.Layout
    findByLayoutPrototypeUuid_First(String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where layoutPrototypeUuid = ?.
    com.liferay.portal.kernel.model.Layout
    findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where layoutPrototypeUuid = ?.
    com.liferay.portal.kernel.model.Layout[]
    findByLayoutPrototypeUuid_PrevAndNext(long plid, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where layoutPrototypeUuid = ?.
    com.liferay.portal.kernel.model.Layout
    findByP_I(boolean privateLayout, long iconImageId)
    Returns the layout where privateLayout = ? and iconImageId = ? or throws a NoSuchLayoutException if it could not be found.
    List<com.liferay.portal.kernel.model.Layout>
    findByParentPlid(long parentPlid)
    Returns all the layouts where parentPlid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByParentPlid(long parentPlid, int start, int end)
    Returns a range of all the layouts where parentPlid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByParentPlid(long parentPlid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where parentPlid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByParentPlid(long parentPlid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where parentPlid = ?.
    com.liferay.portal.kernel.model.Layout
    findByParentPlid_First(long parentPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where parentPlid = ?.
    com.liferay.portal.kernel.model.Layout
    findByParentPlid_Last(long parentPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where parentPlid = ?.
    com.liferay.portal.kernel.model.Layout[]
    findByParentPlid_PrevAndNext(long plid, long parentPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where parentPlid = ?.
    com.liferay.portal.kernel.model.Layout
    findByPrimaryKey(long plid)
    Returns the layout with the primary key or throws a NoSuchLayoutException if it could not be found.
    com.liferay.portal.kernel.model.Layout
    Returns the layout with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
    List<com.liferay.portal.kernel.model.Layout>
    findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
    Returns all the layouts where sourcePrototypeLayoutUuid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end)
    Returns a range of all the layouts where sourcePrototypeLayoutUuid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?.
    com.liferay.portal.kernel.model.Layout
    findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.
    com.liferay.portal.kernel.model.Layout
    findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.
    com.liferay.portal.kernel.model.Layout[]
    findBySourcePrototypeLayoutUuid_PrevAndNext(long plid, String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where sourcePrototypeLayoutUuid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    Returns all the layouts where uuid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByUuid(String uuid, int start, int end)
    Returns a range of all the layouts where uuid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where uuid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where uuid = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByUuid_C(String uuid, long companyId)
    Returns all the layouts where uuid = ? and companyId = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the layouts where uuid = ? and companyId = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns an ordered range of all the layouts where uuid = ? and companyId = ?.
    List<com.liferay.portal.kernel.model.Layout>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layouts where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.Layout
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.Layout
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.Layout[]
    findByUuid_C_PrevAndNext(long plid, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.Layout
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the first layout in the ordered set where uuid = ?.
    com.liferay.portal.kernel.model.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.
    com.liferay.portal.kernel.model.Layout
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the last layout in the ordered set where uuid = ?.
    com.liferay.portal.kernel.model.Layout[]
    findByUuid_PrevAndNext(long plid, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
    Returns the layouts before and after the current layout in the ordered set where uuid = ?.
     
    protected com.liferay.portal.kernel.model.Layout
    getByC_L_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    getByG_MLP_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, long masterLayoutPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    getByG_P_P_H_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    getByG_P_P_LteP_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    getByG_P_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    getByG_P_P_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    getByG_P_ST_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    getByG_P_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    getByG_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    getByLayoutPrototypeUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    getByParentPlid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long parentPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    getBySourcePrototypeLayoutUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.Layout
    getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
     
    getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
     
    protected com.liferay.portal.kernel.dao.orm.EntityCache
     
    protected com.liferay.portal.kernel.dao.orm.FinderCache
     
     
    protected String
     
    protected String
     
     
     
     
    com.liferay.portal.kernel.model.Layout
    remove(long plid)
    Removes the layout with the primary key from the database.
    com.liferay.portal.kernel.model.Layout
    remove(Serializable primaryKey)
    Removes the layout with the primary key from the database.
    void
    Removes all the layouts from the database.
    com.liferay.portal.kernel.model.Layout
    removeByC_C(long classNameId, long classPK)
    Removes the layout where classNameId = ? and classPK = ? from the database.
    void
    removeByC_L(long companyId, String layoutPrototypeUuid)
    Removes all the layouts where companyId = ? and layoutPrototypeUuid = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the layouts where companyId = ? from the database.
    com.liferay.portal.kernel.model.Layout
    removeByERC_G(String externalReferenceCode, long groupId)
    Removes the layout where externalReferenceCode = ? and groupId = ? from the database.
    void
    removeByG_MLP(long groupId, long masterLayoutPlid)
    Removes all the layouts where groupId = ? and masterLayoutPlid = ? from the database.
    void
    removeByG_P(long groupId, boolean privateLayout)
    Removes all the layouts where groupId = ? and privateLayout = ? from the database.
    com.liferay.portal.kernel.model.Layout
    removeByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
    Removes the layout where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.
    com.liferay.portal.kernel.model.Layout
    removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
    Removes the layout where groupId = ? and privateLayout = ? and layoutId = ? from the database.
    void
    removeByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
    Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? from the database.
    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.
    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.
    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.
    com.liferay.portal.kernel.model.Layout
    removeByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid)
    Removes the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? from the database.
    void
    removeByG_P_ST(long groupId, boolean privateLayout, int status)
    Removes all the layouts where groupId = ? and privateLayout = ? and status = ? from the database.
    void
    removeByG_P_T(long groupId, boolean privateLayout, String type)
    Removes all the layouts where groupId = ? and privateLayout = ? and type = ? from the database.
    void
    removeByG_T(long groupId, String type)
    Removes all the layouts where groupId = ? and type = ? from the database.
    void
    removeByGroupId(long groupId)
    Removes all the layouts where groupId = ? from the database.
    com.liferay.portal.kernel.model.Layout
    removeByIconImageId(long iconImageId)
    Removes the layout where iconImageId = ? from the database.
    void
    removeByLayoutPrototypeUuid(String layoutPrototypeUuid)
    Removes all the layouts where layoutPrototypeUuid = ? from the database.
    com.liferay.portal.kernel.model.Layout
    removeByP_I(boolean privateLayout, long iconImageId)
    Removes the layout where privateLayout = ? and iconImageId = ? from the database.
    void
    removeByParentPlid(long parentPlid)
    Removes all the layouts where parentPlid = ? from the database.
    void
    removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
    Removes all the layouts where sourcePrototypeLayoutUuid = ? from the database.
    void
    Removes all the layouts where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the layouts where uuid = ? and companyId = ? from the database.
    com.liferay.portal.kernel.model.Layout
    removeByUUID_G_P(String uuid, long groupId, boolean privateLayout)
    Removes the layout where uuid = ? and groupId = ? and privateLayout = ? from the database.
    protected com.liferay.portal.kernel.model.Layout
    removeImpl(com.liferay.portal.kernel.model.Layout layout)
     
    com.liferay.portal.kernel.model.Layout
    updateImpl(com.liferay.portal.kernel.model.Layout layout)
     

    Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Field Details

    • FINDER_CLASS_NAME_ENTITY

      public static final String FINDER_CLASS_NAME_ENTITY
    • FINDER_CLASS_NAME_LIST_WITH_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
    • FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
  • Constructor Details

    • LayoutPersistenceImpl

      public LayoutPersistenceImpl()
  • Method Details

    • findByUuid

      public List<com.liferay.portal.kernel.model.Layout> findByUuid(String uuid)
      Returns all the layouts where uuid = ?.
      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the matching layouts
    • findByUuid

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where uuid = ?.
      Specified by:
      findByUuid_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByUuid_First

      public com.liferay.portal.kernel.model.Layout fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where uuid = ?.
      Specified by:
      fetchByUuid_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where uuid = ?.
      Specified by:
      findByUuid_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByUuid_Last

      public com.liferay.portal.kernel.model.Layout fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where uuid = ?.
      Specified by:
      fetchByUuid_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findByUuid_PrevAndNext(long plid, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where uuid = ?.
      Specified by:
      findByUuid_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getByUuid_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • removeByUuid

      public void removeByUuid(String uuid)
      Removes all the layouts where uuid = ? from the database.
      Specified by:
      removeByUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      uuid - the uuid
    • countByUuid

      public int countByUuid(String uuid)
      Returns the number of layouts where uuid = ?.
      Specified by:
      countByUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching layouts
    • findByUUID_G_P

      public com.liferay.portal.kernel.model.Layout findByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or throws a NoSuchLayoutException if it could not be found.
      Specified by:
      findByUUID_G_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      privateLayout - the private layout
      Returns:
      the matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByUUID_G_P

      public com.liferay.portal.kernel.model.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.
      Specified by:
      fetchByUUID_G_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.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.
      Specified by:
      fetchByUUID_G_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout removeByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Removes the layout where uuid = ? and groupId = ? and privateLayout = ? from the database.
      Specified by:
      removeByUUID_G_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      privateLayout - the private layout
      Returns:
      the layout that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException
    • countByUUID_G_P

      public int countByUUID_G_P(String uuid, long groupId, boolean privateLayout)
      Returns the number of layouts where uuid = ? and groupId = ? and privateLayout = ?.
      Specified by:
      countByUUID_G_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      privateLayout - the private layout
      Returns:
      the number of matching layouts
    • findByUuid_C

      public List<com.liferay.portal.kernel.model.Layout> findByUuid_C(String uuid, long companyId)
      Returns all the layouts where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching layouts
    • findByUuid_C

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByUuid_C_First

      public com.liferay.portal.kernel.model.Layout fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      fetchByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByUuid_C_Last

      public com.liferay.portal.kernel.model.Layout fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      fetchByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findByUuid_C_PrevAndNext(long plid, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getByUuid_C_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • removeByUuid_C

      public void removeByUuid_C(String uuid, long companyId)
      Removes all the layouts where uuid = ? and companyId = ? from the database.
      Specified by:
      removeByUuid_C in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public int countByUuid_C(String uuid, long companyId)
      Returns the number of layouts where uuid = ? and companyId = ?.
      Specified by:
      countByUuid_C in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching layouts
    • findByGroupId

      public List<com.liferay.portal.kernel.model.Layout> findByGroupId(long groupId)
      Returns all the layouts where groupId = ?.
      Specified by:
      findByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      Returns:
      the matching layouts
    • findByGroupId

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ?.
      Specified by:
      findByGroupId_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByGroupId_First

      public com.liferay.portal.kernel.model.Layout fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ?.
      Specified by:
      fetchByGroupId_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where groupId = ?.
      Specified by:
      findByGroupId_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByGroupId_Last

      public com.liferay.portal.kernel.model.Layout fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where groupId = ?.
      Specified by:
      fetchByGroupId_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findByGroupId_PrevAndNext(long plid, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ?.
      Specified by:
      findByGroupId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getByGroupId_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • filterFindByGroupId

      public List<com.liferay.portal.kernel.model.Layout> filterFindByGroupId(long groupId)
      Returns all the layouts that the user has permission to view where groupId = ?.
      Specified by:
      filterFindByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByGroupId

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] filterFindByGroupId_PrevAndNext(long plid, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      filterFindByGroupId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • filterGetByGroupId_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • removeByGroupId

      public void removeByGroupId(long groupId)
      Removes all the layouts where groupId = ? from the database.
      Specified by:
      removeByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
    • countByGroupId

      public int countByGroupId(long groupId)
      Returns the number of layouts where groupId = ?.
      Specified by:
      countByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching layouts
    • filterCountByGroupId

      public int filterCountByGroupId(long groupId)
      Returns the number of layouts that the user has permission to view where groupId = ?.
      Specified by:
      filterCountByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching layouts that the user has permission to view
    • findByCompanyId

      public List<com.liferay.portal.kernel.model.Layout> findByCompanyId(long companyId)
      Returns all the layouts where companyId = ?.
      Specified by:
      findByCompanyId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      companyId - the company ID
      Returns:
      the matching layouts
    • findByCompanyId

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByCompanyId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByCompanyId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByCompanyId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where companyId = ?.
      Specified by:
      findByCompanyId_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByCompanyId_First

      public com.liferay.portal.kernel.model.Layout fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where companyId = ?.
      Specified by:
      fetchByCompanyId_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where companyId = ?.
      Specified by:
      findByCompanyId_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByCompanyId_Last

      public com.liferay.portal.kernel.model.Layout fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where companyId = ?.
      Specified by:
      fetchByCompanyId_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findByCompanyId_PrevAndNext(long plid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where companyId = ?.
      Specified by:
      findByCompanyId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getByCompanyId_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • removeByCompanyId

      public void removeByCompanyId(long companyId)
      Removes all the layouts where companyId = ? from the database.
      Specified by:
      removeByCompanyId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public int countByCompanyId(long companyId)
      Returns the number of layouts where companyId = ?.
      Specified by:
      countByCompanyId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching layouts
    • findByParentPlid

      public List<com.liferay.portal.kernel.model.Layout> findByParentPlid(long parentPlid)
      Returns all the layouts where parentPlid = ?.
      Specified by:
      findByParentPlid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      parentPlid - the parent plid
      Returns:
      the matching layouts
    • findByParentPlid

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByParentPlid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByParentPlid(long parentPlid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByParentPlid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByParentPlid(long parentPlid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByParentPlid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByParentPlid_First(long parentPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where parentPlid = ?.
      Specified by:
      findByParentPlid_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      parentPlid - the parent plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByParentPlid_First

      public com.liferay.portal.kernel.model.Layout fetchByParentPlid_First(long parentPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where parentPlid = ?.
      Specified by:
      fetchByParentPlid_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByParentPlid_Last(long parentPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where parentPlid = ?.
      Specified by:
      findByParentPlid_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      parentPlid - the parent plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByParentPlid_Last

      public com.liferay.portal.kernel.model.Layout fetchByParentPlid_Last(long parentPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where parentPlid = ?.
      Specified by:
      fetchByParentPlid_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findByParentPlid_PrevAndNext(long plid, long parentPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where parentPlid = ?.
      Specified by:
      findByParentPlid_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getByParentPlid_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getByParentPlid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long parentPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • removeByParentPlid

      public void removeByParentPlid(long parentPlid)
      Removes all the layouts where parentPlid = ? from the database.
      Specified by:
      removeByParentPlid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      parentPlid - the parent plid
    • countByParentPlid

      public int countByParentPlid(long parentPlid)
      Returns the number of layouts where parentPlid = ?.
      Specified by:
      countByParentPlid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      parentPlid - the parent plid
      Returns:
      the number of matching layouts
    • findByIconImageId

      public com.liferay.portal.kernel.model.Layout findByIconImageId(long iconImageId) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layout where iconImageId = ? or throws a NoSuchLayoutException if it could not be found.
      Specified by:
      findByIconImageId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      iconImageId - the icon image ID
      Returns:
      the matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByIconImageId

      public com.liferay.portal.kernel.model.Layout fetchByIconImageId(long iconImageId)
      Returns the layout where iconImageId = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByIconImageId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      iconImageId - the icon image ID
      Returns:
      the matching layout, or null if a matching layout could not be found
    • fetchByIconImageId

      public com.liferay.portal.kernel.model.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.
      Specified by:
      fetchByIconImageId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout removeByIconImageId(long iconImageId) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Removes the layout where iconImageId = ? from the database.
      Specified by:
      removeByIconImageId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      iconImageId - the icon image ID
      Returns:
      the layout that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException
    • countByIconImageId

      public int countByIconImageId(long iconImageId)
      Returns the number of layouts where iconImageId = ?.
      Specified by:
      countByIconImageId in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      iconImageId - the icon image ID
      Returns:
      the number of matching layouts
    • findByLayoutPrototypeUuid

      public List<com.liferay.portal.kernel.model.Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid)
      Returns all the layouts where layoutPrototypeUuid = ?.
      Specified by:
      findByLayoutPrototypeUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      layoutPrototypeUuid - the layout prototype uuid
      Returns:
      the matching layouts
    • findByLayoutPrototypeUuid

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByLayoutPrototypeUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByLayoutPrototypeUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByLayoutPrototypeUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByLayoutPrototypeUuid_First(String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where layoutPrototypeUuid = ?.
      Specified by:
      findByLayoutPrototypeUuid_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      layoutPrototypeUuid - the layout prototype uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByLayoutPrototypeUuid_First

      public com.liferay.portal.kernel.model.Layout fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where layoutPrototypeUuid = ?.
      Specified by:
      fetchByLayoutPrototypeUuid_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where layoutPrototypeUuid = ?.
      Specified by:
      findByLayoutPrototypeUuid_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      layoutPrototypeUuid - the layout prototype uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByLayoutPrototypeUuid_Last

      public com.liferay.portal.kernel.model.Layout fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where layoutPrototypeUuid = ?.
      Specified by:
      fetchByLayoutPrototypeUuid_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findByLayoutPrototypeUuid_PrevAndNext(long plid, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where layoutPrototypeUuid = ?.
      Specified by:
      findByLayoutPrototypeUuid_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getByLayoutPrototypeUuid_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getByLayoutPrototypeUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • removeByLayoutPrototypeUuid

      public void removeByLayoutPrototypeUuid(String layoutPrototypeUuid)
      Removes all the layouts where layoutPrototypeUuid = ? from the database.
      Specified by:
      removeByLayoutPrototypeUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      layoutPrototypeUuid - the layout prototype uuid
    • countByLayoutPrototypeUuid

      public int countByLayoutPrototypeUuid(String layoutPrototypeUuid)
      Returns the number of layouts where layoutPrototypeUuid = ?.
      Specified by:
      countByLayoutPrototypeUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      layoutPrototypeUuid - the layout prototype uuid
      Returns:
      the number of matching layouts
    • findBySourcePrototypeLayoutUuid

      public List<com.liferay.portal.kernel.model.Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
      Returns all the layouts where sourcePrototypeLayoutUuid = ?.
      Specified by:
      findBySourcePrototypeLayoutUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      sourcePrototypeLayoutUuid - the source prototype layout uuid
      Returns:
      the matching layouts
    • findBySourcePrototypeLayoutUuid

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findBySourcePrototypeLayoutUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findBySourcePrototypeLayoutUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findBySourcePrototypeLayoutUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.
      Specified by:
      findBySourcePrototypeLayoutUuid_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      sourcePrototypeLayoutUuid - the source prototype layout uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchBySourcePrototypeLayoutUuid_First

      public com.liferay.portal.kernel.model.Layout fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.
      Specified by:
      fetchBySourcePrototypeLayoutUuid_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.
      Specified by:
      findBySourcePrototypeLayoutUuid_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      sourcePrototypeLayoutUuid - the source prototype layout uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchBySourcePrototypeLayoutUuid_Last

      public com.liferay.portal.kernel.model.Layout fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.
      Specified by:
      fetchBySourcePrototypeLayoutUuid_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findBySourcePrototypeLayoutUuid_PrevAndNext(long plid, String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where sourcePrototypeLayoutUuid = ?.
      Specified by:
      findBySourcePrototypeLayoutUuid_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getBySourcePrototypeLayoutUuid_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getBySourcePrototypeLayoutUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • removeBySourcePrototypeLayoutUuid

      public void removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
      Removes all the layouts where sourcePrototypeLayoutUuid = ? from the database.
      Specified by:
      removeBySourcePrototypeLayoutUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      sourcePrototypeLayoutUuid - the source prototype layout uuid
    • countBySourcePrototypeLayoutUuid

      public int countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
      Returns the number of layouts where sourcePrototypeLayoutUuid = ?.
      Specified by:
      countBySourcePrototypeLayoutUuid in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      sourcePrototypeLayoutUuid - the source prototype layout uuid
      Returns:
      the number of matching layouts
    • findByG_P

      public List<com.liferay.portal.kernel.model.Layout> findByG_P(long groupId, boolean privateLayout)
      Returns all the layouts where groupId = ? and privateLayout = ?.
      Specified by:
      findByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      Returns:
      the matching layouts
    • findByG_P

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.
      Specified by:
      findByG_P_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_First

      public com.liferay.portal.kernel.model.Layout fetchByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.
      Specified by:
      fetchByG_P_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.
      Specified by:
      findByG_P_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_Last

      public com.liferay.portal.kernel.model.Layout fetchByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.
      Specified by:
      fetchByG_P_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ?.
      Specified by:
      findByG_P_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getByG_P_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • filterFindByG_P

      public List<com.liferay.portal.kernel.model.Layout> filterFindByG_P(long groupId, boolean privateLayout)
      Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ?.
      Specified by:
      filterFindByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_P

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> filterFindByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] filterFindByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      filterFindByG_P_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • filterGetByG_P_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout filterGetByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • removeByG_P

      public void removeByG_P(long groupId, boolean privateLayout)
      Removes all the layouts where groupId = ? and privateLayout = ? from the database.
      Specified by:
      removeByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
    • countByG_P

      public int countByG_P(long groupId, boolean privateLayout)
      Returns the number of layouts where groupId = ? and privateLayout = ?.
      Specified by:
      countByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      Returns:
      the number of matching layouts
    • filterCountByG_P

      public int filterCountByG_P(long groupId, boolean privateLayout)
      Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ?.
      Specified by:
      filterCountByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_T(long groupId, String type)
      Returns all the layouts where groupId = ? and type = ?.
      Specified by:
      findByG_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      type - the type
      Returns:
      the matching layouts
    • findByG_T

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_T(long groupId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_T(long groupId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_T_First(long groupId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and type = ?.
      Specified by:
      findByG_T_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_T_First

      public com.liferay.portal.kernel.model.Layout fetchByG_T_First(long groupId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and type = ?.
      Specified by:
      fetchByG_T_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_T_Last(long groupId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where groupId = ? and type = ?.
      Specified by:
      findByG_T_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_T_Last

      public com.liferay.portal.kernel.model.Layout fetchByG_T_Last(long groupId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where groupId = ? and type = ?.
      Specified by:
      fetchByG_T_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findByG_T_PrevAndNext(long plid, long groupId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and type = ?.
      Specified by:
      findByG_T_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getByG_T_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getByG_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • filterFindByG_T

      public List<com.liferay.portal.kernel.model.Layout> filterFindByG_T(long groupId, String type)
      Returns all the layouts that the user has permission to view where groupId = ? and type = ?.
      Specified by:
      filterFindByG_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      type - the type
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_T

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> filterFindByG_T(long groupId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] filterFindByG_T_PrevAndNext(long plid, long groupId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      filterFindByG_T_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • filterGetByG_T_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout filterGetByG_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • removeByG_T

      public void removeByG_T(long groupId, String type)
      Removes all the layouts where groupId = ? and type = ? from the database.
      Specified by:
      removeByG_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      type - the type
    • countByG_T

      public int countByG_T(long groupId, String type)
      Returns the number of layouts where groupId = ? and type = ?.
      Specified by:
      countByG_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      type - the type
      Returns:
      the number of matching layouts
    • filterCountByG_T

      public int filterCountByG_T(long groupId, String type)
      Returns the number of layouts that the user has permission to view where groupId = ? and type = ?.
      Specified by:
      filterCountByG_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      type - the type
      Returns:
      the number of matching layouts that the user has permission to view
    • findByG_MLP

      public List<com.liferay.portal.kernel.model.Layout> findByG_MLP(long groupId, long masterLayoutPlid)
      Returns all the layouts where groupId = ? and masterLayoutPlid = ?.
      Specified by:
      findByG_MLP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout plid
      Returns:
      the matching layouts
    • findByG_MLP

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_MLP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_MLP(long groupId, long masterLayoutPlid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_MLP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_MLP(long groupId, long masterLayoutPlid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_MLP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_MLP_First(long groupId, long masterLayoutPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
      Specified by:
      findByG_MLP_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_MLP_First

      public com.liferay.portal.kernel.model.Layout fetchByG_MLP_First(long groupId, long masterLayoutPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
      Specified by:
      fetchByG_MLP_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_MLP_Last(long groupId, long masterLayoutPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
      Specified by:
      findByG_MLP_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_MLP_Last

      public com.liferay.portal.kernel.model.Layout fetchByG_MLP_Last(long groupId, long masterLayoutPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
      Specified by:
      fetchByG_MLP_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findByG_MLP_PrevAndNext(long plid, long groupId, long masterLayoutPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and masterLayoutPlid = ?.
      Specified by:
      findByG_MLP_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getByG_MLP_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getByG_MLP_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, long masterLayoutPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • filterFindByG_MLP

      public List<com.liferay.portal.kernel.model.Layout> filterFindByG_MLP(long groupId, long masterLayoutPlid)
      Returns all the layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.
      Specified by:
      filterFindByG_MLP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout plid
      Returns:
      the matching layouts that the user has permission to view
    • filterFindByG_MLP

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_MLP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> filterFindByG_MLP(long groupId, long masterLayoutPlid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_MLP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] filterFindByG_MLP_PrevAndNext(long plid, long groupId, long masterLayoutPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      filterFindByG_MLP_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • filterGetByG_MLP_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout filterGetByG_MLP_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, long masterLayoutPlid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • removeByG_MLP

      public void removeByG_MLP(long groupId, long masterLayoutPlid)
      Removes all the layouts where groupId = ? and masterLayoutPlid = ? from the database.
      Specified by:
      removeByG_MLP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout plid
    • countByG_MLP

      public int countByG_MLP(long groupId, long masterLayoutPlid)
      Returns the number of layouts where groupId = ? and masterLayoutPlid = ?.
      Specified by:
      countByG_MLP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      masterLayoutPlid - the master layout plid
      Returns:
      the number of matching layouts
    • filterCountByG_MLP

      public int filterCountByG_MLP(long groupId, long masterLayoutPlid)
      Returns the number of layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.
      Specified by:
      filterCountByG_MLP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByC_L(long companyId, String layoutPrototypeUuid)
      Returns all the layouts where companyId = ? and layoutPrototypeUuid = ?.
      Specified by:
      findByC_L in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      companyId - the company ID
      layoutPrototypeUuid - the layout prototype uuid
      Returns:
      the matching layouts
    • findByC_L

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByC_L in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByC_L(long companyId, String layoutPrototypeUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByC_L in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByC_L(long companyId, String layoutPrototypeUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByC_L in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByC_L_First(long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
      Specified by:
      findByC_L_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByC_L_First

      public com.liferay.portal.kernel.model.Layout fetchByC_L_First(long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
      Specified by:
      fetchByC_L_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByC_L_Last(long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
      Specified by:
      findByC_L_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByC_L_Last

      public com.liferay.portal.kernel.model.Layout fetchByC_L_Last(long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
      Specified by:
      fetchByC_L_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findByC_L_PrevAndNext(long plid, long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
      Specified by:
      findByC_L_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getByC_L_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getByC_L_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • removeByC_L

      public void removeByC_L(long companyId, String layoutPrototypeUuid)
      Removes all the layouts where companyId = ? and layoutPrototypeUuid = ? from the database.
      Specified by:
      removeByC_L in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      companyId - the company ID
      layoutPrototypeUuid - the layout prototype uuid
    • countByC_L

      public int countByC_L(long companyId, String layoutPrototypeUuid)
      Returns the number of layouts where companyId = ? and layoutPrototypeUuid = ?.
      Specified by:
      countByC_L in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      companyId - the company ID
      layoutPrototypeUuid - the layout prototype uuid
      Returns:
      the number of matching layouts
    • findByP_I

      public com.liferay.portal.kernel.model.Layout findByP_I(boolean privateLayout, long iconImageId) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layout where privateLayout = ? and iconImageId = ? or throws a NoSuchLayoutException if it could not be found.
      Specified by:
      findByP_I in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      privateLayout - the private layout
      iconImageId - the icon image ID
      Returns:
      the matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByP_I

      public com.liferay.portal.kernel.model.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.
      Specified by:
      fetchByP_I in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.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.
      Specified by:
      fetchByP_I in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout removeByP_I(boolean privateLayout, long iconImageId) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Removes the layout where privateLayout = ? and iconImageId = ? from the database.
      Specified by:
      removeByP_I in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      privateLayout - the private layout
      iconImageId - the icon image ID
      Returns:
      the layout that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException
    • countByP_I

      public int countByP_I(boolean privateLayout, long iconImageId)
      Returns the number of layouts where privateLayout = ? and iconImageId = ?.
      Specified by:
      countByP_I in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      privateLayout - the private layout
      iconImageId - the icon image ID
      Returns:
      the number of matching layouts
    • findByC_C

      public com.liferay.portal.kernel.model.Layout findByC_C(long classNameId, long classPK) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layout where classNameId = ? and classPK = ? or throws a NoSuchLayoutException if it could not be found.
      Specified by:
      findByC_C in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByC_C

      public com.liferay.portal.kernel.model.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.
      Specified by:
      fetchByC_C in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.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.
      Specified by:
      fetchByC_C in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout removeByC_C(long classNameId, long classPK) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Removes the layout where classNameId = ? and classPK = ? from the database.
      Specified by:
      removeByC_C in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the layout that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException
    • countByC_C

      public int countByC_C(long classNameId, long classPK)
      Returns the number of layouts where classNameId = ? and classPK = ?.
      Specified by:
      countByC_C in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching layouts
    • findByG_P_L

      public com.liferay.portal.kernel.model.Layout findByG_P_L(long groupId, boolean privateLayout, long layoutId) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or throws a NoSuchLayoutException if it could not be found.
      Specified by:
      findByG_P_L in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      Returns:
      the matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_L

      public com.liferay.portal.kernel.model.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.
      Specified by:
      fetchByG_P_L in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.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.
      Specified by:
      fetchByG_P_L in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout removeByG_P_L(long groupId, boolean privateLayout, long layoutId) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Removes the layout where groupId = ? and privateLayout = ? and layoutId = ? from the database.
      Specified by:
      removeByG_P_L in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      Returns:
      the layout that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException
    • countByG_P_L

      public int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
      Returns the number of layouts where groupId = ? and privateLayout = ? and layoutId = ?.
      Specified by:
      countByG_P_L in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      layoutId - the layout ID
      Returns:
      the number of matching layouts
    • findByG_P_P

      public List<com.liferay.portal.kernel.model.Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
      Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
      Specified by:
      findByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      Returns:
      the matching layouts
    • findByG_P_P

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
      Specified by:
      findByG_P_P_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_P_First

      public com.liferay.portal.kernel.model.Layout fetchByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
      Specified by:
      fetchByG_P_P_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
      Specified by:
      findByG_P_P_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_P_Last

      public com.liferay.portal.kernel.model.Layout fetchByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
      Specified by:
      fetchByG_P_P_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
      Specified by:
      findByG_P_P_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getByG_P_P_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getByG_P_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • filterFindByG_P_P

      public List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      filterFindByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] filterFindByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      filterFindByG_P_P_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • filterGetByG_P_P_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout filterGetByG_P_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • filterFindByG_P_P

      public List<com.liferay.portal.kernel.model.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 ?.
      Specified by:
      filterFindByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      Returns:
      the matching layouts
    • findByG_P_P

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 void removeByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
      Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? from the database.
      Specified by:
      removeByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
    • countByG_P_P

      public int countByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
      Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
      Specified by:
      countByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      Returns:
      the number of matching layouts
    • countByG_P_P

      public int countByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
      Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
      Specified by:
      countByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutIds - the parent layout IDs
      Returns:
      the number of matching layouts
    • filterCountByG_P_P

      public 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 = ?.
      Specified by:
      filterCountByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 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 ?.
      Specified by:
      filterCountByG_P_P in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_T(long groupId, boolean privateLayout, String type)
      Returns all the layouts where groupId = ? and privateLayout = ? and type = ?.
      Specified by:
      findByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      type - the type
      Returns:
      the matching layouts
    • findByG_P_T

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_P_T_First(long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
      Specified by:
      findByG_P_T_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_T_First

      public com.liferay.portal.kernel.model.Layout fetchByG_P_T_First(long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
      Specified by:
      fetchByG_P_T_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_P_T_Last(long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
      Specified by:
      findByG_P_T_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_T_Last

      public com.liferay.portal.kernel.model.Layout fetchByG_P_T_Last(long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
      Specified by:
      fetchByG_P_T_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
      Specified by:
      findByG_P_T_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getByG_P_T_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getByG_P_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • filterFindByG_P_T

      public List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      filterFindByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] filterFindByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      filterFindByG_P_T_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • filterGetByG_P_T_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout filterGetByG_P_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • filterFindByG_P_T

      public List<com.liferay.portal.kernel.model.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 ?.
      Specified by:
      filterFindByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      types - the types
      Returns:
      the matching layouts
    • findByG_P_T

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 void removeByG_P_T(long groupId, boolean privateLayout, String type)
      Removes all the layouts where groupId = ? and privateLayout = ? and type = ? from the database.
      Specified by:
      removeByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      type - the type
    • countByG_P_T

      public int countByG_P_T(long groupId, boolean privateLayout, String type)
      Returns the number of layouts where groupId = ? and privateLayout = ? and type = ?.
      Specified by:
      countByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      type - the type
      Returns:
      the number of matching layouts
    • countByG_P_T

      public int countByG_P_T(long groupId, boolean privateLayout, String[] types)
      Returns the number of layouts where groupId = ? and privateLayout = ? and type = any ?.
      Specified by:
      countByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      types - the types
      Returns:
      the number of matching layouts
    • filterCountByG_P_T

      public 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 = ?.
      Specified by:
      filterCountByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 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 ?.
      Specified by:
      filterCountByG_P_T in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or throws a NoSuchLayoutException if it could not be found.
      Specified by:
      findByG_P_F in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      friendlyURL - the friendly url
      Returns:
      the matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_F

      public com.liferay.portal.kernel.model.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.
      Specified by:
      fetchByG_P_F in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.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.
      Specified by:
      fetchByG_P_F in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout removeByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Removes the layout where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.
      Specified by:
      removeByG_P_F in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      friendlyURL - the friendly url
      Returns:
      the layout that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException
    • countByG_P_F

      public int countByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
      Returns the number of layouts where groupId = ? and privateLayout = ? and friendlyURL = ?.
      Specified by:
      countByG_P_F in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      friendlyURL - the friendly url
      Returns:
      the number of matching layouts
    • findByG_P_SPLU

      public com.liferay.portal.kernel.model.Layout findByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or throws a NoSuchLayoutException if it could not be found.
      Specified by:
      findByG_P_SPLU in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      sourcePrototypeLayoutUuid - the source prototype layout uuid
      Returns:
      the matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_SPLU

      public com.liferay.portal.kernel.model.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.
      Specified by:
      fetchByG_P_SPLU in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.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.
      Specified by:
      fetchByG_P_SPLU in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout removeByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Removes the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? from the database.
      Specified by:
      removeByG_P_SPLU in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      sourcePrototypeLayoutUuid - the source prototype layout uuid
      Returns:
      the layout that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException
    • countByG_P_SPLU

      public int countByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid)
      Returns the number of layouts where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ?.
      Specified by:
      countByG_P_SPLU in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_ST(long groupId, boolean privateLayout, int status)
      Returns all the layouts where groupId = ? and privateLayout = ? and status = ?.
      Specified by:
      findByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      status - the status
      Returns:
      the matching layouts
    • findByG_P_ST

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_P_ST_First(long groupId, boolean privateLayout, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.
      Specified by:
      findByG_P_ST_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_ST_First

      public com.liferay.portal.kernel.model.Layout fetchByG_P_ST_First(long groupId, boolean privateLayout, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.
      Specified by:
      fetchByG_P_ST_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_P_ST_Last(long groupId, boolean privateLayout, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.
      Specified by:
      findByG_P_ST_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_ST_Last

      public com.liferay.portal.kernel.model.Layout fetchByG_P_ST_Last(long groupId, boolean privateLayout, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.
      Specified by:
      fetchByG_P_ST_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findByG_P_ST_PrevAndNext(long plid, long groupId, boolean privateLayout, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.
      Specified by:
      findByG_P_ST_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getByG_P_ST_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getByG_P_ST_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • filterFindByG_P_ST

      public List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      filterFindByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] filterFindByG_P_ST_PrevAndNext(long plid, long groupId, boolean privateLayout, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      filterFindByG_P_ST_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • filterGetByG_P_ST_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout filterGetByG_P_ST_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • filterFindByG_P_ST

      public List<com.liferay.portal.kernel.model.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 ?.
      Specified by:
      filterFindByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      statuses - the statuses
      Returns:
      the matching layouts
    • findByG_P_ST

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 void removeByG_P_ST(long groupId, boolean privateLayout, int status)
      Removes all the layouts where groupId = ? and privateLayout = ? and status = ? from the database.
      Specified by:
      removeByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      status - the status
    • countByG_P_ST

      public int countByG_P_ST(long groupId, boolean privateLayout, int status)
      Returns the number of layouts where groupId = ? and privateLayout = ? and status = ?.
      Specified by:
      countByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      status - the status
      Returns:
      the number of matching layouts
    • countByG_P_ST

      public int countByG_P_ST(long groupId, boolean privateLayout, int[] statuses)
      Returns the number of layouts where groupId = ? and privateLayout = ? and status = any ?.
      Specified by:
      countByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      statuses - the statuses
      Returns:
      the number of matching layouts
    • filterCountByG_P_ST

      public 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 = ?.
      Specified by:
      filterCountByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 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 ?.
      Specified by:
      filterCountByG_P_ST in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      findByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_P_P_H_First(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
      Specified by:
      findByG_P_P_H_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_P_H_First

      public com.liferay.portal.kernel.model.Layout fetchByG_P_P_H_First(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
      Specified by:
      fetchByG_P_P_H_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_P_P_H_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
      Specified by:
      findByG_P_P_H_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_P_H_Last

      public com.liferay.portal.kernel.model.Layout fetchByG_P_P_H_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
      Specified by:
      fetchByG_P_P_H_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findByG_P_P_H_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.
      Specified by:
      findByG_P_P_H_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getByG_P_P_H_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getByG_P_P_H_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • filterFindByG_P_P_H

      public List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      filterFindByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] filterFindByG_P_P_H_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      filterFindByG_P_P_H_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • filterGetByG_P_P_H_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout filterGetByG_P_P_H_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • filterFindByG_P_P_H

      public List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      filterFindByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 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.
      Specified by:
      removeByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      hidden - the hidden
    • countByG_P_P_H

      public 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 = ?.
      Specified by:
      countByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 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 = ?.
      Specified by:
      countByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 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 = ?.
      Specified by:
      filterCountByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 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 = ?.
      Specified by:
      filterCountByG_P_P_H in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      findByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_P_P_S_First(long groupId, boolean privateLayout, long parentLayoutId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
      Specified by:
      findByG_P_P_S_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_P_S_First

      public com.liferay.portal.kernel.model.Layout fetchByG_P_P_S_First(long groupId, boolean privateLayout, long parentLayoutId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
      Specified by:
      fetchByG_P_P_S_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_P_P_S_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
      Specified by:
      findByG_P_P_S_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_P_S_Last

      public com.liferay.portal.kernel.model.Layout fetchByG_P_P_S_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
      Specified by:
      fetchByG_P_P_S_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findByG_P_P_S_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.
      Specified by:
      findByG_P_P_S_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getByG_P_P_S_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getByG_P_P_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • filterFindByG_P_P_S

      public List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      filterFindByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] filterFindByG_P_P_S_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      filterFindByG_P_P_S_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • filterGetByG_P_P_S_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout filterGetByG_P_P_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • filterFindByG_P_P_S

      public List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      filterFindByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 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.
      Specified by:
      removeByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      system - the system
    • countByG_P_P_S

      public 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 = ?.
      Specified by:
      countByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 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 = ?.
      Specified by:
      countByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 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 = ?.
      Specified by:
      filterCountByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 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 = ?.
      Specified by:
      filterCountByG_P_P_S in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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 ≤ ?.
      Specified by:
      findByG_P_P_LteP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_LteP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_LteP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByG_P_P_LteP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_P_P_LteP_First(long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
      Specified by:
      findByG_P_P_LteP_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_P_LteP_First

      public com.liferay.portal.kernel.model.Layout fetchByG_P_P_LteP_First(long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
      Specified by:
      fetchByG_P_P_LteP_First in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByG_P_P_LteP_Last(long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
      Specified by:
      findByG_P_P_LteP_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByG_P_P_LteP_Last

      public com.liferay.portal.kernel.model.Layout fetchByG_P_P_LteP_Last(long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
      Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
      Specified by:
      fetchByG_P_P_LteP_Last in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] findByG_P_P_LteP_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
      Specified by:
      findByG_P_P_LteP_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • getByG_P_P_LteP_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout getByG_P_P_LteP_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • filterFindByG_P_P_LteP

      public List<com.liferay.portal.kernel.model.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 ≤ ?.
      Specified by:
      filterFindByG_P_P_LteP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_P_LteP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      filterFindByG_P_P_LteP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout[] filterFindByG_P_P_LteP_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.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 ≤ ?.
      Specified by:
      filterFindByG_P_P_LteP_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • filterGetByG_P_P_LteP_PrevAndNext

      protected com.liferay.portal.kernel.model.Layout filterGetByG_P_P_LteP_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
    • removeByG_P_P_LteP

      public 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.
      Specified by:
      removeByG_P_P_LteP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      parentLayoutId - the parent layout ID
      priority - the priority
    • countByG_P_P_LteP

      public 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 ≤ ?.
      Specified by:
      countByG_P_P_LteP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 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 ≤ ?.
      Specified by:
      filterCountByG_P_P_LteP in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout findByERC_G(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layout where externalReferenceCode = ? and groupId = ? or throws a NoSuchLayoutException if it could not be found.
      Specified by:
      findByERC_G in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a matching layout could not be found
    • fetchByERC_G

      public com.liferay.portal.kernel.model.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.
      Specified by:
      fetchByERC_G in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.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.
      Specified by:
      fetchByERC_G in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 com.liferay.portal.kernel.model.Layout removeByERC_G(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Removes the layout where externalReferenceCode = ? and groupId = ? from the database.
      Specified by:
      removeByERC_G in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the layout that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException
    • countByERC_G

      public int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of layouts where externalReferenceCode = ? and groupId = ?.
      Specified by:
      countByERC_G in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the number of matching layouts
    • cacheResult

      public void cacheResult(com.liferay.portal.kernel.model.Layout layout)
      Caches the layout in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Overrides:
      cacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
      Parameters:
      layout - the layout
    • cacheResult

      public void cacheResult(List<com.liferay.portal.kernel.model.Layout> layouts)
      Caches the layouts in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      layouts - the layouts
    • clearCache

      public void clearCache()
      Clears the cache for all layouts.

      The EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
    • clearCache

      public void clearCache(com.liferay.portal.kernel.model.Layout layout)
      Clears the cache for the layout.

      The EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
    • clearCache

      public void clearCache(List<com.liferay.portal.kernel.model.Layout> layouts)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
    • clearCache

      public void clearCache(Set<Serializable> primaryKeys)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
    • cacheUniqueFindersCache

      protected void cacheUniqueFindersCache(LayoutModelImpl layoutModelImpl)
    • create

      public com.liferay.portal.kernel.model.Layout create(long plid)
      Creates a new layout with the primary key. Does not add the layout to the database.
      Specified by:
      create in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      plid - the primary key for the new layout
      Returns:
      the new layout
    • remove

      public com.liferay.portal.kernel.model.Layout remove(long plid) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Removes the layout with the primary key from the database. Also notifies the appropriate model listeners.
      Specified by:
      remove in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      plid - the primary key of the layout
      Returns:
      the layout that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • remove

      public com.liferay.portal.kernel.model.Layout remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Removes the layout with the primary key from the database. Also notifies the appropriate model listeners.
      Specified by:
      remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
      Overrides:
      remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
      Parameters:
      primaryKey - the primary key of the layout
      Returns:
      the layout that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • removeImpl

      protected com.liferay.portal.kernel.model.Layout removeImpl(com.liferay.portal.kernel.model.Layout layout)
      Overrides:
      removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
    • updateImpl

      public com.liferay.portal.kernel.model.Layout updateImpl(com.liferay.portal.kernel.model.Layout layout)
      Specified by:
      updateImpl in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Overrides:
      updateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
    • findByPrimaryKey

      public com.liferay.portal.kernel.model.Layout findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layout with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
      Overrides:
      findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
      Parameters:
      primaryKey - the primary key of the layout
      Returns:
      the layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • findByPrimaryKey

      public com.liferay.portal.kernel.model.Layout findByPrimaryKey(long plid) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
      Returns the layout with the primary key or throws a NoSuchLayoutException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      plid - the primary key of the layout
      Returns:
      the layout
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutException - if a layout with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.portal.kernel.model.Layout fetchByPrimaryKey(Serializable primaryKey)
      Returns the layout with the primary key or returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
      Overrides:
      fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
      Parameters:
      primaryKey - the primary key of the layout
      Returns:
      the layout, or null if a layout with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.portal.kernel.model.Layout fetchByPrimaryKey(long plid)
      Returns the layout with the primary key or returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Parameters:
      plid - the primary key of the layout
      Returns:
      the layout, or null if a layout with the primary key could not be found
    • fetchByPrimaryKeys

      public Map<Serializable,com.liferay.portal.kernel.model.Layout> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      Specified by:
      fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
      Overrides:
      fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
    • findAll

      public List<com.liferay.portal.kernel.model.Layout> findAll()
      Returns all the layouts.
      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Returns:
      the layouts
    • findAll

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 List<com.liferay.portal.kernel.model.Layout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      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 void removeAll()
      Removes all the layouts from the database.
      Specified by:
      removeAll in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
    • countAll

      public int countAll()
      Returns the number of layouts.
      Specified by:
      countAll in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
      Returns:
      the number of layouts
    • getBadColumnNames

      public Set<String> getBadColumnNames()
      Specified by:
      getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
      Overrides:
      getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
    • getEntityCache

      protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
      Overrides:
      getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
    • getPKDBName

      protected String getPKDBName()
      Overrides:
      getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
    • getSelectSQL

      protected String getSelectSQL()
      Overrides:
      getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
    • getCTColumnNames

      public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
      Specified by:
      getCTColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Layout>
    • getMappingTableNames

      public List<String> getMappingTableNames()
      Specified by:
      getMappingTableNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Layout>
    • getTableColumnsMap

      public Map<String,Integer> getTableColumnsMap()
      Specified by:
      getTableColumnsMap in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Layout>
      Overrides:
      getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
    • getTableName

      public String getTableName()
      Specified by:
      getTableName in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Layout>
    • getUniqueIndexColumnNames

      public List<String[]> getUniqueIndexColumnNames()
      Specified by:
      getUniqueIndexColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Layout>
    • afterPropertiesSet

      public void afterPropertiesSet()
      Initializes the layout persistence.
    • destroy

      public void destroy()
    • getFinderCache

      protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
      Overrides:
      getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>