Class LayoutUtil
com.liferay.portal.service.persistence.impl.LayoutPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(Layout layout) Caches the layout in the entity cache if it is enabled.static void
cacheResult
(List<Layout> layouts) Caches the layouts in the entity cache if it is enabled.static void
static void
clearCache
(Layout layout) static int
countAll()
Returns the number of layouts.static int
countByC_C
(long classNameId, long classPK) Returns the number of layouts where classNameId = ? and classPK = ?.static int
countByC_L
(long companyId, String layoutPrototypeUuid) Returns the number of layouts where companyId = ? and layoutPrototypeUuid = ?.static int
countByCompanyId
(long companyId) Returns the number of layouts where companyId = ?.static int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of layouts where externalReferenceCode = ? and groupId = ?.static int
countByG_MLP
(long groupId, long masterLayoutPlid) Returns the number of layouts where groupId = ? and masterLayoutPlid = ?.static int
countByG_P
(long groupId, boolean privateLayout) Returns the number of layouts where groupId = ? and privateLayout = ?.static int
countByG_P_F
(long groupId, boolean privateLayout, String friendlyURL) Returns the number of layouts where groupId = ? and privateLayout = ? and friendlyURL = ?.static int
countByG_P_L
(long groupId, boolean privateLayout, long layoutId) Returns the number of layouts where groupId = ? and privateLayout = ? and layoutId = ?.static int
countByG_P_P
(long groupId, boolean privateLayout, long parentLayoutId) Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.static int
countByG_P_P
(long groupId, boolean privateLayout, long[] parentLayoutIds) Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.static int
countByG_P_P_H
(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden) Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.static int
countByG_P_P_H
(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden) Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.static int
countByG_P_P_LteP
(long groupId, boolean privateLayout, long parentLayoutId, int priority) Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.static int
countByG_P_P_S
(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system) Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.static int
countByG_P_P_S
(long groupId, boolean privateLayout, long parentLayoutId, boolean system) Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.static int
countByG_P_SPLU
(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) Returns the number of layouts where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ?.static int
countByG_P_ST
(long groupId, boolean privateLayout, int status) Returns the number of layouts where groupId = ? and privateLayout = ? and status = ?.static int
countByG_P_ST
(long groupId, boolean privateLayout, int[] statuses) Returns the number of layouts where groupId = ? and privateLayout = ? and status = any ?.static int
countByG_P_T
(long groupId, boolean privateLayout, String type) Returns the number of layouts where groupId = ? and privateLayout = ? and type = ?.static int
countByG_P_T
(long groupId, boolean privateLayout, String[] types) Returns the number of layouts where groupId = ? and privateLayout = ? and type = any ?.static int
countByG_T
(long groupId, String type) Returns the number of layouts where groupId = ? and type = ?.static int
countByGroupId
(long groupId) Returns the number of layouts where groupId = ?.static int
countByIconImageId
(long iconImageId) Returns the number of layouts where iconImageId = ?.static int
countByLayoutPrototypeUuid
(String layoutPrototypeUuid) Returns the number of layouts where layoutPrototypeUuid = ?.static int
countByP_I
(boolean privateLayout, long iconImageId) Returns the number of layouts where privateLayout = ? and iconImageId = ?.static int
countByParentPlid
(long parentPlid) Returns the number of layouts where parentPlid = ?.static int
countBySourcePrototypeLayoutUuid
(String sourcePrototypeLayoutUuid) Returns the number of layouts where sourcePrototypeLayoutUuid = ?.static int
countByUuid
(String uuid) Returns the number of layouts where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of layouts where uuid = ? and companyId = ?.static int
countByUUID_G_P
(String uuid, long groupId, boolean privateLayout) Returns the number of layouts where uuid = ? and groupId = ? and privateLayout = ?.static long
countWithDynamicQuery
(DynamicQuery dynamicQuery) static Layout
create
(long plid) Creates a new layout with the primary key.static Layout
fetchByC_C
(long classNameId, long classPK) Returns the layout where classNameId = ? and classPK = ? or returnsnull
if it could not be found.static 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.static Layout
fetchByC_L_First
(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.static Layout
fetchByC_L_Last
(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.static Layout
fetchByCompanyId_First
(long companyId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where companyId = ?.static Layout
fetchByCompanyId_Last
(long companyId, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where companyId = ?.static Layout
fetchByERC_G
(String externalReferenceCode, long groupId) Returns the layout where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.static 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.static Layout
fetchByG_MLP_First
(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and masterLayoutPlid = ?.static Layout
fetchByG_MLP_Last
(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and masterLayoutPlid = ?.static Layout
fetchByG_P_F
(long groupId, boolean privateLayout, String friendlyURL) Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returnsnull
if it could not be found.static Layout
fetchByG_P_F
(long groupId, boolean privateLayout, String friendlyURL, boolean useFinderCache) Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returnsnull
if it could not be found, optionally using the finder cache.static Layout
fetchByG_P_First
(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.static Layout
fetchByG_P_L
(long groupId, boolean privateLayout, long layoutId) Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returnsnull
if it could not be found.static Layout
fetchByG_P_L
(long groupId, boolean privateLayout, long layoutId, boolean useFinderCache) Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returnsnull
if it could not be found, optionally using the finder cache.static Layout
fetchByG_P_Last
(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.static Layout
fetchByG_P_P_First
(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.static Layout
fetchByG_P_P_H_First
(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.static Layout
fetchByG_P_P_H_Last
(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.static Layout
fetchByG_P_P_Last
(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.static Layout
fetchByG_P_P_LteP_First
(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.static Layout
fetchByG_P_P_LteP_Last
(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.static Layout
fetchByG_P_P_S_First
(long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.static Layout
fetchByG_P_P_S_Last
(long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.static Layout
fetchByG_P_SPLU
(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returnsnull
if it could not be found.static Layout
fetchByG_P_SPLU
(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid, boolean useFinderCache) Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returnsnull
if it could not be found, optionally using the finder cache.static Layout
fetchByG_P_ST_First
(long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.static Layout
fetchByG_P_ST_Last
(long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.static Layout
fetchByG_P_T_First
(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.static Layout
fetchByG_P_T_Last
(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.static Layout
fetchByG_T_First
(long groupId, String type, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and type = ?.static Layout
fetchByG_T_Last
(long groupId, String type, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and type = ?.static Layout
fetchByGroupId_First
(long groupId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ?.static Layout
fetchByGroupId_Last
(long groupId, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ?.static Layout
fetchByIconImageId
(long iconImageId) Returns the layout where iconImageId = ? or returnsnull
if it could not be found.static Layout
fetchByIconImageId
(long iconImageId, boolean useFinderCache) Returns the layout where iconImageId = ? or returnsnull
if it could not be found, optionally using the finder cache.static Layout
fetchByLayoutPrototypeUuid_First
(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where layoutPrototypeUuid = ?.static Layout
fetchByLayoutPrototypeUuid_Last
(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where layoutPrototypeUuid = ?.static Layout
fetchByP_I
(boolean privateLayout, long iconImageId) Returns the layout where privateLayout = ? and iconImageId = ? or returnsnull
if it could not be found.static 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.static Layout
fetchByParentPlid_First
(long parentPlid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where parentPlid = ?.static Layout
fetchByParentPlid_Last
(long parentPlid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where parentPlid = ?.static Layout
fetchByPrimaryKey
(long plid) Returns the layout with the primary key or returnsnull
if it could not be found.static Map<Serializable,
Layout> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static Layout
fetchBySourcePrototypeLayoutUuid_First
(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.static Layout
fetchBySourcePrototypeLayoutUuid_Last
(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.static Layout
fetchByUuid_C_First
(String uuid, long companyId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where uuid = ? and companyId = ?.static Layout
fetchByUuid_C_Last
(String uuid, long companyId, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where uuid = ? and companyId = ?.static Layout
fetchByUuid_First
(String uuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where uuid = ?.static Layout
fetchByUUID_G_P
(String uuid, long groupId, boolean privateLayout) Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returnsnull
if it could not be found.static Layout
fetchByUUID_G_P
(String uuid, long groupId, boolean privateLayout, boolean useFinderCache) Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returnsnull
if it could not be found, optionally using the finder cache.static Layout
fetchByUuid_Last
(String uuid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where uuid = ?.static int
filterCountByG_MLP
(long groupId, long masterLayoutPlid) Returns the number of layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.static int
filterCountByG_P
(long groupId, boolean privateLayout) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ?.static int
filterCountByG_P_P
(long groupId, boolean privateLayout, long parentLayoutId) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.static int
filterCountByG_P_P
(long groupId, boolean privateLayout, long[] parentLayoutIds) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.static int
filterCountByG_P_P_H
(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.static int
filterCountByG_P_P_H
(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.static int
filterCountByG_P_P_LteP
(long groupId, boolean privateLayout, long parentLayoutId, int priority) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.static int
filterCountByG_P_P_S
(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.static int
filterCountByG_P_P_S
(long groupId, boolean privateLayout, long parentLayoutId, boolean system) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.static int
filterCountByG_P_ST
(long groupId, boolean privateLayout, int status) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = ?.static int
filterCountByG_P_ST
(long groupId, boolean privateLayout, int[] statuses) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = any ?.static int
filterCountByG_P_T
(long groupId, boolean privateLayout, String type) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.static int
filterCountByG_P_T
(long groupId, boolean privateLayout, String[] types) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = any ?.static int
filterCountByG_T
(long groupId, String type) Returns the number of layouts that the user has permission to view where groupId = ? and type = ?.static int
filterCountByGroupId
(long groupId) Returns the number of layouts that the user has permission to view where groupId = ?.filterFindByG_MLP
(long groupId, long masterLayoutPlid) Returns all the layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.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 = ?.filterFindByG_MLP
(long groupId, long masterLayoutPlid, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and masterLayoutPlid = ?.static Layout[]
filterFindByG_MLP_PrevAndNext
(long plid, long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.filterFindByG_P
(long groupId, boolean privateLayout) Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ?.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 = ?.filterFindByG_P
(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ?.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 = ?.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 ?.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 ?.filterFindByG_P_P
(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.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 = ?.filterFindByG_P_P
(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.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 = ?.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 = ?.filterFindByG_P_P_H
(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.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 = ?.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 = ?.filterFindByG_P_P_H
(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.static Layout[]
filterFindByG_P_P_H_PrevAndNext
(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.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 ≤ ?.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 ≤ ?.filterFindByG_P_P_LteP
(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.static Layout[]
filterFindByG_P_P_LteP_PrevAndNext
(long plid, long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.static Layout[]
filterFindByG_P_P_PrevAndNext
(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.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 = ?.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 = ?.filterFindByG_P_P_S
(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.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 = ?.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 = ?.filterFindByG_P_P_S
(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.static Layout[]
filterFindByG_P_P_S_PrevAndNext
(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.static Layout[]
filterFindByG_P_PrevAndNext
(long plid, long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ?.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 = ?.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 ?.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 ?.filterFindByG_P_ST
(long groupId, boolean privateLayout, int[] statuses, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = any ?.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 = ?.filterFindByG_P_ST
(long groupId, boolean privateLayout, int status, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and status = ?.static Layout[]
filterFindByG_P_ST_PrevAndNext
(long plid, long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = ?.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 = ?.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 ?.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 ?.filterFindByG_P_T
(long groupId, boolean privateLayout, String[] types, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = any ?.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 = ?.filterFindByG_P_T
(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and type = ?.static Layout[]
filterFindByG_P_T_PrevAndNext
(long plid, long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.filterFindByG_T
(long groupId, String type) Returns all the layouts that the user has permission to view where groupId = ? and type = ?.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 = ?.filterFindByG_T
(long groupId, String type, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and type = ?.static Layout[]
filterFindByG_T_PrevAndNext
(long plid, long groupId, String type, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and type = ?.filterFindByGroupId
(long groupId) Returns all the layouts that the user has permission to view where groupId = ?.filterFindByGroupId
(long groupId, int start, int end) Returns a range of all the layouts that the user has permission to view where groupId = ?.filterFindByGroupId
(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ?.static Layout[]
filterFindByGroupId_PrevAndNext
(long plid, long groupId, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ?.findAll()
Returns all the layouts.findAll
(int start, int end) Returns a range of all the layouts.findAll
(int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts.findAll
(int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts.static Layout
findByC_C
(long classNameId, long classPK) Returns the layout where classNameId = ? and classPK = ? or throws aNoSuchLayoutException
if it could not be found.Returns all the layouts where companyId = ? and layoutPrototypeUuid = ?.Returns a range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.findByC_L
(long companyId, String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.findByC_L
(long companyId, String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.static Layout
findByC_L_First
(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.static Layout
findByC_L_Last
(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.static Layout[]
findByC_L_PrevAndNext
(long plid, long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.findByCompanyId
(long companyId) Returns all the layouts where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the layouts where companyId = ?.findByCompanyId
(long companyId, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where companyId = ?.findByCompanyId
(long companyId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where companyId = ?.static Layout
findByCompanyId_First
(long companyId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where companyId = ?.static Layout
findByCompanyId_Last
(long companyId, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where companyId = ?.static Layout[]
findByCompanyId_PrevAndNext
(long plid, long companyId, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where companyId = ?.static Layout
findByERC_G
(String externalReferenceCode, long groupId) Returns the layout where externalReferenceCode = ? and groupId = ? or throws aNoSuchLayoutException
if it could not be found.findByG_MLP
(long groupId, long masterLayoutPlid) Returns all the layouts where groupId = ? and masterLayoutPlid = ?.findByG_MLP
(long groupId, long masterLayoutPlid, int start, int end) Returns a range of all the layouts where groupId = ? and masterLayoutPlid = ?.findByG_MLP
(long groupId, long masterLayoutPlid, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and masterLayoutPlid = ?.findByG_MLP
(long groupId, long masterLayoutPlid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and masterLayoutPlid = ?.static Layout
findByG_MLP_First
(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and masterLayoutPlid = ?.static Layout
findByG_MLP_Last
(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and masterLayoutPlid = ?.static Layout[]
findByG_MLP_PrevAndNext
(long plid, long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where groupId = ? and masterLayoutPlid = ?.findByG_P
(long groupId, boolean privateLayout) Returns all the layouts where groupId = ? and privateLayout = ?.findByG_P
(long groupId, boolean privateLayout, int start, int end) Returns a range of all the layouts where groupId = ? and privateLayout = ?.findByG_P
(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?.findByG_P
(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?.static Layout
findByG_P_F
(long groupId, boolean privateLayout, String friendlyURL) Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or throws aNoSuchLayoutException
if it could not be found.static Layout
findByG_P_First
(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.static Layout
findByG_P_L
(long groupId, boolean privateLayout, long layoutId) Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or throws aNoSuchLayoutException
if it could not be found.static Layout
findByG_P_Last
(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.findByG_P_P
(long groupId, boolean privateLayout, long parentLayoutId) Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.findByG_P_P
(long groupId, boolean privateLayout, long[] parentLayoutIds) Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.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 ?.findByG_P_P
(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.findByG_P_P
(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?, optionally using the finder cache.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 = ?.findByG_P_P
(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.findByG_P_P
(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.static Layout
findByG_P_P_First
(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.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 = ?.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 = ?.findByG_P_P_H
(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.findByG_P_P_H
(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?, optionally using the finder cache.findByG_P_P_H
(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden) Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.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 = ?.findByG_P_P_H
(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.findByG_P_P_H
(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.static Layout
findByG_P_P_H_First
(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.static Layout
findByG_P_P_H_Last
(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.static Layout[]
findByG_P_P_H_PrevAndNext
(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.static Layout
findByG_P_P_Last
(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.findByG_P_P_LteP
(long groupId, boolean privateLayout, long parentLayoutId, int priority) Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.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 ≤ ?.findByG_P_P_LteP
(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.findByG_P_P_LteP
(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.static Layout
findByG_P_P_LteP_First
(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.static Layout
findByG_P_P_LteP_Last
(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.static Layout[]
findByG_P_P_LteP_PrevAndNext
(long plid, long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.static Layout[]
findByG_P_P_PrevAndNext
(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.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 = ?.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 = ?.findByG_P_P_S
(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.findByG_P_P_S
(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?, optionally using the finder cache.findByG_P_P_S
(long groupId, boolean privateLayout, long parentLayoutId, boolean system) Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.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 = ?.findByG_P_P_S
(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.findByG_P_P_S
(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.static Layout
findByG_P_P_S_First
(long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.static Layout
findByG_P_P_S_Last
(long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.static Layout[]
findByG_P_P_S_PrevAndNext
(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.static Layout[]
findByG_P_PrevAndNext
(long plid, long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ?.static Layout
findByG_P_SPLU
(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or throws aNoSuchLayoutException
if it could not be found.findByG_P_ST
(long groupId, boolean privateLayout, int status) Returns all the layouts where groupId = ? and privateLayout = ? and status = ?.findByG_P_ST
(long groupId, boolean privateLayout, int[] statuses) Returns all the layouts where groupId = ? and privateLayout = ? and status = any ?.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 ?.findByG_P_ST
(long groupId, boolean privateLayout, int[] statuses, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = any ?.findByG_P_ST
(long groupId, boolean privateLayout, int[] statuses, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = ?, optionally using the finder cache.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 = ?.findByG_P_ST
(long groupId, boolean privateLayout, int status, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = ?.findByG_P_ST
(long groupId, boolean privateLayout, int status, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = ?.static Layout
findByG_P_ST_First
(long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.static Layout
findByG_P_ST_Last
(long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.static Layout[]
findByG_P_ST_PrevAndNext
(long plid, long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.findByG_P_T
(long groupId, boolean privateLayout, String type) Returns all the layouts where groupId = ? and privateLayout = ? and type = ?.findByG_P_T
(long groupId, boolean privateLayout, String[] types) Returns all the layouts where groupId = ? and privateLayout = ? and type = any ?.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 ?.findByG_P_T
(long groupId, boolean privateLayout, String[] types, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = any ?.findByG_P_T
(long groupId, boolean privateLayout, String[] types, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?, optionally using the finder cache.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 = ?.findByG_P_T
(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?.findByG_P_T
(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?.static Layout
findByG_P_T_First
(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.static Layout
findByG_P_T_Last
(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.static Layout[]
findByG_P_T_PrevAndNext
(long plid, long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.Returns all the layouts where groupId = ? and type = ?.Returns a range of all the layouts where groupId = ? and type = ?.findByG_T
(long groupId, String type, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and type = ?.findByG_T
(long groupId, String type, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and type = ?.static Layout
findByG_T_First
(long groupId, String type, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and type = ?.static Layout
findByG_T_Last
(long groupId, String type, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and type = ?.static Layout[]
findByG_T_PrevAndNext
(long plid, long groupId, String type, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where groupId = ? and type = ?.findByGroupId
(long groupId) Returns all the layouts where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the layouts where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ?.static Layout
findByGroupId_First
(long groupId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ?.static Layout
findByGroupId_Last
(long groupId, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ?.static Layout[]
findByGroupId_PrevAndNext
(long plid, long groupId, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where groupId = ?.static Layout
findByIconImageId
(long iconImageId) Returns the layout where iconImageId = ? or throws aNoSuchLayoutException
if it could not be found.findByLayoutPrototypeUuid
(String layoutPrototypeUuid) Returns all the layouts where layoutPrototypeUuid = ?.findByLayoutPrototypeUuid
(String layoutPrototypeUuid, int start, int end) Returns a range of all the layouts where layoutPrototypeUuid = ?.findByLayoutPrototypeUuid
(String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where layoutPrototypeUuid = ?.findByLayoutPrototypeUuid
(String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where layoutPrototypeUuid = ?.static Layout
findByLayoutPrototypeUuid_First
(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where layoutPrototypeUuid = ?.static Layout
findByLayoutPrototypeUuid_Last
(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where layoutPrototypeUuid = ?.static Layout[]
findByLayoutPrototypeUuid_PrevAndNext
(long plid, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where layoutPrototypeUuid = ?.static Layout
findByP_I
(boolean privateLayout, long iconImageId) Returns the layout where privateLayout = ? and iconImageId = ? or throws aNoSuchLayoutException
if it could not be found.findByParentPlid
(long parentPlid) Returns all the layouts where parentPlid = ?.findByParentPlid
(long parentPlid, int start, int end) Returns a range of all the layouts where parentPlid = ?.findByParentPlid
(long parentPlid, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where parentPlid = ?.findByParentPlid
(long parentPlid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where parentPlid = ?.static Layout
findByParentPlid_First
(long parentPlid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where parentPlid = ?.static Layout
findByParentPlid_Last
(long parentPlid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where parentPlid = ?.static Layout[]
findByParentPlid_PrevAndNext
(long plid, long parentPlid, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where parentPlid = ?.static Layout
findByPrimaryKey
(long plid) Returns the layout with the primary key or throws aNoSuchLayoutException
if it could not be found.findBySourcePrototypeLayoutUuid
(String sourcePrototypeLayoutUuid) Returns all the layouts where sourcePrototypeLayoutUuid = ?.findBySourcePrototypeLayoutUuid
(String sourcePrototypeLayoutUuid, int start, int end) Returns a range of all the layouts where sourcePrototypeLayoutUuid = ?.findBySourcePrototypeLayoutUuid
(String sourcePrototypeLayoutUuid, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?.findBySourcePrototypeLayoutUuid
(String sourcePrototypeLayoutUuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?.static Layout
findBySourcePrototypeLayoutUuid_First
(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.static Layout
findBySourcePrototypeLayoutUuid_Last
(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.static Layout[]
findBySourcePrototypeLayoutUuid_PrevAndNext
(long plid, String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where sourcePrototypeLayoutUuid = ?.findByUuid
(String uuid) Returns all the layouts where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the layouts where uuid = ?.findByUuid
(String uuid, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where uuid = ?.findByUuid
(String uuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the layouts where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the layouts where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where uuid = ? and companyId = ?.static Layout
findByUuid_C_First
(String uuid, long companyId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where uuid = ? and companyId = ?.static Layout
findByUuid_C_Last
(String uuid, long companyId, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where uuid = ? and companyId = ?.static Layout[]
findByUuid_C_PrevAndNext
(long plid, String uuid, long companyId, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where uuid = ? and companyId = ?.static Layout
findByUuid_First
(String uuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where uuid = ?.static Layout
findByUUID_G_P
(String uuid, long groupId, boolean privateLayout) Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or throws aNoSuchLayoutException
if it could not be found.static Layout
findByUuid_Last
(String uuid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where uuid = ?.static Layout[]
findByUuid_PrevAndNext
(long plid, String uuid, OrderByComparator<Layout> orderByComparator) Returns the layouts before and after the current layout in the ordered set where uuid = ?.findWithDynamicQuery
(DynamicQuery dynamicQuery) findWithDynamicQuery
(DynamicQuery dynamicQuery, int start, int end) findWithDynamicQuery
(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<Layout> orderByComparator) static LayoutPersistence
static Layout
remove
(long plid) Removes the layout with the primary key from the database.static void
Removes all the layouts from the database.static Layout
removeByC_C
(long classNameId, long classPK) Removes the layout where classNameId = ? and classPK = ? from the database.static void
removeByC_L
(long companyId, String layoutPrototypeUuid) Removes all the layouts where companyId = ? and layoutPrototypeUuid = ? from the database.static void
removeByCompanyId
(long companyId) Removes all the layouts where companyId = ? from the database.static Layout
removeByERC_G
(String externalReferenceCode, long groupId) Removes the layout where externalReferenceCode = ? and groupId = ? from the database.static void
removeByG_MLP
(long groupId, long masterLayoutPlid) Removes all the layouts where groupId = ? and masterLayoutPlid = ? from the database.static void
removeByG_P
(long groupId, boolean privateLayout) Removes all the layouts where groupId = ? and privateLayout = ? from the database.static Layout
removeByG_P_F
(long groupId, boolean privateLayout, String friendlyURL) Removes the layout where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.static Layout
removeByG_P_L
(long groupId, boolean privateLayout, long layoutId) Removes the layout where groupId = ? and privateLayout = ? and layoutId = ? from the database.static void
removeByG_P_P
(long groupId, boolean privateLayout, long parentLayoutId) Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? from the database.static void
removeByG_P_P_H
(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden) Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ? from the database.static void
removeByG_P_P_LteP
(long groupId, boolean privateLayout, long parentLayoutId, int priority) Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ? from the database.static void
removeByG_P_P_S
(long groupId, boolean privateLayout, long parentLayoutId, boolean system) Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ? from the database.static Layout
removeByG_P_SPLU
(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) Removes the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? from the database.static void
removeByG_P_ST
(long groupId, boolean privateLayout, int status) Removes all the layouts where groupId = ? and privateLayout = ? and status = ? from the database.static void
removeByG_P_T
(long groupId, boolean privateLayout, String type) Removes all the layouts where groupId = ? and privateLayout = ? and type = ? from the database.static void
removeByG_T
(long groupId, String type) Removes all the layouts where groupId = ? and type = ? from the database.static void
removeByGroupId
(long groupId) Removes all the layouts where groupId = ? from the database.static Layout
removeByIconImageId
(long iconImageId) Removes the layout where iconImageId = ? from the database.static void
removeByLayoutPrototypeUuid
(String layoutPrototypeUuid) Removes all the layouts where layoutPrototypeUuid = ? from the database.static Layout
removeByP_I
(boolean privateLayout, long iconImageId) Removes the layout where privateLayout = ? and iconImageId = ? from the database.static void
removeByParentPlid
(long parentPlid) Removes all the layouts where parentPlid = ? from the database.static void
removeBySourcePrototypeLayoutUuid
(String sourcePrototypeLayoutUuid) Removes all the layouts where sourcePrototypeLayoutUuid = ? from the database.static void
removeByUuid
(String uuid) Removes all the layouts where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the layouts where uuid = ? and companyId = ? from the database.static Layout
removeByUUID_G_P
(String uuid, long groupId, boolean privateLayout) Removes the layout where uuid = ? and groupId = ? and privateLayout = ? from the database.static void
setPersistence
(LayoutPersistence persistence) static Layout
static Layout
update
(Layout layout, ServiceContext serviceContext) static Layout
updateImpl
(Layout layout)
-
Constructor Details
-
LayoutUtil
public LayoutUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
-
countWithDynamicQuery
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
-
findWithDynamicQuery
-
findWithDynamicQuery
public static List<Layout> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<Layout> orderByComparator) -
update
-
update
-
findByUuid
Returns all the layouts where uuid = ?.- 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
.- 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 static List<Layout> findByUuid(String uuid, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByUuid(String uuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findByUuid_First(String uuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByUuid_First
Returns the first layout in the ordered set where uuid = ?.- 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 static Layout findByUuid_Last(String uuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByUuid_Last
Returns the last layout in the ordered set where uuid = ?.- 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 static Layout[] findByUuid_PrevAndNext(long plid, String uuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where uuid = ?.- Parameters:
plid
- the primary key of the current layoutuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
removeByUuid
Removes all the layouts where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of layouts where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching layouts
-
findByUUID_G_P
public static Layout findByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws NoSuchLayoutException Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or throws aNoSuchLayoutException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layout- Returns:
- the matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByUUID_G_P
Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returnsnull
if it could not be found. Uses the finder cache.- 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 static 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.- 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 static Layout removeByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws NoSuchLayoutException Removes the layout where uuid = ? and groupId = ? and privateLayout = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layout- Returns:
- the layout that was removed
- Throws:
NoSuchLayoutException
-
countByUUID_G_P
Returns the number of layouts where uuid = ? and groupId = ? and privateLayout = ?.- 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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching layouts
-
findByUuid_C
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
.- 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 static List<Layout> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findByUuid_C_First(String uuid, long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByUuid_C_First
public static Layout fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the 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 static Layout findByUuid_C_Last(String uuid, long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByUuid_C_Last
public static Layout fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the 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 static Layout[] findByUuid_C_PrevAndNext(long plid, String uuid, long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where uuid = ? and companyId = ?.- Parameters:
plid
- the primary key of the current layoutuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
removeByUuid_C
Removes all the layouts where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of layouts where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching layouts
-
findByGroupId
Returns all the layouts where groupId = ?.- 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
.- 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 static List<Layout> findByGroupId(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByGroupId(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findByGroupId_First(long groupId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByGroupId_First
public static Layout fetchByGroupId_First(long groupId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ?.- Parameters:
groupId
- the group 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 static Layout findByGroupId_Last(long groupId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByGroupId_Last
Returns the last layout in the ordered set where groupId = ?.- 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 static Layout[] findByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where groupId = ?.- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
filterFindByGroupId
Returns all the layouts that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching layouts that the user has permission to view
-
filterFindByGroupId
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
.- 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 static List<Layout> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout[] filterFindByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ?.- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the layouts where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of layouts where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching layouts
-
filterCountByGroupId
public static int filterCountByGroupId(long groupId) Returns the number of layouts that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching layouts that the user has permission to view
-
findByCompanyId
Returns all the layouts where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching layouts
-
findByCompanyId
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
.- 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 static List<Layout> findByCompanyId(long companyId, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByCompanyId(long companyId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findByCompanyId_First(long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByCompanyId_First
public static Layout fetchByCompanyId_First(long companyId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where companyId = ?.- Parameters:
companyId
- the company 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 static Layout findByCompanyId_Last(long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByCompanyId_Last
public static Layout fetchByCompanyId_Last(long companyId, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where companyId = ?.- Parameters:
companyId
- the company 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 static Layout[] findByCompanyId_PrevAndNext(long plid, long companyId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where companyId = ?.- Parameters:
plid
- the primary key of the current layoutcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the layouts where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of layouts where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching layouts
-
findByParentPlid
Returns all the layouts where parentPlid = ?.- Parameters:
parentPlid
- the parent plid- Returns:
- the matching layouts
-
findByParentPlid
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
.- 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 static List<Layout> findByParentPlid(long parentPlid, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where parentPlid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByParentPlid(long parentPlid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where parentPlid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findByParentPlid_First(long parentPlid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where parentPlid = ?.- Parameters:
parentPlid
- the parent plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByParentPlid_First
public static Layout fetchByParentPlid_First(long parentPlid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where parentPlid = ?.- Parameters:
parentPlid
- the parent 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 static Layout findByParentPlid_Last(long parentPlid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where parentPlid = ?.- Parameters:
parentPlid
- the parent plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByParentPlid_Last
public static Layout fetchByParentPlid_Last(long parentPlid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where parentPlid = ?.- Parameters:
parentPlid
- the parent 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 static Layout[] findByParentPlid_PrevAndNext(long plid, long parentPlid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where parentPlid = ?.- Parameters:
plid
- the primary key of the current layoutparentPlid
- the parent plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
removeByParentPlid
public static void removeByParentPlid(long parentPlid) Removes all the layouts where parentPlid = ? from the database.- Parameters:
parentPlid
- the parent plid
-
countByParentPlid
public static int countByParentPlid(long parentPlid) Returns the number of layouts where parentPlid = ?.- Parameters:
parentPlid
- the parent plid- Returns:
- the number of matching layouts
-
findByIconImageId
Returns the layout where iconImageId = ? or throws aNoSuchLayoutException
if it could not be found.- Parameters:
iconImageId
- the icon image ID- Returns:
- the matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByIconImageId
Returns the layout where iconImageId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
iconImageId
- the icon image ID- Returns:
- the matching layout, or
null
if a matching layout could not be found
-
fetchByIconImageId
Returns the layout where iconImageId = ? or returnsnull
if it could not be found, optionally using the finder cache.- 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
Removes the layout where iconImageId = ? from the database.- Parameters:
iconImageId
- the icon image ID- Returns:
- the layout that was removed
- Throws:
NoSuchLayoutException
-
countByIconImageId
public static int countByIconImageId(long iconImageId) Returns the number of layouts where iconImageId = ?.- Parameters:
iconImageId
- the icon image ID- Returns:
- the number of matching layouts
-
findByLayoutPrototypeUuid
Returns all the layouts where layoutPrototypeUuid = ?.- Parameters:
layoutPrototypeUuid
- the layout prototype uuid- Returns:
- the matching layouts
-
findByLayoutPrototypeUuid
public static List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end) Returns a range of all the layouts where layoutPrototypeUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where layoutPrototypeUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where layoutPrototypeUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where layoutPrototypeUuid = ?.- Parameters:
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByLayoutPrototypeUuid_First
public static Layout fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where layoutPrototypeUuid = ?.- Parameters:
layoutPrototypeUuid
- the layout prototype 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 static Layout findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where layoutPrototypeUuid = ?.- Parameters:
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByLayoutPrototypeUuid_Last
public static Layout fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where layoutPrototypeUuid = ?.- Parameters:
layoutPrototypeUuid
- the layout prototype 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 static Layout[] findByLayoutPrototypeUuid_PrevAndNext(long plid, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where layoutPrototypeUuid = ?.- Parameters:
plid
- the primary key of the current layoutlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
removeByLayoutPrototypeUuid
Removes all the layouts where layoutPrototypeUuid = ? from the database.- Parameters:
layoutPrototypeUuid
- the layout prototype uuid
-
countByLayoutPrototypeUuid
Returns the number of layouts where layoutPrototypeUuid = ?.- Parameters:
layoutPrototypeUuid
- the layout prototype uuid- Returns:
- the number of matching layouts
-
findBySourcePrototypeLayoutUuid
Returns all the layouts where sourcePrototypeLayoutUuid = ?.- Parameters:
sourcePrototypeLayoutUuid
- the source prototype layout uuid- Returns:
- the matching layouts
-
findBySourcePrototypeLayoutUuid
public static List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end) Returns a range of all the layouts where sourcePrototypeLayoutUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.- Parameters:
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchBySourcePrototypeLayoutUuid_First
public static Layout fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.- Parameters:
sourcePrototypeLayoutUuid
- the source prototype layout 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 static Layout findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.- Parameters:
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchBySourcePrototypeLayoutUuid_Last
public static Layout fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.- Parameters:
sourcePrototypeLayoutUuid
- the source prototype layout 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 static Layout[] findBySourcePrototypeLayoutUuid_PrevAndNext(long plid, String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where sourcePrototypeLayoutUuid = ?.- Parameters:
plid
- the primary key of the current layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
removeBySourcePrototypeLayoutUuid
Removes all the layouts where sourcePrototypeLayoutUuid = ? from the database.- Parameters:
sourcePrototypeLayoutUuid
- the source prototype layout uuid
-
countBySourcePrototypeLayoutUuid
Returns the number of layouts where sourcePrototypeLayoutUuid = ?.- Parameters:
sourcePrototypeLayoutUuid
- the source prototype layout uuid- Returns:
- the number of matching layouts
-
findByG_P
Returns all the layouts where groupId = ? and privateLayout = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layout- Returns:
- the matching layouts
-
findByG_P
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
.- 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 static List<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findByG_P_First(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_First
public static Layout fetchByG_P_First(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.- Parameters:
groupId
- the group 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 static Layout findByG_P_Last(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_Last
public static Layout fetchByG_P_Last(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.- Parameters:
groupId
- the group 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 static Layout[] findByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ?.- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
filterFindByG_P
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layout- Returns:
- the matching layouts that the user has permission to view
-
filterFindByG_P
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
.- 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 static List<Layout> filterFindByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout[] filterFindByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ?.- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
removeByG_P
public static void removeByG_P(long groupId, boolean privateLayout) Removes all the layouts where groupId = ? and privateLayout = ? from the database.- Parameters:
groupId
- the group IDprivateLayout
- the private layout
-
countByG_P
public static int countByG_P(long groupId, boolean privateLayout) Returns the number of layouts where groupId = ? and privateLayout = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layout- Returns:
- the number of matching layouts
-
filterCountByG_P
public static int filterCountByG_P(long groupId, boolean privateLayout) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ?.- Parameters:
groupId
- the group 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 = ?.- Parameters:
groupId
- the group IDtype
- the type- Returns:
- the matching layouts
-
findByG_T
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
.- 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 static List<Layout> findByG_T(long groupId, String type, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_T(long groupId, String type, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findByG_T_First(long groupId, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where groupId = ? and type = ?.- Parameters:
groupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_T_First
public static Layout fetchByG_T_First(long groupId, String type, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and type = ?.- Parameters:
groupId
- the group 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 static Layout findByG_T_Last(long groupId, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where groupId = ? and type = ?.- Parameters:
groupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_T_Last
public static Layout fetchByG_T_Last(long groupId, String type, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and type = ?.- Parameters:
groupId
- the group 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 static Layout[] findByG_T_PrevAndNext(long plid, long groupId, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where groupId = ? and type = ?.- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
filterFindByG_T
Returns all the layouts that the user has permission to view where groupId = ? and type = ?.- Parameters:
groupId
- the group IDtype
- the type- Returns:
- the matching layouts that the user has permission to view
-
filterFindByG_T
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
.- 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 static List<Layout> filterFindByG_T(long groupId, String type, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout[] filterFindByG_T_PrevAndNext(long plid, long groupId, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and type = ?.- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
removeByG_T
Removes all the layouts where groupId = ? and type = ? from the database.- Parameters:
groupId
- the group IDtype
- the type
-
countByG_T
Returns the number of layouts where groupId = ? and type = ?.- 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 = ?.- Parameters:
groupId
- the group IDtype
- the type- Returns:
- the number of matching layouts that the user has permission to view
-
findByG_MLP
Returns all the layouts where groupId = ? and masterLayoutPlid = ?.- Parameters:
groupId
- the group IDmasterLayoutPlid
- the master layout plid- Returns:
- the matching layouts
-
findByG_MLP
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
.- 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 static List<Layout> findByG_MLP(long groupId, long masterLayoutPlid, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and masterLayoutPlid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_MLP(long groupId, long masterLayoutPlid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and masterLayoutPlid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findByG_MLP_First(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where groupId = ? and masterLayoutPlid = ?.- Parameters:
groupId
- the group IDmasterLayoutPlid
- the master layout plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_MLP_First
public static Layout fetchByG_MLP_First(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and masterLayoutPlid = ?.- Parameters:
groupId
- the group 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 static Layout findByG_MLP_Last(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where groupId = ? and masterLayoutPlid = ?.- Parameters:
groupId
- the group IDmasterLayoutPlid
- the master layout plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_MLP_Last
public static Layout fetchByG_MLP_Last(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and masterLayoutPlid = ?.- Parameters:
groupId
- the group 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 static Layout[] findByG_MLP_PrevAndNext(long plid, long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where groupId = ? and masterLayoutPlid = ?.- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDmasterLayoutPlid
- the master layout plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
filterFindByG_MLP
Returns all the layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.- Parameters:
groupId
- the group IDmasterLayoutPlid
- the master layout plid- Returns:
- the matching layouts that the user has permission to view
-
filterFindByG_MLP
public static List<Layout> filterFindByG_MLP(long groupId, long masterLayoutPlid, int start, int end) Returns a range of all the layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> filterFindByG_MLP(long groupId, long masterLayoutPlid, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and masterLayoutPlid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout[] filterFindByG_MLP_PrevAndNext(long plid, long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.- Parameters:
plid
- the primary key of the current layoutgroupId
- the group IDmasterLayoutPlid
- the master layout plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
removeByG_MLP
public static void removeByG_MLP(long groupId, long masterLayoutPlid) Removes all the layouts where groupId = ? and masterLayoutPlid = ? from the database.- Parameters:
groupId
- the group IDmasterLayoutPlid
- the master layout plid
-
countByG_MLP
public static int countByG_MLP(long groupId, long masterLayoutPlid) Returns the number of layouts where groupId = ? and masterLayoutPlid = ?.- Parameters:
groupId
- the group IDmasterLayoutPlid
- the master layout plid- Returns:
- the number of matching layouts
-
filterCountByG_MLP
public static int filterCountByG_MLP(long groupId, long masterLayoutPlid) Returns the number of layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.- Parameters:
groupId
- the group IDmasterLayoutPlid
- the master layout plid- Returns:
- the number of matching layouts that the user has permission to view
-
findByC_L
Returns all the layouts where companyId = ? and layoutPrototypeUuid = ?.- Parameters:
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuid- Returns:
- the matching layouts
-
findByC_L
public static List<Layout> findByC_L(long companyId, String layoutPrototypeUuid, int start, int end) Returns a range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByC_L(long companyId, String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByC_L(long companyId, String layoutPrototypeUuid, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findByC_L_First(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.- Parameters:
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByC_L_First
public static Layout fetchByC_L_First(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.- Parameters:
companyId
- the company 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 static Layout findByC_L_Last(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.- Parameters:
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByC_L_Last
public static Layout fetchByC_L_Last(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.- Parameters:
companyId
- the company 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 static Layout[] findByC_L_PrevAndNext(long plid, long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.- Parameters:
plid
- the primary key of the current layoutcompanyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
removeByC_L
Removes all the layouts where companyId = ? and layoutPrototypeUuid = ? from the database.- Parameters:
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuid
-
countByC_L
Returns the number of layouts where companyId = ? and layoutPrototypeUuid = ?.- Parameters:
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuid- Returns:
- the number of matching layouts
-
findByP_I
public static Layout findByP_I(boolean privateLayout, long iconImageId) throws NoSuchLayoutException Returns the layout where privateLayout = ? and iconImageId = ? or throws aNoSuchLayoutException
if it could not be found.- Parameters:
privateLayout
- the private layouticonImageId
- the icon image ID- Returns:
- the matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByP_I
Returns the layout where privateLayout = ? and iconImageId = ? or returnsnull
if it could not be found. Uses the finder cache.- 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
Returns the layout where privateLayout = ? and iconImageId = ? or returnsnull
if it could not be found, optionally using the finder cache.- 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 static Layout removeByP_I(boolean privateLayout, long iconImageId) throws NoSuchLayoutException Removes the layout where privateLayout = ? and iconImageId = ? from the database.- Parameters:
privateLayout
- the private layouticonImageId
- the icon image ID- Returns:
- the layout that was removed
- Throws:
NoSuchLayoutException
-
countByP_I
public static int countByP_I(boolean privateLayout, long iconImageId) Returns the number of layouts where privateLayout = ? and iconImageId = ?.- Parameters:
privateLayout
- the private layouticonImageId
- the icon image ID- Returns:
- the number of matching layouts
-
findByC_C
Returns the layout where classNameId = ? and classPK = ? or throws aNoSuchLayoutException
if it could not be found.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByC_C
Returns the layout where classNameId = ? and classPK = ? or returnsnull
if it could not be found. Uses the finder cache.- 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
Returns the layout where classNameId = ? and classPK = ? or returnsnull
if it could not be found, optionally using the finder cache.- 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
Removes the layout where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the layout that was removed
- Throws:
NoSuchLayoutException
-
countByC_C
public static int countByC_C(long classNameId, long classPK) Returns the number of layouts where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching layouts
-
findByG_P_L
public static Layout findByG_P_L(long groupId, boolean privateLayout, long layoutId) throws NoSuchLayoutException Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or throws aNoSuchLayoutException
if it could not be found.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout ID- Returns:
- the matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_L
Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returnsnull
if it could not be found. Uses the finder cache.- 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 static 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.- 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 static Layout removeByG_P_L(long groupId, boolean privateLayout, long layoutId) throws NoSuchLayoutException Removes the layout where groupId = ? and privateLayout = ? and layoutId = ? from the database.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout ID- Returns:
- the layout that was removed
- Throws:
NoSuchLayoutException
-
countByG_P_L
public static int countByG_P_L(long groupId, boolean privateLayout, long layoutId) Returns the number of layouts where groupId = ? and privateLayout = ? and layoutId = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout ID- Returns:
- the number of matching layouts
-
findByG_P_P
Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID- Returns:
- the matching layouts
-
findByG_P_P
public static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end) Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_P_First
public static Layout fetchByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.- Parameters:
groupId
- the group 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 static Layout findByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_P_Last
public static Layout fetchByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.- Parameters:
groupId
- the group 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 static Layout[] findByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.- Parameters:
plid
- the primary key of the current 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:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
filterFindByG_P_P
public static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID- Returns:
- the matching layouts that the user has permission to view
-
filterFindByG_P_P
public static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end) Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout[] filterFindByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.- Parameters:
plid
- the primary key of the current 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:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
filterFindByG_P_P
public static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds) Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDs- Returns:
- the matching layouts that the user has permission to view
-
filterFindByG_P_P
public static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end) Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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
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
.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDs- Returns:
- the matching layouts
-
findByG_P_P
public static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end) Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static void removeByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? from the database.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID
-
countByG_P_P
public static int countByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID- Returns:
- the number of matching layouts
-
countByG_P_P
public static int countByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds) Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDs- Returns:
- the number of matching layouts
-
filterCountByG_P_P
public static int filterCountByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.- Parameters:
groupId
- the group 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 static int filterCountByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDs- Returns:
- the number of matching layouts that the user has permission to view
-
findByG_P_T
Returns all the layouts where groupId = ? and privateLayout = ? and type = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- the type- Returns:
- the matching layouts
-
findByG_P_T
public static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end) Returns a range of all the layouts where groupId = ? and privateLayout = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_T_First
public static Layout fetchByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.- Parameters:
groupId
- the group 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 static Layout findByG_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_T_Last
public static Layout fetchByG_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.- Parameters:
groupId
- the group 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 static Layout[] findByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.- Parameters:
plid
- the primary key of the current 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:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
filterFindByG_P_T
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.- 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 static List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type, int start, int end) Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout[] filterFindByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?.- Parameters:
plid
- the primary key of the current 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:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
filterFindByG_P_T
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = any ?.- 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 static List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end) Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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
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
.- Parameters:
groupId
- the group IDprivateLayout
- the private layouttypes
- the types- Returns:
- the matching layouts
-
findByG_P_T
public static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end) Returns a range of all the layouts where groupId = ? and privateLayout = ? and type = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String[] types, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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.- Parameters:
groupId
- the group IDprivateLayout
- the private layouttype
- the type
-
countByG_P_T
Returns the number of layouts where groupId = ? and privateLayout = ? and type = ?.- 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 ?.- 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 = ?.- 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 ?.- 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 static Layout findByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws NoSuchLayoutException Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or throws aNoSuchLayoutException
if it could not be found.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly url- Returns:
- the matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_F
Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returnsnull
if it could not be found. Uses the finder cache.- 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 static 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.- 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 static Layout removeByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws NoSuchLayoutException Removes the layout where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly url- Returns:
- the layout that was removed
- Throws:
NoSuchLayoutException
-
countByG_P_F
Returns the number of layouts where groupId = ? and privateLayout = ? and friendlyURL = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly url- Returns:
- the number of matching layouts
-
findByG_P_SPLU
public static Layout findByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws NoSuchLayoutException Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or throws aNoSuchLayoutException
if it could not be found.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuid- Returns:
- the matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_SPLU
public static Layout fetchByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returnsnull
if it could not be found. Uses the finder cache.- 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 static 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.- 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 static Layout removeByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws NoSuchLayoutException Removes the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? from the database.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuid- Returns:
- the layout that was removed
- Throws:
NoSuchLayoutException
-
countByG_P_SPLU
public static int countByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) Returns the number of layouts where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuid- Returns:
- the number of matching layouts
-
findByG_P_ST
Returns all the layouts where groupId = ? and privateLayout = ? and status = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- the status- Returns:
- the matching layouts
-
findByG_P_ST
public static List<Layout> findByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end) Returns a range of all the layouts where groupId = ? and privateLayout = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findByG_P_ST_First(long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_ST_First
public static Layout fetchByG_P_ST_First(long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.- Parameters:
groupId
- the group 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 static Layout findByG_P_ST_Last(long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_ST_Last
public static Layout fetchByG_P_ST_Last(long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.- Parameters:
groupId
- the group 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 static Layout[] findByG_P_ST_PrevAndNext(long plid, long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and status = ?.- Parameters:
plid
- the primary key of the current 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:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
filterFindByG_P_ST
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = ?.- 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 static List<Layout> filterFindByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end) Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> filterFindByG_P_ST(long groupId, boolean privateLayout, int status, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout[] filterFindByG_P_ST_PrevAndNext(long plid, long groupId, boolean privateLayout, int status, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = ?.- Parameters:
plid
- the primary key of the current 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:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
filterFindByG_P_ST
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = any ?.- 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 static List<Layout> filterFindByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end) Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> filterFindByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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
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
.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatuses
- the statuses- Returns:
- the matching layouts
-
findByG_P_ST
public static List<Layout> findByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end) Returns a range of all the layouts where groupId = ? and privateLayout = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_ST(long groupId, boolean privateLayout, int[] statuses, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and status = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static void removeByG_P_ST(long groupId, boolean privateLayout, int status) Removes all the layouts where groupId = ? and privateLayout = ? and status = ? from the database.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- the status
-
countByG_P_ST
public static int countByG_P_ST(long groupId, boolean privateLayout, int status) Returns the number of layouts where groupId = ? and privateLayout = ? and status = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- the status- Returns:
- the number of matching layouts
-
countByG_P_ST
public static int countByG_P_ST(long groupId, boolean privateLayout, int[] statuses) Returns the number of layouts where groupId = ? and privateLayout = ? and status = any ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatuses
- the statuses- Returns:
- the number of matching layouts
-
filterCountByG_P_ST
public static int filterCountByG_P_ST(long groupId, boolean privateLayout, int status) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatus
- the status- Returns:
- the number of matching layouts that the user has permission to view
-
filterCountByG_P_ST
public static int filterCountByG_P_ST(long groupId, boolean privateLayout, int[] statuses) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and status = any ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutstatuses
- the statuses- Returns:
- the number of matching layouts that the user has permission to view
-
findByG_P_P_H
public static List<Layout> findByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden) Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- the hidden- Returns:
- the matching layouts
-
findByG_P_P_H
public static List<Layout> findByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end) Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findByG_P_P_H_First(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- the hiddenorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_P_H_First
public static Layout fetchByG_P_P_H_First(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.- Parameters:
groupId
- the group 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 static Layout findByG_P_P_H_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- the hiddenorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_P_H_Last
public static Layout fetchByG_P_P_H_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.- Parameters:
groupId
- the group 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 static Layout[] findByG_P_P_H_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.- Parameters:
plid
- the primary key of the current 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:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
filterFindByG_P_P_H
public static List<Layout> filterFindByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden) Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.- Parameters:
groupId
- the group 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 static List<Layout> filterFindByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end) Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> filterFindByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout[] filterFindByG_P_P_H_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean hidden, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.- Parameters:
plid
- the primary key of the current 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:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
filterFindByG_P_P_H
public static List<Layout> filterFindByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden) Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.- Parameters:
groupId
- the group 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 static List<Layout> filterFindByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end) Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> filterFindByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden) Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDshidden
- the hidden- Returns:
- the matching layouts
-
findByG_P_P_H
public static List<Layout> findByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end) Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static void removeByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden) Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ? from the database.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- the hidden
-
countByG_P_P_H
public static int countByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden) Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDhidden
- the hidden- Returns:
- the number of matching layouts
-
countByG_P_P_H
public static int countByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden) Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDshidden
- the hidden- Returns:
- the number of matching layouts
-
filterCountByG_P_P_H
public static int filterCountByG_P_P_H(long groupId, boolean privateLayout, long parentLayoutId, boolean hidden) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and hidden = ?.- Parameters:
groupId
- the group 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 static int filterCountByG_P_P_H(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean hidden) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and hidden = ?.- Parameters:
groupId
- the group 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 static List<Layout> findByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system) Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- the system- Returns:
- the matching layouts
-
findByG_P_P_S
public static List<Layout> findByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end) Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findByG_P_P_S_First(long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_P_S_First
public static Layout fetchByG_P_P_S_First(long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.- Parameters:
groupId
- the group 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 static Layout findByG_P_P_S_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_P_S_Last
public static Layout fetchByG_P_P_S_Last(long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.- Parameters:
groupId
- the group 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 static Layout[] findByG_P_P_S_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.- Parameters:
plid
- the primary key of the current 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:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
filterFindByG_P_P_S
public static List<Layout> filterFindByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system) Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.- Parameters:
groupId
- the group 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 static List<Layout> filterFindByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end) Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> filterFindByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout[] filterFindByG_P_P_S_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, boolean system, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.- Parameters:
plid
- the primary key of the current 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:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
filterFindByG_P_P_S
public static List<Layout> filterFindByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system) Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.- Parameters:
groupId
- the group 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 static List<Layout> filterFindByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end) Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> filterFindByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system) Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDssystem
- the system- Returns:
- the matching layouts
-
findByG_P_P_S
public static List<Layout> findByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end) Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static void removeByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system) Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ? from the database.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- the system
-
countByG_P_P_S
public static int countByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system) Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDsystem
- the system- Returns:
- the number of matching layouts
-
countByG_P_P_S
public static int countByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system) Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDssystem
- the system- Returns:
- the number of matching layouts
-
filterCountByG_P_P_S
public static int filterCountByG_P_P_S(long groupId, boolean privateLayout, long parentLayoutId, boolean system) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and system = ?.- Parameters:
groupId
- the group 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 static int filterCountByG_P_P_S(long groupId, boolean privateLayout, long[] parentLayoutIds, boolean system) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ? and system = ?.- Parameters:
groupId
- the group 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 static List<Layout> findByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority) Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priority- Returns:
- the matching layouts
-
findByG_P_P_LteP
public static List<Layout> findByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end) Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> findByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout findByG_P_P_LteP_First(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_P_LteP_First
public static Layout fetchByG_P_P_LteP_First(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.- Parameters:
groupId
- the group 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 static Layout findByG_P_P_LteP_Last(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByG_P_P_LteP_Last
public static Layout fetchByG_P_P_LteP_Last(long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.- Parameters:
groupId
- the group 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 static Layout[] findByG_P_P_LteP_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.- Parameters:
plid
- the primary key of the current 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:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
filterFindByG_P_P_LteP
public static List<Layout> filterFindByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority) Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.- Parameters:
groupId
- the group 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 static List<Layout> filterFindByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end) Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static List<Layout> filterFindByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, OrderByComparator<Layout> orderByComparator) Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static Layout[] filterFindByG_P_P_LteP_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, int priority, OrderByComparator<Layout> orderByComparator) throws NoSuchLayoutException Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.- Parameters:
plid
- the primary key of the current 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:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
removeByG_P_P_LteP
public static void removeByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority) Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ? from the database.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priority
-
countByG_P_P_LteP
public static int countByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority) Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priority- Returns:
- the number of matching layouts
-
filterCountByG_P_P_LteP
public static int filterCountByG_P_P_LteP(long groupId, boolean privateLayout, long parentLayoutId, int priority) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.- Parameters:
groupId
- the group 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 static Layout findByERC_G(String externalReferenceCode, long groupId) throws NoSuchLayoutException Returns the layout where externalReferenceCode = ? and groupId = ? or throws aNoSuchLayoutException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching layout
- Throws:
NoSuchLayoutException
- if a matching layout could not be foundNoSuchLayoutException
-
fetchByERC_G
Returns the layout where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- 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 static 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.- 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 static Layout removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchLayoutException Removes the layout where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the layout that was removed
- Throws:
NoSuchLayoutException
-
countByERC_G
Returns the number of layouts where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching layouts
-
cacheResult
Caches the layout in the entity cache if it is enabled.- Parameters:
layout
- the layout
-
cacheResult
Caches the layouts in the entity cache if it is enabled.- Parameters:
layouts
- the layouts
-
create
Creates a new layout with the primary key. Does not add the layout to the database.- Parameters:
plid
- the primary key for the new layout- Returns:
- the new layout
-
remove
Removes the layout with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
plid
- the primary key of the layout- Returns:
- the layout that was removed
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
updateImpl
-
findByPrimaryKey
Returns the layout with the primary key or throws aNoSuchLayoutException
if it could not be found.- Parameters:
plid
- the primary key of the layout- Returns:
- the layout
- Throws:
NoSuchLayoutException
- if a layout with the primary key could not be foundNoSuchLayoutException
-
fetchByPrimaryKey
Returns the layout with the primary key or returnsnull
if it could not be found.- Parameters:
plid
- the primary key of the layout- Returns:
- the layout, or
null
if a layout with the primary key could not be found
-
findAll
Returns all the layouts.- 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
.- 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
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
.- 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 static List<Layout> findAll(int start, int end, OrderByComparator<Layout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layouts.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- 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 static void removeAll()Removes all the layouts from the database. -
countAll
public static int countAll()Returns the number of layouts.- Returns:
- the number of layouts
-
getPersistence
-
setPersistence
-