Class LayoutClassedModelUsageUtil

java.lang.Object
com.liferay.layout.service.persistence.LayoutClassedModelUsageUtil

public class LayoutClassedModelUsageUtil extends Object
The persistence utility for the layout classed model usage service. This utility wraps com.liferay.layout.service.persistence.impl.LayoutClassedModelUsagePersistenceImpl 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

    • LayoutClassedModelUsageUtil

      public LayoutClassedModelUsageUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(LayoutClassedModelUsage layoutClassedModelUsage)
      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,LayoutClassedModelUsage> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<LayoutClassedModelUsage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<LayoutClassedModelUsage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<LayoutClassedModelUsage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static LayoutClassedModelUsage update(LayoutClassedModelUsage layoutClassedModelUsage)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static LayoutClassedModelUsage update(LayoutClassedModelUsage layoutClassedModelUsage, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<LayoutClassedModelUsage> findByUuid(String uuid)
      Returns all the layout classed model usages where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching layout classed model usages
    • findByUuid

      public static List<LayoutClassedModelUsage> findByUuid(String uuid, int start, int end)
      Returns a range of all the layout classed model usages 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 LayoutClassedModelUsageModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      Returns:
      the range of matching layout classed model usages
    • findByUuid

      public static List<LayoutClassedModelUsage> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns an ordered range of all the layout classed model usages 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 LayoutClassedModelUsageModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout classed model usages
    • findByUuid

      public static List<LayoutClassedModelUsage> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout classed model usages 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 LayoutClassedModelUsageModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (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 classed model usages
    • findByUuid_First

      public static LayoutClassedModelUsage findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the first layout classed model usage 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 classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByUuid_First

      public static LayoutClassedModelUsage fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the first layout classed model usage 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 classed model usage, or null if a matching layout classed model usage could not be found
    • findByUuid_Last

      public static LayoutClassedModelUsage findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the last layout classed model usage 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 classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByUuid_Last

      public static LayoutClassedModelUsage fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the last layout classed model usage 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 classed model usage, or null if a matching layout classed model usage could not be found
    • findByUuid_PrevAndNext

      public static LayoutClassedModelUsage[] findByUuid_PrevAndNext(long layoutClassedModelUsageId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where uuid = ?.
      Parameters:
      layoutClassedModelUsageId - the primary key of the current layout classed model usage
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a layout classed model usage with the primary key could not be found
      NoSuchLayoutClassedModelUsageException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the layout classed model usages where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of layout classed model usages where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching layout classed model usages
    • findByUUID_G

      public static LayoutClassedModelUsage findByUUID_G(String uuid, long groupId) throws NoSuchLayoutClassedModelUsageException
      Returns the layout classed model usage where uuid = ? and groupId = ? or throws a NoSuchLayoutClassedModelUsageException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByUUID_G

      public static LayoutClassedModelUsage fetchByUUID_G(String uuid, long groupId)
      Returns the layout classed model usage 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 classed model usage, or null if a matching layout classed model usage could not be found
    • fetchByUUID_G

      public static LayoutClassedModelUsage fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the layout classed model usage 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 classed model usage, or null if a matching layout classed model usage could not be found
    • removeByUUID_G

      public static LayoutClassedModelUsage removeByUUID_G(String uuid, long groupId) throws NoSuchLayoutClassedModelUsageException
      Removes the layout classed model usage where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the layout classed model usage that was removed
      Throws:
      NoSuchLayoutClassedModelUsageException
    • countByUUID_G

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

      public static List<LayoutClassedModelUsage> findByUuid_C(String uuid, long companyId)
      Returns all the layout classed model usages where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching layout classed model usages
    • findByUuid_C

      public static List<LayoutClassedModelUsage> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the layout classed model usages 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 LayoutClassedModelUsageModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      Returns:
      the range of matching layout classed model usages
    • findByUuid_C

      public static List<LayoutClassedModelUsage> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns an ordered range of all the layout classed model usages 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 LayoutClassedModelUsageModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout classed model usages
    • findByUuid_C

      public static List<LayoutClassedModelUsage> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout classed model usages 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 LayoutClassedModelUsageModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (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 classed model usages
    • findByUuid_C_First

      public static LayoutClassedModelUsage findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the first layout classed model usage 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 classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByUuid_C_First

      public static LayoutClassedModelUsage fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the first layout classed model usage 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 classed model usage, or null if a matching layout classed model usage could not be found
    • findByUuid_C_Last

      public static LayoutClassedModelUsage findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the last layout classed model usage 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 classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByUuid_C_Last

      public static LayoutClassedModelUsage fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the last layout classed model usage 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 classed model usage, or null if a matching layout classed model usage could not be found
    • findByUuid_C_PrevAndNext

      public static LayoutClassedModelUsage[] findByUuid_C_PrevAndNext(long layoutClassedModelUsageId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      layoutClassedModelUsageId - the primary key of the current layout classed model usage
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a layout classed model usage with the primary key could not be found
      NoSuchLayoutClassedModelUsageException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the layout classed model usages 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 classed model usages where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching layout classed model usages
    • findByPlid

      public static List<LayoutClassedModelUsage> findByPlid(long plid)
      Returns all the layout classed model usages where plid = ?.
      Parameters:
      plid - the plid
      Returns:
      the matching layout classed model usages
    • findByPlid

      public static List<LayoutClassedModelUsage> findByPlid(long plid, int start, int end)
      Returns a range of all the layout classed model usages where plid = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      Returns:
      the range of matching layout classed model usages
    • findByPlid

      public static List<LayoutClassedModelUsage> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns an ordered range of all the layout classed model usages where plid = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout classed model usages
    • findByPlid

      public static List<LayoutClassedModelUsage> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout classed model usages where plid = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (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 classed model usages
    • findByPlid_First

      public static LayoutClassedModelUsage findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the first layout classed model usage in the ordered set where plid = ?.
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByPlid_First

      public static LayoutClassedModelUsage fetchByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the first layout classed model usage in the ordered set where plid = ?.
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • findByPlid_Last

      public static LayoutClassedModelUsage findByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the last layout classed model usage in the ordered set where plid = ?.
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByPlid_Last

      public static LayoutClassedModelUsage fetchByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the last layout classed model usage in the ordered set where plid = ?.
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • findByPlid_PrevAndNext

      public static LayoutClassedModelUsage[] findByPlid_PrevAndNext(long layoutClassedModelUsageId, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where plid = ?.
      Parameters:
      layoutClassedModelUsageId - the primary key of the current layout classed model usage
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a layout classed model usage with the primary key could not be found
      NoSuchLayoutClassedModelUsageException
    • removeByPlid

      public static void removeByPlid(long plid)
      Removes all the layout classed model usages where plid = ? from the database.
      Parameters:
      plid - the plid
    • countByPlid

      public static int countByPlid(long plid)
      Returns the number of layout classed model usages where plid = ?.
      Parameters:
      plid - the plid
      Returns:
      the number of matching layout classed model usages
    • findByC_CN

      public static List<LayoutClassedModelUsage> findByC_CN(long companyId, long classNameId)
      Returns all the layout classed model usages where companyId = ? and classNameId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      Returns:
      the matching layout classed model usages
    • findByC_CN

      public static List<LayoutClassedModelUsage> findByC_CN(long companyId, long classNameId, int start, int end)
      Returns a range of all the layout classed model usages where companyId = ? and classNameId = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      Returns:
      the range of matching layout classed model usages
    • findByC_CN

      public static List<LayoutClassedModelUsage> findByC_CN(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout classed model usages
    • findByC_CN

      public static List<LayoutClassedModelUsage> findByC_CN(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (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 classed model usages
    • findByC_CN_First

      public static LayoutClassedModelUsage findByC_CN_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByC_CN_First

      public static LayoutClassedModelUsage fetchByC_CN_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • findByC_CN_Last

      public static LayoutClassedModelUsage findByC_CN_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByC_CN_Last

      public static LayoutClassedModelUsage fetchByC_CN_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • findByC_CN_PrevAndNext

      public static LayoutClassedModelUsage[] findByC_CN_PrevAndNext(long layoutClassedModelUsageId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where companyId = ? and classNameId = ?.
      Parameters:
      layoutClassedModelUsageId - the primary key of the current layout classed model usage
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a layout classed model usage with the primary key could not be found
      NoSuchLayoutClassedModelUsageException
    • removeByC_CN

      public static void removeByC_CN(long companyId, long classNameId)
      Removes all the layout classed model usages where companyId = ? and classNameId = ? from the database.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
    • countByC_CN

      public static int countByC_CN(long companyId, long classNameId)
      Returns the number of layout classed model usages where companyId = ? and classNameId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      Returns:
      the number of matching layout classed model usages
    • findByCN_CPK

      public static List<LayoutClassedModelUsage> findByCN_CPK(long classNameId, long classPK)
      Returns all the layout classed model usages where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching layout classed model usages
    • findByCN_CPK

      public static List<LayoutClassedModelUsage> findByCN_CPK(long classNameId, long classPK, int start, int end)
      Returns a range of all the layout classed model usages where classNameId = ? and classPK = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      Returns:
      the range of matching layout classed model usages
    • findByCN_CPK

      public static List<LayoutClassedModelUsage> findByCN_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns an ordered range of all the layout classed model usages where classNameId = ? and classPK = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout classed model usages
    • findByCN_CPK

      public static List<LayoutClassedModelUsage> findByCN_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout classed model usages where classNameId = ? and classPK = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (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 classed model usages
    • findByCN_CPK_First

      public static LayoutClassedModelUsage findByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the first layout classed model usage in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByCN_CPK_First

      public static LayoutClassedModelUsage fetchByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the first layout classed model usage in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • findByCN_CPK_Last

      public static LayoutClassedModelUsage findByCN_CPK_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the last layout classed model usage in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByCN_CPK_Last

      public static LayoutClassedModelUsage fetchByCN_CPK_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the last layout classed model usage in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • findByCN_CPK_PrevAndNext

      public static LayoutClassedModelUsage[] findByCN_CPK_PrevAndNext(long layoutClassedModelUsageId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      layoutClassedModelUsageId - the primary key of the current layout classed model usage
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a layout classed model usage with the primary key could not be found
      NoSuchLayoutClassedModelUsageException
    • removeByCN_CPK

      public static void removeByCN_CPK(long classNameId, long classPK)
      Removes all the layout classed model usages where classNameId = ? and classPK = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
    • countByCN_CPK

      public static int countByCN_CPK(long classNameId, long classPK)
      Returns the number of layout classed model usages where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching layout classed model usages
    • findByC_CN_CMERC

      public static List<LayoutClassedModelUsage> findByC_CN_CMERC(long companyId, long classNameId, String classedModelExternalReferenceCode)
      Returns all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      Returns:
      the matching layout classed model usages
    • findByC_CN_CMERC

      public static List<LayoutClassedModelUsage> findByC_CN_CMERC(long companyId, long classNameId, String classedModelExternalReferenceCode, int start, int end)
      Returns a range of all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      Returns:
      the range of matching layout classed model usages
    • findByC_CN_CMERC

      public static List<LayoutClassedModelUsage> findByC_CN_CMERC(long companyId, long classNameId, String classedModelExternalReferenceCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout classed model usages
    • findByC_CN_CMERC

      public static List<LayoutClassedModelUsage> findByC_CN_CMERC(long companyId, long classNameId, String classedModelExternalReferenceCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (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 classed model usages
    • findByC_CN_CMERC_First

      public static LayoutClassedModelUsage findByC_CN_CMERC_First(long companyId, long classNameId, String classedModelExternalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByC_CN_CMERC_First

      public static LayoutClassedModelUsage fetchByC_CN_CMERC_First(long companyId, long classNameId, String classedModelExternalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • findByC_CN_CMERC_Last

      public static LayoutClassedModelUsage findByC_CN_CMERC_Last(long companyId, long classNameId, String classedModelExternalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByC_CN_CMERC_Last

      public static LayoutClassedModelUsage fetchByC_CN_CMERC_Last(long companyId, long classNameId, String classedModelExternalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • findByC_CN_CMERC_PrevAndNext

      public static LayoutClassedModelUsage[] findByC_CN_CMERC_PrevAndNext(long layoutClassedModelUsageId, long companyId, long classNameId, String classedModelExternalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
      Parameters:
      layoutClassedModelUsageId - the primary key of the current layout classed model usage
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a layout classed model usage with the primary key could not be found
      NoSuchLayoutClassedModelUsageException
    • removeByC_CN_CMERC

      public static void removeByC_CN_CMERC(long companyId, long classNameId, String classedModelExternalReferenceCode)
      Removes all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? from the database.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
    • countByC_CN_CMERC

      public static int countByC_CN_CMERC(long companyId, long classNameId, String classedModelExternalReferenceCode)
      Returns the number of layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      Returns:
      the number of matching layout classed model usages
    • findByC_CN_CT

      public static List<LayoutClassedModelUsage> findByC_CN_CT(long companyId, long classNameId, long containerType)
      Returns all the layout classed model usages where companyId = ? and classNameId = ? and containerType = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      containerType - the container type
      Returns:
      the matching layout classed model usages
    • findByC_CN_CT

      public static List<LayoutClassedModelUsage> findByC_CN_CT(long companyId, long classNameId, long containerType, int start, int end)
      Returns a range of all the layout classed model usages where companyId = ? and classNameId = ? and containerType = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      containerType - the container type
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      Returns:
      the range of matching layout classed model usages
    • findByC_CN_CT

      public static List<LayoutClassedModelUsage> findByC_CN_CT(long companyId, long classNameId, long containerType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ? and containerType = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      containerType - the container type
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout classed model usages
    • findByC_CN_CT

      public static List<LayoutClassedModelUsage> findByC_CN_CT(long companyId, long classNameId, long containerType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ? and containerType = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      containerType - the container type
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (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 classed model usages
    • findByC_CN_CT_First

      public static LayoutClassedModelUsage findByC_CN_CT_First(long companyId, long classNameId, long containerType, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and containerType = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      containerType - the container type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByC_CN_CT_First

      public static LayoutClassedModelUsage fetchByC_CN_CT_First(long companyId, long classNameId, long containerType, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and containerType = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      containerType - the container type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • findByC_CN_CT_Last

      public static LayoutClassedModelUsage findByC_CN_CT_Last(long companyId, long classNameId, long containerType, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and containerType = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      containerType - the container type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByC_CN_CT_Last

      public static LayoutClassedModelUsage fetchByC_CN_CT_Last(long companyId, long classNameId, long containerType, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and containerType = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      containerType - the container type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • findByC_CN_CT_PrevAndNext

      public static LayoutClassedModelUsage[] findByC_CN_CT_PrevAndNext(long layoutClassedModelUsageId, long companyId, long classNameId, long containerType, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where companyId = ? and classNameId = ? and containerType = ?.
      Parameters:
      layoutClassedModelUsageId - the primary key of the current layout classed model usage
      companyId - the company ID
      classNameId - the class name ID
      containerType - the container type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a layout classed model usage with the primary key could not be found
      NoSuchLayoutClassedModelUsageException
    • removeByC_CN_CT

      public static void removeByC_CN_CT(long companyId, long classNameId, long containerType)
      Removes all the layout classed model usages where companyId = ? and classNameId = ? and containerType = ? from the database.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      containerType - the container type
    • countByC_CN_CT

      public static int countByC_CN_CT(long companyId, long classNameId, long containerType)
      Returns the number of layout classed model usages where companyId = ? and classNameId = ? and containerType = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      containerType - the container type
      Returns:
      the number of matching layout classed model usages
    • findByCN_CPK_T

      public static List<LayoutClassedModelUsage> findByCN_CPK_T(long classNameId, long classPK, int type)
      Returns all the layout classed model usages where classNameId = ? and classPK = ? and type = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      Returns:
      the matching layout classed model usages
    • findByCN_CPK_T

      public static List<LayoutClassedModelUsage> findByCN_CPK_T(long classNameId, long classPK, int type, int start, int end)
      Returns a range of all the layout classed model usages where classNameId = ? and classPK = ? 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 LayoutClassedModelUsageModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      Returns:
      the range of matching layout classed model usages
    • findByCN_CPK_T

      public static List<LayoutClassedModelUsage> findByCN_CPK_T(long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns an ordered range of all the layout classed model usages where classNameId = ? and classPK = ? 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 LayoutClassedModelUsageModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout classed model usages
    • findByCN_CPK_T

      public static List<LayoutClassedModelUsage> findByCN_CPK_T(long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout classed model usages where classNameId = ? and classPK = ? 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 LayoutClassedModelUsageModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (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 classed model usages
    • findByCN_CPK_T_First

      public static LayoutClassedModelUsage findByCN_CPK_T_First(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the first layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByCN_CPK_T_First

      public static LayoutClassedModelUsage fetchByCN_CPK_T_First(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the first layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • findByCN_CPK_T_Last

      public static LayoutClassedModelUsage findByCN_CPK_T_Last(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the last layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByCN_CPK_T_Last

      public static LayoutClassedModelUsage fetchByCN_CPK_T_Last(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the last layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • findByCN_CPK_T_PrevAndNext

      public static LayoutClassedModelUsage[] findByCN_CPK_T_PrevAndNext(long layoutClassedModelUsageId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.
      Parameters:
      layoutClassedModelUsageId - the primary key of the current layout classed model usage
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a layout classed model usage with the primary key could not be found
      NoSuchLayoutClassedModelUsageException
    • removeByCN_CPK_T

      public static void removeByCN_CPK_T(long classNameId, long classPK, int type)
      Removes all the layout classed model usages where classNameId = ? and classPK = ? and type = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
    • countByCN_CPK_T

      public static int countByCN_CPK_T(long classNameId, long classPK, int type)
      Returns the number of layout classed model usages where classNameId = ? and classPK = ? and type = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      Returns:
      the number of matching layout classed model usages
    • findByCK_CT_P

      public static List<LayoutClassedModelUsage> findByCK_CT_P(String containerKey, long containerType, long plid)
      Returns all the layout classed model usages where containerKey = ? and containerType = ? and plid = ?.
      Parameters:
      containerKey - the container key
      containerType - the container type
      plid - the plid
      Returns:
      the matching layout classed model usages
    • findByCK_CT_P

      public static List<LayoutClassedModelUsage> findByCK_CT_P(String containerKey, long containerType, long plid, int start, int end)
      Returns a range of all the layout classed model usages where containerKey = ? and containerType = ? and plid = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      containerKey - the container key
      containerType - the container type
      plid - the plid
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      Returns:
      the range of matching layout classed model usages
    • findByCK_CT_P

      public static List<LayoutClassedModelUsage> findByCK_CT_P(String containerKey, long containerType, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns an ordered range of all the layout classed model usages where containerKey = ? and containerType = ? and plid = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      containerKey - the container key
      containerType - the container type
      plid - the plid
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout classed model usages
    • findByCK_CT_P

      public static List<LayoutClassedModelUsage> findByCK_CT_P(String containerKey, long containerType, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout classed model usages where containerKey = ? and containerType = ? and plid = ?.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      containerKey - the container key
      containerType - the container type
      plid - the plid
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (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 classed model usages
    • findByCK_CT_P_First

      public static LayoutClassedModelUsage findByCK_CT_P_First(String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the first layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
      Parameters:
      containerKey - the container key
      containerType - the container type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByCK_CT_P_First

      public static LayoutClassedModelUsage fetchByCK_CT_P_First(String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the first layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
      Parameters:
      containerKey - the container key
      containerType - the container type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • findByCK_CT_P_Last

      public static LayoutClassedModelUsage findByCK_CT_P_Last(String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the last layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
      Parameters:
      containerKey - the container key
      containerType - the container type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByCK_CT_P_Last

      public static LayoutClassedModelUsage fetchByCK_CT_P_Last(String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the last layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
      Parameters:
      containerKey - the container key
      containerType - the container type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • findByCK_CT_P_PrevAndNext

      public static LayoutClassedModelUsage[] findByCK_CT_P_PrevAndNext(long layoutClassedModelUsageId, String containerKey, long containerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
      Parameters:
      layoutClassedModelUsageId - the primary key of the current layout classed model usage
      containerKey - the container key
      containerType - the container type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a layout classed model usage with the primary key could not be found
      NoSuchLayoutClassedModelUsageException
    • removeByCK_CT_P

      public static void removeByCK_CT_P(String containerKey, long containerType, long plid)
      Removes all the layout classed model usages where containerKey = ? and containerType = ? and plid = ? from the database.
      Parameters:
      containerKey - the container key
      containerType - the container type
      plid - the plid
    • countByCK_CT_P

      public static int countByCK_CT_P(String containerKey, long containerType, long plid)
      Returns the number of layout classed model usages where containerKey = ? and containerType = ? and plid = ?.
      Parameters:
      containerKey - the container key
      containerType - the container type
      plid - the plid
      Returns:
      the number of matching layout classed model usages
    • findByC_CN_CMERC_T

      public static List<LayoutClassedModelUsage> findByC_CN_CMERC_T(long companyId, long classNameId, String classedModelExternalReferenceCode, int type)
      Returns all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      type - the type
      Returns:
      the matching layout classed model usages
    • findByC_CN_CMERC_T

      public static List<LayoutClassedModelUsage> findByC_CN_CMERC_T(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, int start, int end)
      Returns a range of all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? 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 LayoutClassedModelUsageModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      type - the type
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      Returns:
      the range of matching layout classed model usages
    • findByC_CN_CMERC_T

      public static List<LayoutClassedModelUsage> findByC_CN_CMERC_T(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? 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 LayoutClassedModelUsageModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      type - the type
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout classed model usages
    • findByC_CN_CMERC_T

      public static List<LayoutClassedModelUsage> findByC_CN_CMERC_T(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? 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 LayoutClassedModelUsageModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      type - the type
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (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 classed model usages
    • findByC_CN_CMERC_T_First

      public static LayoutClassedModelUsage findByC_CN_CMERC_T_First(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByC_CN_CMERC_T_First

      public static LayoutClassedModelUsage fetchByC_CN_CMERC_T_First(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • findByC_CN_CMERC_T_Last

      public static LayoutClassedModelUsage findByC_CN_CMERC_T_Last(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByC_CN_CMERC_T_Last

      public static LayoutClassedModelUsage fetchByC_CN_CMERC_T_Last(long companyId, long classNameId, String classedModelExternalReferenceCode, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • findByC_CN_CMERC_T_PrevAndNext

      public static LayoutClassedModelUsage[] findByC_CN_CMERC_T_PrevAndNext(long layoutClassedModelUsageId, long companyId, long classNameId, String classedModelExternalReferenceCode, int type, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator) throws NoSuchLayoutClassedModelUsageException
      Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
      Parameters:
      layoutClassedModelUsageId - the primary key of the current layout classed model usage
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a layout classed model usage with the primary key could not be found
      NoSuchLayoutClassedModelUsageException
    • removeByC_CN_CMERC_T

      public static void removeByC_CN_CMERC_T(long companyId, long classNameId, String classedModelExternalReferenceCode, int type)
      Removes all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ? from the database.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      type - the type
    • countByC_CN_CMERC_T

      public static int countByC_CN_CMERC_T(long companyId, long classNameId, String classedModelExternalReferenceCode, int type)
      Returns the number of layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classedModelExternalReferenceCode - the classed model external reference code
      type - the type
      Returns:
      the number of matching layout classed model usages
    • findByG_CN_CPK_CMERC_CK_CT_P

      public static LayoutClassedModelUsage findByG_CN_CPK_CMERC_CK_CT_P(long groupId, long classNameId, long classPK, String classedModelExternalReferenceCode, String containerKey, long containerType, long plid) throws NoSuchLayoutClassedModelUsageException
      Returns the layout classed model usage where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ? or throws a NoSuchLayoutClassedModelUsageException if it could not be found.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      classPK - the class pk
      classedModelExternalReferenceCode - the classed model external reference code
      containerKey - the container key
      containerType - the container type
      plid - the plid
      Returns:
      the matching layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a matching layout classed model usage could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByG_CN_CPK_CMERC_CK_CT_P

      public static LayoutClassedModelUsage fetchByG_CN_CPK_CMERC_CK_CT_P(long groupId, long classNameId, long classPK, String classedModelExternalReferenceCode, String containerKey, long containerType, long plid)
      Returns the layout classed model usage where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      classPK - the class pk
      classedModelExternalReferenceCode - the classed model external reference code
      containerKey - the container key
      containerType - the container type
      plid - the plid
      Returns:
      the matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • fetchByG_CN_CPK_CMERC_CK_CT_P

      public static LayoutClassedModelUsage fetchByG_CN_CPK_CMERC_CK_CT_P(long groupId, long classNameId, long classPK, String classedModelExternalReferenceCode, String containerKey, long containerType, long plid, boolean useFinderCache)
      Returns the layout classed model usage where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      classPK - the class pk
      classedModelExternalReferenceCode - the classed model external reference code
      containerKey - the container key
      containerType - the container type
      plid - the plid
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout classed model usage, or null if a matching layout classed model usage could not be found
    • removeByG_CN_CPK_CMERC_CK_CT_P

      public static LayoutClassedModelUsage removeByG_CN_CPK_CMERC_CK_CT_P(long groupId, long classNameId, long classPK, String classedModelExternalReferenceCode, String containerKey, long containerType, long plid) throws NoSuchLayoutClassedModelUsageException
      Removes the layout classed model usage where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ? from the database.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      classPK - the class pk
      classedModelExternalReferenceCode - the classed model external reference code
      containerKey - the container key
      containerType - the container type
      plid - the plid
      Returns:
      the layout classed model usage that was removed
      Throws:
      NoSuchLayoutClassedModelUsageException
    • countByG_CN_CPK_CMERC_CK_CT_P

      public static int countByG_CN_CPK_CMERC_CK_CT_P(long groupId, long classNameId, long classPK, String classedModelExternalReferenceCode, String containerKey, long containerType, long plid)
      Returns the number of layout classed model usages where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      classPK - the class pk
      classedModelExternalReferenceCode - the classed model external reference code
      containerKey - the container key
      containerType - the container type
      plid - the plid
      Returns:
      the number of matching layout classed model usages
    • cacheResult

      public static void cacheResult(LayoutClassedModelUsage layoutClassedModelUsage)
      Caches the layout classed model usage in the entity cache if it is enabled.
      Parameters:
      layoutClassedModelUsage - the layout classed model usage
    • cacheResult

      public static void cacheResult(List<LayoutClassedModelUsage> layoutClassedModelUsages)
      Caches the layout classed model usages in the entity cache if it is enabled.
      Parameters:
      layoutClassedModelUsages - the layout classed model usages
    • create

      public static LayoutClassedModelUsage create(long layoutClassedModelUsageId)
      Creates a new layout classed model usage with the primary key. Does not add the layout classed model usage to the database.
      Parameters:
      layoutClassedModelUsageId - the primary key for the new layout classed model usage
      Returns:
      the new layout classed model usage
    • remove

      public static LayoutClassedModelUsage remove(long layoutClassedModelUsageId) throws NoSuchLayoutClassedModelUsageException
      Removes the layout classed model usage with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      layoutClassedModelUsageId - the primary key of the layout classed model usage
      Returns:
      the layout classed model usage that was removed
      Throws:
      NoSuchLayoutClassedModelUsageException - if a layout classed model usage with the primary key could not be found
      NoSuchLayoutClassedModelUsageException
    • updateImpl

      public static LayoutClassedModelUsage updateImpl(LayoutClassedModelUsage layoutClassedModelUsage)
    • findByPrimaryKey

      public static LayoutClassedModelUsage findByPrimaryKey(long layoutClassedModelUsageId) throws NoSuchLayoutClassedModelUsageException
      Returns the layout classed model usage with the primary key or throws a NoSuchLayoutClassedModelUsageException if it could not be found.
      Parameters:
      layoutClassedModelUsageId - the primary key of the layout classed model usage
      Returns:
      the layout classed model usage
      Throws:
      NoSuchLayoutClassedModelUsageException - if a layout classed model usage with the primary key could not be found
      NoSuchLayoutClassedModelUsageException
    • fetchByPrimaryKey

      public static LayoutClassedModelUsage fetchByPrimaryKey(long layoutClassedModelUsageId)
      Returns the layout classed model usage with the primary key or returns null if it could not be found.
      Parameters:
      layoutClassedModelUsageId - the primary key of the layout classed model usage
      Returns:
      the layout classed model usage, or null if a layout classed model usage with the primary key could not be found
    • findAll

      public static List<LayoutClassedModelUsage> findAll()
      Returns all the layout classed model usages.
      Returns:
      the layout classed model usages
    • findAll

      public static List<LayoutClassedModelUsage> findAll(int start, int end)
      Returns a range of all the layout classed model usages.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      Returns:
      the range of layout classed model usages
    • findAll

      public static List<LayoutClassedModelUsage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator)
      Returns an ordered range of all the layout classed model usages.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of layout classed model usages
    • findAll

      public static List<LayoutClassedModelUsage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutClassedModelUsage> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout classed model usages.

      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 LayoutClassedModelUsageModelImpl.

      Parameters:
      start - the lower bound of the range of layout classed model usages
      end - the upper bound of the range of layout classed model usages (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 classed model usages
    • removeAll

      public static void removeAll()
      Removes all the layout classed model usages from the database.
    • countAll

      public static int countAll()
      Returns the number of layout classed model usages.
      Returns:
      the number of layout classed model usages
    • getPersistence

      public static LayoutClassedModelUsagePersistence getPersistence()
    • setPersistence

      public static void setPersistence(LayoutClassedModelUsagePersistence persistence)