Class CPDisplayLayoutUtil
com.liferay.commerce.product.service.persistence.impl.CPDisplayLayoutPersistenceImpl 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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(CPDisplayLayout cpDisplayLayout) Caches the cp display layout in the entity cache if it is enabled.static voidcacheResult(List<CPDisplayLayout> cpDisplayLayouts) Caches the cp display layouts in the entity cache if it is enabled.static voidstatic voidclearCache(CPDisplayLayout cpDisplayLayout) static intcountAll()Returns the number of cp display layouts.static intcountByC_C(long classNameId, long classPK) Returns the number of cp display layouts where classNameId = ? and classPK = ?.static intcountByC_C_L(long classNameId, long classPK) Returns the number of cp display layouts where classNameId = ? and classPK = ?.static intcountByC_C_LPTEU(long classNameId, long classPK) Returns the number of cp display layouts where classNameId = ? and classPK = ?.static intcountByG_C(long groupId, long classNameId) Returns the number of cp display layouts where groupId = ? and classNameId = ?.static intcountByG_C_C(long groupId, long classNameId, long classPK) Returns the number of cp display layouts where groupId = ? and classNameId = ? and classPK = ?.static intcountByG_L(long groupId, String layoutUuid) Returns the number of cp display layouts where groupId = ? and layoutUuid = ?.static intcountByG_LPTEU(long groupId, String layoutPageTemplateEntryUuid) Returns the number of cp display layouts where groupId = ? and layoutPageTemplateEntryUuid = ?.static intcountByGroupId(long groupId) Returns the number of cp display layouts where groupId = ?.static intcountByUuid(String uuid) Returns the number of cp display layouts where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of cp display layouts where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of cp display layouts where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CPDisplayLayoutcreate(long CPDisplayLayoutId) Creates a new cp display layout with the primary key.static CPDisplayLayoutfetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where classNameId = ? and classPK = ?.static CPDisplayLayoutfetchByC_C_L_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where classNameId = ? and classPK = ?.static CPDisplayLayoutfetchByC_C_L_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where classNameId = ? and classPK = ?.static CPDisplayLayoutfetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where classNameId = ? and classPK = ?.static CPDisplayLayoutfetchByC_C_LPTEU_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where classNameId = ? and classPK = ?.static CPDisplayLayoutfetchByC_C_LPTEU_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where classNameId = ? and classPK = ?.static CPDisplayLayoutfetchByG_C_C(long groupId, long classNameId, long classPK) Returns the cp display layout where groupId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found.static CPDisplayLayoutfetchByG_C_C(long groupId, long classNameId, long classPK, boolean useFinderCache) Returns the cp display layout where groupId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found, optionally using the finder cache.static CPDisplayLayoutfetchByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where groupId = ? and classNameId = ?.static CPDisplayLayoutfetchByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where groupId = ? and classNameId = ?.static CPDisplayLayoutfetchByG_L_First(long groupId, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where groupId = ? and layoutUuid = ?.static CPDisplayLayoutfetchByG_L_Last(long groupId, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where groupId = ? and layoutUuid = ?.static CPDisplayLayoutfetchByG_LPTEU_First(long groupId, String layoutPageTemplateEntryUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where groupId = ? and layoutPageTemplateEntryUuid = ?.static CPDisplayLayoutfetchByG_LPTEU_Last(long groupId, String layoutPageTemplateEntryUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where groupId = ? and layoutPageTemplateEntryUuid = ?.static CPDisplayLayoutfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where groupId = ?.static CPDisplayLayoutfetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where groupId = ?.static CPDisplayLayoutfetchByPrimaryKey(long CPDisplayLayoutId) Returns the cp display layout with the primary key or returnsnullif it could not be found.static Map<Serializable,CPDisplayLayout> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CPDisplayLayoutfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where uuid = ? and companyId = ?.static CPDisplayLayoutfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where uuid = ? and companyId = ?.static CPDisplayLayoutfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where uuid = ?.static CPDisplayLayoutfetchByUUID_G(String uuid, long groupId) Returns the cp display layout where uuid = ? and groupId = ? or returnsnullif it could not be found.static CPDisplayLayoutfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the cp display layout where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static CPDisplayLayoutfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where uuid = ?.static List<CPDisplayLayout>findAll()Returns all the cp display layouts.static List<CPDisplayLayout>findAll(int start, int end) Returns a range of all the cp display layouts.static List<CPDisplayLayout>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display layouts.static List<CPDisplayLayout>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display layouts.static List<CPDisplayLayout>findByC_C(long classNameId, long classPK) Returns all the cp display layouts where classNameId = ? and classPK = ?.static List<CPDisplayLayout>findByC_C(long classNameId, long classPK, int start, int end) Returns a range of all the cp display layouts where classNameId = ? and classPK = ?.static List<CPDisplayLayout>findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display layouts where classNameId = ? and classPK = ?.static List<CPDisplayLayout>findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display layouts where classNameId = ? and classPK = ?.static CPDisplayLayoutfindByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where classNameId = ? and classPK = ?.static List<CPDisplayLayout>findByC_C_L(long classNameId, long classPK) Returns all the cp display layouts where classNameId = ? and classPK = ?.static List<CPDisplayLayout>findByC_C_L(long classNameId, long classPK, int start, int end) Returns a range of all the cp display layouts where classNameId = ? and classPK = ?.static List<CPDisplayLayout>findByC_C_L(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display layouts where classNameId = ? and classPK = ?.static List<CPDisplayLayout>findByC_C_L(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display layouts where classNameId = ? and classPK = ?.static CPDisplayLayoutfindByC_C_L_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where classNameId = ? and classPK = ?.static CPDisplayLayoutfindByC_C_L_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where classNameId = ? and classPK = ?.static CPDisplayLayout[]findByC_C_L_PrevAndNext(long CPDisplayLayoutId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the cp display layouts before and after the current cp display layout in the ordered set where classNameId = ? and classPK = ?.static CPDisplayLayoutfindByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where classNameId = ? and classPK = ?.static List<CPDisplayLayout>findByC_C_LPTEU(long classNameId, long classPK) Returns all the cp display layouts where classNameId = ? and classPK = ?.static List<CPDisplayLayout>findByC_C_LPTEU(long classNameId, long classPK, int start, int end) Returns a range of all the cp display layouts where classNameId = ? and classPK = ?.static List<CPDisplayLayout>findByC_C_LPTEU(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display layouts where classNameId = ? and classPK = ?.static List<CPDisplayLayout>findByC_C_LPTEU(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display layouts where classNameId = ? and classPK = ?.static CPDisplayLayoutfindByC_C_LPTEU_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where classNameId = ? and classPK = ?.static CPDisplayLayoutfindByC_C_LPTEU_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where classNameId = ? and classPK = ?.static CPDisplayLayout[]findByC_C_LPTEU_PrevAndNext(long CPDisplayLayoutId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the cp display layouts before and after the current cp display layout in the ordered set where classNameId = ? and classPK = ?.static CPDisplayLayout[]findByC_C_PrevAndNext(long CPDisplayLayoutId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the cp display layouts before and after the current cp display layout in the ordered set where classNameId = ? and classPK = ?.static List<CPDisplayLayout>findByG_C(long groupId, long classNameId) Returns all the cp display layouts where groupId = ? and classNameId = ?.static List<CPDisplayLayout>findByG_C(long groupId, long classNameId, int start, int end) Returns a range of all the cp display layouts where groupId = ? and classNameId = ?.static List<CPDisplayLayout>findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display layouts where groupId = ? and classNameId = ?.static List<CPDisplayLayout>findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display layouts where groupId = ? and classNameId = ?.static CPDisplayLayoutfindByG_C_C(long groupId, long classNameId, long classPK) Returns the cp display layout where groupId = ? and classNameId = ? and classPK = ? or throws aNoSuchCPDisplayLayoutExceptionif it could not be found.static CPDisplayLayoutfindByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where groupId = ? and classNameId = ?.static CPDisplayLayoutfindByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where groupId = ? and classNameId = ?.static CPDisplayLayout[]findByG_C_PrevAndNext(long CPDisplayLayoutId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the cp display layouts before and after the current cp display layout in the ordered set where groupId = ? and classNameId = ?.static List<CPDisplayLayout>Returns all the cp display layouts where groupId = ? and layoutUuid = ?.static List<CPDisplayLayout>Returns a range of all the cp display layouts where groupId = ? and layoutUuid = ?.static List<CPDisplayLayout>findByG_L(long groupId, String layoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display layouts where groupId = ? and layoutUuid = ?.static List<CPDisplayLayout>findByG_L(long groupId, String layoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display layouts where groupId = ? and layoutUuid = ?.static CPDisplayLayoutfindByG_L_First(long groupId, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where groupId = ? and layoutUuid = ?.static CPDisplayLayoutfindByG_L_Last(long groupId, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where groupId = ? and layoutUuid = ?.static CPDisplayLayout[]findByG_L_PrevAndNext(long CPDisplayLayoutId, long groupId, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the cp display layouts before and after the current cp display layout in the ordered set where groupId = ? and layoutUuid = ?.static List<CPDisplayLayout>findByG_LPTEU(long groupId, String layoutPageTemplateEntryUuid) Returns all the cp display layouts where groupId = ? and layoutPageTemplateEntryUuid = ?.static List<CPDisplayLayout>findByG_LPTEU(long groupId, String layoutPageTemplateEntryUuid, int start, int end) Returns a range of all the cp display layouts where groupId = ? and layoutPageTemplateEntryUuid = ?.static List<CPDisplayLayout>findByG_LPTEU(long groupId, String layoutPageTemplateEntryUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display layouts where groupId = ? and layoutPageTemplateEntryUuid = ?.static List<CPDisplayLayout>findByG_LPTEU(long groupId, String layoutPageTemplateEntryUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display layouts where groupId = ? and layoutPageTemplateEntryUuid = ?.static CPDisplayLayoutfindByG_LPTEU_First(long groupId, String layoutPageTemplateEntryUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where groupId = ? and layoutPageTemplateEntryUuid = ?.static CPDisplayLayoutfindByG_LPTEU_Last(long groupId, String layoutPageTemplateEntryUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where groupId = ? and layoutPageTemplateEntryUuid = ?.static CPDisplayLayout[]findByG_LPTEU_PrevAndNext(long CPDisplayLayoutId, long groupId, String layoutPageTemplateEntryUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the cp display layouts before and after the current cp display layout in the ordered set where groupId = ? and layoutPageTemplateEntryUuid = ?.static List<CPDisplayLayout>findByGroupId(long groupId) Returns all the cp display layouts where groupId = ?.static List<CPDisplayLayout>findByGroupId(long groupId, int start, int end) Returns a range of all the cp display layouts where groupId = ?.static List<CPDisplayLayout>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display layouts where groupId = ?.static List<CPDisplayLayout>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display layouts where groupId = ?.static CPDisplayLayoutfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where groupId = ?.static CPDisplayLayoutfindByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where groupId = ?.static CPDisplayLayout[]findByGroupId_PrevAndNext(long CPDisplayLayoutId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the cp display layouts before and after the current cp display layout in the ordered set where groupId = ?.static CPDisplayLayoutfindByPrimaryKey(long CPDisplayLayoutId) Returns the cp display layout with the primary key or throws aNoSuchCPDisplayLayoutExceptionif it could not be found.static List<CPDisplayLayout>findByUuid(String uuid) Returns all the cp display layouts where uuid = ?.static List<CPDisplayLayout>findByUuid(String uuid, int start, int end) Returns a range of all the cp display layouts where uuid = ?.static List<CPDisplayLayout>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display layouts where uuid = ?.static List<CPDisplayLayout>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display layouts where uuid = ?.static List<CPDisplayLayout>findByUuid_C(String uuid, long companyId) Returns all the cp display layouts where uuid = ? and companyId = ?.static List<CPDisplayLayout>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp display layouts where uuid = ? and companyId = ?.static List<CPDisplayLayout>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display layouts where uuid = ? and companyId = ?.static List<CPDisplayLayout>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display layouts where uuid = ? and companyId = ?.static CPDisplayLayoutfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where uuid = ? and companyId = ?.static CPDisplayLayoutfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where uuid = ? and companyId = ?.static CPDisplayLayout[]findByUuid_C_PrevAndNext(long CPDisplayLayoutId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the cp display layouts before and after the current cp display layout in the ordered set where uuid = ? and companyId = ?.static CPDisplayLayoutfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where uuid = ?.static CPDisplayLayoutfindByUUID_G(String uuid, long groupId) Returns the cp display layout where uuid = ? and groupId = ? or throws aNoSuchCPDisplayLayoutExceptionif it could not be found.static CPDisplayLayoutfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where uuid = ?.static CPDisplayLayout[]findByUuid_PrevAndNext(long CPDisplayLayoutId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the cp display layouts before and after the current cp display layout in the ordered set where uuid = ?.static List<CPDisplayLayout>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CPDisplayLayout>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CPDisplayLayout>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) static CPDisplayLayoutPersistencestatic CPDisplayLayoutremove(long CPDisplayLayoutId) Removes the cp display layout with the primary key from the database.static voidRemoves all the cp display layouts from the database.static voidremoveByC_C(long classNameId, long classPK) Removes all the cp display layouts where classNameId = ? and classPK = ? from the database.static voidremoveByC_C_L(long classNameId, long classPK) Removes all the cp display layouts where classNameId = ? and classPK = ? from the database.static voidremoveByC_C_LPTEU(long classNameId, long classPK) Removes all the cp display layouts where classNameId = ? and classPK = ? from the database.static voidremoveByG_C(long groupId, long classNameId) Removes all the cp display layouts where groupId = ? and classNameId = ? from the database.static CPDisplayLayoutremoveByG_C_C(long groupId, long classNameId, long classPK) Removes the cp display layout where groupId = ? and classNameId = ? and classPK = ? from the database.static voidremoveByG_L(long groupId, String layoutUuid) Removes all the cp display layouts where groupId = ? and layoutUuid = ? from the database.static voidremoveByG_LPTEU(long groupId, String layoutPageTemplateEntryUuid) Removes all the cp display layouts where groupId = ? and layoutPageTemplateEntryUuid = ? from the database.static voidremoveByGroupId(long groupId) Removes all the cp display layouts where groupId = ? from the database.static voidremoveByUuid(String uuid) Removes all the cp display layouts where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the cp display layouts where uuid = ? and companyId = ? from the database.static CPDisplayLayoutremoveByUUID_G(String uuid, long groupId) Removes the cp display layout where uuid = ? and groupId = ? from the database.static voidsetPersistence(CPDisplayLayoutPersistence persistence) static CPDisplayLayoutupdate(CPDisplayLayout cpDisplayLayout) static CPDisplayLayoutupdate(CPDisplayLayout cpDisplayLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CPDisplayLayoutupdateImpl(CPDisplayLayout cpDisplayLayout)
-
Constructor Details
-
CPDisplayLayoutUtil
public CPDisplayLayoutUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CPDisplayLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CPDisplayLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CPDisplayLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CPDisplayLayout update(CPDisplayLayout cpDisplayLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the cp display layouts where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching cp display layouts
-
findByUuid
Returns a range of all the cp display 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 fromCPDisplayLayoutModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)- Returns:
- the range of matching cp display layouts
-
findByUuid
public static List<CPDisplayLayout> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display 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 fromCPDisplayLayoutModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp display layouts
-
findByUuid
public static List<CPDisplayLayout> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display 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 fromCPDisplayLayoutModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display 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 cp display layouts
-
findByUuid_First
public static CPDisplayLayout findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the first cp display layout in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByUuid_First
public static CPDisplayLayout fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp display layout, or
nullif a matching cp display layout could not be found
-
findByUuid_Last
public static CPDisplayLayout findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the last cp display layout in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByUuid_Last
public static CPDisplayLayout fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp display layout, or
nullif a matching cp display layout could not be found
-
findByUuid_PrevAndNext
public static CPDisplayLayout[] findByUuid_PrevAndNext(long CPDisplayLayoutId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the cp display layouts before and after the current cp display layout in the ordered set where uuid = ?.- Parameters:
CPDisplayLayoutId- the primary key of the current cp display layoutuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a cp display layout with the primary key could not be foundNoSuchCPDisplayLayoutException
-
removeByUuid
Removes all the cp display layouts where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of cp display layouts where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching cp display layouts
-
findByUUID_G
public static CPDisplayLayout findByUUID_G(String uuid, long groupId) throws NoSuchCPDisplayLayoutException Returns the cp display layout where uuid = ? and groupId = ? or throws aNoSuchCPDisplayLayoutExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByUUID_G
Returns the cp display layout where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching cp display layout, or
nullif a matching cp display layout could not be found
-
fetchByUUID_G
Returns the cp display layout where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching cp display layout, or
nullif a matching cp display layout could not be found
-
removeByUUID_G
public static CPDisplayLayout removeByUUID_G(String uuid, long groupId) throws NoSuchCPDisplayLayoutException Removes the cp display layout where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the cp display layout that was removed
- Throws:
NoSuchCPDisplayLayoutException
-
countByUUID_G
Returns the number of cp display layouts where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching cp display layouts
-
findByUuid_C
Returns all the cp display layouts where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching cp display layouts
-
findByUuid_C
Returns a range of all the cp display 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 fromCPDisplayLayoutModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)- Returns:
- the range of matching cp display layouts
-
findByUuid_C
public static List<CPDisplayLayout> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display 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 fromCPDisplayLayoutModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp display layouts
-
findByUuid_C
public static List<CPDisplayLayout> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display 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 fromCPDisplayLayoutModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display 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 cp display layouts
-
findByUuid_C_First
public static CPDisplayLayout findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the first cp display 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 cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByUuid_C_First
public static CPDisplayLayout fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display 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 cp display layout, or
nullif a matching cp display layout could not be found
-
findByUuid_C_Last
public static CPDisplayLayout findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the last cp display 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 cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByUuid_C_Last
public static CPDisplayLayout fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display 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 cp display layout, or
nullif a matching cp display layout could not be found
-
findByUuid_C_PrevAndNext
public static CPDisplayLayout[] findByUuid_C_PrevAndNext(long CPDisplayLayoutId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the cp display layouts before and after the current cp display layout in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPDisplayLayoutId- the primary key of the current cp display layoutuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a cp display layout with the primary key could not be foundNoSuchCPDisplayLayoutException
-
removeByUuid_C
Removes all the cp display layouts where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of cp display layouts where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching cp display layouts
-
findByGroupId
Returns all the cp display layouts where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching cp display layouts
-
findByGroupId
Returns a range of all the cp display 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 fromCPDisplayLayoutModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)- Returns:
- the range of matching cp display layouts
-
findByGroupId
public static List<CPDisplayLayout> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display 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 fromCPDisplayLayoutModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp display layouts
-
findByGroupId
public static List<CPDisplayLayout> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display 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 fromCPDisplayLayoutModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display 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 cp display layouts
-
findByGroupId_First
public static CPDisplayLayout findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the first cp display layout in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByGroupId_First
public static CPDisplayLayout fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp display layout, or
nullif a matching cp display layout could not be found
-
findByGroupId_Last
public static CPDisplayLayout findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the last cp display layout in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByGroupId_Last
public static CPDisplayLayout fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp display layout, or
nullif a matching cp display layout could not be found
-
findByGroupId_PrevAndNext
public static CPDisplayLayout[] findByGroupId_PrevAndNext(long CPDisplayLayoutId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the cp display layouts before and after the current cp display layout in the ordered set where groupId = ?.- Parameters:
CPDisplayLayoutId- the primary key of the current cp display layoutgroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a cp display layout with the primary key could not be foundNoSuchCPDisplayLayoutException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the cp display layouts where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of cp display layouts where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching cp display layouts
-
findByG_C
Returns all the cp display layouts where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name ID- Returns:
- the matching cp display layouts
-
findByG_C
Returns a range of all the cp display layouts where groupId = ? and classNameId = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
groupId- the group IDclassNameId- the class name IDstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)- Returns:
- the range of matching cp display layouts
-
findByG_C
public static List<CPDisplayLayout> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display layouts where groupId = ? and classNameId = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
groupId- the group IDclassNameId- the class name IDstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp display layouts
-
findByG_C
public static List<CPDisplayLayout> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display layouts where groupId = ? and classNameId = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
groupId- the group IDclassNameId- the class name IDstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display 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 cp display layouts
-
findByG_C_First
public static CPDisplayLayout findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the first cp display layout in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByG_C_First
public static CPDisplayLayout fetchByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp display layout, or
nullif a matching cp display layout could not be found
-
findByG_C_Last
public static CPDisplayLayout findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the last cp display layout in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByG_C_Last
public static CPDisplayLayout fetchByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp display layout, or
nullif a matching cp display layout could not be found
-
findByG_C_PrevAndNext
public static CPDisplayLayout[] findByG_C_PrevAndNext(long CPDisplayLayoutId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the cp display layouts before and after the current cp display layout in the ordered set where groupId = ? and classNameId = ?.- Parameters:
CPDisplayLayoutId- the primary key of the current cp display layoutgroupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a cp display layout with the primary key could not be foundNoSuchCPDisplayLayoutException
-
removeByG_C
public static void removeByG_C(long groupId, long classNameId) Removes all the cp display layouts where groupId = ? and classNameId = ? from the database.- Parameters:
groupId- the group IDclassNameId- the class name ID
-
countByG_C
public static int countByG_C(long groupId, long classNameId) Returns the number of cp display layouts where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name ID- Returns:
- the number of matching cp display layouts
-
findByG_LPTEU
Returns all the cp display layouts where groupId = ? and layoutPageTemplateEntryUuid = ?.- Parameters:
groupId- the group IDlayoutPageTemplateEntryUuid- the layout page template entry uuid- Returns:
- the matching cp display layouts
-
findByG_LPTEU
public static List<CPDisplayLayout> findByG_LPTEU(long groupId, String layoutPageTemplateEntryUuid, int start, int end) Returns a range of all the cp display layouts where groupId = ? and layoutPageTemplateEntryUuid = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
groupId- the group IDlayoutPageTemplateEntryUuid- the layout page template entry uuidstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)- Returns:
- the range of matching cp display layouts
-
findByG_LPTEU
public static List<CPDisplayLayout> findByG_LPTEU(long groupId, String layoutPageTemplateEntryUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display layouts where groupId = ? and layoutPageTemplateEntryUuid = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
groupId- the group IDlayoutPageTemplateEntryUuid- the layout page template entry uuidstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp display layouts
-
findByG_LPTEU
public static List<CPDisplayLayout> findByG_LPTEU(long groupId, String layoutPageTemplateEntryUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display layouts where groupId = ? and layoutPageTemplateEntryUuid = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
groupId- the group IDlayoutPageTemplateEntryUuid- the layout page template entry uuidstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display 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 cp display layouts
-
findByG_LPTEU_First
public static CPDisplayLayout findByG_LPTEU_First(long groupId, String layoutPageTemplateEntryUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the first cp display layout in the ordered set where groupId = ? and layoutPageTemplateEntryUuid = ?.- Parameters:
groupId- the group IDlayoutPageTemplateEntryUuid- the layout page template entry uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByG_LPTEU_First
public static CPDisplayLayout fetchByG_LPTEU_First(long groupId, String layoutPageTemplateEntryUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where groupId = ? and layoutPageTemplateEntryUuid = ?.- Parameters:
groupId- the group IDlayoutPageTemplateEntryUuid- the layout page template entry uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp display layout, or
nullif a matching cp display layout could not be found
-
findByG_LPTEU_Last
public static CPDisplayLayout findByG_LPTEU_Last(long groupId, String layoutPageTemplateEntryUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the last cp display layout in the ordered set where groupId = ? and layoutPageTemplateEntryUuid = ?.- Parameters:
groupId- the group IDlayoutPageTemplateEntryUuid- the layout page template entry uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByG_LPTEU_Last
public static CPDisplayLayout fetchByG_LPTEU_Last(long groupId, String layoutPageTemplateEntryUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where groupId = ? and layoutPageTemplateEntryUuid = ?.- Parameters:
groupId- the group IDlayoutPageTemplateEntryUuid- the layout page template entry uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp display layout, or
nullif a matching cp display layout could not be found
-
findByG_LPTEU_PrevAndNext
public static CPDisplayLayout[] findByG_LPTEU_PrevAndNext(long CPDisplayLayoutId, long groupId, String layoutPageTemplateEntryUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the cp display layouts before and after the current cp display layout in the ordered set where groupId = ? and layoutPageTemplateEntryUuid = ?.- Parameters:
CPDisplayLayoutId- the primary key of the current cp display layoutgroupId- the group IDlayoutPageTemplateEntryUuid- the layout page template entry uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a cp display layout with the primary key could not be foundNoSuchCPDisplayLayoutException
-
removeByG_LPTEU
Removes all the cp display layouts where groupId = ? and layoutPageTemplateEntryUuid = ? from the database.- Parameters:
groupId- the group IDlayoutPageTemplateEntryUuid- the layout page template entry uuid
-
countByG_LPTEU
Returns the number of cp display layouts where groupId = ? and layoutPageTemplateEntryUuid = ?.- Parameters:
groupId- the group IDlayoutPageTemplateEntryUuid- the layout page template entry uuid- Returns:
- the number of matching cp display layouts
-
findByG_L
Returns all the cp display layouts where groupId = ? and layoutUuid = ?.- Parameters:
groupId- the group IDlayoutUuid- the layout uuid- Returns:
- the matching cp display layouts
-
findByG_L
Returns a range of all the cp display layouts where groupId = ? and layoutUuid = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
groupId- the group IDlayoutUuid- the layout uuidstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)- Returns:
- the range of matching cp display layouts
-
findByG_L
public static List<CPDisplayLayout> findByG_L(long groupId, String layoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display layouts where groupId = ? and layoutUuid = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
groupId- the group IDlayoutUuid- the layout uuidstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp display layouts
-
findByG_L
public static List<CPDisplayLayout> findByG_L(long groupId, String layoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display layouts where groupId = ? and layoutUuid = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
groupId- the group IDlayoutUuid- the layout uuidstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display 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 cp display layouts
-
findByG_L_First
public static CPDisplayLayout findByG_L_First(long groupId, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the first cp display layout in the ordered set where groupId = ? and layoutUuid = ?.- Parameters:
groupId- the group IDlayoutUuid- the layout uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByG_L_First
public static CPDisplayLayout fetchByG_L_First(long groupId, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where groupId = ? and layoutUuid = ?.- Parameters:
groupId- the group IDlayoutUuid- the layout uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp display layout, or
nullif a matching cp display layout could not be found
-
findByG_L_Last
public static CPDisplayLayout findByG_L_Last(long groupId, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the last cp display layout in the ordered set where groupId = ? and layoutUuid = ?.- Parameters:
groupId- the group IDlayoutUuid- the layout uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByG_L_Last
public static CPDisplayLayout fetchByG_L_Last(long groupId, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where groupId = ? and layoutUuid = ?.- Parameters:
groupId- the group IDlayoutUuid- the layout uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp display layout, or
nullif a matching cp display layout could not be found
-
findByG_L_PrevAndNext
public static CPDisplayLayout[] findByG_L_PrevAndNext(long CPDisplayLayoutId, long groupId, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the cp display layouts before and after the current cp display layout in the ordered set where groupId = ? and layoutUuid = ?.- Parameters:
CPDisplayLayoutId- the primary key of the current cp display layoutgroupId- the group IDlayoutUuid- the layout uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a cp display layout with the primary key could not be foundNoSuchCPDisplayLayoutException
-
removeByG_L
Removes all the cp display layouts where groupId = ? and layoutUuid = ? from the database.- Parameters:
groupId- the group IDlayoutUuid- the layout uuid
-
countByG_L
Returns the number of cp display layouts where groupId = ? and layoutUuid = ?.- Parameters:
groupId- the group IDlayoutUuid- the layout uuid- Returns:
- the number of matching cp display layouts
-
findByC_C
Returns all the cp display layouts where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the matching cp display layouts
-
findByC_C
Returns a range of all the cp display layouts where classNameId = ? and classPK = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)- Returns:
- the range of matching cp display layouts
-
findByC_C
public static List<CPDisplayLayout> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display layouts where classNameId = ? and classPK = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp display layouts
-
findByC_C
public static List<CPDisplayLayout> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display layouts where classNameId = ? and classPK = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display 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 cp display layouts
-
findByC_C_First
public static CPDisplayLayout findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the first cp display layout in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByC_C_First
public static CPDisplayLayout fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp display layout, or
nullif a matching cp display layout could not be found
-
findByC_C_Last
public static CPDisplayLayout findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the last cp display layout in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByC_C_Last
public static CPDisplayLayout fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp display layout, or
nullif a matching cp display layout could not be found
-
findByC_C_PrevAndNext
public static CPDisplayLayout[] findByC_C_PrevAndNext(long CPDisplayLayoutId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the cp display layouts before and after the current cp display layout in the ordered set where classNameId = ? and classPK = ?.- Parameters:
CPDisplayLayoutId- the primary key of the current cp display layoutclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a cp display layout with the primary key could not be foundNoSuchCPDisplayLayoutException
-
removeByC_C
public static void removeByC_C(long classNameId, long classPK) Removes all the cp display layouts where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId- the class name IDclassPK- the class pk
-
countByC_C
public static int countByC_C(long classNameId, long classPK) Returns the number of cp display layouts where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching cp display layouts
-
findByC_C_LPTEU
Returns all the cp display layouts where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the matching cp display layouts
-
findByC_C_LPTEU
public static List<CPDisplayLayout> findByC_C_LPTEU(long classNameId, long classPK, int start, int end) Returns a range of all the cp display layouts where classNameId = ? and classPK = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)- Returns:
- the range of matching cp display layouts
-
findByC_C_LPTEU
public static List<CPDisplayLayout> findByC_C_LPTEU(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display layouts where classNameId = ? and classPK = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp display layouts
-
findByC_C_LPTEU
public static List<CPDisplayLayout> findByC_C_LPTEU(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display layouts where classNameId = ? and classPK = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display 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 cp display layouts
-
findByC_C_LPTEU_First
public static CPDisplayLayout findByC_C_LPTEU_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the first cp display layout in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByC_C_LPTEU_First
public static CPDisplayLayout fetchByC_C_LPTEU_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp display layout, or
nullif a matching cp display layout could not be found
-
findByC_C_LPTEU_Last
public static CPDisplayLayout findByC_C_LPTEU_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the last cp display layout in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByC_C_LPTEU_Last
public static CPDisplayLayout fetchByC_C_LPTEU_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp display layout, or
nullif a matching cp display layout could not be found
-
findByC_C_LPTEU_PrevAndNext
public static CPDisplayLayout[] findByC_C_LPTEU_PrevAndNext(long CPDisplayLayoutId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the cp display layouts before and after the current cp display layout in the ordered set where classNameId = ? and classPK = ?.- Parameters:
CPDisplayLayoutId- the primary key of the current cp display layoutclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a cp display layout with the primary key could not be foundNoSuchCPDisplayLayoutException
-
removeByC_C_LPTEU
public static void removeByC_C_LPTEU(long classNameId, long classPK) Removes all the cp display layouts where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId- the class name IDclassPK- the class pk
-
countByC_C_LPTEU
public static int countByC_C_LPTEU(long classNameId, long classPK) Returns the number of cp display layouts where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching cp display layouts
-
findByC_C_L
Returns all the cp display layouts where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the matching cp display layouts
-
findByC_C_L
Returns a range of all the cp display layouts where classNameId = ? and classPK = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)- Returns:
- the range of matching cp display layouts
-
findByC_C_L
public static List<CPDisplayLayout> findByC_C_L(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display layouts where classNameId = ? and classPK = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp display layouts
-
findByC_C_L
public static List<CPDisplayLayout> findByC_C_L(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display layouts where classNameId = ? and classPK = ?.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 fromCPDisplayLayoutModelImpl.- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display 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 cp display layouts
-
findByC_C_L_First
public static CPDisplayLayout findByC_C_L_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the first cp display layout in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByC_C_L_First
public static CPDisplayLayout fetchByC_C_L_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the first cp display layout in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp display layout, or
nullif a matching cp display layout could not be found
-
findByC_C_L_Last
public static CPDisplayLayout findByC_C_L_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the last cp display layout in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByC_C_L_Last
public static CPDisplayLayout fetchByC_C_L_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns the last cp display layout in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp display layout, or
nullif a matching cp display layout could not be found
-
findByC_C_L_PrevAndNext
public static CPDisplayLayout[] findByC_C_L_PrevAndNext(long CPDisplayLayoutId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) throws NoSuchCPDisplayLayoutException Returns the cp display layouts before and after the current cp display layout in the ordered set where classNameId = ? and classPK = ?.- Parameters:
CPDisplayLayoutId- the primary key of the current cp display layoutclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a cp display layout with the primary key could not be foundNoSuchCPDisplayLayoutException
-
removeByC_C_L
public static void removeByC_C_L(long classNameId, long classPK) Removes all the cp display layouts where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId- the class name IDclassPK- the class pk
-
countByC_C_L
public static int countByC_C_L(long classNameId, long classPK) Returns the number of cp display layouts where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching cp display layouts
-
findByG_C_C
public static CPDisplayLayout findByG_C_C(long groupId, long classNameId, long classPK) throws NoSuchCPDisplayLayoutException Returns the cp display layout where groupId = ? and classNameId = ? and classPK = ? or throws aNoSuchCPDisplayLayoutExceptionif it could not be found.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the matching cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a matching cp display layout could not be foundNoSuchCPDisplayLayoutException
-
fetchByG_C_C
Returns the cp display layout where groupId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the matching cp display layout, or
nullif a matching cp display layout could not be found
-
fetchByG_C_C
public static CPDisplayLayout fetchByG_C_C(long groupId, long classNameId, long classPK, boolean useFinderCache) Returns the cp display layout where groupId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pkuseFinderCache- whether to use the finder cache- Returns:
- the matching cp display layout, or
nullif a matching cp display layout could not be found
-
removeByG_C_C
public static CPDisplayLayout removeByG_C_C(long groupId, long classNameId, long classPK) throws NoSuchCPDisplayLayoutException Removes the cp display layout where groupId = ? and classNameId = ? and classPK = ? from the database.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the cp display layout that was removed
- Throws:
NoSuchCPDisplayLayoutException
-
countByG_C_C
public static int countByG_C_C(long groupId, long classNameId, long classPK) Returns the number of cp display layouts where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching cp display layouts
-
cacheResult
Caches the cp display layout in the entity cache if it is enabled.- Parameters:
cpDisplayLayout- the cp display layout
-
cacheResult
Caches the cp display layouts in the entity cache if it is enabled.- Parameters:
cpDisplayLayouts- the cp display layouts
-
create
Creates a new cp display layout with the primary key. Does not add the cp display layout to the database.- Parameters:
CPDisplayLayoutId- the primary key for the new cp display layout- Returns:
- the new cp display layout
-
remove
Removes the cp display layout with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPDisplayLayoutId- the primary key of the cp display layout- Returns:
- the cp display layout that was removed
- Throws:
NoSuchCPDisplayLayoutException- if a cp display layout with the primary key could not be foundNoSuchCPDisplayLayoutException
-
updateImpl
-
findByPrimaryKey
public static CPDisplayLayout findByPrimaryKey(long CPDisplayLayoutId) throws NoSuchCPDisplayLayoutException Returns the cp display layout with the primary key or throws aNoSuchCPDisplayLayoutExceptionif it could not be found.- Parameters:
CPDisplayLayoutId- the primary key of the cp display layout- Returns:
- the cp display layout
- Throws:
NoSuchCPDisplayLayoutException- if a cp display layout with the primary key could not be foundNoSuchCPDisplayLayoutException
-
fetchByPrimaryKey
Returns the cp display layout with the primary key or returnsnullif it could not be found.- Parameters:
CPDisplayLayoutId- the primary key of the cp display layout- Returns:
- the cp display layout, or
nullif a cp display layout with the primary key could not be found
-
findAll
Returns all the cp display layouts.- Returns:
- the cp display layouts
-
findAll
Returns a range of all the cp display 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 fromCPDisplayLayoutModelImpl.- Parameters:
start- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)- Returns:
- the range of cp display layouts
-
findAll
public static List<CPDisplayLayout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator) Returns an ordered range of all the cp display 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 fromCPDisplayLayoutModelImpl.- Parameters:
start- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of cp display layouts
-
findAll
public static List<CPDisplayLayout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp display 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 fromCPDisplayLayoutModelImpl.- Parameters:
start- the lower bound of the range of cp display layoutsend- the upper bound of the range of cp display layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of cp display layouts
-
removeAll
public static void removeAll()Removes all the cp display layouts from the database. -
countAll
public static int countAll()Returns the number of cp display layouts.- Returns:
- the number of cp display layouts
-
getPersistence
-
setPersistence
-