Class CommerceCatalogUtil

java.lang.Object
com.liferay.commerce.product.service.persistence.CommerceCatalogUtil

public class CommerceCatalogUtil extends Object
The persistence utility for the commerce catalog service. This utility wraps com.liferay.commerce.product.service.persistence.impl.CommerceCatalogPersistenceImpl 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

    • CommerceCatalogUtil

      public CommerceCatalogUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

      public static List<CommerceCatalog> findByUuid(String uuid)
      Returns all the commerce catalogs where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce catalogs
    • findByUuid

      public static List<CommerceCatalog> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce catalogs 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 CommerceCatalogModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      Returns:
      the range of matching commerce catalogs
    • findByUuid

      public static List<CommerceCatalog> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns an ordered range of all the commerce catalogs 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 CommerceCatalogModelImpl.

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

      public static List<CommerceCatalog> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce catalogs 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 CommerceCatalogModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (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 commerce catalogs
    • findByUuid_First

      public static CommerceCatalog findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the first commerce catalog in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce catalog
      Throws:
      NoSuchCatalogException - if a matching commerce catalog could not be found
      NoSuchCatalogException
    • fetchByUuid_First

      public static CommerceCatalog fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns the first commerce catalog in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce catalog, or null if a matching commerce catalog could not be found
    • findByUuid_Last

      public static CommerceCatalog findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the last commerce catalog in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce catalog
      Throws:
      NoSuchCatalogException - if a matching commerce catalog could not be found
      NoSuchCatalogException
    • fetchByUuid_Last

      public static CommerceCatalog fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns the last commerce catalog in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce catalog, or null if a matching commerce catalog could not be found
    • findByUuid_PrevAndNext

      public static CommerceCatalog[] findByUuid_PrevAndNext(long commerceCatalogId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the commerce catalogs before and after the current commerce catalog in the ordered set where uuid = ?.
      Parameters:
      commerceCatalogId - the primary key of the current commerce catalog
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce catalog
      Throws:
      NoSuchCatalogException - if a commerce catalog with the primary key could not be found
      NoSuchCatalogException
    • filterFindByUuid

      public static List<CommerceCatalog> filterFindByUuid(String uuid)
      Returns all the commerce catalogs that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce catalogs that the user has permission to view
    • filterFindByUuid

      public static List<CommerceCatalog> filterFindByUuid(String uuid, int start, int end)
      Returns a range of all the commerce catalogs that the user has permission to view 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 CommerceCatalogModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      Returns:
      the range of matching commerce catalogs that the user has permission to view
    • filterFindByUuid

      public static List<CommerceCatalog> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns an ordered range of all the commerce catalogs that the user has permissions to view 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 CommerceCatalogModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce catalogs that the user has permission to view
    • filterFindByUuid_PrevAndNext

      public static CommerceCatalog[] filterFindByUuid_PrevAndNext(long commerceCatalogId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the commerce catalogs before and after the current commerce catalog in the ordered set of commerce catalogs that the user has permission to view where uuid = ?.
      Parameters:
      commerceCatalogId - the primary key of the current commerce catalog
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce catalog
      Throws:
      NoSuchCatalogException - if a commerce catalog with the primary key could not be found
      NoSuchCatalogException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the commerce catalogs where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of commerce catalogs where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching commerce catalogs
    • filterCountByUuid

      public static int filterCountByUuid(String uuid)
      Returns the number of commerce catalogs that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching commerce catalogs that the user has permission to view
    • findByUuid_C

      public static List<CommerceCatalog> findByUuid_C(String uuid, long companyId)
      Returns all the commerce catalogs where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce catalogs
    • findByUuid_C

      public static List<CommerceCatalog> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce catalogs 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 CommerceCatalogModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      Returns:
      the range of matching commerce catalogs
    • findByUuid_C

      public static List<CommerceCatalog> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns an ordered range of all the commerce catalogs 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 CommerceCatalogModelImpl.

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

      public static List<CommerceCatalog> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce catalogs 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 CommerceCatalogModelImpl.

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

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

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

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

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

      public static CommerceCatalog[] findByUuid_C_PrevAndNext(long commerceCatalogId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the commerce catalogs before and after the current commerce catalog in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      commerceCatalogId - the primary key of the current commerce catalog
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce catalog
      Throws:
      NoSuchCatalogException - if a commerce catalog with the primary key could not be found
      NoSuchCatalogException
    • filterFindByUuid_C

      public static List<CommerceCatalog> filterFindByUuid_C(String uuid, long companyId)
      Returns all the commerce catalogs that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce catalogs that the user has permission to view
    • filterFindByUuid_C

      public static List<CommerceCatalog> filterFindByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce catalogs that the user has permission to view 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 CommerceCatalogModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      Returns:
      the range of matching commerce catalogs that the user has permission to view
    • filterFindByUuid_C

      public static List<CommerceCatalog> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns an ordered range of all the commerce catalogs that the user has permissions to view 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 CommerceCatalogModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce catalogs that the user has permission to view
    • filterFindByUuid_C_PrevAndNext

      public static CommerceCatalog[] filterFindByUuid_C_PrevAndNext(long commerceCatalogId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the commerce catalogs before and after the current commerce catalog in the ordered set of commerce catalogs that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      commerceCatalogId - the primary key of the current commerce catalog
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce catalog
      Throws:
      NoSuchCatalogException - if a commerce catalog with the primary key could not be found
      NoSuchCatalogException
    • removeByUuid_C

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

      public static int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of commerce catalogs that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce catalogs that the user has permission to view
    • findByCompanyId

      public static List<CommerceCatalog> findByCompanyId(long companyId)
      Returns all the commerce catalogs where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching commerce catalogs
    • findByCompanyId

      public static List<CommerceCatalog> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the commerce catalogs where 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 CommerceCatalogModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      Returns:
      the range of matching commerce catalogs
    • findByCompanyId

      public static List<CommerceCatalog> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns an ordered range of all the commerce catalogs where 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 CommerceCatalogModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce catalogs
    • findByCompanyId

      public static List<CommerceCatalog> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce catalogs where 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 CommerceCatalogModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (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 commerce catalogs
    • findByCompanyId_First

      public static CommerceCatalog findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the first commerce catalog in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce catalog
      Throws:
      NoSuchCatalogException - if a matching commerce catalog could not be found
      NoSuchCatalogException
    • fetchByCompanyId_First

      public static CommerceCatalog fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns the first commerce catalog in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce catalog, or null if a matching commerce catalog could not be found
    • findByCompanyId_Last

      public static CommerceCatalog findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the last commerce catalog in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce catalog
      Throws:
      NoSuchCatalogException - if a matching commerce catalog could not be found
      NoSuchCatalogException
    • fetchByCompanyId_Last

      public static CommerceCatalog fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns the last commerce catalog in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce catalog, or null if a matching commerce catalog could not be found
    • findByCompanyId_PrevAndNext

      public static CommerceCatalog[] findByCompanyId_PrevAndNext(long commerceCatalogId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the commerce catalogs before and after the current commerce catalog in the ordered set where companyId = ?.
      Parameters:
      commerceCatalogId - the primary key of the current commerce catalog
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce catalog
      Throws:
      NoSuchCatalogException - if a commerce catalog with the primary key could not be found
      NoSuchCatalogException
    • filterFindByCompanyId

      public static List<CommerceCatalog> filterFindByCompanyId(long companyId)
      Returns all the commerce catalogs that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching commerce catalogs that the user has permission to view
    • filterFindByCompanyId

      public static List<CommerceCatalog> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the commerce catalogs that the user has permission to view where 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 CommerceCatalogModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      Returns:
      the range of matching commerce catalogs that the user has permission to view
    • filterFindByCompanyId

      public static List<CommerceCatalog> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns an ordered range of all the commerce catalogs that the user has permissions to view where 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 CommerceCatalogModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce catalogs that the user has permission to view
    • filterFindByCompanyId_PrevAndNext

      public static CommerceCatalog[] filterFindByCompanyId_PrevAndNext(long commerceCatalogId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the commerce catalogs before and after the current commerce catalog in the ordered set of commerce catalogs that the user has permission to view where companyId = ?.
      Parameters:
      commerceCatalogId - the primary key of the current commerce catalog
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce catalog
      Throws:
      NoSuchCatalogException - if a commerce catalog with the primary key could not be found
      NoSuchCatalogException
    • removeByCompanyId

      public static void removeByCompanyId(long companyId)
      Removes all the commerce catalogs where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public static int countByCompanyId(long companyId)
      Returns the number of commerce catalogs where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching commerce catalogs
    • filterCountByCompanyId

      public static int filterCountByCompanyId(long companyId)
      Returns the number of commerce catalogs that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching commerce catalogs that the user has permission to view
    • findByAccountEntryId

      public static List<CommerceCatalog> findByAccountEntryId(long accountEntryId)
      Returns all the commerce catalogs where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      Returns:
      the matching commerce catalogs
    • findByAccountEntryId

      public static List<CommerceCatalog> findByAccountEntryId(long accountEntryId, int start, int end)
      Returns a range of all the commerce catalogs where accountEntryId = ?.

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

      Parameters:
      accountEntryId - the account entry ID
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      Returns:
      the range of matching commerce catalogs
    • findByAccountEntryId

      public static List<CommerceCatalog> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns an ordered range of all the commerce catalogs where accountEntryId = ?.

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

      Parameters:
      accountEntryId - the account entry ID
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce catalogs
    • findByAccountEntryId

      public static List<CommerceCatalog> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce catalogs where accountEntryId = ?.

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

      Parameters:
      accountEntryId - the account entry ID
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (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 commerce catalogs
    • findByAccountEntryId_First

      public static CommerceCatalog findByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the first commerce catalog in the ordered set where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce catalog
      Throws:
      NoSuchCatalogException - if a matching commerce catalog could not be found
      NoSuchCatalogException
    • fetchByAccountEntryId_First

      public static CommerceCatalog fetchByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns the first commerce catalog in the ordered set where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce catalog, or null if a matching commerce catalog could not be found
    • findByAccountEntryId_Last

      public static CommerceCatalog findByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the last commerce catalog in the ordered set where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce catalog
      Throws:
      NoSuchCatalogException - if a matching commerce catalog could not be found
      NoSuchCatalogException
    • fetchByAccountEntryId_Last

      public static CommerceCatalog fetchByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns the last commerce catalog in the ordered set where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce catalog, or null if a matching commerce catalog could not be found
    • findByAccountEntryId_PrevAndNext

      public static CommerceCatalog[] findByAccountEntryId_PrevAndNext(long commerceCatalogId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the commerce catalogs before and after the current commerce catalog in the ordered set where accountEntryId = ?.
      Parameters:
      commerceCatalogId - the primary key of the current commerce catalog
      accountEntryId - the account entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce catalog
      Throws:
      NoSuchCatalogException - if a commerce catalog with the primary key could not be found
      NoSuchCatalogException
    • filterFindByAccountEntryId

      public static List<CommerceCatalog> filterFindByAccountEntryId(long accountEntryId)
      Returns all the commerce catalogs that the user has permission to view where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      Returns:
      the matching commerce catalogs that the user has permission to view
    • filterFindByAccountEntryId

      public static List<CommerceCatalog> filterFindByAccountEntryId(long accountEntryId, int start, int end)
      Returns a range of all the commerce catalogs that the user has permission to view where accountEntryId = ?.

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

      Parameters:
      accountEntryId - the account entry ID
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      Returns:
      the range of matching commerce catalogs that the user has permission to view
    • filterFindByAccountEntryId

      public static List<CommerceCatalog> filterFindByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns an ordered range of all the commerce catalogs that the user has permissions to view where accountEntryId = ?.

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

      Parameters:
      accountEntryId - the account entry ID
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce catalogs that the user has permission to view
    • filterFindByAccountEntryId_PrevAndNext

      public static CommerceCatalog[] filterFindByAccountEntryId_PrevAndNext(long commerceCatalogId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the commerce catalogs before and after the current commerce catalog in the ordered set of commerce catalogs that the user has permission to view where accountEntryId = ?.
      Parameters:
      commerceCatalogId - the primary key of the current commerce catalog
      accountEntryId - the account entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce catalog
      Throws:
      NoSuchCatalogException - if a commerce catalog with the primary key could not be found
      NoSuchCatalogException
    • removeByAccountEntryId

      public static void removeByAccountEntryId(long accountEntryId)
      Removes all the commerce catalogs where accountEntryId = ? from the database.
      Parameters:
      accountEntryId - the account entry ID
    • countByAccountEntryId

      public static int countByAccountEntryId(long accountEntryId)
      Returns the number of commerce catalogs where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      Returns:
      the number of matching commerce catalogs
    • filterCountByAccountEntryId

      public static int filterCountByAccountEntryId(long accountEntryId)
      Returns the number of commerce catalogs that the user has permission to view where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      Returns:
      the number of matching commerce catalogs that the user has permission to view
    • findByC_S

      public static List<CommerceCatalog> findByC_S(long companyId, boolean system)
      Returns all the commerce catalogs where companyId = ? and system = ?.
      Parameters:
      companyId - the company ID
      system - the system
      Returns:
      the matching commerce catalogs
    • findByC_S

      public static List<CommerceCatalog> findByC_S(long companyId, boolean system, int start, int end)
      Returns a range of all the commerce catalogs where companyId = ? and system = ?.

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

      Parameters:
      companyId - the company ID
      system - the system
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      Returns:
      the range of matching commerce catalogs
    • findByC_S

      public static List<CommerceCatalog> findByC_S(long companyId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns an ordered range of all the commerce catalogs where companyId = ? and system = ?.

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

      Parameters:
      companyId - the company ID
      system - the system
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce catalogs
    • findByC_S

      public static List<CommerceCatalog> findByC_S(long companyId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce catalogs where companyId = ? and system = ?.

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

      Parameters:
      companyId - the company ID
      system - the system
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (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 commerce catalogs
    • findByC_S_First

      public static CommerceCatalog findByC_S_First(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the first commerce catalog in the ordered set where companyId = ? and system = ?.
      Parameters:
      companyId - the company ID
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce catalog
      Throws:
      NoSuchCatalogException - if a matching commerce catalog could not be found
      NoSuchCatalogException
    • fetchByC_S_First

      public static CommerceCatalog fetchByC_S_First(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns the first commerce catalog in the ordered set where companyId = ? and system = ?.
      Parameters:
      companyId - the company ID
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce catalog, or null if a matching commerce catalog could not be found
    • findByC_S_Last

      public static CommerceCatalog findByC_S_Last(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the last commerce catalog in the ordered set where companyId = ? and system = ?.
      Parameters:
      companyId - the company ID
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce catalog
      Throws:
      NoSuchCatalogException - if a matching commerce catalog could not be found
      NoSuchCatalogException
    • fetchByC_S_Last

      public static CommerceCatalog fetchByC_S_Last(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns the last commerce catalog in the ordered set where companyId = ? and system = ?.
      Parameters:
      companyId - the company ID
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce catalog, or null if a matching commerce catalog could not be found
    • findByC_S_PrevAndNext

      public static CommerceCatalog[] findByC_S_PrevAndNext(long commerceCatalogId, long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the commerce catalogs before and after the current commerce catalog in the ordered set where companyId = ? and system = ?.
      Parameters:
      commerceCatalogId - the primary key of the current commerce catalog
      companyId - the company ID
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce catalog
      Throws:
      NoSuchCatalogException - if a commerce catalog with the primary key could not be found
      NoSuchCatalogException
    • filterFindByC_S

      public static List<CommerceCatalog> filterFindByC_S(long companyId, boolean system)
      Returns all the commerce catalogs that the user has permission to view where companyId = ? and system = ?.
      Parameters:
      companyId - the company ID
      system - the system
      Returns:
      the matching commerce catalogs that the user has permission to view
    • filterFindByC_S

      public static List<CommerceCatalog> filterFindByC_S(long companyId, boolean system, int start, int end)
      Returns a range of all the commerce catalogs that the user has permission to view where companyId = ? and system = ?.

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

      Parameters:
      companyId - the company ID
      system - the system
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      Returns:
      the range of matching commerce catalogs that the user has permission to view
    • filterFindByC_S

      public static List<CommerceCatalog> filterFindByC_S(long companyId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns an ordered range of all the commerce catalogs that the user has permissions to view where companyId = ? and system = ?.

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

      Parameters:
      companyId - the company ID
      system - the system
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce catalogs that the user has permission to view
    • filterFindByC_S_PrevAndNext

      public static CommerceCatalog[] filterFindByC_S_PrevAndNext(long commerceCatalogId, long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator) throws NoSuchCatalogException
      Returns the commerce catalogs before and after the current commerce catalog in the ordered set of commerce catalogs that the user has permission to view where companyId = ? and system = ?.
      Parameters:
      commerceCatalogId - the primary key of the current commerce catalog
      companyId - the company ID
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce catalog
      Throws:
      NoSuchCatalogException - if a commerce catalog with the primary key could not be found
      NoSuchCatalogException
    • removeByC_S

      public static void removeByC_S(long companyId, boolean system)
      Removes all the commerce catalogs where companyId = ? and system = ? from the database.
      Parameters:
      companyId - the company ID
      system - the system
    • countByC_S

      public static int countByC_S(long companyId, boolean system)
      Returns the number of commerce catalogs where companyId = ? and system = ?.
      Parameters:
      companyId - the company ID
      system - the system
      Returns:
      the number of matching commerce catalogs
    • filterCountByC_S

      public static int filterCountByC_S(long companyId, boolean system)
      Returns the number of commerce catalogs that the user has permission to view where companyId = ? and system = ?.
      Parameters:
      companyId - the company ID
      system - the system
      Returns:
      the number of matching commerce catalogs that the user has permission to view
    • findByERC_C

      public static CommerceCatalog findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCatalogException
      Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or throws a NoSuchCatalogException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching commerce catalog
      Throws:
      NoSuchCatalogException - if a matching commerce catalog could not be found
      NoSuchCatalogException
    • fetchByERC_C

      public static CommerceCatalog fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching commerce catalog, or null if a matching commerce catalog could not be found
    • fetchByERC_C

      public static CommerceCatalog fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the commerce catalog where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce catalog, or null if a matching commerce catalog could not be found
    • removeByERC_C

      public static CommerceCatalog removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCatalogException
      Removes the commerce catalog where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the commerce catalog that was removed
      Throws:
      NoSuchCatalogException
    • countByERC_C

      public static int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of commerce catalogs where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching commerce catalogs
    • cacheResult

      public static void cacheResult(CommerceCatalog commerceCatalog)
      Caches the commerce catalog in the entity cache if it is enabled.
      Parameters:
      commerceCatalog - the commerce catalog
    • cacheResult

      public static void cacheResult(List<CommerceCatalog> commerceCatalogs)
      Caches the commerce catalogs in the entity cache if it is enabled.
      Parameters:
      commerceCatalogs - the commerce catalogs
    • create

      public static CommerceCatalog create(long commerceCatalogId)
      Creates a new commerce catalog with the primary key. Does not add the commerce catalog to the database.
      Parameters:
      commerceCatalogId - the primary key for the new commerce catalog
      Returns:
      the new commerce catalog
    • remove

      public static CommerceCatalog remove(long commerceCatalogId) throws NoSuchCatalogException
      Removes the commerce catalog with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commerceCatalogId - the primary key of the commerce catalog
      Returns:
      the commerce catalog that was removed
      Throws:
      NoSuchCatalogException - if a commerce catalog with the primary key could not be found
      NoSuchCatalogException
    • updateImpl

      public static CommerceCatalog updateImpl(CommerceCatalog commerceCatalog)
    • findByPrimaryKey

      public static CommerceCatalog findByPrimaryKey(long commerceCatalogId) throws NoSuchCatalogException
      Returns the commerce catalog with the primary key or throws a NoSuchCatalogException if it could not be found.
      Parameters:
      commerceCatalogId - the primary key of the commerce catalog
      Returns:
      the commerce catalog
      Throws:
      NoSuchCatalogException - if a commerce catalog with the primary key could not be found
      NoSuchCatalogException
    • fetchByPrimaryKey

      public static CommerceCatalog fetchByPrimaryKey(long commerceCatalogId)
      Returns the commerce catalog with the primary key or returns null if it could not be found.
      Parameters:
      commerceCatalogId - the primary key of the commerce catalog
      Returns:
      the commerce catalog, or null if a commerce catalog with the primary key could not be found
    • findAll

      public static List<CommerceCatalog> findAll()
      Returns all the commerce catalogs.
      Returns:
      the commerce catalogs
    • findAll

      public static List<CommerceCatalog> findAll(int start, int end)
      Returns a range of all the commerce catalogs.

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

      Parameters:
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      Returns:
      the range of commerce catalogs
    • findAll

      public static List<CommerceCatalog> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator)
      Returns an ordered range of all the commerce catalogs.

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

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

      public static List<CommerceCatalog> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCatalog> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce catalogs.

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

      Parameters:
      start - the lower bound of the range of commerce catalogs
      end - the upper bound of the range of commerce catalogs (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of commerce catalogs
    • removeAll

      public static void removeAll()
      Removes all the commerce catalogs from the database.
    • countAll

      public static int countAll()
      Returns the number of commerce catalogs.
      Returns:
      the number of commerce catalogs
    • getPersistence

      public static CommerceCatalogPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CommerceCatalogPersistence persistence)