Class LayoutPageTemplateCollectionUtil

java.lang.Object
com.liferay.layout.page.template.service.persistence.LayoutPageTemplateCollectionUtil

public class LayoutPageTemplateCollectionUtil extends Object
The persistence utility for the layout page template collection service. This utility wraps 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 Details

    • LayoutPageTemplateCollectionUtil

      public LayoutPageTemplateCollectionUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(LayoutPageTemplateCollection layoutPageTemplateCollection)
      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

      public static List<LayoutPageTemplateCollection> findByUuid(String uuid)
      Returns all the layout page template collections where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching layout page template collections
    • findByUuid

      public static List<LayoutPageTemplateCollection> findByUuid(String uuid, int start, int end)
      Returns a range of all the layout page template collections where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of layout page template collections
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template collection, or null if 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template collection, or null if 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 collection
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchPageTemplateCollectionException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the layout page template collections where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      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 a NoSuchPageTemplateCollectionException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • fetchByUUID_G

      public static LayoutPageTemplateCollection fetchByUUID_G(String uuid, long groupId)
      Returns the layout page template collection where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching layout page template collection, or null if 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout page template collection, or null if 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 uuid
      groupId - the group ID
      Returns:
      the layout page template collection that was removed
      Throws:
      NoSuchPageTemplateCollectionException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of layout page template collections where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching layout page template collections
    • findByUuid_C

      public static List<LayoutPageTemplateCollection> findByUuid_C(String uuid, long companyId)
      Returns all the layout page template collections where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of layout page template collections
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template collection, or null if 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template collection, or null if 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 collection
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchPageTemplateCollectionException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the layout page template collections where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of layout page template collections where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching layout page template collections
    • findByGroupId

      public static List<LayoutPageTemplateCollection> findByGroupId(long groupId)
      Returns all the layout page template collections where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching layout page template collections
    • findByGroupId

      public static List<LayoutPageTemplateCollection> findByGroupId(long groupId, int start, int end)
      Returns a range of all the layout page template collections where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of layout page template collections
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template collection, or null if 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template collection, or null if 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 collection
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchPageTemplateCollectionException
    • filterFindByGroupId

      public static List<LayoutPageTemplateCollection> filterFindByGroupId(long groupId)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of layout page template collections
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 collection
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchPageTemplateCollectionException
    • 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 ID
      parentLayoutPageTemplateCollectionId - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      start - the lower bound of the range of layout page template collections
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template collection, or null if 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 ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template collection, or null if 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 collection
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchPageTemplateCollectionException
    • 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 ID
      parentLayoutPageTemplateCollectionId - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      start - the lower bound of the range of layout page template collections
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 collection
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchPageTemplateCollectionException
    • 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 ID
      parentLayoutPageTemplateCollectionId - 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 ID
      parentLayoutPageTemplateCollectionId - 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 ID
      parentLayoutPageTemplateCollectionId - 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

      public static List<LayoutPageTemplateCollection> findByG_T(long groupId, int type)
      Returns all the layout page template collections where groupId = ? and type = ?.
      Parameters:
      groupId - the group ID
      type - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      type - the type
      start - the lower bound of the range of layout page template collections
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      type - the type
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      type - the type
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template collection, or null if 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 ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template collection, or null if 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 collection
      groupId - the group ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchPageTemplateCollectionException
    • filterFindByG_T

      public 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 = ?.
      Parameters:
      groupId - the group ID
      type - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      type - the type
      start - the lower bound of the range of layout page template collections
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      type - the type
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 collection
      groupId - the group ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchPageTemplateCollectionException
    • 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 ID
      type - 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 ID
      type - 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 ID
      type - 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 ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      type - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      type - the type
      start - the lower bound of the range of layout page template collections
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      type - the type
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      type - the type
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template collection, or null if 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 ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template collection, or null if 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 collection
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchPageTemplateCollectionException
    • 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 ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      type - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      type - the type
      start - the lower bound of the range of layout page template collections
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      type - the type
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 collection
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchPageTemplateCollectionException
    • 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 ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      type - 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 ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      type - 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 ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      type - 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 a NoSuchPageTemplateCollectionException if it could not be found.
      Parameters:
      groupId - the group ID
      layoutPageTemplateCollectionKey - the layout page template collection key
      type - the type
      Returns:
      the matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      layoutPageTemplateCollectionKey - the layout page template collection key
      type - the type
      Returns:
      the matching layout page template collection, or null if 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      layoutPageTemplateCollectionKey - the layout page template collection key
      type - the type
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout page template collection, or null if 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 ID
      layoutPageTemplateCollectionKey - the layout page template collection key
      type - the type
      Returns:
      the layout page template collection that was removed
      Throws:
      NoSuchPageTemplateCollectionException
    • countByG_LPTCK_T

      public static int countByG_LPTCK_T(long groupId, String layoutPageTemplateCollectionKey, int type)
      Returns the number of layout page template collections where groupId = ? and layoutPageTemplateCollectionKey = ? and type = ?.
      Parameters:
      groupId - the group ID
      layoutPageTemplateCollectionKey - the layout page template collection key
      type - the type
      Returns:
      the number of matching layout page template collections
    • findByG_N_T

      public 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 = ?.
      Parameters:
      groupId - the group ID
      name - the name
      type - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      type - the type
      start - the lower bound of the range of layout page template collections
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      type - the type
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      type - the type
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 ID
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template collection, or null if 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 ID
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 ID
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template collection, or null if 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 collection
      groupId - the group ID
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchPageTemplateCollectionException
    • 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 ID
      name - the name
      type - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      type - the type
      start - the lower bound of the range of layout page template collections
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      type - the type
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 collection
      groupId - the group ID
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchPageTemplateCollectionException
    • removeByG_N_T

      public static void removeByG_N_T(long groupId, String name, int type)
      Removes all the layout page template collections where groupId = ? and name = ? and type = ? from the database.
      Parameters:
      groupId - the group ID
      name - the name
      type - the type
    • countByG_N_T

      public static int countByG_N_T(long groupId, String name, int type)
      Returns the number of layout page template collections where groupId = ? and name = ? and type = ?.
      Parameters:
      groupId - the group ID
      name - the name
      type - the type
      Returns:
      the number of matching layout page template collections
    • filterCountByG_N_T

      public static int filterCountByG_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 = ?.
      Parameters:
      groupId - the group ID
      name - the name
      type - 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 ID
      name - the name
      type - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      type - the type
      start - the lower bound of the range of layout page template collections
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      type - the type
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      type - the type
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 ID
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout page template collection, or null if 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 ID
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 ID
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout page template collection, or null if 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 collection
      groupId - the group ID
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchPageTemplateCollectionException
    • 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 ID
      name - the name
      type - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      type - the type
      start - the lower bound of the range of layout page template collections
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      type - the type
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 collection
      groupId - the group ID
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchPageTemplateCollectionException
    • removeByG_LikeN_T

      public static void removeByG_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.
      Parameters:
      groupId - the group ID
      name - the name
      type - the type
    • countByG_LikeN_T

      public static int countByG_LikeN_T(long groupId, String name, int type)
      Returns the number of layout page template collections where groupId = ? and name LIKE ? and type = ?.
      Parameters:
      groupId - the group ID
      name - the name
      type - the type
      Returns:
      the number of matching layout page template collections
    • filterCountByG_LikeN_T

      public static int filterCountByG_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 = ?.
      Parameters:
      groupId - the group ID
      name - the name
      type - 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 a NoSuchPageTemplateCollectionException if it could not be found.
      Parameters:
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      name - the name
      type - the type
      Returns:
      the matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • 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 returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      name - the name
      type - the type
      Returns:
      the matching layout page template collection, or null if 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      name - the name
      type - the type
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout page template collection, or null if 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 ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      name - the name
      type - 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 ID
      parentLayoutPageTemplateCollectionId - the parent layout page template collection ID
      name - the name
      type - 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 a NoSuchPageTemplateCollectionException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching layout page template collection
      Throws:
      NoSuchPageTemplateCollectionException - if a matching layout page template collection could not be found
      NoSuchPageTemplateCollectionException
    • fetchByERC_G

      public static LayoutPageTemplateCollection fetchByERC_G(String externalReferenceCode, long groupId)
      Returns the layout page template collection where externalReferenceCode = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching layout page template collection, or null if 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout page template collection, or null if 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 code
      groupId - the group ID
      Returns:
      the layout page template collection that was removed
      Throws:
      NoSuchPageTemplateCollectionException
    • countByERC_G

      public static int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of layout page template collections where externalReferenceCode = ? and groupId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the number of matching layout page template collections
    • cacheResult

      public static void cacheResult(LayoutPageTemplateCollection layoutPageTemplateCollection)
      Caches the layout page template collection in the entity cache if it is enabled.
      Parameters:
      layoutPageTemplateCollection - the layout page template collection
    • cacheResult

      public static void cacheResult(List<LayoutPageTemplateCollection> layoutPageTemplateCollections)
      Caches the layout page template collections in the entity cache if it is enabled.
      Parameters:
      layoutPageTemplateCollections - the layout page template collections
    • create

      public static LayoutPageTemplateCollection create(long layoutPageTemplateCollectionId)
      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 found
      NoSuchPageTemplateCollectionException
    • 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 a NoSuchPageTemplateCollectionException if 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 found
      NoSuchPageTemplateCollectionException
    • fetchByPrimaryKey

      public static LayoutPageTemplateCollection fetchByPrimaryKey(long layoutPageTemplateCollectionId)
      Returns the layout page template collection with the primary key or returns null if it could not be found.
      Parameters:
      layoutPageTemplateCollectionId - the primary key of the layout page template collection
      Returns:
      the layout page template collection, or null if a layout page template collection with the primary key could not be found
    • findAll

      public static List<LayoutPageTemplateCollection> findAll()
      Returns all the layout page template collections.
      Returns:
      the layout page template collections
    • findAll

      public static List<LayoutPageTemplateCollection> findAll(int start, int end)
      Returns a range of all the layout page template collections.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      start - the lower bound of the range of layout page template collections
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateCollectionModelImpl.

      Parameters:
      start - the lower bound of the range of layout page template collections
      end - the upper bound of the range of layout page template collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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

      public static LayoutPageTemplateCollectionPersistence getPersistence()
    • setPersistence

      public static void setPersistence(LayoutPageTemplateCollectionPersistence persistence)