Interface CommerceOrderTypePersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceOrderType>

@ProviderType public interface CommerceOrderTypePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceOrderType>
The persistence interface for the commerce order type service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(CommerceOrderType commerceOrderType)
    Caches the commerce order type in the entity cache if it is enabled.
    void
    cacheResult(List<CommerceOrderType> commerceOrderTypes)
    Caches the commerce order types in the entity cache if it is enabled.
    int
    Returns the number of commerce order types.
    int
    countByC_A(long companyId, boolean active)
    Returns the number of commerce order types where companyId = ? and active = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of commerce order types where companyId = ?.
    int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of commerce order types where externalReferenceCode = ? and companyId = ?.
    int
    countByLtD_S(Date displayDate, int status)
    Returns the number of commerce order types where displayDate < ? and status = ?.
    int
    countByLtE_S(Date expirationDate, int status)
    Returns the number of commerce order types where expirationDate < ? and status = ?.
    int
    Returns the number of commerce order types where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of commerce order types where uuid = ? and companyId = ?.
    create(long commerceOrderTypeId)
    Creates a new commerce order type with the primary key.
    fetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the first commerce order type in the ordered set where companyId = ? and active = ?.
    fetchByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the last commerce order type in the ordered set where companyId = ? and active = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the first commerce order type in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the last commerce order type in the ordered set where companyId = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the commerce order type where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the commerce order type where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the first commerce order type in the ordered set where displayDate < ? and status = ?.
    fetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the last commerce order type in the ordered set where displayDate < ? and status = ?.
    fetchByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the first commerce order type in the ordered set where expirationDate < ? and status = ?.
    fetchByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the last commerce order type in the ordered set where expirationDate < ? and status = ?.
    fetchByPrimaryKey(long commerceOrderTypeId)
    Returns the commerce order type with the primary key or returns null if it could not be found.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the first commerce order type in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the last commerce order type in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the first commerce order type in the ordered set where uuid = ?.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the last commerce order type in the ordered set where uuid = ?.
    int
    filterCountByC_A(long companyId, boolean active)
    Returns the number of commerce order types that the user has permission to view where companyId = ? and active = ?.
    int
    filterCountByCompanyId(long companyId)
    Returns the number of commerce order types that the user has permission to view where companyId = ?.
    int
    filterCountByLtD_S(Date displayDate, int status)
    Returns the number of commerce order types that the user has permission to view where displayDate < ? and status = ?.
    int
    filterCountByLtE_S(Date expirationDate, int status)
    Returns the number of commerce order types that the user has permission to view where expirationDate < ? and status = ?.
    int
    Returns the number of commerce order types that the user has permission to view where uuid = ?.
    int
    filterCountByUuid_C(String uuid, long companyId)
    Returns the number of commerce order types that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByC_A(long companyId, boolean active)
    Returns all the commerce order types that the user has permission to view where companyId = ? and active = ?.
    filterFindByC_A(long companyId, boolean active, int start, int end)
    Returns a range of all the commerce order types that the user has permission to view where companyId = ? and active = ?.
    filterFindByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns an ordered range of all the commerce order types that the user has permissions to view where companyId = ? and active = ?.
    filterFindByC_A_PrevAndNext(long commerceOrderTypeId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the commerce order types before and after the current commerce order type in the ordered set of commerce order types that the user has permission to view where companyId = ? and active = ?.
    filterFindByCompanyId(long companyId)
    Returns all the commerce order types that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end)
    Returns a range of all the commerce order types that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns an ordered range of all the commerce order types that the user has permissions to view where companyId = ?.
    filterFindByCompanyId_PrevAndNext(long commerceOrderTypeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the commerce order types before and after the current commerce order type in the ordered set of commerce order types that the user has permission to view where companyId = ?.
    filterFindByLtD_S(Date displayDate, int status)
    Returns all the commerce order types that the user has permission to view where displayDate < ? and status = ?.
    filterFindByLtD_S(Date displayDate, int status, int start, int end)
    Returns a range of all the commerce order types that the user has permission to view where displayDate < ? and status = ?.
    filterFindByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns an ordered range of all the commerce order types that the user has permissions to view where displayDate < ? and status = ?.
    filterFindByLtD_S_PrevAndNext(long commerceOrderTypeId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the commerce order types before and after the current commerce order type in the ordered set of commerce order types that the user has permission to view where displayDate < ? and status = ?.
    filterFindByLtE_S(Date expirationDate, int status)
    Returns all the commerce order types that the user has permission to view where expirationDate < ? and status = ?.
    filterFindByLtE_S(Date expirationDate, int status, int start, int end)
    Returns a range of all the commerce order types that the user has permission to view where expirationDate < ? and status = ?.
    filterFindByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns an ordered range of all the commerce order types that the user has permissions to view where expirationDate < ? and status = ?.
    filterFindByLtE_S_PrevAndNext(long commerceOrderTypeId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the commerce order types before and after the current commerce order type in the ordered set of commerce order types that the user has permission to view where expirationDate < ? and status = ?.
    Returns all the commerce order types that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end)
    Returns a range of all the commerce order types that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns an ordered range of all the commerce order types that the user has permissions to view where uuid = ?.
    filterFindByUuid_C(String uuid, long companyId)
    Returns all the commerce order types 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 order types 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<CommerceOrderType> orderByComparator)
    Returns an ordered range of all the commerce order types that the user has permissions to view where uuid = ? and companyId = ?.
    filterFindByUuid_C_PrevAndNext(long commerceOrderTypeId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the commerce order types before and after the current commerce order type in the ordered set of commerce order types that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_PrevAndNext(long commerceOrderTypeId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the commerce order types before and after the current commerce order type in the ordered set of commerce order types that the user has permission to view where uuid = ?.
    Returns all the commerce order types.
    findAll(int start, int end)
    Returns a range of all the commerce order types.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns an ordered range of all the commerce order types.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce order types.
    findByC_A(long companyId, boolean active)
    Returns all the commerce order types where companyId = ? and active = ?.
    findByC_A(long companyId, boolean active, int start, int end)
    Returns a range of all the commerce order types where companyId = ? and active = ?.
    findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns an ordered range of all the commerce order types where companyId = ? and active = ?.
    findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce order types where companyId = ? and active = ?.
    findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the first commerce order type in the ordered set where companyId = ? and active = ?.
    findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the last commerce order type in the ordered set where companyId = ? and active = ?.
    findByC_A_PrevAndNext(long commerceOrderTypeId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the commerce order types before and after the current commerce order type in the ordered set where companyId = ? and active = ?.
    findByCompanyId(long companyId)
    Returns all the commerce order types where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the commerce order types where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns an ordered range of all the commerce order types where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce order types where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the first commerce order type in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the last commerce order type in the ordered set where companyId = ?.
    findByCompanyId_PrevAndNext(long commerceOrderTypeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the commerce order types before and after the current commerce order type in the ordered set where companyId = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the commerce order type where externalReferenceCode = ? and companyId = ? or throws a NoSuchOrderTypeException if it could not be found.
    findByLtD_S(Date displayDate, int status)
    Returns all the commerce order types where displayDate < ? and status = ?.
    findByLtD_S(Date displayDate, int status, int start, int end)
    Returns a range of all the commerce order types where displayDate < ? and status = ?.
    findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns an ordered range of all the commerce order types where displayDate < ? and status = ?.
    findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce order types where displayDate < ? and status = ?.
    findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the first commerce order type in the ordered set where displayDate < ? and status = ?.
    findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the last commerce order type in the ordered set where displayDate < ? and status = ?.
    findByLtD_S_PrevAndNext(long commerceOrderTypeId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the commerce order types before and after the current commerce order type in the ordered set where displayDate < ? and status = ?.
    findByLtE_S(Date expirationDate, int status)
    Returns all the commerce order types where expirationDate < ? and status = ?.
    findByLtE_S(Date expirationDate, int status, int start, int end)
    Returns a range of all the commerce order types where expirationDate < ? and status = ?.
    findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns an ordered range of all the commerce order types where expirationDate < ? and status = ?.
    findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce order types where expirationDate < ? and status = ?.
    findByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the first commerce order type in the ordered set where expirationDate < ? and status = ?.
    findByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the last commerce order type in the ordered set where expirationDate < ? and status = ?.
    findByLtE_S_PrevAndNext(long commerceOrderTypeId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the commerce order types before and after the current commerce order type in the ordered set where expirationDate < ? and status = ?.
    findByPrimaryKey(long commerceOrderTypeId)
    Returns the commerce order type with the primary key or throws a NoSuchOrderTypeException if it could not be found.
    Returns all the commerce order types where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the commerce order types where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns an ordered range of all the commerce order types where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce order types where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the commerce order types where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the commerce order types where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns an ordered range of all the commerce order types where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce order types where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the first commerce order type in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the last commerce order type in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_PrevAndNext(long commerceOrderTypeId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the commerce order types before and after the current commerce order type in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the first commerce order type in the ordered set where uuid = ?.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the last commerce order type in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long commerceOrderTypeId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
    Returns the commerce order types before and after the current commerce order type in the ordered set where uuid = ?.
    remove(long commerceOrderTypeId)
    Removes the commerce order type with the primary key from the database.
    void
    Removes all the commerce order types from the database.
    void
    removeByC_A(long companyId, boolean active)
    Removes all the commerce order types where companyId = ? and active = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the commerce order types where companyId = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the commerce order type where externalReferenceCode = ? and companyId = ? from the database.
    void
    removeByLtD_S(Date displayDate, int status)
    Removes all the commerce order types where displayDate < ? and status = ? from the database.
    void
    removeByLtE_S(Date expirationDate, int status)
    Removes all the commerce order types where expirationDate < ? and status = ? from the database.
    void
    Removes all the commerce order types where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the commerce order types where uuid = ? and companyId = ? from the database.
    updateImpl(CommerceOrderType commerceOrderType)
     

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

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, 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
  • Method Details

    • findByUuid

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

      List<CommerceOrderType> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce order types 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 CommerceOrderTypeModelImpl.

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

      List<CommerceOrderType> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns an ordered range of all the commerce order types 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 CommerceOrderTypeModelImpl.

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

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

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

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

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

      CommerceOrderType findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
      Returns the last commerce order type 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 order type
      Throws:
      NoSuchOrderTypeException - if a matching commerce order type could not be found
    • fetchByUuid_Last

      CommerceOrderType fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns the last commerce order type 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 order type, or null if a matching commerce order type could not be found
    • findByUuid_PrevAndNext

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

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

      List<CommerceOrderType> filterFindByUuid(String uuid, int start, int end)
      Returns a range of all the commerce order types 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 CommerceOrderTypeModelImpl.

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

      List<CommerceOrderType> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns an ordered range of all the commerce order types 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 CommerceOrderTypeModelImpl.

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

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

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

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

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

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

      List<CommerceOrderType> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce order types 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 CommerceOrderTypeModelImpl.

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

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

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

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

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

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

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

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

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

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

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

      List<CommerceOrderType> filterFindByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce order types 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 CommerceOrderTypeModelImpl.

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

      List<CommerceOrderType> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns an ordered range of all the commerce order types 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 CommerceOrderTypeModelImpl.

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

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

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

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

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

      List<CommerceOrderType> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the commerce order types 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 CommerceOrderTypeModelImpl.

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

      List<CommerceOrderType> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns an ordered range of all the commerce order types 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 CommerceOrderTypeModelImpl.

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

      List<CommerceOrderType> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce order types 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 CommerceOrderTypeModelImpl.

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

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

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

      CommerceOrderType findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
      Returns the last commerce order type 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 order type
      Throws:
      NoSuchOrderTypeException - if a matching commerce order type could not be found
    • fetchByCompanyId_Last

      CommerceOrderType fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns the last commerce order type 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 order type, or null if a matching commerce order type could not be found
    • findByCompanyId_PrevAndNext

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

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

      List<CommerceOrderType> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the commerce order types 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 CommerceOrderTypeModelImpl.

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

      List<CommerceOrderType> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns an ordered range of all the commerce order types 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 CommerceOrderTypeModelImpl.

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

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

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

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

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

      List<CommerceOrderType> findByC_A(long companyId, boolean active)
      Returns all the commerce order types where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      Returns:
      the matching commerce order types
    • findByC_A

      List<CommerceOrderType> findByC_A(long companyId, boolean active, int start, int end)
      Returns a range of all the commerce order types where companyId = ? and active = ?.

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

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of commerce order types
      end - the upper bound of the range of commerce order types (not inclusive)
      Returns:
      the range of matching commerce order types
    • findByC_A

      List<CommerceOrderType> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns an ordered range of all the commerce order types where companyId = ? and active = ?.

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

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

      List<CommerceOrderType> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce order types where companyId = ? and active = ?.

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

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

      CommerceOrderType findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
      Returns the first commerce order type in the ordered set where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce order type
      Throws:
      NoSuchOrderTypeException - if a matching commerce order type could not be found
    • fetchByC_A_First

      CommerceOrderType fetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns the first commerce order type in the ordered set where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce order type, or null if a matching commerce order type could not be found
    • findByC_A_Last

      CommerceOrderType findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
      Returns the last commerce order type in the ordered set where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce order type
      Throws:
      NoSuchOrderTypeException - if a matching commerce order type could not be found
    • fetchByC_A_Last

      CommerceOrderType fetchByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns the last commerce order type in the ordered set where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce order type, or null if a matching commerce order type could not be found
    • findByC_A_PrevAndNext

      CommerceOrderType[] findByC_A_PrevAndNext(long commerceOrderTypeId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
      Returns the commerce order types before and after the current commerce order type in the ordered set where companyId = ? and active = ?.
      Parameters:
      commerceOrderTypeId - the primary key of the current commerce order type
      companyId - the company ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce order type
      Throws:
      NoSuchOrderTypeException - if a commerce order type with the primary key could not be found
    • filterFindByC_A

      List<CommerceOrderType> filterFindByC_A(long companyId, boolean active)
      Returns all the commerce order types that the user has permission to view where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      Returns:
      the matching commerce order types that the user has permission to view
    • filterFindByC_A

      List<CommerceOrderType> filterFindByC_A(long companyId, boolean active, int start, int end)
      Returns a range of all the commerce order types that the user has permission to view where companyId = ? and active = ?.

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

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

      List<CommerceOrderType> filterFindByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns an ordered range of all the commerce order types that the user has permissions to view where companyId = ? and active = ?.

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

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

      CommerceOrderType[] filterFindByC_A_PrevAndNext(long commerceOrderTypeId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
      Returns the commerce order types before and after the current commerce order type in the ordered set of commerce order types that the user has permission to view where companyId = ? and active = ?.
      Parameters:
      commerceOrderTypeId - the primary key of the current commerce order type
      companyId - the company ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce order type
      Throws:
      NoSuchOrderTypeException - if a commerce order type with the primary key could not be found
    • removeByC_A

      void removeByC_A(long companyId, boolean active)
      Removes all the commerce order types where companyId = ? and active = ? from the database.
      Parameters:
      companyId - the company ID
      active - the active
    • countByC_A

      int countByC_A(long companyId, boolean active)
      Returns the number of commerce order types where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      Returns:
      the number of matching commerce order types
    • filterCountByC_A

      int filterCountByC_A(long companyId, boolean active)
      Returns the number of commerce order types that the user has permission to view where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      Returns:
      the number of matching commerce order types that the user has permission to view
    • findByLtD_S

      List<CommerceOrderType> findByLtD_S(Date displayDate, int status)
      Returns all the commerce order types where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the matching commerce order types
    • findByLtD_S

      List<CommerceOrderType> findByLtD_S(Date displayDate, int status, int start, int end)
      Returns a range of all the commerce order types where displayDate < ? and status = ?.

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

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of commerce order types
      end - the upper bound of the range of commerce order types (not inclusive)
      Returns:
      the range of matching commerce order types
    • findByLtD_S

      List<CommerceOrderType> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns an ordered range of all the commerce order types where displayDate < ? and status = ?.

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

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of commerce order types
      end - the upper bound of the range of commerce order types (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce order types
    • findByLtD_S

      List<CommerceOrderType> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce order types where displayDate < ? and status = ?.

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

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of commerce order types
      end - the upper bound of the range of commerce order types (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 order types
    • findByLtD_S_First

      CommerceOrderType findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
      Returns the first commerce order type in the ordered set where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce order type
      Throws:
      NoSuchOrderTypeException - if a matching commerce order type could not be found
    • fetchByLtD_S_First

      CommerceOrderType fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns the first commerce order type in the ordered set where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce order type, or null if a matching commerce order type could not be found
    • findByLtD_S_Last

      CommerceOrderType findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
      Returns the last commerce order type in the ordered set where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce order type
      Throws:
      NoSuchOrderTypeException - if a matching commerce order type could not be found
    • fetchByLtD_S_Last

      CommerceOrderType fetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns the last commerce order type in the ordered set where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce order type, or null if a matching commerce order type could not be found
    • findByLtD_S_PrevAndNext

      CommerceOrderType[] findByLtD_S_PrevAndNext(long commerceOrderTypeId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
      Returns the commerce order types before and after the current commerce order type in the ordered set where displayDate < ? and status = ?.
      Parameters:
      commerceOrderTypeId - the primary key of the current commerce order type
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce order type
      Throws:
      NoSuchOrderTypeException - if a commerce order type with the primary key could not be found
    • filterFindByLtD_S

      List<CommerceOrderType> filterFindByLtD_S(Date displayDate, int status)
      Returns all the commerce order types that the user has permission to view where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the matching commerce order types that the user has permission to view
    • filterFindByLtD_S

      List<CommerceOrderType> filterFindByLtD_S(Date displayDate, int status, int start, int end)
      Returns a range of all the commerce order types that the user has permission to view where displayDate < ? and status = ?.

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

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of commerce order types
      end - the upper bound of the range of commerce order types (not inclusive)
      Returns:
      the range of matching commerce order types that the user has permission to view
    • filterFindByLtD_S

      List<CommerceOrderType> filterFindByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns an ordered range of all the commerce order types that the user has permissions to view where displayDate < ? and status = ?.

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

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of commerce order types
      end - the upper bound of the range of commerce order types (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce order types that the user has permission to view
    • filterFindByLtD_S_PrevAndNext

      CommerceOrderType[] filterFindByLtD_S_PrevAndNext(long commerceOrderTypeId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
      Returns the commerce order types before and after the current commerce order type in the ordered set of commerce order types that the user has permission to view where displayDate < ? and status = ?.
      Parameters:
      commerceOrderTypeId - the primary key of the current commerce order type
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce order type
      Throws:
      NoSuchOrderTypeException - if a commerce order type with the primary key could not be found
    • removeByLtD_S

      void removeByLtD_S(Date displayDate, int status)
      Removes all the commerce order types where displayDate < ? and status = ? from the database.
      Parameters:
      displayDate - the display date
      status - the status
    • countByLtD_S

      int countByLtD_S(Date displayDate, int status)
      Returns the number of commerce order types where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the number of matching commerce order types
    • filterCountByLtD_S

      int filterCountByLtD_S(Date displayDate, int status)
      Returns the number of commerce order types that the user has permission to view where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the number of matching commerce order types that the user has permission to view
    • findByLtE_S

      List<CommerceOrderType> findByLtE_S(Date expirationDate, int status)
      Returns all the commerce order types where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - the status
      Returns:
      the matching commerce order types
    • findByLtE_S

      List<CommerceOrderType> findByLtE_S(Date expirationDate, int status, int start, int end)
      Returns a range of all the commerce order types where expirationDate < ? and status = ?.

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

      Parameters:
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of commerce order types
      end - the upper bound of the range of commerce order types (not inclusive)
      Returns:
      the range of matching commerce order types
    • findByLtE_S

      List<CommerceOrderType> findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns an ordered range of all the commerce order types where expirationDate < ? and status = ?.

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

      Parameters:
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of commerce order types
      end - the upper bound of the range of commerce order types (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce order types
    • findByLtE_S

      List<CommerceOrderType> findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce order types where expirationDate < ? and status = ?.

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

      Parameters:
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of commerce order types
      end - the upper bound of the range of commerce order types (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 order types
    • findByLtE_S_First

      CommerceOrderType findByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
      Returns the first commerce order type in the ordered set where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce order type
      Throws:
      NoSuchOrderTypeException - if a matching commerce order type could not be found
    • fetchByLtE_S_First

      CommerceOrderType fetchByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns the first commerce order type in the ordered set where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce order type, or null if a matching commerce order type could not be found
    • findByLtE_S_Last

      CommerceOrderType findByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
      Returns the last commerce order type in the ordered set where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce order type
      Throws:
      NoSuchOrderTypeException - if a matching commerce order type could not be found
    • fetchByLtE_S_Last

      CommerceOrderType fetchByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns the last commerce order type in the ordered set where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce order type, or null if a matching commerce order type could not be found
    • findByLtE_S_PrevAndNext

      CommerceOrderType[] findByLtE_S_PrevAndNext(long commerceOrderTypeId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
      Returns the commerce order types before and after the current commerce order type in the ordered set where expirationDate < ? and status = ?.
      Parameters:
      commerceOrderTypeId - the primary key of the current commerce order type
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce order type
      Throws:
      NoSuchOrderTypeException - if a commerce order type with the primary key could not be found
    • filterFindByLtE_S

      List<CommerceOrderType> filterFindByLtE_S(Date expirationDate, int status)
      Returns all the commerce order types that the user has permission to view where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - the status
      Returns:
      the matching commerce order types that the user has permission to view
    • filterFindByLtE_S

      List<CommerceOrderType> filterFindByLtE_S(Date expirationDate, int status, int start, int end)
      Returns a range of all the commerce order types that the user has permission to view where expirationDate < ? and status = ?.

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

      Parameters:
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of commerce order types
      end - the upper bound of the range of commerce order types (not inclusive)
      Returns:
      the range of matching commerce order types that the user has permission to view
    • filterFindByLtE_S

      List<CommerceOrderType> filterFindByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
      Returns an ordered range of all the commerce order types that the user has permissions to view where expirationDate < ? and status = ?.

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

      Parameters:
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of commerce order types
      end - the upper bound of the range of commerce order types (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce order types that the user has permission to view
    • filterFindByLtE_S_PrevAndNext

      CommerceOrderType[] filterFindByLtE_S_PrevAndNext(long commerceOrderTypeId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
      Returns the commerce order types before and after the current commerce order type in the ordered set of commerce order types that the user has permission to view where expirationDate < ? and status = ?.
      Parameters:
      commerceOrderTypeId - the primary key of the current commerce order type
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce order type
      Throws:
      NoSuchOrderTypeException - if a commerce order type with the primary key could not be found
    • removeByLtE_S

      void removeByLtE_S(Date expirationDate, int status)
      Removes all the commerce order types where expirationDate < ? and status = ? from the database.
      Parameters:
      expirationDate - the expiration date
      status - the status
    • countByLtE_S

      int countByLtE_S(Date expirationDate, int status)
      Returns the number of commerce order types where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - the status
      Returns:
      the number of matching commerce order types
    • filterCountByLtE_S

      int filterCountByLtE_S(Date expirationDate, int status)
      Returns the number of commerce order types that the user has permission to view where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - the status
      Returns:
      the number of matching commerce order types that the user has permission to view
    • findByERC_C

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

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

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

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

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

      void cacheResult(CommerceOrderType commerceOrderType)
      Caches the commerce order type in the entity cache if it is enabled.
      Parameters:
      commerceOrderType - the commerce order type
    • cacheResult

      void cacheResult(List<CommerceOrderType> commerceOrderTypes)
      Caches the commerce order types in the entity cache if it is enabled.
      Parameters:
      commerceOrderTypes - the commerce order types
    • create

      CommerceOrderType create(long commerceOrderTypeId)
      Creates a new commerce order type with the primary key. Does not add the commerce order type to the database.
      Parameters:
      commerceOrderTypeId - the primary key for the new commerce order type
      Returns:
      the new commerce order type
    • remove

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

      CommerceOrderType updateImpl(CommerceOrderType commerceOrderType)
    • findByPrimaryKey

      CommerceOrderType findByPrimaryKey(long commerceOrderTypeId) throws NoSuchOrderTypeException
      Returns the commerce order type with the primary key or throws a NoSuchOrderTypeException if it could not be found.
      Parameters:
      commerceOrderTypeId - the primary key of the commerce order type
      Returns:
      the commerce order type
      Throws:
      NoSuchOrderTypeException - if a commerce order type with the primary key could not be found
    • fetchByPrimaryKey

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

      Returns all the commerce order types.
      Returns:
      the commerce order types
    • findAll

      List<CommerceOrderType> findAll(int start, int end)
      Returns a range of all the commerce order types.

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

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

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

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

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

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

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

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

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

      int countAll()
      Returns the number of commerce order types.
      Returns:
      the number of commerce order types