Interface CommerceChannelPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceChannel>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommerceChannel>

@ProviderType public interface CommerceChannelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceChannel>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommerceChannel>
The persistence interface for the commerce channel service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(CommerceChannel commerceChannel)
    Caches the commerce channel in the entity cache if it is enabled.
    void
    cacheResult(List<CommerceChannel> commerceChannels)
    Caches the commerce channels in the entity cache if it is enabled.
    int
    Returns the number of commerce channels.
    int
    countByAccountEntryId(long accountEntryId)
    Returns the number of commerce channels where accountEntryId = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of commerce channels where companyId = ?.
    int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of commerce channels where externalReferenceCode = ? and companyId = ?.
    int
    countBySiteGroupId(long siteGroupId)
    Returns the number of commerce channels where siteGroupId = ?.
    int
    Returns the number of commerce channels where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of commerce channels where uuid = ? and companyId = ?.
    create(long commerceChannelId)
    Creates a new commerce channel with the primary key.
    fetchByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns the first commerce channel in the ordered set where accountEntryId = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns the first commerce channel in the ordered set where companyId = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the commerce channel where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the commerce channel where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long commerceChannelId)
    Returns the commerce channel with the primary key or returns null if it could not be found.
    fetchBySiteGroupId_First(long siteGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns the first commerce channel in the ordered set where siteGroupId = ?.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns the first commerce channel in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns the first commerce channel in the ordered set where uuid = ?.
    int
    filterCountByAccountEntryId(long accountEntryId)
    Returns the number of commerce channels that the user has permission to view where accountEntryId = ?.
    int
    filterCountByCompanyId(long companyId)
    Returns the number of commerce channels that the user has permission to view where companyId = ?.
    int
    filterCountBySiteGroupId(long siteGroupId)
    Returns the number of commerce channels that the user has permission to view where siteGroupId = ?.
    int
    Returns the number of commerce channels that the user has permission to view where uuid = ?.
    int
    filterCountByUuid_C(String uuid, long companyId)
    Returns the number of commerce channels that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByAccountEntryId(long accountEntryId)
    Returns all the commerce channels that the user has permission to view where accountEntryId = ?.
    filterFindByAccountEntryId(long accountEntryId, int start, int end)
    Returns a range of all the commerce channels that the user has permission to view where accountEntryId = ?.
    filterFindByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns an ordered range of all the commerce channels that the user has permissions to view where accountEntryId = ?.
    filterFindByCompanyId(long companyId)
    Returns all the commerce channels that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end)
    Returns a range of all the commerce channels that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns an ordered range of all the commerce channels that the user has permissions to view where companyId = ?.
    filterFindBySiteGroupId(long siteGroupId)
    Returns all the commerce channels that the user has permission to view where siteGroupId = ?.
    filterFindBySiteGroupId(long siteGroupId, int start, int end)
    Returns a range of all the commerce channels that the user has permission to view where siteGroupId = ?.
    filterFindBySiteGroupId(long siteGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns an ordered range of all the commerce channels that the user has permissions to view where siteGroupId = ?.
    Returns all the commerce channels that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end)
    Returns a range of all the commerce channels that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns an ordered range of all the commerce channels that the user has permissions to view where uuid = ?.
    filterFindByUuid_C(String uuid, long companyId)
    Returns all the commerce channels that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the commerce channels that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns an ordered range of all the commerce channels that the user has permissions to view where uuid = ? and companyId = ?.
    Returns all the commerce channels.
    findAll(int start, int end)
    Returns a range of all the commerce channels.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns an ordered range of all the commerce channels.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce channels.
    findByAccountEntryId(long accountEntryId)
    Returns all the commerce channels where accountEntryId = ?.
    findByAccountEntryId(long accountEntryId, int start, int end)
    Returns a range of all the commerce channels where accountEntryId = ?.
    findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns an ordered range of all the commerce channels where accountEntryId = ?.
    findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce channels where accountEntryId = ?.
    findByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns the first commerce channel in the ordered set where accountEntryId = ?.
    findByCompanyId(long companyId)
    Returns all the commerce channels where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the commerce channels where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns an ordered range of all the commerce channels where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce channels where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns the first commerce channel in the ordered set where companyId = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the commerce channel where externalReferenceCode = ? and companyId = ? or throws a NoSuchChannelException if it could not be found.
    findByPrimaryKey(long commerceChannelId)
    Returns the commerce channel with the primary key or throws a NoSuchChannelException if it could not be found.
    findBySiteGroupId(long siteGroupId)
    Returns all the commerce channels where siteGroupId = ?.
    findBySiteGroupId(long siteGroupId, int start, int end)
    Returns a range of all the commerce channels where siteGroupId = ?.
    findBySiteGroupId(long siteGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns an ordered range of all the commerce channels where siteGroupId = ?.
    findBySiteGroupId(long siteGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce channels where siteGroupId = ?.
    findBySiteGroupId_First(long siteGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns the first commerce channel in the ordered set where siteGroupId = ?.
    Returns all the commerce channels where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the commerce channels where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns an ordered range of all the commerce channels where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce channels where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the commerce channels where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the commerce channels where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns an ordered range of all the commerce channels where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce channels where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns the first commerce channel in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
    Returns the first commerce channel in the ordered set where uuid = ?.
    remove(long commerceChannelId)
    Removes the commerce channel with the primary key from the database.
    void
    Removes all the commerce channels from the database.
    void
    removeByAccountEntryId(long accountEntryId)
    Removes all the commerce channels where accountEntryId = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the commerce channels where companyId = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the commerce channel where externalReferenceCode = ? and companyId = ? from the database.
    void
    removeBySiteGroupId(long siteGroupId)
    Removes all the commerce channels where siteGroupId = ? from the database.
    void
    Removes all the commerce channels where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the commerce channels where uuid = ? and companyId = ? from the database.
    updateImpl(CommerceChannel commerceChannel)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByUuid

      List<CommerceChannel> findByUuid(String uuid)
      Returns all the commerce channels where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce channels
    • findByUuid

      List<CommerceChannel> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      List<CommerceChannel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
      Returns an ordered range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      List<CommerceChannel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      CommerceChannel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
      Returns the first commerce channel 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 channel
      Throws:
      NoSuchChannelException - if a matching commerce channel could not be found
    • fetchByUuid_First

      CommerceChannel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
      Returns the first commerce channel 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 channel, or null if a matching commerce channel could not be found
    • filterFindByUuid

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

      List<CommerceChannel> filterFindByUuid(String uuid, int start, int end)
      Returns a range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      List<CommerceChannel> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
      Returns an ordered range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

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

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

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

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

      List<CommerceChannel> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      List<CommerceChannel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
      Returns an ordered range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      List<CommerceChannel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

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

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

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

      List<CommerceChannel> filterFindByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      List<CommerceChannel> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
      Returns an ordered range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      void removeByUuid_C(String uuid, long companyId)
      Removes all the commerce channels where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of commerce channels where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce channels
    • filterCountByUuid_C

      int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of commerce channels 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 channels that the user has permission to view
    • findByCompanyId

      List<CommerceChannel> findByCompanyId(long companyId)
      Returns all the commerce channels where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching commerce channels
    • findByCompanyId

      List<CommerceChannel> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      List<CommerceChannel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
      Returns an ordered range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      List<CommerceChannel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      CommerceChannel findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
      Returns the first commerce channel 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 channel
      Throws:
      NoSuchChannelException - if a matching commerce channel could not be found
    • fetchByCompanyId_First

      CommerceChannel fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
      Returns the first commerce channel 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 channel, or null if a matching commerce channel could not be found
    • filterFindByCompanyId

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

      List<CommerceChannel> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      List<CommerceChannel> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
      Returns an ordered range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

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

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

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

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

      List<CommerceChannel> findByAccountEntryId(long accountEntryId, int start, int end)
      Returns a range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      List<CommerceChannel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
      Returns an ordered range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      List<CommerceChannel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      CommerceChannel findByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
      Returns the first commerce channel 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 channel
      Throws:
      NoSuchChannelException - if a matching commerce channel could not be found
    • fetchByAccountEntryId_First

      CommerceChannel fetchByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
      Returns the first commerce channel 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 channel, or null if a matching commerce channel could not be found
    • filterFindByAccountEntryId

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

      List<CommerceChannel> filterFindByAccountEntryId(long accountEntryId, int start, int end)
      Returns a range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      List<CommerceChannel> filterFindByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
      Returns an ordered range of all the commerce channels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

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

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

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

      List<CommerceChannel> findBySiteGroupId(long siteGroupId)
      Returns all the commerce channels where siteGroupId = ?.
      Parameters:
      siteGroupId - the site group ID
      Returns:
      the matching commerce channels
    • findBySiteGroupId

      List<CommerceChannel> findBySiteGroupId(long siteGroupId, int start, int end)
      Returns a range of all the commerce channels where siteGroupId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

      Parameters:
      siteGroupId - the site group ID
      start - the lower bound of the range of commerce channels
      end - the upper bound of the range of commerce channels (not inclusive)
      Returns:
      the range of matching commerce channels
    • findBySiteGroupId

      List<CommerceChannel> findBySiteGroupId(long siteGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
      Returns an ordered range of all the commerce channels where siteGroupId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

      Parameters:
      siteGroupId - the site group ID
      start - the lower bound of the range of commerce channels
      end - the upper bound of the range of commerce channels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce channels
    • findBySiteGroupId

      List<CommerceChannel> findBySiteGroupId(long siteGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce channels where siteGroupId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

      Parameters:
      siteGroupId - the site group ID
      start - the lower bound of the range of commerce channels
      end - the upper bound of the range of commerce channels (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 channels
    • findBySiteGroupId_First

      CommerceChannel findBySiteGroupId_First(long siteGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
      Returns the first commerce channel in the ordered set where siteGroupId = ?.
      Parameters:
      siteGroupId - the site group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce channel
      Throws:
      NoSuchChannelException - if a matching commerce channel could not be found
    • fetchBySiteGroupId_First

      CommerceChannel fetchBySiteGroupId_First(long siteGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
      Returns the first commerce channel in the ordered set where siteGroupId = ?.
      Parameters:
      siteGroupId - the site group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce channel, or null if a matching commerce channel could not be found
    • filterFindBySiteGroupId

      List<CommerceChannel> filterFindBySiteGroupId(long siteGroupId)
      Returns all the commerce channels that the user has permission to view where siteGroupId = ?.
      Parameters:
      siteGroupId - the site group ID
      Returns:
      the matching commerce channels that the user has permission to view
    • filterFindBySiteGroupId

      List<CommerceChannel> filterFindBySiteGroupId(long siteGroupId, int start, int end)
      Returns a range of all the commerce channels that the user has permission to view where siteGroupId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

      Parameters:
      siteGroupId - the site group ID
      start - the lower bound of the range of commerce channels
      end - the upper bound of the range of commerce channels (not inclusive)
      Returns:
      the range of matching commerce channels that the user has permission to view
    • filterFindBySiteGroupId

      List<CommerceChannel> filterFindBySiteGroupId(long siteGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
      Returns an ordered range of all the commerce channels that the user has permissions to view where siteGroupId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

      Parameters:
      siteGroupId - the site group ID
      start - the lower bound of the range of commerce channels
      end - the upper bound of the range of commerce channels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce channels that the user has permission to view
    • removeBySiteGroupId

      void removeBySiteGroupId(long siteGroupId)
      Removes all the commerce channels where siteGroupId = ? from the database.
      Parameters:
      siteGroupId - the site group ID
    • countBySiteGroupId

      int countBySiteGroupId(long siteGroupId)
      Returns the number of commerce channels where siteGroupId = ?.
      Parameters:
      siteGroupId - the site group ID
      Returns:
      the number of matching commerce channels
    • filterCountBySiteGroupId

      int filterCountBySiteGroupId(long siteGroupId)
      Returns the number of commerce channels that the user has permission to view where siteGroupId = ?.
      Parameters:
      siteGroupId - the site group ID
      Returns:
      the number of matching commerce channels that the user has permission to view
    • findByERC_C

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

      CommerceChannel fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the commerce channel 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 channel, or null if a matching commerce channel could not be found
    • fetchByERC_C

      CommerceChannel fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the commerce channel 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 channel, or null if a matching commerce channel could not be found
    • removeByERC_C

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

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

      void cacheResult(CommerceChannel commerceChannel)
      Caches the commerce channel in the entity cache if it is enabled.
      Parameters:
      commerceChannel - the commerce channel
    • cacheResult

      void cacheResult(List<CommerceChannel> commerceChannels)
      Caches the commerce channels in the entity cache if it is enabled.
      Parameters:
      commerceChannels - the commerce channels
    • create

      CommerceChannel create(long commerceChannelId)
      Creates a new commerce channel with the primary key. Does not add the commerce channel to the database.
      Parameters:
      commerceChannelId - the primary key for the new commerce channel
      Returns:
      the new commerce channel
    • remove

      CommerceChannel remove(long commerceChannelId) throws NoSuchChannelException
      Removes the commerce channel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commerceChannelId - the primary key of the commerce channel
      Returns:
      the commerce channel that was removed
      Throws:
      NoSuchChannelException - if a commerce channel with the primary key could not be found
    • updateImpl

      CommerceChannel updateImpl(CommerceChannel commerceChannel)
    • findByPrimaryKey

      CommerceChannel findByPrimaryKey(long commerceChannelId) throws NoSuchChannelException
      Returns the commerce channel with the primary key or throws a NoSuchChannelException if it could not be found.
      Parameters:
      commerceChannelId - the primary key of the commerce channel
      Returns:
      the commerce channel
      Throws:
      NoSuchChannelException - if a commerce channel with the primary key could not be found
    • fetchByPrimaryKey

      CommerceChannel fetchByPrimaryKey(long commerceChannelId)
      Returns the commerce channel with the primary key or returns null if it could not be found.
      Parameters:
      commerceChannelId - the primary key of the commerce channel
      Returns:
      the commerce channel, or null if a commerce channel with the primary key could not be found
    • findAll

      List<CommerceChannel> findAll()
      Returns all the commerce channels.
      Returns:
      the commerce channels
    • findAll

      List<CommerceChannel> findAll(int start, int end)
      Returns a range of all the commerce channels.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

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

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

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

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.

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

      void removeAll()
      Removes all the commerce channels from the database.
    • countAll

      int countAll()
      Returns the number of commerce channels.
      Returns:
      the number of commerce channels