Class LayoutPageTemplateCollectionUtil
com.liferay.layout.page.template.service.persistence.impl.LayoutPageTemplateCollectionPersistenceImpl 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(LayoutPageTemplateCollection layoutPageTemplateCollection) Caches the layout page template collection in the entity cache if it is enabled.static voidcacheResult(List<LayoutPageTemplateCollection> layoutPageTemplateCollections) Caches the layout page template collections in the entity cache if it is enabled.static voidstatic voidclearCache(LayoutPageTemplateCollection layoutPageTemplateCollection) static intcountAll()Returns the number of layout page template collections.static intcountByERC_G(String externalReferenceCode, long groupId) Returns the number of layout page template collections where externalReferenceCode = ? and groupId = ?.static intcountByG_LikeN_T(long groupId, String name, int type) Returns the number of layout page template collections where groupId = ? and name LIKE ? and type = ?.static intcountByG_LPTCK_T(long groupId, String layoutPageTemplateCollectionKey, int type) Returns the number of layout page template collections where groupId = ? and layoutPageTemplateCollectionKey = ? and type = ?.static intcountByG_N_T(long groupId, String name, int type) Returns the number of layout page template collections where groupId = ? and name = ? and type = ?.static intcountByG_P(long groupId, long parentLayoutPageTemplateCollectionId) Returns the number of layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ?.static intcountByG_P_N_T(long groupId, long parentLayoutPageTemplateCollectionId, String name, int type) Returns the number of layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ? and name = ? and type = ?.static intcountByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type) Returns the number of layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.static intcountByG_T(long groupId, int type) Returns the number of layout page template collections where groupId = ? and type = ?.static intcountByGroupId(long groupId) Returns the number of layout page template collections where groupId = ?.static intcountByUuid(String uuid) Returns the number of layout page template collections where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of layout page template collections where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of layout page template collections where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static LayoutPageTemplateCollectioncreate(long layoutPageTemplateCollectionId) Creates a new layout page template collection with the primary key.static LayoutPageTemplateCollectionfetchByERC_G(String externalReferenceCode, long groupId) Returns the layout page template collection where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found.static LayoutPageTemplateCollectionfetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the layout page template collection where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static LayoutPageTemplateCollectionfetchByG_LikeN_T_First(long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ? and name LIKE ? and type = ?.static LayoutPageTemplateCollectionfetchByG_LikeN_T_Last(long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ? and name LIKE ? and type = ?.static LayoutPageTemplateCollectionfetchByG_LPTCK_T(long groupId, String layoutPageTemplateCollectionKey, int type) Returns the layout page template collection where groupId = ? and layoutPageTemplateCollectionKey = ? and type = ? or returnsnullif it could not be found.static LayoutPageTemplateCollectionfetchByG_LPTCK_T(long groupId, String layoutPageTemplateCollectionKey, int type, boolean useFinderCache) Returns the layout page template collection where groupId = ? and layoutPageTemplateCollectionKey = ? and type = ? or returnsnullif it could not be found, optionally using the finder cache.static LayoutPageTemplateCollectionfetchByG_N_T_First(long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ? and name = ? and type = ?.static LayoutPageTemplateCollectionfetchByG_N_T_Last(long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ? and name = ? and type = ?.static LayoutPageTemplateCollectionfetchByG_P_First(long groupId, long parentLayoutPageTemplateCollectionId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ?.static LayoutPageTemplateCollectionfetchByG_P_Last(long groupId, long parentLayoutPageTemplateCollectionId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ?.static LayoutPageTemplateCollectionfetchByG_P_N_T(long groupId, long parentLayoutPageTemplateCollectionId, String name, int type) Returns the layout page template collection where groupId = ? and parentLayoutPageTemplateCollectionId = ? and name = ? and type = ? or returnsnullif it could not be found.static LayoutPageTemplateCollectionfetchByG_P_N_T(long groupId, long parentLayoutPageTemplateCollectionId, String name, int type, boolean useFinderCache) Returns the layout page template collection where groupId = ? and parentLayoutPageTemplateCollectionId = ? and name = ? and type = ? or returnsnullif it could not be found, optionally using the finder cache.static LayoutPageTemplateCollectionfetchByG_P_T_First(long groupId, long parentLayoutPageTemplateCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.static LayoutPageTemplateCollectionfetchByG_P_T_Last(long groupId, long parentLayoutPageTemplateCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.static LayoutPageTemplateCollectionfetchByG_T_First(long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ? and type = ?.static LayoutPageTemplateCollectionfetchByG_T_Last(long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ? and type = ?.static LayoutPageTemplateCollectionfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ?.static LayoutPageTemplateCollectionfetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ?.static LayoutPageTemplateCollectionfetchByPrimaryKey(long layoutPageTemplateCollectionId) Returns the layout page template collection with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) static LayoutPageTemplateCollectionfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where uuid = ? and companyId = ?.static LayoutPageTemplateCollectionfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where uuid = ? and companyId = ?.static LayoutPageTemplateCollectionfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where uuid = ?.static LayoutPageTemplateCollectionfetchByUUID_G(String uuid, long groupId) Returns the layout page template collection where uuid = ? and groupId = ? or returnsnullif it could not be found.static LayoutPageTemplateCollectionfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the layout page template collection where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static LayoutPageTemplateCollectionfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where uuid = ?.static intfilterCountByG_LikeN_T(long groupId, String name, int type) Returns the number of layout page template collections that the user has permission to view where groupId = ? and name LIKE ? and type = ?.static intfilterCountByG_N_T(long groupId, String name, int type) Returns the number of layout page template collections that the user has permission to view where groupId = ? and name = ? and type = ?.static intfilterCountByG_P(long groupId, long parentLayoutPageTemplateCollectionId) Returns the number of layout page template collections that the user has permission to view where groupId = ? and parentLayoutPageTemplateCollectionId = ?.static intfilterCountByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type) Returns the number of layout page template collections that the user has permission to view where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.static intfilterCountByG_T(long groupId, int type) Returns the number of layout page template collections that the user has permission to view where groupId = ? and type = ?.static intfilterCountByGroupId(long groupId) Returns the number of layout page template collections that the user has permission to view where groupId = ?.static List<LayoutPageTemplateCollection>filterFindByG_LikeN_T(long groupId, String name, int type) Returns all the layout page template collections that the user has permission to view where groupId = ? and name LIKE ? and type = ?.static List<LayoutPageTemplateCollection>filterFindByG_LikeN_T(long groupId, String name, int type, int start, int end) Returns a range of all the layout page template collections that the user has permission to view where groupId = ? and name LIKE ? and type = ?.static List<LayoutPageTemplateCollection>filterFindByG_LikeN_T(long groupId, String name, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections that the user has permissions to view where groupId = ? and name LIKE ? and type = ?.static LayoutPageTemplateCollection[]filterFindByG_LikeN_T_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the layout page template collections before and after the current layout page template collection in the ordered set of layout page template collections that the user has permission to view where groupId = ? and name LIKE ? and type = ?.static List<LayoutPageTemplateCollection>filterFindByG_N_T(long groupId, String name, int type) Returns all the layout page template collections that the user has permission to view where groupId = ? and name = ? and type = ?.static List<LayoutPageTemplateCollection>filterFindByG_N_T(long groupId, String name, int type, int start, int end) Returns a range of all the layout page template collections that the user has permission to view where groupId = ? and name = ? and type = ?.static List<LayoutPageTemplateCollection>filterFindByG_N_T(long groupId, String name, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections that the user has permissions to view where groupId = ? and name = ? and type = ?.static LayoutPageTemplateCollection[]filterFindByG_N_T_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the layout page template collections before and after the current layout page template collection in the ordered set of layout page template collections that the user has permission to view where groupId = ? and name = ? and type = ?.static List<LayoutPageTemplateCollection>filterFindByG_P(long groupId, long parentLayoutPageTemplateCollectionId) Returns all the layout page template collections that the user has permission to view where groupId = ? and parentLayoutPageTemplateCollectionId = ?.static List<LayoutPageTemplateCollection>filterFindByG_P(long groupId, long parentLayoutPageTemplateCollectionId, int start, int end) Returns a range of all the layout page template collections that the user has permission to view where groupId = ? and parentLayoutPageTemplateCollectionId = ?.static List<LayoutPageTemplateCollection>filterFindByG_P(long groupId, long parentLayoutPageTemplateCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections that the user has permissions to view where groupId = ? and parentLayoutPageTemplateCollectionId = ?.static LayoutPageTemplateCollection[]filterFindByG_P_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, long parentLayoutPageTemplateCollectionId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the layout page template collections before and after the current layout page template collection in the ordered set of layout page template collections that the user has permission to view where groupId = ? and parentLayoutPageTemplateCollectionId = ?.static List<LayoutPageTemplateCollection>filterFindByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type) Returns all the layout page template collections that the user has permission to view where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.static List<LayoutPageTemplateCollection>filterFindByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type, int start, int end) Returns a range of all the layout page template collections that the user has permission to view where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.static List<LayoutPageTemplateCollection>filterFindByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections that the user has permissions to view where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.static LayoutPageTemplateCollection[]filterFindByG_P_T_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, long parentLayoutPageTemplateCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the layout page template collections before and after the current layout page template collection in the ordered set of layout page template collections that the user has permission to view where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.static List<LayoutPageTemplateCollection>filterFindByG_T(long groupId, int type) Returns all the layout page template collections that the user has permission to view where groupId = ? and type = ?.static List<LayoutPageTemplateCollection>filterFindByG_T(long groupId, int type, int start, int end) Returns a range of all the layout page template collections that the user has permission to view where groupId = ? and type = ?.static List<LayoutPageTemplateCollection>filterFindByG_T(long groupId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections that the user has permissions to view where groupId = ? and type = ?.static LayoutPageTemplateCollection[]filterFindByG_T_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the layout page template collections before and after the current layout page template collection in the ordered set of layout page template collections that the user has permission to view where groupId = ? and type = ?.static List<LayoutPageTemplateCollection>filterFindByGroupId(long groupId) Returns all the layout page template collections that the user has permission to view where groupId = ?.static List<LayoutPageTemplateCollection>filterFindByGroupId(long groupId, int start, int end) Returns a range of all the layout page template collections that the user has permission to view where groupId = ?.static List<LayoutPageTemplateCollection>filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections that the user has permissions to view where groupId = ?.static LayoutPageTemplateCollection[]filterFindByGroupId_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the layout page template collections before and after the current layout page template collection in the ordered set of layout page template collections that the user has permission to view where groupId = ?.static List<LayoutPageTemplateCollection>findAll()Returns all the layout page template collections.static List<LayoutPageTemplateCollection>findAll(int start, int end) Returns a range of all the layout page template collections.static List<LayoutPageTemplateCollection>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections.static List<LayoutPageTemplateCollection>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections.static LayoutPageTemplateCollectionfindByERC_G(String externalReferenceCode, long groupId) Returns the layout page template collection where externalReferenceCode = ? and groupId = ? or throws aNoSuchPageTemplateCollectionExceptionif it could not be found.static List<LayoutPageTemplateCollection>findByG_LikeN_T(long groupId, String name, int type) Returns all the layout page template collections where groupId = ? and name LIKE ? and type = ?.static List<LayoutPageTemplateCollection>findByG_LikeN_T(long groupId, String name, int type, int start, int end) Returns a range of all the layout page template collections where groupId = ? and name LIKE ? and type = ?.static List<LayoutPageTemplateCollection>findByG_LikeN_T(long groupId, String name, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections where groupId = ? and name LIKE ? and type = ?.static List<LayoutPageTemplateCollection>findByG_LikeN_T(long groupId, String name, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections where groupId = ? and name LIKE ? and type = ?.static LayoutPageTemplateCollectionfindByG_LikeN_T_First(long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ? and name LIKE ? and type = ?.static LayoutPageTemplateCollectionfindByG_LikeN_T_Last(long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ? and name LIKE ? and type = ?.static LayoutPageTemplateCollection[]findByG_LikeN_T_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the layout page template collections before and after the current layout page template collection in the ordered set where groupId = ? and name LIKE ? and type = ?.static LayoutPageTemplateCollectionfindByG_LPTCK_T(long groupId, String layoutPageTemplateCollectionKey, int type) Returns the layout page template collection where groupId = ? and layoutPageTemplateCollectionKey = ? and type = ? or throws aNoSuchPageTemplateCollectionExceptionif it could not be found.static List<LayoutPageTemplateCollection>findByG_N_T(long groupId, String name, int type) Returns all the layout page template collections where groupId = ? and name = ? and type = ?.static List<LayoutPageTemplateCollection>findByG_N_T(long groupId, String name, int type, int start, int end) Returns a range of all the layout page template collections where groupId = ? and name = ? and type = ?.static List<LayoutPageTemplateCollection>findByG_N_T(long groupId, String name, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections where groupId = ? and name = ? and type = ?.static List<LayoutPageTemplateCollection>findByG_N_T(long groupId, String name, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections where groupId = ? and name = ? and type = ?.static LayoutPageTemplateCollectionfindByG_N_T_First(long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ? and name = ? and type = ?.static LayoutPageTemplateCollectionfindByG_N_T_Last(long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ? and name = ? and type = ?.static LayoutPageTemplateCollection[]findByG_N_T_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the layout page template collections before and after the current layout page template collection in the ordered set where groupId = ? and name = ? and type = ?.static List<LayoutPageTemplateCollection>findByG_P(long groupId, long parentLayoutPageTemplateCollectionId) Returns all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ?.static List<LayoutPageTemplateCollection>findByG_P(long groupId, long parentLayoutPageTemplateCollectionId, int start, int end) Returns a range of all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ?.static List<LayoutPageTemplateCollection>findByG_P(long groupId, long parentLayoutPageTemplateCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ?.static List<LayoutPageTemplateCollection>findByG_P(long groupId, long parentLayoutPageTemplateCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ?.static LayoutPageTemplateCollectionfindByG_P_First(long groupId, long parentLayoutPageTemplateCollectionId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ?.static LayoutPageTemplateCollectionfindByG_P_Last(long groupId, long parentLayoutPageTemplateCollectionId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ?.static LayoutPageTemplateCollectionfindByG_P_N_T(long groupId, long parentLayoutPageTemplateCollectionId, String name, int type) Returns the layout page template collection where groupId = ? and parentLayoutPageTemplateCollectionId = ? and name = ? and type = ? or throws aNoSuchPageTemplateCollectionExceptionif it could not be found.static LayoutPageTemplateCollection[]findByG_P_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, long parentLayoutPageTemplateCollectionId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the layout page template collections before and after the current layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ?.static List<LayoutPageTemplateCollection>findByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type) Returns all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.static List<LayoutPageTemplateCollection>findByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type, int start, int end) Returns a range of all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.static List<LayoutPageTemplateCollection>findByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.static List<LayoutPageTemplateCollection>findByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.static LayoutPageTemplateCollectionfindByG_P_T_First(long groupId, long parentLayoutPageTemplateCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.static LayoutPageTemplateCollectionfindByG_P_T_Last(long groupId, long parentLayoutPageTemplateCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.static LayoutPageTemplateCollection[]findByG_P_T_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, long parentLayoutPageTemplateCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the layout page template collections before and after the current layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.static List<LayoutPageTemplateCollection>findByG_T(long groupId, int type) Returns all the layout page template collections where groupId = ? and type = ?.static List<LayoutPageTemplateCollection>findByG_T(long groupId, int type, int start, int end) Returns a range of all the layout page template collections where groupId = ? and type = ?.static List<LayoutPageTemplateCollection>findByG_T(long groupId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections where groupId = ? and type = ?.static List<LayoutPageTemplateCollection>findByG_T(long groupId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections where groupId = ? and type = ?.static LayoutPageTemplateCollectionfindByG_T_First(long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ? and type = ?.static LayoutPageTemplateCollectionfindByG_T_Last(long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ? and type = ?.static LayoutPageTemplateCollection[]findByG_T_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the layout page template collections before and after the current layout page template collection in the ordered set where groupId = ? and type = ?.static List<LayoutPageTemplateCollection>findByGroupId(long groupId) Returns all the layout page template collections where groupId = ?.static List<LayoutPageTemplateCollection>findByGroupId(long groupId, int start, int end) Returns a range of all the layout page template collections where groupId = ?.static List<LayoutPageTemplateCollection>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections where groupId = ?.static List<LayoutPageTemplateCollection>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections where groupId = ?.static LayoutPageTemplateCollectionfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ?.static LayoutPageTemplateCollectionfindByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ?.static LayoutPageTemplateCollection[]findByGroupId_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the layout page template collections before and after the current layout page template collection in the ordered set where groupId = ?.static LayoutPageTemplateCollectionfindByPrimaryKey(long layoutPageTemplateCollectionId) Returns the layout page template collection with the primary key or throws aNoSuchPageTemplateCollectionExceptionif it could not be found.static List<LayoutPageTemplateCollection>findByUuid(String uuid) Returns all the layout page template collections where uuid = ?.static List<LayoutPageTemplateCollection>findByUuid(String uuid, int start, int end) Returns a range of all the layout page template collections where uuid = ?.static List<LayoutPageTemplateCollection>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections where uuid = ?.static List<LayoutPageTemplateCollection>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections where uuid = ?.static List<LayoutPageTemplateCollection>findByUuid_C(String uuid, long companyId) Returns all the layout page template collections where uuid = ? and companyId = ?.static List<LayoutPageTemplateCollection>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the layout page template collections where uuid = ? and companyId = ?.static List<LayoutPageTemplateCollection>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections where uuid = ? and companyId = ?.static List<LayoutPageTemplateCollection>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections where uuid = ? and companyId = ?.static LayoutPageTemplateCollectionfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where uuid = ? and companyId = ?.static LayoutPageTemplateCollectionfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where uuid = ? and companyId = ?.static LayoutPageTemplateCollection[]findByUuid_C_PrevAndNext(long layoutPageTemplateCollectionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the layout page template collections before and after the current layout page template collection in the ordered set where uuid = ? and companyId = ?.static LayoutPageTemplateCollectionfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where uuid = ?.static LayoutPageTemplateCollectionfindByUUID_G(String uuid, long groupId) Returns the layout page template collection where uuid = ? and groupId = ? or throws aNoSuchPageTemplateCollectionExceptionif it could not be found.static LayoutPageTemplateCollectionfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where uuid = ?.static LayoutPageTemplateCollection[]findByUuid_PrevAndNext(long layoutPageTemplateCollectionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the layout page template collections before and after the current layout page template collection in the ordered set where uuid = ?.static List<LayoutPageTemplateCollection>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<LayoutPageTemplateCollection>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<LayoutPageTemplateCollection>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) static LayoutPageTemplateCollectionremove(long layoutPageTemplateCollectionId) Removes the layout page template collection with the primary key from the database.static voidRemoves all the layout page template collections from the database.static LayoutPageTemplateCollectionremoveByERC_G(String externalReferenceCode, long groupId) Removes the layout page template collection where externalReferenceCode = ? and groupId = ? from the database.static voidremoveByG_LikeN_T(long groupId, String name, int type) Removes all the layout page template collections where groupId = ? and name LIKE ? and type = ? from the database.static LayoutPageTemplateCollectionremoveByG_LPTCK_T(long groupId, String layoutPageTemplateCollectionKey, int type) Removes the layout page template collection where groupId = ? and layoutPageTemplateCollectionKey = ? and type = ? from the database.static voidremoveByG_N_T(long groupId, String name, int type) Removes all the layout page template collections where groupId = ? and name = ? and type = ? from the database.static voidremoveByG_P(long groupId, long parentLayoutPageTemplateCollectionId) Removes all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ? from the database.static LayoutPageTemplateCollectionremoveByG_P_N_T(long groupId, long parentLayoutPageTemplateCollectionId, String name, int type) Removes the layout page template collection where groupId = ? and parentLayoutPageTemplateCollectionId = ? and name = ? and type = ? from the database.static voidremoveByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type) Removes all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ? from the database.static voidremoveByG_T(long groupId, int type) Removes all the layout page template collections where groupId = ? and type = ? from the database.static voidremoveByGroupId(long groupId) Removes all the layout page template collections where groupId = ? from the database.static voidremoveByUuid(String uuid) Removes all the layout page template collections where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the layout page template collections where uuid = ? and companyId = ? from the database.static LayoutPageTemplateCollectionremoveByUUID_G(String uuid, long groupId) Removes the layout page template collection where uuid = ? and groupId = ? from the database.static voidsetPersistence(LayoutPageTemplateCollectionPersistence persistence) static LayoutPageTemplateCollectionupdate(LayoutPageTemplateCollection layoutPageTemplateCollection) static LayoutPageTemplateCollectionupdate(LayoutPageTemplateCollection layoutPageTemplateCollection, com.liferay.portal.kernel.service.ServiceContext serviceContext) static LayoutPageTemplateCollectionupdateImpl(LayoutPageTemplateCollection layoutPageTemplateCollection)
-
Constructor Details
-
LayoutPageTemplateCollectionUtil
public LayoutPageTemplateCollectionUtil()
-
-
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
public static Map<Serializable,LayoutPageTemplateCollection> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<LayoutPageTemplateCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<LayoutPageTemplateCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<LayoutPageTemplateCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static LayoutPageTemplateCollection update(LayoutPageTemplateCollection layoutPageTemplateCollection) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static LayoutPageTemplateCollection update(LayoutPageTemplateCollection layoutPageTemplateCollection, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the layout page template collections where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching layout page template collections
-
findByUuid
Returns a range of all the layout page template collections 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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)- Returns:
- the range of matching layout page template collections
-
findByUuid
public static List<LayoutPageTemplateCollection> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections 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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout page template collections
-
findByUuid
public static List<LayoutPageTemplateCollection> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections 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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout page template collections
-
findByUuid_First
public static LayoutPageTemplateCollection findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the first layout page template collection in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByUuid_First
public static LayoutPageTemplateCollection fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
findByUuid_Last
public static LayoutPageTemplateCollection findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the last layout page template collection in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByUuid_Last
public static LayoutPageTemplateCollection fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
findByUuid_PrevAndNext
public static LayoutPageTemplateCollection[] findByUuid_PrevAndNext(long layoutPageTemplateCollectionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the layout page template collections before and after the current layout page template collection in the ordered set where uuid = ?.- Parameters:
layoutPageTemplateCollectionId- the primary key of the current layout page template collectionuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a layout page template collection with the primary key could not be foundNoSuchPageTemplateCollectionException
-
removeByUuid
Removes all the layout page template collections where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of layout page template collections where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching layout page template collections
-
findByUUID_G
public static LayoutPageTemplateCollection findByUUID_G(String uuid, long groupId) throws NoSuchPageTemplateCollectionException Returns the layout page template collection where uuid = ? and groupId = ? or throws aNoSuchPageTemplateCollectionExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByUUID_G
Returns the layout page template collection 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 layout page template collection, or
nullif a matching layout page template collection could not be found
-
fetchByUUID_G
public static LayoutPageTemplateCollection fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the layout page template collection 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 layout page template collection, or
nullif a matching layout page template collection could not be found
-
removeByUUID_G
public static LayoutPageTemplateCollection removeByUUID_G(String uuid, long groupId) throws NoSuchPageTemplateCollectionException Removes the layout page template collection where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the layout page template collection that was removed
- Throws:
NoSuchPageTemplateCollectionException
-
countByUUID_G
Returns the number of layout page template collections where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching layout page template collections
-
findByUuid_C
Returns all the layout page template collections where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching layout page template collections
-
findByUuid_C
public static List<LayoutPageTemplateCollection> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the layout page template collections 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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)- Returns:
- the range of matching layout page template collections
-
findByUuid_C
public static List<LayoutPageTemplateCollection> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections 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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout page template collections
-
findByUuid_C
public static List<LayoutPageTemplateCollection> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections 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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout page template collections
-
findByUuid_C_First
public static LayoutPageTemplateCollection findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the first layout page template collection in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByUuid_C_First
public static LayoutPageTemplateCollection fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
findByUuid_C_Last
public static LayoutPageTemplateCollection findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the last layout page template collection in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByUuid_C_Last
public static LayoutPageTemplateCollection fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
findByUuid_C_PrevAndNext
public static LayoutPageTemplateCollection[] findByUuid_C_PrevAndNext(long layoutPageTemplateCollectionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the layout page template collections before and after the current layout page template collection in the ordered set where uuid = ? and companyId = ?.- Parameters:
layoutPageTemplateCollectionId- the primary key of the current layout page template collectionuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a layout page template collection with the primary key could not be foundNoSuchPageTemplateCollectionException
-
removeByUuid_C
Removes all the layout page template collections where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of layout page template collections where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching layout page template collections
-
findByGroupId
Returns all the layout page template collections where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching layout page template collections
-
findByGroupId
Returns a range of all the layout page template collections 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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)- Returns:
- the range of matching layout page template collections
-
findByGroupId
public static List<LayoutPageTemplateCollection> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections 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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout page template collections
-
findByGroupId
public static List<LayoutPageTemplateCollection> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections 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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout page template collections
-
findByGroupId_First
public static LayoutPageTemplateCollection findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the first layout page template collection in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByGroupId_First
public static LayoutPageTemplateCollection fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
findByGroupId_Last
public static LayoutPageTemplateCollection findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the last layout page template collection in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByGroupId_Last
public static LayoutPageTemplateCollection fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
findByGroupId_PrevAndNext
public static LayoutPageTemplateCollection[] findByGroupId_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the layout page template collections before and after the current layout page template collection in the ordered set where groupId = ?.- Parameters:
layoutPageTemplateCollectionId- the primary key of the current layout page template collectiongroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a layout page template collection with the primary key could not be foundNoSuchPageTemplateCollectionException
-
filterFindByGroupId
Returns all the layout page template collections that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching layout page template collections that the user has permission to view
-
filterFindByGroupId
public static List<LayoutPageTemplateCollection> filterFindByGroupId(long groupId, int start, int end) Returns a range of all the layout page template collections that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)- Returns:
- the range of matching layout page template collections that the user has permission to view
-
filterFindByGroupId
public static List<LayoutPageTemplateCollection> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections that the user has permissions to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout page template collections that the user has permission to view
-
filterFindByGroupId_PrevAndNext
public static LayoutPageTemplateCollection[] filterFindByGroupId_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the layout page template collections before and after the current layout page template collection in the ordered set of layout page template collections that the user has permission to view where groupId = ?.- Parameters:
layoutPageTemplateCollectionId- the primary key of the current layout page template collectiongroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a layout page template collection with the primary key could not be foundNoSuchPageTemplateCollectionException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the layout page template collections where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of layout page template collections where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching layout page template collections
-
filterCountByGroupId
public static int filterCountByGroupId(long groupId) Returns the number of layout page template collections that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching layout page template collections that the user has permission to view
-
findByG_P
public static List<LayoutPageTemplateCollection> findByG_P(long groupId, long parentLayoutPageTemplateCollectionId) Returns all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection ID- Returns:
- the matching layout page template collections
-
findByG_P
public static List<LayoutPageTemplateCollection> findByG_P(long groupId, long parentLayoutPageTemplateCollectionId, int start, int end) Returns a range of all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ?.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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDstart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)- Returns:
- the range of matching layout page template collections
-
findByG_P
public static List<LayoutPageTemplateCollection> findByG_P(long groupId, long parentLayoutPageTemplateCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ?.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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDstart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout page template collections
-
findByG_P
public static List<LayoutPageTemplateCollection> findByG_P(long groupId, long parentLayoutPageTemplateCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ?.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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDstart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout page template collections
-
findByG_P_First
public static LayoutPageTemplateCollection findByG_P_First(long groupId, long parentLayoutPageTemplateCollectionId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the first layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByG_P_First
public static LayoutPageTemplateCollection fetchByG_P_First(long groupId, long parentLayoutPageTemplateCollectionId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
findByG_P_Last
public static LayoutPageTemplateCollection findByG_P_Last(long groupId, long parentLayoutPageTemplateCollectionId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the last layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByG_P_Last
public static LayoutPageTemplateCollection fetchByG_P_Last(long groupId, long parentLayoutPageTemplateCollectionId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
findByG_P_PrevAndNext
public static LayoutPageTemplateCollection[] findByG_P_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, long parentLayoutPageTemplateCollectionId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the layout page template collections before and after the current layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ?.- Parameters:
layoutPageTemplateCollectionId- the primary key of the current layout page template collectiongroupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a layout page template collection with the primary key could not be foundNoSuchPageTemplateCollectionException
-
filterFindByG_P
public static List<LayoutPageTemplateCollection> filterFindByG_P(long groupId, long parentLayoutPageTemplateCollectionId) Returns all the layout page template collections that the user has permission to view where groupId = ? and parentLayoutPageTemplateCollectionId = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection ID- Returns:
- the matching layout page template collections that the user has permission to view
-
filterFindByG_P
public static List<LayoutPageTemplateCollection> filterFindByG_P(long groupId, long parentLayoutPageTemplateCollectionId, int start, int end) Returns a range of all the layout page template collections that the user has permission to view where groupId = ? and parentLayoutPageTemplateCollectionId = ?.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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDstart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)- Returns:
- the range of matching layout page template collections that the user has permission to view
-
filterFindByG_P
public static List<LayoutPageTemplateCollection> filterFindByG_P(long groupId, long parentLayoutPageTemplateCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections that the user has permissions to view where groupId = ? and parentLayoutPageTemplateCollectionId = ?.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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDstart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout page template collections that the user has permission to view
-
filterFindByG_P_PrevAndNext
public static LayoutPageTemplateCollection[] filterFindByG_P_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, long parentLayoutPageTemplateCollectionId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the layout page template collections before and after the current layout page template collection in the ordered set of layout page template collections that the user has permission to view where groupId = ? and parentLayoutPageTemplateCollectionId = ?.- Parameters:
layoutPageTemplateCollectionId- the primary key of the current layout page template collectiongroupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a layout page template collection with the primary key could not be foundNoSuchPageTemplateCollectionException
-
removeByG_P
public static void removeByG_P(long groupId, long parentLayoutPageTemplateCollectionId) Removes all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ? from the database.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection ID
-
countByG_P
public static int countByG_P(long groupId, long parentLayoutPageTemplateCollectionId) Returns the number of layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection ID- Returns:
- the number of matching layout page template collections
-
filterCountByG_P
public static int filterCountByG_P(long groupId, long parentLayoutPageTemplateCollectionId) Returns the number of layout page template collections that the user has permission to view where groupId = ? and parentLayoutPageTemplateCollectionId = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection ID- Returns:
- the number of matching layout page template collections that the user has permission to view
-
findByG_T
Returns all the layout page template collections where groupId = ? and type = ?.- Parameters:
groupId- the group IDtype- the type- Returns:
- the matching layout page template collections
-
findByG_T
public static List<LayoutPageTemplateCollection> findByG_T(long groupId, int type, int start, int end) Returns a range of all the layout page template collections where groupId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDtype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)- Returns:
- the range of matching layout page template collections
-
findByG_T
public static List<LayoutPageTemplateCollection> findByG_T(long groupId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections where groupId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDtype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout page template collections
-
findByG_T
public static List<LayoutPageTemplateCollection> findByG_T(long groupId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections where groupId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDtype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout page template collections
-
findByG_T_First
public static LayoutPageTemplateCollection findByG_T_First(long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the first layout page template collection in the ordered set where groupId = ? and type = ?.- Parameters:
groupId- the group IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByG_T_First
public static LayoutPageTemplateCollection fetchByG_T_First(long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ? and type = ?.- Parameters:
groupId- the group IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
findByG_T_Last
public static LayoutPageTemplateCollection findByG_T_Last(long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the last layout page template collection in the ordered set where groupId = ? and type = ?.- Parameters:
groupId- the group IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByG_T_Last
public static LayoutPageTemplateCollection fetchByG_T_Last(long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ? and type = ?.- Parameters:
groupId- the group IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
findByG_T_PrevAndNext
public static LayoutPageTemplateCollection[] findByG_T_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the layout page template collections before and after the current layout page template collection in the ordered set where groupId = ? and type = ?.- Parameters:
layoutPageTemplateCollectionId- the primary key of the current layout page template collectiongroupId- the group IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a layout page template collection with the primary key could not be foundNoSuchPageTemplateCollectionException
-
filterFindByG_T
Returns all the layout page template collections that the user has permission to view where groupId = ? and type = ?.- Parameters:
groupId- the group IDtype- the type- Returns:
- the matching layout page template collections that the user has permission to view
-
filterFindByG_T
public static List<LayoutPageTemplateCollection> filterFindByG_T(long groupId, int type, int start, int end) Returns a range of all the layout page template collections that the user has permission to view where groupId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDtype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)- Returns:
- the range of matching layout page template collections that the user has permission to view
-
filterFindByG_T
public static List<LayoutPageTemplateCollection> filterFindByG_T(long groupId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections that the user has permissions to view where groupId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDtype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout page template collections that the user has permission to view
-
filterFindByG_T_PrevAndNext
public static LayoutPageTemplateCollection[] filterFindByG_T_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the layout page template collections before and after the current layout page template collection in the ordered set of layout page template collections that the user has permission to view where groupId = ? and type = ?.- Parameters:
layoutPageTemplateCollectionId- the primary key of the current layout page template collectiongroupId- the group IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a layout page template collection with the primary key could not be foundNoSuchPageTemplateCollectionException
-
removeByG_T
public static void removeByG_T(long groupId, int type) Removes all the layout page template collections where groupId = ? and type = ? from the database.- Parameters:
groupId- the group IDtype- the type
-
countByG_T
public static int countByG_T(long groupId, int type) Returns the number of layout page template collections where groupId = ? and type = ?.- Parameters:
groupId- the group IDtype- the type- Returns:
- the number of matching layout page template collections
-
filterCountByG_T
public static int filterCountByG_T(long groupId, int type) Returns the number of layout page template collections that the user has permission to view where groupId = ? and type = ?.- Parameters:
groupId- the group IDtype- the type- Returns:
- the number of matching layout page template collections that the user has permission to view
-
findByG_P_T
public static List<LayoutPageTemplateCollection> findByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type) Returns all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDtype- the type- Returns:
- the matching layout page template collections
-
findByG_P_T
public static List<LayoutPageTemplateCollection> findByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type, int start, int end) Returns a range of all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDtype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)- Returns:
- the range of matching layout page template collections
-
findByG_P_T
public static List<LayoutPageTemplateCollection> findByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDtype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout page template collections
-
findByG_P_T
public static List<LayoutPageTemplateCollection> findByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDtype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout page template collections
-
findByG_P_T_First
public static LayoutPageTemplateCollection findByG_P_T_First(long groupId, long parentLayoutPageTemplateCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the first layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByG_P_T_First
public static LayoutPageTemplateCollection fetchByG_P_T_First(long groupId, long parentLayoutPageTemplateCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
findByG_P_T_Last
public static LayoutPageTemplateCollection findByG_P_T_Last(long groupId, long parentLayoutPageTemplateCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the last layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByG_P_T_Last
public static LayoutPageTemplateCollection fetchByG_P_T_Last(long groupId, long parentLayoutPageTemplateCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
findByG_P_T_PrevAndNext
public static LayoutPageTemplateCollection[] findByG_P_T_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, long parentLayoutPageTemplateCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the layout page template collections before and after the current layout page template collection in the ordered set where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.- Parameters:
layoutPageTemplateCollectionId- the primary key of the current layout page template collectiongroupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a layout page template collection with the primary key could not be foundNoSuchPageTemplateCollectionException
-
filterFindByG_P_T
public static List<LayoutPageTemplateCollection> filterFindByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type) Returns all the layout page template collections that the user has permission to view where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDtype- the type- Returns:
- the matching layout page template collections that the user has permission to view
-
filterFindByG_P_T
public static List<LayoutPageTemplateCollection> filterFindByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type, int start, int end) Returns a range of all the layout page template collections that the user has permission to view where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDtype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)- Returns:
- the range of matching layout page template collections that the user has permission to view
-
filterFindByG_P_T
public static List<LayoutPageTemplateCollection> filterFindByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections that the user has permissions to view where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDtype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout page template collections that the user has permission to view
-
filterFindByG_P_T_PrevAndNext
public static LayoutPageTemplateCollection[] filterFindByG_P_T_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, long parentLayoutPageTemplateCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the layout page template collections before and after the current layout page template collection in the ordered set of layout page template collections that the user has permission to view where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.- Parameters:
layoutPageTemplateCollectionId- the primary key of the current layout page template collectiongroupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a layout page template collection with the primary key could not be foundNoSuchPageTemplateCollectionException
-
removeByG_P_T
public static void removeByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type) Removes all the layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ? from the database.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDtype- the type
-
countByG_P_T
public static int countByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type) Returns the number of layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDtype- the type- Returns:
- the number of matching layout page template collections
-
filterCountByG_P_T
public static int filterCountByG_P_T(long groupId, long parentLayoutPageTemplateCollectionId, int type) Returns the number of layout page template collections that the user has permission to view where groupId = ? and parentLayoutPageTemplateCollectionId = ? and type = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDtype- the type- Returns:
- the number of matching layout page template collections that the user has permission to view
-
findByG_LPTCK_T
public static LayoutPageTemplateCollection findByG_LPTCK_T(long groupId, String layoutPageTemplateCollectionKey, int type) throws NoSuchPageTemplateCollectionException Returns the layout page template collection where groupId = ? and layoutPageTemplateCollectionKey = ? and type = ? or throws aNoSuchPageTemplateCollectionExceptionif it could not be found.- Parameters:
groupId- the group IDlayoutPageTemplateCollectionKey- the layout page template collection keytype- the type- Returns:
- the matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByG_LPTCK_T
public static LayoutPageTemplateCollection fetchByG_LPTCK_T(long groupId, String layoutPageTemplateCollectionKey, int type) Returns the layout page template collection where groupId = ? and layoutPageTemplateCollectionKey = ? and type = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
groupId- the group IDlayoutPageTemplateCollectionKey- the layout page template collection keytype- the type- Returns:
- the matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
fetchByG_LPTCK_T
public static LayoutPageTemplateCollection fetchByG_LPTCK_T(long groupId, String layoutPageTemplateCollectionKey, int type, boolean useFinderCache) Returns the layout page template collection where groupId = ? and layoutPageTemplateCollectionKey = ? and type = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
groupId- the group IDlayoutPageTemplateCollectionKey- the layout page template collection keytype- the typeuseFinderCache- whether to use the finder cache- Returns:
- the matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
removeByG_LPTCK_T
public static LayoutPageTemplateCollection removeByG_LPTCK_T(long groupId, String layoutPageTemplateCollectionKey, int type) throws NoSuchPageTemplateCollectionException Removes the layout page template collection where groupId = ? and layoutPageTemplateCollectionKey = ? and type = ? from the database.- Parameters:
groupId- the group IDlayoutPageTemplateCollectionKey- the layout page template collection keytype- the type- Returns:
- the layout page template collection that was removed
- Throws:
NoSuchPageTemplateCollectionException
-
countByG_LPTCK_T
Returns the number of layout page template collections where groupId = ? and layoutPageTemplateCollectionKey = ? and type = ?.- Parameters:
groupId- the group IDlayoutPageTemplateCollectionKey- the layout page template collection keytype- the type- Returns:
- the number of matching layout page template collections
-
findByG_N_T
Returns all the layout page template collections where groupId = ? and name = ? and type = ?.- Parameters:
groupId- the group IDname- the nametype- the type- Returns:
- the matching layout page template collections
-
findByG_N_T
public static List<LayoutPageTemplateCollection> findByG_N_T(long groupId, String name, int type, int start, int end) Returns a range of all the layout page template collections where groupId = ? and name = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDname- the nametype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)- Returns:
- the range of matching layout page template collections
-
findByG_N_T
public static List<LayoutPageTemplateCollection> findByG_N_T(long groupId, String name, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections where groupId = ? and name = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDname- the nametype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout page template collections
-
findByG_N_T
public static List<LayoutPageTemplateCollection> findByG_N_T(long groupId, String name, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections where groupId = ? and name = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDname- the nametype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout page template collections
-
findByG_N_T_First
public static LayoutPageTemplateCollection findByG_N_T_First(long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the first layout page template collection in the ordered set where groupId = ? and name = ? and type = ?.- Parameters:
groupId- the group IDname- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByG_N_T_First
public static LayoutPageTemplateCollection fetchByG_N_T_First(long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ? and name = ? and type = ?.- Parameters:
groupId- the group IDname- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
findByG_N_T_Last
public static LayoutPageTemplateCollection findByG_N_T_Last(long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the last layout page template collection in the ordered set where groupId = ? and name = ? and type = ?.- Parameters:
groupId- the group IDname- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByG_N_T_Last
public static LayoutPageTemplateCollection fetchByG_N_T_Last(long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ? and name = ? and type = ?.- Parameters:
groupId- the group IDname- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
findByG_N_T_PrevAndNext
public static LayoutPageTemplateCollection[] findByG_N_T_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the layout page template collections before and after the current layout page template collection in the ordered set where groupId = ? and name = ? and type = ?.- Parameters:
layoutPageTemplateCollectionId- the primary key of the current layout page template collectiongroupId- the group IDname- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a layout page template collection with the primary key could not be foundNoSuchPageTemplateCollectionException
-
filterFindByG_N_T
public static List<LayoutPageTemplateCollection> filterFindByG_N_T(long groupId, String name, int type) Returns all the layout page template collections that the user has permission to view where groupId = ? and name = ? and type = ?.- Parameters:
groupId- the group IDname- the nametype- the type- Returns:
- the matching layout page template collections that the user has permission to view
-
filterFindByG_N_T
public static List<LayoutPageTemplateCollection> filterFindByG_N_T(long groupId, String name, int type, int start, int end) Returns a range of all the layout page template collections that the user has permission to view where groupId = ? and name = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDname- the nametype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)- Returns:
- the range of matching layout page template collections that the user has permission to view
-
filterFindByG_N_T
public static List<LayoutPageTemplateCollection> filterFindByG_N_T(long groupId, String name, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections that the user has permissions to view where groupId = ? and name = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDname- the nametype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout page template collections that the user has permission to view
-
filterFindByG_N_T_PrevAndNext
public static LayoutPageTemplateCollection[] filterFindByG_N_T_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the layout page template collections before and after the current layout page template collection in the ordered set of layout page template collections that the user has permission to view where groupId = ? and name = ? and type = ?.- Parameters:
layoutPageTemplateCollectionId- the primary key of the current layout page template collectiongroupId- the group IDname- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a layout page template collection with the primary key could not be foundNoSuchPageTemplateCollectionException
-
removeByG_N_T
Removes all the layout page template collections where groupId = ? and name = ? and type = ? from the database.- Parameters:
groupId- the group IDname- the nametype- the type
-
countByG_N_T
Returns the number of layout page template collections where groupId = ? and name = ? and type = ?.- Parameters:
groupId- the group IDname- the nametype- the type- Returns:
- the number of matching layout page template collections
-
filterCountByG_N_T
Returns the number of layout page template collections that the user has permission to view where groupId = ? and name = ? and type = ?.- Parameters:
groupId- the group IDname- the nametype- the type- Returns:
- the number of matching layout page template collections that the user has permission to view
-
findByG_LikeN_T
public static List<LayoutPageTemplateCollection> findByG_LikeN_T(long groupId, String name, int type) Returns all the layout page template collections where groupId = ? and name LIKE ? and type = ?.- Parameters:
groupId- the group IDname- the nametype- the type- Returns:
- the matching layout page template collections
-
findByG_LikeN_T
public static List<LayoutPageTemplateCollection> findByG_LikeN_T(long groupId, String name, int type, int start, int end) Returns a range of all the layout page template collections where groupId = ? and name LIKE ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDname- the nametype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)- Returns:
- the range of matching layout page template collections
-
findByG_LikeN_T
public static List<LayoutPageTemplateCollection> findByG_LikeN_T(long groupId, String name, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections where groupId = ? and name LIKE ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDname- the nametype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout page template collections
-
findByG_LikeN_T
public static List<LayoutPageTemplateCollection> findByG_LikeN_T(long groupId, String name, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections where groupId = ? and name LIKE ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDname- the nametype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout page template collections
-
findByG_LikeN_T_First
public static LayoutPageTemplateCollection findByG_LikeN_T_First(long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the first layout page template collection in the ordered set where groupId = ? and name LIKE ? and type = ?.- Parameters:
groupId- the group IDname- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByG_LikeN_T_First
public static LayoutPageTemplateCollection fetchByG_LikeN_T_First(long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the first layout page template collection in the ordered set where groupId = ? and name LIKE ? and type = ?.- Parameters:
groupId- the group IDname- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
findByG_LikeN_T_Last
public static LayoutPageTemplateCollection findByG_LikeN_T_Last(long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the last layout page template collection in the ordered set where groupId = ? and name LIKE ? and type = ?.- Parameters:
groupId- the group IDname- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByG_LikeN_T_Last
public static LayoutPageTemplateCollection fetchByG_LikeN_T_Last(long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns the last layout page template collection in the ordered set where groupId = ? and name LIKE ? and type = ?.- Parameters:
groupId- the group IDname- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
findByG_LikeN_T_PrevAndNext
public static LayoutPageTemplateCollection[] findByG_LikeN_T_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the layout page template collections before and after the current layout page template collection in the ordered set where groupId = ? and name LIKE ? and type = ?.- Parameters:
layoutPageTemplateCollectionId- the primary key of the current layout page template collectiongroupId- the group IDname- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a layout page template collection with the primary key could not be foundNoSuchPageTemplateCollectionException
-
filterFindByG_LikeN_T
public static List<LayoutPageTemplateCollection> filterFindByG_LikeN_T(long groupId, String name, int type) Returns all the layout page template collections that the user has permission to view where groupId = ? and name LIKE ? and type = ?.- Parameters:
groupId- the group IDname- the nametype- the type- Returns:
- the matching layout page template collections that the user has permission to view
-
filterFindByG_LikeN_T
public static List<LayoutPageTemplateCollection> filterFindByG_LikeN_T(long groupId, String name, int type, int start, int end) Returns a range of all the layout page template collections that the user has permission to view where groupId = ? and name LIKE ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDname- the nametype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)- Returns:
- the range of matching layout page template collections that the user has permission to view
-
filterFindByG_LikeN_T
public static List<LayoutPageTemplateCollection> filterFindByG_LikeN_T(long groupId, String name, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections that the user has permissions to view where groupId = ? and name LIKE ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutPageTemplateCollectionModelImpl.- Parameters:
groupId- the group IDname- the nametype- the typestart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout page template collections that the user has permission to view
-
filterFindByG_LikeN_T_PrevAndNext
public static LayoutPageTemplateCollection[] filterFindByG_LikeN_T_PrevAndNext(long layoutPageTemplateCollectionId, long groupId, String name, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) throws NoSuchPageTemplateCollectionException Returns the layout page template collections before and after the current layout page template collection in the ordered set of layout page template collections that the user has permission to view where groupId = ? and name LIKE ? and type = ?.- Parameters:
layoutPageTemplateCollectionId- the primary key of the current layout page template collectiongroupId- the group IDname- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a layout page template collection with the primary key could not be foundNoSuchPageTemplateCollectionException
-
removeByG_LikeN_T
Removes all the layout page template collections where groupId = ? and name LIKE ? and type = ? from the database.- Parameters:
groupId- the group IDname- the nametype- the type
-
countByG_LikeN_T
Returns the number of layout page template collections where groupId = ? and name LIKE ? and type = ?.- Parameters:
groupId- the group IDname- the nametype- the type- Returns:
- the number of matching layout page template collections
-
filterCountByG_LikeN_T
Returns the number of layout page template collections that the user has permission to view where groupId = ? and name LIKE ? and type = ?.- Parameters:
groupId- the group IDname- the nametype- the type- Returns:
- the number of matching layout page template collections that the user has permission to view
-
findByG_P_N_T
public static LayoutPageTemplateCollection findByG_P_N_T(long groupId, long parentLayoutPageTemplateCollectionId, String name, int type) throws NoSuchPageTemplateCollectionException Returns the layout page template collection where groupId = ? and parentLayoutPageTemplateCollectionId = ? and name = ? and type = ? or throws aNoSuchPageTemplateCollectionExceptionif it could not be found.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDname- the nametype- the type- Returns:
- the matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByG_P_N_T
public static LayoutPageTemplateCollection fetchByG_P_N_T(long groupId, long parentLayoutPageTemplateCollectionId, String name, int type) Returns the layout page template collection where groupId = ? and parentLayoutPageTemplateCollectionId = ? and name = ? and type = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDname- the nametype- the type- Returns:
- the matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
fetchByG_P_N_T
public static LayoutPageTemplateCollection fetchByG_P_N_T(long groupId, long parentLayoutPageTemplateCollectionId, String name, int type, boolean useFinderCache) Returns the layout page template collection where groupId = ? and parentLayoutPageTemplateCollectionId = ? and name = ? and type = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDname- the nametype- the typeuseFinderCache- whether to use the finder cache- Returns:
- the matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
removeByG_P_N_T
public static LayoutPageTemplateCollection removeByG_P_N_T(long groupId, long parentLayoutPageTemplateCollectionId, String name, int type) throws NoSuchPageTemplateCollectionException Removes the layout page template collection where groupId = ? and parentLayoutPageTemplateCollectionId = ? and name = ? and type = ? from the database.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDname- the nametype- the type- Returns:
- the layout page template collection that was removed
- Throws:
NoSuchPageTemplateCollectionException
-
countByG_P_N_T
public static int countByG_P_N_T(long groupId, long parentLayoutPageTemplateCollectionId, String name, int type) Returns the number of layout page template collections where groupId = ? and parentLayoutPageTemplateCollectionId = ? and name = ? and type = ?.- Parameters:
groupId- the group IDparentLayoutPageTemplateCollectionId- the parent layout page template collection IDname- the nametype- the type- Returns:
- the number of matching layout page template collections
-
findByERC_G
public static LayoutPageTemplateCollection findByERC_G(String externalReferenceCode, long groupId) throws NoSuchPageTemplateCollectionException Returns the layout page template collection where externalReferenceCode = ? and groupId = ? or throws aNoSuchPageTemplateCollectionExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a matching layout page template collection could not be foundNoSuchPageTemplateCollectionException
-
fetchByERC_G
Returns the layout page template collection where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
fetchByERC_G
public static LayoutPageTemplateCollection fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the layout page template collection where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
removeByERC_G
public static LayoutPageTemplateCollection removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchPageTemplateCollectionException Removes the layout page template collection where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the layout page template collection that was removed
- Throws:
NoSuchPageTemplateCollectionException
-
countByERC_G
Returns the number of layout page template collections where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the number of matching layout page template collections
-
cacheResult
Caches the layout page template collection in the entity cache if it is enabled.- Parameters:
layoutPageTemplateCollection- the layout page template collection
-
cacheResult
Caches the layout page template collections in the entity cache if it is enabled.- Parameters:
layoutPageTemplateCollections- the layout page template collections
-
create
Creates a new layout page template collection with the primary key. Does not add the layout page template collection to the database.- Parameters:
layoutPageTemplateCollectionId- the primary key for the new layout page template collection- Returns:
- the new layout page template collection
-
remove
public static LayoutPageTemplateCollection remove(long layoutPageTemplateCollectionId) throws NoSuchPageTemplateCollectionException Removes the layout page template collection with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
layoutPageTemplateCollectionId- the primary key of the layout page template collection- Returns:
- the layout page template collection that was removed
- Throws:
NoSuchPageTemplateCollectionException- if a layout page template collection with the primary key could not be foundNoSuchPageTemplateCollectionException
-
updateImpl
public static LayoutPageTemplateCollection updateImpl(LayoutPageTemplateCollection layoutPageTemplateCollection) -
findByPrimaryKey
public static LayoutPageTemplateCollection findByPrimaryKey(long layoutPageTemplateCollectionId) throws NoSuchPageTemplateCollectionException Returns the layout page template collection with the primary key or throws aNoSuchPageTemplateCollectionExceptionif it could not be found.- Parameters:
layoutPageTemplateCollectionId- the primary key of the layout page template collection- Returns:
- the layout page template collection
- Throws:
NoSuchPageTemplateCollectionException- if a layout page template collection with the primary key could not be foundNoSuchPageTemplateCollectionException
-
fetchByPrimaryKey
Returns the layout page template collection with the primary key or returnsnullif it could not be found.- Parameters:
layoutPageTemplateCollectionId- the primary key of the layout page template collection- Returns:
- the layout page template collection, or
nullif a layout page template collection with the primary key could not be found
-
findAll
Returns all the layout page template collections.- Returns:
- the layout page template collections
-
findAll
Returns a range of all the layout page template collections.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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
start- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)- Returns:
- the range of layout page template collections
-
findAll
public static List<LayoutPageTemplateCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns an ordered range of all the layout page template collections.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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
start- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of layout page template collections
-
findAll
public static List<LayoutPageTemplateCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout page template collections.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 fromLayoutPageTemplateCollectionModelImpl.- Parameters:
start- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of layout page template collections
-
removeAll
public static void removeAll()Removes all the layout page template collections from the database. -
countAll
public static int countAll()Returns the number of layout page template collections.- Returns:
- the number of layout page template collections
-
getPersistence
-
setPersistence
-