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 voidcacheResult(Layout layout) Caches the layout in the entity cache if it is enabled.static voidcacheResult(List<Layout> layouts) Caches the layouts in the entity cache if it is enabled.static voidstatic voidclearCache(Layout layout) static intcountAll()Returns the number of layouts.static intcountByC_C(long classNameId, long classPK) Returns the number of layouts where classNameId = ? and classPK = ?.static intcountByC_L(long companyId, String layoutPrototypeUuid) Returns the number of layouts where companyId = ? and layoutPrototypeUuid = ?.static intcountByCompanyId(long companyId) Returns the number of layouts where companyId = ?.static intcountByERC_G(String externalReferenceCode, long groupId) Returns the number of layouts where externalReferenceCode = ? and groupId = ?.static intcountByG_MLP(long groupId, long masterLayoutPlid) Returns the number of layouts where groupId = ? and masterLayoutPlid = ?.static intcountByG_P(long groupId, boolean privateLayout) Returns the number of layouts where groupId = ? and privateLayout = ?.static intcountByG_P_F(long groupId, boolean privateLayout, String friendlyURL) Returns the number of layouts where groupId = ? and privateLayout = ? and friendlyURL = ?.static intcountByG_P_L(long groupId, boolean privateLayout, long layoutId) Returns the number of layouts where groupId = ? and privateLayout = ? and layoutId = ?.static intcountByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.static intcountByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds) Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.static intcountByG_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 intcountByG_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 intcountByG_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 intcountByG_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 intcountByG_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 intcountByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) Returns the number of layouts where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ?.static intcountByG_P_ST(long groupId, boolean privateLayout, int status) Returns the number of layouts where groupId = ? and privateLayout = ? and status = ?.static intcountByG_P_ST(long groupId, boolean privateLayout, int[] statuses) Returns the number of layouts where groupId = ? and privateLayout = ? and status = any ?.static intcountByG_P_T(long groupId, boolean privateLayout, String type) Returns the number of layouts where groupId = ? and privateLayout = ? and type = ?.static intcountByG_P_T(long groupId, boolean privateLayout, String[] types) Returns the number of layouts where groupId = ? and privateLayout = ? and type = any ?.static intcountByG_T(long groupId, String type) Returns the number of layouts where groupId = ? and type = ?.static intcountByGroupId(long groupId) Returns the number of layouts where groupId = ?.static intcountByIconImageId(long iconImageId) Returns the number of layouts where iconImageId = ?.static intcountByLayoutPrototypeUuid(String layoutPrototypeUuid) Returns the number of layouts where layoutPrototypeUuid = ?.static intcountByP_I(boolean privateLayout, long iconImageId) Returns the number of layouts where privateLayout = ? and iconImageId = ?.static intcountByParentPlid(long parentPlid) Returns the number of layouts where parentPlid = ?.static intcountBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid) Returns the number of layouts where sourcePrototypeLayoutUuid = ?.static intcountByUuid(String uuid) Returns the number of layouts where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of layouts where uuid = ? and companyId = ?.static intcountByUUID_G_P(String uuid, long groupId, boolean privateLayout) Returns the number of layouts where uuid = ? and groupId = ? and privateLayout = ?.static longcountWithDynamicQuery(DynamicQuery dynamicQuery) static Layoutcreate(long plid) Creates a new layout with the primary key.static LayoutfetchByC_C(long classNameId, long classPK) Returns the layout where classNameId = ? and classPK = ? or returnsnullif it could not be found.static LayoutfetchByC_C(long classNameId, long classPK, boolean useFinderCache) Returns the layout where classNameId = ? and classPK = ? or returnsnullif it could not be found, optionally using the finder cache.static LayoutfetchByC_L_First(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.static LayoutfetchByC_L_Last(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.static LayoutfetchByCompanyId_First(long companyId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where companyId = ?.static LayoutfetchByCompanyId_Last(long companyId, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where companyId = ?.static LayoutfetchByERC_G(String externalReferenceCode, long groupId) Returns the layout where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found.static LayoutfetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the layout where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static LayoutfetchByG_MLP_First(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and masterLayoutPlid = ?.static LayoutfetchByG_MLP_Last(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and masterLayoutPlid = ?.static LayoutfetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL) Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returnsnullif it could not be found.static LayoutfetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL, boolean useFinderCache) Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returnsnullif it could not be found, optionally using the finder cache.static LayoutfetchByG_P_First(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.static LayoutfetchByG_P_L(long groupId, boolean privateLayout, long layoutId) Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returnsnullif it could not be found.static LayoutfetchByG_P_L(long groupId, boolean privateLayout, long layoutId, boolean useFinderCache) Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returnsnullif it could not be found, optionally using the finder cache.static LayoutfetchByG_P_Last(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.static LayoutfetchByG_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 LayoutfetchByG_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 LayoutfetchByG_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 LayoutfetchByG_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 LayoutfetchByG_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 LayoutfetchByG_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 LayoutfetchByG_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 LayoutfetchByG_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 LayoutfetchByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returnsnullif it could not be found.static LayoutfetchByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid, boolean useFinderCache) Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returnsnullif it could not be found, optionally using the finder cache.static LayoutfetchByG_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 LayoutfetchByG_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 LayoutfetchByG_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 LayoutfetchByG_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 LayoutfetchByG_T_First(long groupId, String type, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and type = ?.static LayoutfetchByG_T_Last(long groupId, String type, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ? and type = ?.static LayoutfetchByGroupId_First(long groupId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ?.static LayoutfetchByGroupId_Last(long groupId, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where groupId = ?.static LayoutfetchByIconImageId(long iconImageId) Returns the layout where iconImageId = ? or returnsnullif it could not be found.static LayoutfetchByIconImageId(long iconImageId, boolean useFinderCache) Returns the layout where iconImageId = ? or returnsnullif it could not be found, optionally using the finder cache.static LayoutfetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where layoutPrototypeUuid = ?.static LayoutfetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where layoutPrototypeUuid = ?.static LayoutfetchByP_I(boolean privateLayout, long iconImageId) Returns the layout where privateLayout = ? and iconImageId = ? or returnsnullif it could not be found.static LayoutfetchByP_I(boolean privateLayout, long iconImageId, boolean useFinderCache) Returns the layout where privateLayout = ? and iconImageId = ? or returnsnullif it could not be found, optionally using the finder cache.static LayoutfetchByParentPlid_First(long parentPlid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where parentPlid = ?.static LayoutfetchByParentPlid_Last(long parentPlid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where parentPlid = ?.static LayoutfetchByPrimaryKey(long plid) Returns the layout with the primary key or returnsnullif it could not be found.static Map<Serializable,Layout> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static LayoutfetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.static LayoutfetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.static LayoutfetchByUuid_C_First(String uuid, long companyId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where uuid = ? and companyId = ?.static LayoutfetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where uuid = ? and companyId = ?.static LayoutfetchByUuid_First(String uuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where uuid = ?.static LayoutfetchByUUID_G_P(String uuid, long groupId, boolean privateLayout) Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returnsnullif it could not be found.static LayoutfetchByUUID_G_P(String uuid, long groupId, boolean privateLayout, boolean useFinderCache) Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returnsnullif it could not be found, optionally using the finder cache.static LayoutfetchByUuid_Last(String uuid, OrderByComparator<Layout> orderByComparator) Returns the last layout in the ordered set where uuid = ?.static intfilterCountByG_MLP(long groupId, long masterLayoutPlid) Returns the number of layouts that the user has permission to view where groupId = ? and masterLayoutPlid = ?.static intfilterCountByG_P(long groupId, boolean privateLayout) Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ?.static intfilterCountByG_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 intfilterCountByG_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 intfilterCountByG_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 intfilterCountByG_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 intfilterCountByG_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 intfilterCountByG_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 intfilterCountByG_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 intfilterCountByG_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 intfilterCountByG_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 intfilterCountByG_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 intfilterCountByG_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 intfilterCountByG_T(long groupId, String type) Returns the number of layouts that the user has permission to view where groupId = ? and type = ?.static intfilterCountByGroupId(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 LayoutfindByC_C(long classNameId, long classPK) Returns the layout where classNameId = ? and classPK = ? or throws aNoSuchLayoutExceptionif 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 LayoutfindByC_L_First(long companyId, String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.static LayoutfindByC_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 LayoutfindByCompanyId_First(long companyId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where companyId = ?.static LayoutfindByCompanyId_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 LayoutfindByERC_G(String externalReferenceCode, long groupId) Returns the layout where externalReferenceCode = ? and groupId = ? or throws aNoSuchLayoutExceptionif 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 LayoutfindByG_MLP_First(long groupId, long masterLayoutPlid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and masterLayoutPlid = ?.static LayoutfindByG_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 LayoutfindByG_P_F(long groupId, boolean privateLayout, String friendlyURL) Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or throws aNoSuchLayoutExceptionif it could not be found.static LayoutfindByG_P_First(long groupId, boolean privateLayout, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.static LayoutfindByG_P_L(long groupId, boolean privateLayout, long layoutId) Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or throws aNoSuchLayoutExceptionif it could not be found.static LayoutfindByG_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 LayoutfindByG_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 LayoutfindByG_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 LayoutfindByG_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 LayoutfindByG_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 LayoutfindByG_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 LayoutfindByG_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 LayoutfindByG_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 LayoutfindByG_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 LayoutfindByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or throws aNoSuchLayoutExceptionif 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 LayoutfindByG_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 LayoutfindByG_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 LayoutfindByG_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 LayoutfindByG_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 LayoutfindByG_T_First(long groupId, String type, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ? and type = ?.static LayoutfindByG_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 LayoutfindByGroupId_First(long groupId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where groupId = ?.static LayoutfindByGroupId_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 LayoutfindByIconImageId(long iconImageId) Returns the layout where iconImageId = ? or throws aNoSuchLayoutExceptionif 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 LayoutfindByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where layoutPrototypeUuid = ?.static LayoutfindByLayoutPrototypeUuid_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 LayoutfindByP_I(boolean privateLayout, long iconImageId) Returns the layout where privateLayout = ? and iconImageId = ? or throws aNoSuchLayoutExceptionif 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 LayoutfindByParentPlid_First(long parentPlid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where parentPlid = ?.static LayoutfindByParentPlid_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 LayoutfindByPrimaryKey(long plid) Returns the layout with the primary key or throws aNoSuchLayoutExceptionif 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 LayoutfindBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.static LayoutfindBySourcePrototypeLayoutUuid_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 LayoutfindByUuid_C_First(String uuid, long companyId, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where uuid = ? and companyId = ?.static LayoutfindByUuid_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 LayoutfindByUuid_First(String uuid, OrderByComparator<Layout> orderByComparator) Returns the first layout in the ordered set where uuid = ?.static LayoutfindByUUID_G_P(String uuid, long groupId, boolean privateLayout) Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or throws aNoSuchLayoutExceptionif it could not be found.static LayoutfindByUuid_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 LayoutPersistencestatic Layoutremove(long plid) Removes the layout with the primary key from the database.static voidRemoves all the layouts from the database.static LayoutremoveByC_C(long classNameId, long classPK) Removes the layout where classNameId = ? and classPK = ? from the database.static voidremoveByC_L(long companyId, String layoutPrototypeUuid) Removes all the layouts where companyId = ? and layoutPrototypeUuid = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the layouts where companyId = ? from the database.static LayoutremoveByERC_G(String externalReferenceCode, long groupId) Removes the layout where externalReferenceCode = ? and groupId = ? from the database.static voidremoveByG_MLP(long groupId, long masterLayoutPlid) Removes all the layouts where groupId = ? and masterLayoutPlid = ? from the database.static voidremoveByG_P(long groupId, boolean privateLayout) Removes all the layouts where groupId = ? and privateLayout = ? from the database.static LayoutremoveByG_P_F(long groupId, boolean privateLayout, String friendlyURL) Removes the layout where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.static LayoutremoveByG_P_L(long groupId, boolean privateLayout, long layoutId) Removes the layout where groupId = ? and privateLayout = ? and layoutId = ? from the database.static voidremoveByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? from the database.static voidremoveByG_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 voidremoveByG_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 voidremoveByG_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 LayoutremoveByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) Removes the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? from the database.static voidremoveByG_P_ST(long groupId, boolean privateLayout, int status) Removes all the layouts where groupId = ? and privateLayout = ? and status = ? from the database.static voidremoveByG_P_T(long groupId, boolean privateLayout, String type) Removes all the layouts where groupId = ? and privateLayout = ? and type = ? from the database.static voidremoveByG_T(long groupId, String type) Removes all the layouts where groupId = ? and type = ? from the database.static voidremoveByGroupId(long groupId) Removes all the layouts where groupId = ? from the database.static LayoutremoveByIconImageId(long iconImageId) Removes the layout where iconImageId = ? from the database.static voidremoveByLayoutPrototypeUuid(String layoutPrototypeUuid) Removes all the layouts where layoutPrototypeUuid = ? from the database.static LayoutremoveByP_I(boolean privateLayout, long iconImageId) Removes the layout where privateLayout = ? and iconImageId = ? from the database.static voidremoveByParentPlid(long parentPlid) Removes all the layouts where parentPlid = ? from the database.static voidremoveBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid) Removes all the layouts where sourcePrototypeLayoutUuid = ? from the database.static voidremoveByUuid(String uuid) Removes all the layouts where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the layouts where uuid = ? and companyId = ? from the database.static LayoutremoveByUUID_G_P(String uuid, long groupId, boolean privateLayout) Removes the layout where uuid = ? and groupId = ? and privateLayout = ? from the database.static voidsetPersistence(LayoutPersistence persistence) static Layoutstatic Layoutupdate(Layout layout, ServiceContext serviceContext) static LayoutupdateImpl(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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 aNoSuchLayoutExceptionif 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 returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDprivateLayout- the private layout- Returns:
- the matching layout, or
nullif 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 returnsnullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 aNoSuchLayoutExceptionif 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 returnsnullif it could not be found. Uses the finder cache.- Parameters:
iconImageId- the icon image ID- Returns:
- the matching layout, or
nullif a matching layout could not be found
-
fetchByIconImageId
Returns the layout where iconImageId = ? or returnsnullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 aNoSuchLayoutExceptionif 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 returnsnullif it could not be found. Uses the finder cache.- Parameters:
privateLayout- the private layouticonImageId- the icon image ID- Returns:
- the matching layout, or
nullif a matching layout could not be found
-
fetchByP_I
Returns the layout where privateLayout = ? and iconImageId = ? or returnsnullif 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
nullif 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 aNoSuchLayoutExceptionif 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 returnsnullif it could not be found. Uses the finder cache.- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the matching layout, or
nullif a matching layout could not be found
-
fetchByC_C
Returns the layout where classNameId = ? and classPK = ? or returnsnullif 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
nullif 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 aNoSuchLayoutExceptionif 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 returnsnullif 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
nullif 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 returnsnullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 aNoSuchLayoutExceptionif 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 returnsnullif 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
nullif 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 returnsnullif 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
nullif 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 aNoSuchLayoutExceptionif 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 returnsnullif 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
nullif 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 returnsnullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
nullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 aNoSuchLayoutExceptionif 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 returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching layout, or
nullif 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 returnsnullif 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
nullif 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 aNoSuchLayoutExceptionif 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 returnsnullif it could not be found.- Parameters:
plid- the primary key of the layout- Returns:
- the layout, or
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-