Class 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
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields 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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
cacheUniqueFindersCache
(LayoutModelImpl layoutModelImpl) 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
countAll()
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
countByUuid
(String uuid) 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
destroy()
com.liferay.portal.kernel.model.Layout
fetchByC_C
(long classNameId, long classPK) Returns the layout where classNameId = ? and classPK = ? or returnsnull
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 returnsnull
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 returnsnull
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 returnsnull
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 returnsnull
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 returnsnull
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 returnsnull
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 returnsnull
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 returnsnull
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 returnsnull
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 returnsnull
if it could not be found.com.liferay.portal.kernel.model.Layout
fetchByIconImageId
(long iconImageId, boolean useFinderCache) Returns the layout where iconImageId = ? or returnsnull
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 returnsnull
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 returnsnull
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 returnsnull
if it could not be found.com.liferay.portal.kernel.model.Layout
fetchByPrimaryKey
(Serializable primaryKey) Returns the layout with the primary key or returnsnull
if it could not be found.Map<Serializable,
com.liferay.portal.kernel.model.Layout> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 returnsnull
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 returnsnull
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>
findAll()
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 aNoSuchLayoutException
if it could not be found.List<com.liferay.portal.kernel.model.Layout>
Returns all the layouts where companyId = ? and layoutPrototypeUuid = ?.List<com.liferay.portal.kernel.model.Layout>
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 aNoSuchLayoutException
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 aNoSuchLayoutException
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 aNoSuchLayoutException
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 aNoSuchLayoutException
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>
Returns all the layouts where groupId = ? and type = ?.List<com.liferay.portal.kernel.model.Layout>
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 aNoSuchLayoutException
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 aNoSuchLayoutException
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 aNoSuchLayoutException
if it could not be found.com.liferay.portal.kernel.model.Layout
findByPrimaryKey
(Serializable primaryKey) Returns the layout with the primary key or throws acom.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>
findByUuid
(String uuid) 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 aNoSuchLayoutException
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
removeByUuid
(String uuid) 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
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
LayoutPersistenceImpl
public LayoutPersistenceImpl()
-
-
Method Details
-
findByUuid
Returns all the layouts where uuid = ?.- Specified by:
findByUuid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuid- Returns:
- the matching layouts
-
findByUuid
Returns a range of all the layouts where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the layouts where uuid = ? from the database.- Specified by:
removeByUuid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of layouts where uuid = ?.- Specified by:
countByUuid
in interfacecom.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 aNoSuchLayoutException
if it could not be found.- Specified by:
findByUUID_G_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidgroupId
- the group IDprivateLayout
- 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByUUID_G_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidgroupId
- the group IDprivateLayout
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByUUID_G_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layoutuseFinderCache
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layout- Returns:
- the layout that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutException
-
countByUUID_G_P
Returns the number of layouts where uuid = ? and groupId = ? and privateLayout = ?.- Specified by:
countByUUID_G_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layout- Returns:
- the number of matching layouts
-
findByUuid_C
Returns all the layouts where uuid = ? and companyId = ?.- Specified by:
findByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidcompanyId
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the layouts where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of layouts where uuid = ? and companyId = ?.- Specified by:
countByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching layouts
-
findByGroupId
Returns all the layouts where groupId = ?.- Specified by:
findByGroupId
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group ID- Returns:
- the matching layouts
-
findByGroupId
Returns a range of all the layouts where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByGroupId
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByGroupId
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByGroupId
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Returns all the layouts that the user has permission to view where groupId = ?.- Specified by:
filterFindByGroupId
in interfacecom.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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByGroupId
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByGroupId
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.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 interfacecom.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 interfacecom.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
Returns all the layouts where companyId = ?.- Specified by:
findByCompanyId
in interfacecom.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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company ID- Returns:
- the number of matching layouts
-
findByParentPlid
Returns all the layouts where parentPlid = ?.- Specified by:
findByParentPlid
in interfacecom.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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByParentPlid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
parentPlid
- the parent plidstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByParentPlid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
parentPlid
- the parent plidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByParentPlid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
parentPlid
- the parent plidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
parentPlid
- the parent plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
parentPlid
- the parent plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
parentPlid
- the parent plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
parentPlid
- the parent plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutparentPlid
- the parent plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.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 interfacecom.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 aNoSuchLayoutException
if it could not be found.- Specified by:
findByIconImageId
in interfacecom.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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByIconImageId
in interfacecom.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 returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByIconImageId
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
iconImageId
- the icon image IDuseFinderCache
- 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 interfacecom.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 interfacecom.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 interfacecom.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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByLayoutPrototypeUuid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
layoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByLayoutPrototypeUuid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
layoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByLayoutPrototypeUuid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
layoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the layouts where layoutPrototypeUuid = ? from the database.- Specified by:
removeByLayoutPrototypeUuid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
layoutPrototypeUuid
- the layout prototype uuid
-
countByLayoutPrototypeUuid
Returns the number of layouts where layoutPrototypeUuid = ?.- Specified by:
countByLayoutPrototypeUuid
in interfacecom.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 interfacecom.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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findBySourcePrototypeLayoutUuid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
sourcePrototypeLayoutUuid
- the source prototype layout uuidstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findBySourcePrototypeLayoutUuid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
sourcePrototypeLayoutUuid
- the source prototype layout uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findBySourcePrototypeLayoutUuid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
sourcePrototypeLayoutUuid
- the source prototype layout uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the layouts where sourcePrototypeLayoutUuid = ? from the database.- Specified by:
removeBySourcePrototypeLayoutUuid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
sourcePrototypeLayoutUuid
- the source prototype layout uuid
-
countBySourcePrototypeLayoutUuid
Returns the number of layouts where sourcePrototypeLayoutUuid = ?.- Specified by:
countBySourcePrototypeLayoutUuid
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
sourcePrototypeLayoutUuid
- the source prototype layout uuid- Returns:
- the number of matching layouts
-
findByG_P
Returns all the layouts where groupId = ? and privateLayout = ?.- Specified by:
findByG_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layout- Returns:
- the number of matching layouts that the user has permission to view
-
findByG_T
Returns all the layouts where groupId = ? and type = ?.- Specified by:
findByG_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDtype
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDtype
- the typestart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDtype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDtype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Returns all the layouts that the user has permission to view where groupId = ? and type = ?.- Specified by:
filterFindByG_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDtype
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDtype
- the typestart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDtype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the layouts where groupId = ? and type = ? from the database.- Specified by:
removeByG_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDtype
- the type
-
countByG_T
Returns the number of layouts where groupId = ? and type = ?.- Specified by:
countByG_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDtype
- the type- Returns:
- the number of matching layouts
-
filterCountByG_T
Returns the number of layouts that the user has permission to view where groupId = ? and type = ?.- Specified by:
filterCountByG_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDtype
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDmasterLayoutPlid
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_MLP
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDmasterLayoutPlid
- the master layout plidstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_MLP
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDmasterLayoutPlid
- the master layout plidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_MLP
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDmasterLayoutPlid
- the master layout plidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDmasterLayoutPlid
- the master layout plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDmasterLayoutPlid
- the master layout plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDmasterLayoutPlid
- the master layout plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDmasterLayoutPlid
- the master layout plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDmasterLayoutPlid
- the master layout plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDmasterLayoutPlid
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_MLP
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDmasterLayoutPlid
- the master layout plidstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_MLP
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDmasterLayoutPlid
- the master layout plidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDmasterLayoutPlid
- the master layout plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDmasterLayoutPlid
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDmasterLayoutPlid
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDmasterLayoutPlid
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDlayoutPrototypeUuid
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByC_L
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByC_L
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByC_L
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutcompanyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the layouts where companyId = ? and layoutPrototypeUuid = ? from the database.- Specified by:
removeByC_L
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuid
-
countByC_L
Returns the number of layouts where companyId = ? and layoutPrototypeUuid = ?.- Specified by:
countByC_L
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
companyId
- the company IDlayoutPrototypeUuid
- 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 aNoSuchLayoutException
if it could not be found.- Specified by:
findByP_I
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
privateLayout
- the private layouticonImageId
- 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByP_I
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
privateLayout
- the private layouticonImageId
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByP_I
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
privateLayout
- the private layouticonImageId
- the icon image IDuseFinderCache
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
privateLayout
- the private layouticonImageId
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
privateLayout
- the private layouticonImageId
- 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 aNoSuchLayoutException
if it could not be found.- Specified by:
findByC_C
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
classNameId
- the class name IDclassPK
- 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByC_C
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
classNameId
- the class name IDclassPK
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByC_C
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
classNameId
- the class name IDclassPK
- the class pkuseFinderCache
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
classNameId
- the class name IDclassPK
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
classNameId
- the class name IDclassPK
- 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 aNoSuchLayoutException
if it could not be found.- Specified by:
findByG_P_L
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByG_P_L
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByG_P_L
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDuseFinderCache
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDsstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDsstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDsstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDsstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDsstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- the typestart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- the typestart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttypes
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttypes
- the typesstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttypes
- the typesstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttypes
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttypes
- the typesstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttypes
- the typesstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttypes
- the typesstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layouts
-
removeByG_P_T
Removes all the layouts where groupId = ? and privateLayout = ? and type = ? from the database.- Specified by:
removeByG_P_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- the type
-
countByG_P_T
Returns the number of layouts where groupId = ? and privateLayout = ? and type = ?.- Specified by:
countByG_P_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- the type- Returns:
- the number of matching layouts
-
countByG_P_T
Returns the number of layouts where groupId = ? and privateLayout = ? and type = any ?.- Specified by:
countByG_P_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttypes
- the types- Returns:
- the number of matching layouts
-
filterCountByG_P_T
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.- Specified by:
filterCountByG_P_T
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- the type- Returns:
- the number of matching layouts that the user has permission to view
-
filterCountByG_P_T
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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layouttypes
- 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 aNoSuchLayoutException
if it could not be found.- Specified by:
findByG_P_F
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByG_P_F
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByG_P_F
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urluseFinderCache
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly url- Returns:
- the layout that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutException
-
countByG_P_F
Returns the number of layouts where groupId = ? and privateLayout = ? and friendlyURL = ?.- Specified by:
countByG_P_F
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- 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 aNoSuchLayoutException
if it could not be found.- Specified by:
findByG_P_SPLU
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByG_P_SPLU
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByG_P_SPLU
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuiduseFinderCache
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuid- Returns:
- the layout that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutException
-
countByG_P_SPLU
Returns the number of layouts where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ?.- Specified by:
countByG_P_SPLU
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_ST
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- the statusstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_ST
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- the statusstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_ST
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- the statusstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_ST
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- the statusstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_ST
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- the statusstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatuses
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_ST
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatuses
- the statusesstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_ST
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatuses
- the statusesstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_ST
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatuses
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_ST
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatuses
- the statusesstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_ST
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatuses
- the statusesstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_ST
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatuses
- the statusesstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatuses
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatuses
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_H
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- the hiddenstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_H
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- the hiddenstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_H
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- the hiddenstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- the hiddenorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- the hiddenorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- the hiddenorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- the hiddenorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- the hiddenorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_P_H
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- the hiddenstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_P_H
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- the hiddenstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- the hiddenorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDshidden
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_P_H
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDshidden
- the hiddenstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_P_H
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDshidden
- the hiddenstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_H
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDshidden
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_H
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDshidden
- the hiddenstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_H
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDshidden
- the hiddenstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_H
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDshidden
- the hiddenstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDshidden
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDshidden
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_S
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- the systemstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_S
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- the systemstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_S
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- the systemstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_P_S
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- the systemstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_P_S
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- the systemstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDssystem
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_P_S
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDssystem
- the systemstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_P_S
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDssystem
- the systemstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_S
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDssystem
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_S
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDssystem
- the systemstart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_S
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDssystem
- the systemstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_S
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDssystem
- the systemstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDssystem
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDssystem
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_LteP
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritystart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_LteP
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritystart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findByG_P_P_LteP
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritystart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_P_LteP
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritystart
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
filterFindByG_P_P_LteP
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritystart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- 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 aNoSuchLayoutException
if it could not be found.- Specified by:
findByERC_G
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByERC_G
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByERC_G
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDuseFinderCache
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the layout that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutException
-
countByERC_G
Returns the number of layouts where externalReferenceCode = ? and groupId = ?.- Specified by:
countByERC_G
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- 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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Overrides:
cacheResult
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
- Parameters:
layout
- the layout
-
cacheResult
Caches the layouts in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
layouts
- the layouts
-
clearCache
public void clearCache()Clears the cache for all layouts.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
- Overrides:
clearCache
in classcom.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
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
-
cacheUniqueFindersCache
-
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 interfacecom.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 interfacecom.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 interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
- Overrides:
remove
in classcom.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 classcom.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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Overrides:
updateImpl
in classcom.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 acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
- Overrides:
findByPrimaryKey
in classcom.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 aNoSuchLayoutException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.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
Returns the layout with the primary key or returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
- Overrides:
fetchByPrimaryKey
in classcom.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 returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.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 interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
- Overrides:
fetchByPrimaryKeys
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
-
findAll
Returns all the layouts.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Returns:
- the layouts
-
findAll
Returns a range of all the layouts.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
start
- the lower bound of the range of layoutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
start
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutModelImpl
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Parameters:
start
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
-
countAll
public int countAll()Returns the number of layouts.- Specified by:
countAll
in interfacecom.liferay.portal.kernel.service.persistence.LayoutPersistence
- Returns:
- the number of layouts
-
getBadColumnNames
- Specified by:
getBadColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
- Overrides:
getBadColumnNames
in classcom.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 classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
-
getPKDBName
- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
-
getSelectSQL
- Overrides:
getSelectSQL
in classcom.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 interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Layout>
-
getMappingTableNames
- Specified by:
getMappingTableNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Layout>
-
getTableColumnsMap
- Specified by:
getTableColumnsMap
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Layout>
- Overrides:
getTableColumnsMap
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
-
getTableName
- Specified by:
getTableName
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Layout>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNames
in interfacecom.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 classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
-