Class CPTaxCategoryUtil
com.liferay.commerce.product.service.persistence.impl.CPTaxCategoryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(CPTaxCategory cpTaxCategory) static voidcacheResult(List<CPTaxCategory> cpTaxCategories) static voidstatic voidclearCache(CPTaxCategory cpTaxCategory) static intcountByCompanyId(long companyId) Returns the number of cp tax categories where companyId = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of cp tax categories where externalReferenceCode = ? and companyId = ?.static intcountByUuid(String uuid) Returns the number of cp tax categories where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of cp tax categories where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CPTaxCategorycreate(long CPTaxCategoryId) Creates a new cp tax category with the primary key.static CPTaxCategoryfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns the first cp tax category in the ordered set where companyId = ?.static CPTaxCategoryfetchByERC_C(String externalReferenceCode, long companyId) Returns the cp tax category where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static CPTaxCategoryfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp tax category where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static CPTaxCategoryfetchByPrimaryKey(long CPTaxCategoryId) Returns the cp tax category with the primary key or returnsnullif it could not be found.static Map<Serializable, CPTaxCategory> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CPTaxCategoryfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns the first cp tax category in the ordered set where uuid = ? and companyId = ?.static CPTaxCategoryfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns the first cp tax category in the ordered set where uuid = ?.static intfilterCountByCompanyId(long companyId) Returns the number of cp tax categories that the user has permission to view where companyId = ?.static intfilterCountByUuid(String uuid) Returns the number of cp tax categories that the user has permission to view where uuid = ?.static intfilterCountByUuid_C(String uuid, long companyId) Returns the number of cp tax categories that the user has permission to view where uuid = ? and companyId = ?.static List<CPTaxCategory> filterFindByCompanyId(long companyId) Returns all the cp tax categories that the user has permission to view where companyId = ?.static List<CPTaxCategory> filterFindByCompanyId(long companyId, int start, int end) Returns a range of all the cp tax categories that the user has permission to view where companyId = ?.static List<CPTaxCategory> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns an ordered range of all the cp tax categories that the user has permissions to view where companyId = ?.static List<CPTaxCategory> filterFindByUuid(String uuid) Returns all the cp tax categories that the user has permission to view where uuid = ?.static List<CPTaxCategory> filterFindByUuid(String uuid, int start, int end) Returns a range of all the cp tax categories that the user has permission to view where uuid = ?.static List<CPTaxCategory> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns an ordered range of all the cp tax categories that the user has permissions to view where uuid = ?.static List<CPTaxCategory> filterFindByUuid_C(String uuid, long companyId) Returns all the cp tax categories that the user has permission to view where uuid = ? and companyId = ?.static List<CPTaxCategory> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp tax categories that the user has permission to view where uuid = ? and companyId = ?.static List<CPTaxCategory> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns an ordered range of all the cp tax categories that the user has permissions to view where uuid = ? and companyId = ?.static List<CPTaxCategory> findByCompanyId(long companyId) Returns all the cp tax categories where companyId = ?.static List<CPTaxCategory> findByCompanyId(long companyId, int start, int end) Returns a range of all the cp tax categories where companyId = ?.static List<CPTaxCategory> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns an ordered range of all the cp tax categories where companyId = ?.static List<CPTaxCategory> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp tax categories where companyId = ?.static CPTaxCategoryfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns the first cp tax category in the ordered set where companyId = ?.static CPTaxCategoryfindByERC_C(String externalReferenceCode, long companyId) Returns the cp tax category where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPTaxCategoryExceptionif it could not be found.static CPTaxCategoryfindByPrimaryKey(long CPTaxCategoryId) Returns the cp tax category with the primary key or throws aNoSuchCPTaxCategoryExceptionif it could not be found.static List<CPTaxCategory> findByUuid(String uuid) Returns all the cp tax categories where uuid = ?.static List<CPTaxCategory> findByUuid(String uuid, int start, int end) Returns a range of all the cp tax categories where uuid = ?.static List<CPTaxCategory> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns an ordered range of all the cp tax categories where uuid = ?.static List<CPTaxCategory> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp tax categories where uuid = ?.static List<CPTaxCategory> findByUuid_C(String uuid, long companyId) Returns all the cp tax categories where uuid = ? and companyId = ?.static List<CPTaxCategory> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp tax categories where uuid = ? and companyId = ?.static List<CPTaxCategory> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns an ordered range of all the cp tax categories where uuid = ? and companyId = ?.static List<CPTaxCategory> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp tax categories where uuid = ? and companyId = ?.static CPTaxCategoryfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns the first cp tax category in the ordered set where uuid = ? and companyId = ?.static CPTaxCategoryfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns the first cp tax category in the ordered set where uuid = ?.static List<CPTaxCategory> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CPTaxCategory> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CPTaxCategory> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) static CPTaxCategoryPersistencestatic CPTaxCategoryremove(long CPTaxCategoryId) Removes the cp tax category with the primary key from the database.static voidremoveByCompanyId(long companyId) Removes all the cp tax categories where companyId = ? from the database.static CPTaxCategoryremoveByERC_C(String externalReferenceCode, long companyId) Removes the cp tax category where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByUuid(String uuid) Removes all the cp tax categories where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the cp tax categories where uuid = ? and companyId = ? from the database.static voidsetPersistence(CPTaxCategoryPersistence persistence) static CPTaxCategoryupdate(CPTaxCategory cpTaxCategory) static CPTaxCategoryupdate(CPTaxCategory cpTaxCategory, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CPTaxCategoryupdateImpl(CPTaxCategory cpTaxCategory)
-
Constructor Details
-
CPTaxCategoryUtil
public CPTaxCategoryUtil()
-
-
Method Details
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<CPTaxCategory> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<CPTaxCategory> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<CPTaxCategory> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static CPTaxCategory update(CPTaxCategory cpTaxCategory, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
public static List<CPTaxCategory> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp tax categories 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.product.model.impl.CPTaxCategoryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp tax categoriesend- the upper bound of the range of cp tax categories (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cp tax categories
-
findByUuid_First
public static CPTaxCategory findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) throws NoSuchCPTaxCategoryException Returns the first cp tax category in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp tax category
-
fetchByUuid_First
public static CPTaxCategory fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns the first cp tax category in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp tax category, or
nullif a matching cp tax category could not be found
-
filterFindByUuid
public static List<CPTaxCategory> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns an ordered range of all the cp tax categories 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.product.model.impl.CPTaxCategoryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp tax categoriesend- the upper bound of the range of cp tax categories (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp tax categories that the user has permission to view
-
removeByUuid
Removes all the cp tax categories where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of cp tax categories where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching cp tax categories
-
filterCountByUuid
Returns the number of cp tax categories that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching cp tax categories that the user has permission to view
-
findByUuid_C
public static List<CPTaxCategory> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp tax categories 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.product.model.impl.CPTaxCategoryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp tax categoriesend- the upper bound of the range of cp tax categories (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cp tax categories
-
findByUuid_C_First
public static CPTaxCategory findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) throws NoSuchCPTaxCategoryException Returns the first cp tax category 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 cp tax category
-
fetchByUuid_C_First
public static CPTaxCategory fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns the first cp tax category 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 cp tax category, or
nullif a matching cp tax category could not be found
-
filterFindByUuid_C
public static List<CPTaxCategory> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns an ordered range of all the cp tax categories 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.product.model.impl.CPTaxCategoryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp tax categoriesend- the upper bound of the range of cp tax categories (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp tax categories that the user has permission to view
-
removeByUuid_C
Removes all the cp tax categories where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of cp tax categories where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching cp tax categories
-
filterCountByUuid_C
Returns the number of cp tax categories that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching cp tax categories that the user has permission to view
-
findByCompanyId
public static List<CPTaxCategory> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp tax categories 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.product.model.impl.CPTaxCategoryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of cp tax categoriesend- the upper bound of the range of cp tax categories (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cp tax categories
-
findByCompanyId_First
public static CPTaxCategory findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) throws NoSuchCPTaxCategoryException Returns the first cp tax category in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp tax category
-
fetchByCompanyId_First
public static CPTaxCategory fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns the first cp tax category in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp tax category, or
nullif a matching cp tax category could not be found
-
filterFindByCompanyId
public static List<CPTaxCategory> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns an ordered range of all the cp tax categories 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.product.model.impl.CPTaxCategoryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of cp tax categoriesend- the upper bound of the range of cp tax categories (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp tax categories that the user has permission to view
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the cp tax categories where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of cp tax categories where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching cp tax categories
-
filterCountByCompanyId
public static int filterCountByCompanyId(long companyId) Returns the number of cp tax categories that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching cp tax categories that the user has permission to view
-
findByERC_C
public static CPTaxCategory findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPTaxCategoryException Returns the cp tax category where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPTaxCategoryExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching cp tax category
-
fetchByERC_C
public static CPTaxCategory fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp tax category 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 cp tax category, or
nullif a matching cp tax category could not be found
-
removeByERC_C
public static CPTaxCategory removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPTaxCategoryException Removes the cp tax category where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the cp tax category that was removed
- Throws:
NoSuchCPTaxCategoryException
-
countByERC_C
Returns the number of cp tax categories where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching cp tax categories
-
create
Creates a new cp tax category with the primary key. Does not add the cp tax category to the database.- Parameters:
CPTaxCategoryId- the primary key for the new cp tax category- Returns:
- the new cp tax category
-
remove
Removes the cp tax category with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPTaxCategoryId- the primary key of the cp tax category- Returns:
- the cp tax category that was removed
-
updateImpl
-
findByPrimaryKey
public static CPTaxCategory findByPrimaryKey(long CPTaxCategoryId) throws NoSuchCPTaxCategoryException Returns the cp tax category with the primary key or throws aNoSuchCPTaxCategoryExceptionif it could not be found.- Parameters:
CPTaxCategoryId- the primary key of the cp tax category- Returns:
- the cp tax category
-
fetchByPrimaryKey
Returns the cp tax category with the primary key or returnsnullif it could not be found.- Parameters:
CPTaxCategoryId- the primary key of the cp tax category- Returns:
- the cp tax category, or
nullif a cp tax category with the primary key could not be found
-
fetchByERC_C
Returns the cp tax category 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 cp tax category, or
nullif a matching cp tax category could not be found
-
findByUuid
Returns all the cp tax categories where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching cp tax categories
-
findByUuid
Returns a range of all the cp tax categories 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.product.model.impl.CPTaxCategoryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp tax categoriesend- the upper bound of the range of cp tax categories (not inclusive)- Returns:
- the range of matching cp tax categories
-
findByUuid
public static List<CPTaxCategory> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns an ordered range of all the cp tax categories 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.product.model.impl.CPTaxCategoryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp tax categoriesend- the upper bound of the range of cp tax categories (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp tax categories
-
filterFindByUuid
Returns all the cp tax categories that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching cp tax categories that the user has permission to view
-
filterFindByUuid
Returns a range of all the cp tax categories 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.product.model.impl.CPTaxCategoryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp tax categoriesend- the upper bound of the range of cp tax categories (not inclusive)- Returns:
- the range of matching cp tax categories that the user has permission to view
-
findByUuid_C
Returns all the cp tax categories where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching cp tax categories
-
findByUuid_C
Returns a range of all the cp tax categories 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.product.model.impl.CPTaxCategoryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp tax categoriesend- the upper bound of the range of cp tax categories (not inclusive)- Returns:
- the range of matching cp tax categories
-
findByUuid_C
public static List<CPTaxCategory> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns an ordered range of all the cp tax categories 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.product.model.impl.CPTaxCategoryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp tax categoriesend- the upper bound of the range of cp tax categories (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp tax categories
-
filterFindByUuid_C
Returns all the cp tax categories that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching cp tax categories that the user has permission to view
-
filterFindByUuid_C
public static List<CPTaxCategory> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp tax categories 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.product.model.impl.CPTaxCategoryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp tax categoriesend- the upper bound of the range of cp tax categories (not inclusive)- Returns:
- the range of matching cp tax categories that the user has permission to view
-
findByCompanyId
Returns all the cp tax categories where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching cp tax categories
-
findByCompanyId
Returns a range of all the cp tax categories 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.product.model.impl.CPTaxCategoryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of cp tax categoriesend- the upper bound of the range of cp tax categories (not inclusive)- Returns:
- the range of matching cp tax categories
-
findByCompanyId
public static List<CPTaxCategory> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) Returns an ordered range of all the cp tax categories 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.product.model.impl.CPTaxCategoryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of cp tax categoriesend- the upper bound of the range of cp tax categories (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp tax categories
-
filterFindByCompanyId
Returns all the cp tax categories that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching cp tax categories that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the cp tax categories 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.product.model.impl.CPTaxCategoryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of cp tax categoriesend- the upper bound of the range of cp tax categories (not inclusive)- Returns:
- the range of matching cp tax categories that the user has permission to view
-
getPersistence
-
setPersistence
-