Interface CommerceOrderTypePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceOrderType>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByC_A(long companyId, boolean active) Returns the number of commerce order types where companyId = ? and active = ?.intcountByCompanyId(long companyId) Returns the number of commerce order types where companyId = ?.intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of commerce order types where externalReferenceCode = ? and companyId = ?.intcountByLtD_S(Date displayDate, int status) Returns the number of commerce order types where displayDate < ? and status = ?.intcountByLtE_S(Date expirationDate, int status) Returns the number of commerce order types where expirationDate < ? and status = ?.intcountByUuid(String uuid) Returns the number of commerce order types where uuid = ?.intcountByUuid_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 = ?.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) Returns the first commerce order type in the ordered set where companyId = ?.default CommerceOrderTypefetchByERC_C(String externalReferenceCode, long companyId) Returns the commerce order type where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce order type where externalReferenceCode = ? and companyId = ? or returnsnullif 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 = ?.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 = ?.fetchByPrimaryKey(long commerceOrderTypeId) Returns the commerce order type with the primary key or returnsnullif 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_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) Returns the first commerce order type in the ordered set where uuid = ?.intfilterCountByC_A(long companyId, boolean active) Returns the number of commerce order types that the user has permission to view where companyId = ? and active = ?.intfilterCountByCompanyId(long companyId) Returns the number of commerce order types that the user has permission to view where companyId = ?.intfilterCountByLtD_S(Date displayDate, int status) Returns the number of commerce order types that the user has permission to view where displayDate < ? and status = ?.intfilterCountByLtE_S(Date expirationDate, int status) Returns the number of commerce order types that the user has permission to view where expirationDate < ? and status = ?.intfilterCountByUuid(String uuid) Returns the number of commerce order types that the user has permission to view where uuid = ?.intfilterCountByUuid_C(String uuid, long companyId) Returns the number of commerce order types that the user has permission to view where uuid = ? and companyId = ?.default 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 = ?.default 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 = ?.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 = ?.default List<CommerceOrderType> filterFindByCompanyId(long companyId) Returns all the commerce order types that the user has permission to view where companyId = ?.default 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 = ?.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 = ?.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 = ?.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 = ?.default List<CommerceOrderType> filterFindByUuid(String uuid) Returns all the commerce order types that the user has permission to view where uuid = ?.default 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 = ?.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 = ?.default 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 = ?.default 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 = ?.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 = ?.default List<CommerceOrderType> findByC_A(long companyId, boolean active) Returns all the commerce order types where companyId = ? and active = ?.default 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 = ?.default 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 = ?.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 = ?.default List<CommerceOrderType> findByCompanyId(long companyId) Returns all the commerce order types where companyId = ?.default List<CommerceOrderType> findByCompanyId(long companyId, int start, int end) Returns a range of all the commerce order types where companyId = ?.default 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 = ?.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 = ?.findByERC_C(String externalReferenceCode, long companyId) Returns the commerce order type where externalReferenceCode = ? and companyId = ? or throws aNoSuchOrderTypeExceptionif 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 = ?.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 = ?.findByPrimaryKey(long commerceOrderTypeId) Returns the commerce order type with the primary key or throws aNoSuchOrderTypeExceptionif it could not be found.default List<CommerceOrderType> findByUuid(String uuid) Returns all the commerce order types where uuid = ?.default List<CommerceOrderType> findByUuid(String uuid, int start, int end) Returns a range of all the commerce order types where uuid = ?.default 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 = ?.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 = ?.default List<CommerceOrderType> findByUuid_C(String uuid, long companyId) Returns all the commerce order types where uuid = ? and companyId = ?.default 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 = ?.default 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 = ?.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_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) Returns the first commerce order type in the ordered set where uuid = ?.remove(long commerceOrderTypeId) Removes the commerce order type with the primary key from the database.voidremoveByC_A(long companyId, boolean active) Removes all the commerce order types where companyId = ? and active = ? from the database.voidremoveByCompanyId(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.voidremoveByLtD_S(Date displayDate, int status) Removes all the commerce order types where displayDate < ? and status = ? from the database.voidremoveByLtE_S(Date expirationDate, int status) Removes all the commerce order types where expirationDate < ? and status = ? from the database.voidremoveByUuid(String uuid) Removes all the commerce order types where uuid = ? from the database.voidremoveByUuid_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
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidorderByComparator- the comparator to order the set by (optionallynull)- 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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce order type, or
nullif a matching commerce order type could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce order types that the user has permission to view
-
removeByUuid
Removes all the commerce order types where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of commerce order types where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce order types
-
filterCountByUuid
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, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- 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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce order type, or
nullif a matching commerce order type could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce order types that the user has permission to view
-
removeByUuid_C
Removes all the commerce order types where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of commerce order types where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce order types
-
filterCountByUuid_C
Returns the number of commerce order types that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce order types that the user has permission to view
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce order type, or
nullif a matching commerce order type could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce order types that the user has permission to view
-
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, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- 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 IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce order type, or
nullif a matching commerce order type could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce order types that the user has permission to view
-
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 IDactive- 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 IDactive- 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 IDactive- the active- Returns:
- the number of matching commerce order types that the user has permission to view
-
findByLtD_S
Returns all the commerce order types where displayDate < ? and status = ?.- Parameters:
displayDate- the display datestatus- the status- Returns:
- the matching commerce order types
-
findByLtD_S
Returns a range of all the commerce order types where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of commerce order typesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- 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 datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce order type, or
nullif a matching commerce order type could not be found
-
filterFindByLtD_S
Returns all the commerce order types that the user has permission to view where displayDate < ? and status = ?.- Parameters:
displayDate- the display datestatus- the status- Returns:
- the matching commerce order types that the user has permission to view
-
filterFindByLtD_S
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of commerce order typesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce order types that the user has permission to view
-
removeByLtD_S
Removes all the commerce order types where displayDate < ? and status = ? from the database.- Parameters:
displayDate- the display datestatus- the status
-
countByLtD_S
Returns the number of commerce order types where displayDate < ? and status = ?.- Parameters:
displayDate- the display datestatus- the status- Returns:
- the number of matching commerce order types
-
filterCountByLtD_S
Returns the number of commerce order types that the user has permission to view where displayDate < ? and status = ?.- Parameters:
displayDate- the display datestatus- the status- Returns:
- the number of matching commerce order types that the user has permission to view
-
findByLtE_S
Returns all the commerce order types where expirationDate < ? and status = ?.- Parameters:
expirationDate- the expiration datestatus- the status- Returns:
- the matching commerce order types
-
findByLtE_S
Returns a range of all the commerce order types where expirationDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
expirationDate- the expiration datestatus- the statusstart- the lower bound of the range of commerce order typesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
expirationDate- the expiration datestatus- the statusstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
expirationDate- the expiration datestatus- the statusstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- 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 datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce order type, or
nullif a matching commerce order type could not be found
-
filterFindByLtE_S
Returns all the commerce order types that the user has permission to view where expirationDate < ? and status = ?.- Parameters:
expirationDate- the expiration datestatus- the status- Returns:
- the matching commerce order types that the user has permission to view
-
filterFindByLtE_S
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
expirationDate- the expiration datestatus- the statusstart- the lower bound of the range of commerce order typesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
expirationDate- the expiration datestatus- the statusstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce order types that the user has permission to view
-
removeByLtE_S
Removes all the commerce order types where expirationDate < ? and status = ? from the database.- Parameters:
expirationDate- the expiration datestatus- the status
-
countByLtE_S
Returns the number of commerce order types where expirationDate < ? and status = ?.- Parameters:
expirationDate- the expiration datestatus- the status- Returns:
- the number of matching commerce order types
-
filterCountByLtE_S
Returns the number of commerce order types that the user has permission to view where expirationDate < ? and status = ?.- Parameters:
expirationDate- the expiration datestatus- 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 aNoSuchOrderTypeExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- 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, boolean useFinderCache) Returns the commerce order type where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce order type, or
nullif 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 codecompanyId- the company ID- Returns:
- the commerce order type that was removed
- Throws:
NoSuchOrderTypeException
-
countByERC_C
Returns the number of commerce order types where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching commerce order types
-
create
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
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
-
findByPrimaryKey
Returns the commerce order type with the primary key or throws aNoSuchOrderTypeExceptionif 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
Returns the commerce order type with the primary key or returnsnullif it could not be found.- Parameters:
commerceOrderTypeId- the primary key of the commerce order type- Returns:
- the commerce order type, or
nullif a commerce order type with the primary key could not be found
-
fetchByERC_C
Returns the commerce order type where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching commerce order type, or
nullif a matching commerce order type could not be found
-
findByUuid
Returns all the commerce order types where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce order types
-
findByUuid
Returns a range of all the commerce order types where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)- Returns:
- the range of matching commerce order types
-
findByUuid
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce order types
-
filterFindByUuid
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce order typesend- 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
-
findByUuid_C
Returns all the commerce order types where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce order types
-
findByUuid_C
Returns a range of all the commerce order types where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)- Returns:
- the range of matching commerce order types
-
findByUuid_C
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce order types
-
filterFindByUuid_C
Returns all the commerce order types that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce order types that the user has permission to view
-
filterFindByUuid_C
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce order typesend- 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
-
findByCompanyId
Returns all the commerce order types where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching commerce order types
-
findByCompanyId
Returns a range of all the commerce order types where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)- Returns:
- the range of matching commerce order types
-
findByCompanyId
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce order types
-
filterFindByCompanyId
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce order typesend- 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
-
findByC_A
Returns all the commerce order types where companyId = ? and active = ?.- Parameters:
companyId- the company IDactive- the active- Returns:
- the matching commerce order types
-
findByC_A
Returns a range of all the commerce order types where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)- Returns:
- the range of matching commerce order types
-
findByC_A
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of commerce order typesend- the upper bound of the range of commerce order types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce order types
-
filterFindByC_A
Returns all the commerce order types that the user has permission to view where companyId = ? and active = ?.- Parameters:
companyId- the company IDactive- the active- Returns:
- the matching commerce order types that the user has permission to view
-
filterFindByC_A
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceOrderTypeModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of commerce order typesend- 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
-