Class CommerceTaxCategoryMappingUtil
com.liferay.commerce.tax.service.persistence.impl.CommerceTaxCategoryMappingPersistenceImpl 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(CommerceTaxCategoryMapping commerceTaxCategoryMapping) Caches the commerce tax category mapping in the entity cache if it is enabled.static voidcacheResult(List<CommerceTaxCategoryMapping> commerceTaxCategoryMappings) Caches the commerce tax category mappings in the entity cache if it is enabled.static voidstatic voidclearCache(CommerceTaxCategoryMapping commerceTaxCategoryMapping) static intcountAll()Returns the number of commerce tax category mappings.static intcountByC_C(long commerceTaxMethodId, long CPTaxCategoryId) Returns the number of commerce tax category mappings where commerceTaxMethodId = ? and CPTaxCategoryId = ?.static intcountByCommerceTaxMethodId(long commerceTaxMethodId) Returns the number of commerce tax category mappings where commerceTaxMethodId = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of commerce tax category mappings where externalReferenceCode = ? and companyId = ?.static intcountByUuid(String uuid) Returns the number of commerce tax category mappings where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of commerce tax category mappings where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of commerce tax category mappings where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CommerceTaxCategoryMappingcreate(long commerceTaxCategoryMappingId) Creates a new commerce tax category mapping with the primary key.static CommerceTaxCategoryMappingfetchByC_C(long commerceTaxMethodId, long CPTaxCategoryId) Returns the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? or returnsnullif it could not be found.static CommerceTaxCategoryMappingfetchByC_C(long commerceTaxMethodId, long CPTaxCategoryId, boolean useFinderCache) Returns the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? or returnsnullif it could not be found, optionally using the finder cache.static CommerceTaxCategoryMappingfetchByCommerceTaxMethodId_First(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the first commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.static CommerceTaxCategoryMappingfetchByCommerceTaxMethodId_Last(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the last commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.static CommerceTaxCategoryMappingfetchByERC_C(String externalReferenceCode, long companyId) Returns the commerce tax category mapping where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static CommerceTaxCategoryMappingfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce tax category mapping where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static CommerceTaxCategoryMappingfetchByPrimaryKey(long commerceTaxCategoryMappingId) Returns the commerce tax category mapping with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CommerceTaxCategoryMappingfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the first commerce tax category mapping in the ordered set where uuid = ? and companyId = ?.static CommerceTaxCategoryMappingfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the last commerce tax category mapping in the ordered set where uuid = ? and companyId = ?.static CommerceTaxCategoryMappingfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the first commerce tax category mapping in the ordered set where uuid = ?.static CommerceTaxCategoryMappingfetchByUUID_G(String uuid, long groupId) Returns the commerce tax category mapping where uuid = ? and groupId = ? or returnsnullif it could not be found.static CommerceTaxCategoryMappingfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the commerce tax category mapping where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static CommerceTaxCategoryMappingfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the last commerce tax category mapping in the ordered set where uuid = ?.static List<CommerceTaxCategoryMapping>findAll()Returns all the commerce tax category mappings.static List<CommerceTaxCategoryMapping>findAll(int start, int end) Returns a range of all the commerce tax category mappings.static List<CommerceTaxCategoryMapping>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns an ordered range of all the commerce tax category mappings.static List<CommerceTaxCategoryMapping>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce tax category mappings.static CommerceTaxCategoryMappingfindByC_C(long commerceTaxMethodId, long CPTaxCategoryId) Returns the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? or throws aNoSuchTaxCategoryMappingExceptionif it could not be found.static List<CommerceTaxCategoryMapping>findByCommerceTaxMethodId(long commerceTaxMethodId) Returns all the commerce tax category mappings where commerceTaxMethodId = ?.static List<CommerceTaxCategoryMapping>findByCommerceTaxMethodId(long commerceTaxMethodId, int start, int end) Returns a range of all the commerce tax category mappings where commerceTaxMethodId = ?.static List<CommerceTaxCategoryMapping>findByCommerceTaxMethodId(long commerceTaxMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns an ordered range of all the commerce tax category mappings where commerceTaxMethodId = ?.static List<CommerceTaxCategoryMapping>findByCommerceTaxMethodId(long commerceTaxMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce tax category mappings where commerceTaxMethodId = ?.static CommerceTaxCategoryMappingfindByCommerceTaxMethodId_First(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the first commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.static CommerceTaxCategoryMappingfindByCommerceTaxMethodId_Last(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the last commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.static CommerceTaxCategoryMapping[]findByCommerceTaxMethodId_PrevAndNext(long commerceTaxCategoryMappingId, long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the commerce tax category mappings before and after the current commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.static CommerceTaxCategoryMappingfindByERC_C(String externalReferenceCode, long companyId) Returns the commerce tax category mapping where externalReferenceCode = ? and companyId = ? or throws aNoSuchTaxCategoryMappingExceptionif it could not be found.static CommerceTaxCategoryMappingfindByPrimaryKey(long commerceTaxCategoryMappingId) Returns the commerce tax category mapping with the primary key or throws aNoSuchTaxCategoryMappingExceptionif it could not be found.static List<CommerceTaxCategoryMapping>findByUuid(String uuid) Returns all the commerce tax category mappings where uuid = ?.static List<CommerceTaxCategoryMapping>findByUuid(String uuid, int start, int end) Returns a range of all the commerce tax category mappings where uuid = ?.static List<CommerceTaxCategoryMapping>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns an ordered range of all the commerce tax category mappings where uuid = ?.static List<CommerceTaxCategoryMapping>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce tax category mappings where uuid = ?.static List<CommerceTaxCategoryMapping>findByUuid_C(String uuid, long companyId) Returns all the commerce tax category mappings where uuid = ? and companyId = ?.static List<CommerceTaxCategoryMapping>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce tax category mappings where uuid = ? and companyId = ?.static List<CommerceTaxCategoryMapping>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns an ordered range of all the commerce tax category mappings where uuid = ? and companyId = ?.static List<CommerceTaxCategoryMapping>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce tax category mappings where uuid = ? and companyId = ?.static CommerceTaxCategoryMappingfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the first commerce tax category mapping in the ordered set where uuid = ? and companyId = ?.static CommerceTaxCategoryMappingfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the last commerce tax category mapping in the ordered set where uuid = ? and companyId = ?.static CommerceTaxCategoryMapping[]findByUuid_C_PrevAndNext(long commerceTaxCategoryMappingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the commerce tax category mappings before and after the current commerce tax category mapping in the ordered set where uuid = ? and companyId = ?.static CommerceTaxCategoryMappingfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the first commerce tax category mapping in the ordered set where uuid = ?.static CommerceTaxCategoryMappingfindByUUID_G(String uuid, long groupId) Returns the commerce tax category mapping where uuid = ? and groupId = ? or throws aNoSuchTaxCategoryMappingExceptionif it could not be found.static CommerceTaxCategoryMappingfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the last commerce tax category mapping in the ordered set where uuid = ?.static CommerceTaxCategoryMapping[]findByUuid_PrevAndNext(long commerceTaxCategoryMappingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the commerce tax category mappings before and after the current commerce tax category mapping in the ordered set where uuid = ?.static List<CommerceTaxCategoryMapping>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommerceTaxCategoryMapping>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommerceTaxCategoryMapping>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) static CommerceTaxCategoryMappingremove(long commerceTaxCategoryMappingId) Removes the commerce tax category mapping with the primary key from the database.static voidRemoves all the commerce tax category mappings from the database.static CommerceTaxCategoryMappingremoveByC_C(long commerceTaxMethodId, long CPTaxCategoryId) Removes the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? from the database.static voidremoveByCommerceTaxMethodId(long commerceTaxMethodId) Removes all the commerce tax category mappings where commerceTaxMethodId = ? from the database.static CommerceTaxCategoryMappingremoveByERC_C(String externalReferenceCode, long companyId) Removes the commerce tax category mapping where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByUuid(String uuid) Removes all the commerce tax category mappings where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce tax category mappings where uuid = ? and companyId = ? from the database.static CommerceTaxCategoryMappingremoveByUUID_G(String uuid, long groupId) Removes the commerce tax category mapping where uuid = ? and groupId = ? from the database.static voidsetPersistence(CommerceTaxCategoryMappingPersistence persistence) static CommerceTaxCategoryMappingupdate(CommerceTaxCategoryMapping commerceTaxCategoryMapping) static CommerceTaxCategoryMappingupdate(CommerceTaxCategoryMapping commerceTaxCategoryMapping, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommerceTaxCategoryMappingupdateImpl(CommerceTaxCategoryMapping commerceTaxCategoryMapping)
-
Constructor Details
-
CommerceTaxCategoryMappingUtil
public CommerceTaxCategoryMappingUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,CommerceTaxCategoryMapping> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommerceTaxCategoryMapping> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommerceTaxCategoryMapping> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommerceTaxCategoryMapping> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static CommerceTaxCategoryMapping update(CommerceTaxCategoryMapping commerceTaxCategoryMapping) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommerceTaxCategoryMapping update(CommerceTaxCategoryMapping commerceTaxCategoryMapping, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the commerce tax category mappings where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce tax category mappings
-
findByUuid
Returns a range of all the commerce tax category mappings 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 bothstartandendtoQueryUtil#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 fromCommerceTaxCategoryMappingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce tax category mappingsend- the upper bound of the range of commerce tax category mappings (not inclusive)- Returns:
- the range of matching commerce tax category mappings
-
findByUuid
public static List<CommerceTaxCategoryMapping> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns an ordered range of all the commerce tax category mappings 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 bothstartandendtoQueryUtil#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 fromCommerceTaxCategoryMappingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce tax category mappingsend- the upper bound of the range of commerce tax category mappings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce tax category mappings
-
findByUuid
public static List<CommerceTaxCategoryMapping> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce tax category mappings 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 bothstartandendtoQueryUtil#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 fromCommerceTaxCategoryMappingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce tax category mappingsend- the upper bound of the range of commerce tax category mappings (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 tax category mappings
-
findByUuid_First
public static CommerceTaxCategoryMapping findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException Returns the first commerce tax category mapping in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce tax category mapping
- Throws:
NoSuchTaxCategoryMappingException- if a matching commerce tax category mapping could not be foundNoSuchTaxCategoryMappingException
-
fetchByUuid_First
public static CommerceTaxCategoryMapping fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the first commerce tax category mapping in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce tax category mapping, or
nullif a matching commerce tax category mapping could not be found
-
findByUuid_Last
public static CommerceTaxCategoryMapping findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException Returns the last commerce tax category mapping in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce tax category mapping
- Throws:
NoSuchTaxCategoryMappingException- if a matching commerce tax category mapping could not be foundNoSuchTaxCategoryMappingException
-
fetchByUuid_Last
public static CommerceTaxCategoryMapping fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the last commerce tax category mapping in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce tax category mapping, or
nullif a matching commerce tax category mapping could not be found
-
findByUuid_PrevAndNext
public static CommerceTaxCategoryMapping[] findByUuid_PrevAndNext(long commerceTaxCategoryMappingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException Returns the commerce tax category mappings before and after the current commerce tax category mapping in the ordered set where uuid = ?.- Parameters:
commerceTaxCategoryMappingId- the primary key of the current commerce tax category mappinguuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce tax category mapping
- Throws:
NoSuchTaxCategoryMappingException- if a commerce tax category mapping with the primary key could not be foundNoSuchTaxCategoryMappingException
-
removeByUuid
Removes all the commerce tax category mappings where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of commerce tax category mappings where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce tax category mappings
-
findByUUID_G
public static CommerceTaxCategoryMapping findByUUID_G(String uuid, long groupId) throws NoSuchTaxCategoryMappingException Returns the commerce tax category mapping where uuid = ? and groupId = ? or throws aNoSuchTaxCategoryMappingExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching commerce tax category mapping
- Throws:
NoSuchTaxCategoryMappingException- if a matching commerce tax category mapping could not be foundNoSuchTaxCategoryMappingException
-
fetchByUUID_G
Returns the commerce tax category mapping where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching commerce tax category mapping, or
nullif a matching commerce tax category mapping could not be found
-
fetchByUUID_G
public static CommerceTaxCategoryMapping fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the commerce tax category mapping where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce tax category mapping, or
nullif a matching commerce tax category mapping could not be found
-
removeByUUID_G
public static CommerceTaxCategoryMapping removeByUUID_G(String uuid, long groupId) throws NoSuchTaxCategoryMappingException Removes the commerce tax category mapping where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the commerce tax category mapping that was removed
- Throws:
NoSuchTaxCategoryMappingException
-
countByUUID_G
Returns the number of commerce tax category mappings where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching commerce tax category mappings
-
findByUuid_C
Returns all the commerce tax category mappings where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce tax category mappings
-
findByUuid_C
public static List<CommerceTaxCategoryMapping> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce tax category mappings 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 bothstartandendtoQueryUtil#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 fromCommerceTaxCategoryMappingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce tax category mappingsend- the upper bound of the range of commerce tax category mappings (not inclusive)- Returns:
- the range of matching commerce tax category mappings
-
findByUuid_C
public static List<CommerceTaxCategoryMapping> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns an ordered range of all the commerce tax category mappings 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 bothstartandendtoQueryUtil#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 fromCommerceTaxCategoryMappingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce tax category mappingsend- the upper bound of the range of commerce tax category mappings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce tax category mappings
-
findByUuid_C
public static List<CommerceTaxCategoryMapping> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce tax category mappings 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 bothstartandendtoQueryUtil#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 fromCommerceTaxCategoryMappingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce tax category mappingsend- the upper bound of the range of commerce tax category mappings (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 tax category mappings
-
findByUuid_C_First
public static CommerceTaxCategoryMapping findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException Returns the first commerce tax category mapping 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 tax category mapping
- Throws:
NoSuchTaxCategoryMappingException- if a matching commerce tax category mapping could not be foundNoSuchTaxCategoryMappingException
-
fetchByUuid_C_First
public static CommerceTaxCategoryMapping fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the first commerce tax category mapping 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 tax category mapping, or
nullif a matching commerce tax category mapping could not be found
-
findByUuid_C_Last
public static CommerceTaxCategoryMapping findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException Returns the last commerce tax category mapping 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 last matching commerce tax category mapping
- Throws:
NoSuchTaxCategoryMappingException- if a matching commerce tax category mapping could not be foundNoSuchTaxCategoryMappingException
-
fetchByUuid_C_Last
public static CommerceTaxCategoryMapping fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the last commerce tax category mapping 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 last matching commerce tax category mapping, or
nullif a matching commerce tax category mapping could not be found
-
findByUuid_C_PrevAndNext
public static CommerceTaxCategoryMapping[] findByUuid_C_PrevAndNext(long commerceTaxCategoryMappingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException Returns the commerce tax category mappings before and after the current commerce tax category mapping in the ordered set where uuid = ? and companyId = ?.- Parameters:
commerceTaxCategoryMappingId- the primary key of the current commerce tax category mappinguuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce tax category mapping
- Throws:
NoSuchTaxCategoryMappingException- if a commerce tax category mapping with the primary key could not be foundNoSuchTaxCategoryMappingException
-
removeByUuid_C
Removes all the commerce tax category mappings where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of commerce tax category mappings where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce tax category mappings
-
findByCommerceTaxMethodId
Returns all the commerce tax category mappings where commerceTaxMethodId = ?.- Parameters:
commerceTaxMethodId- the commerce tax method ID- Returns:
- the matching commerce tax category mappings
-
findByCommerceTaxMethodId
public static List<CommerceTaxCategoryMapping> findByCommerceTaxMethodId(long commerceTaxMethodId, int start, int end) Returns a range of all the commerce tax category mappings where commerceTaxMethodId = ?.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 bothstartandendtoQueryUtil#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 fromCommerceTaxCategoryMappingModelImpl.- Parameters:
commerceTaxMethodId- the commerce tax method IDstart- the lower bound of the range of commerce tax category mappingsend- the upper bound of the range of commerce tax category mappings (not inclusive)- Returns:
- the range of matching commerce tax category mappings
-
findByCommerceTaxMethodId
public static List<CommerceTaxCategoryMapping> findByCommerceTaxMethodId(long commerceTaxMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns an ordered range of all the commerce tax category mappings where commerceTaxMethodId = ?.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 bothstartandendtoQueryUtil#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 fromCommerceTaxCategoryMappingModelImpl.- Parameters:
commerceTaxMethodId- the commerce tax method IDstart- the lower bound of the range of commerce tax category mappingsend- the upper bound of the range of commerce tax category mappings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce tax category mappings
-
findByCommerceTaxMethodId
public static List<CommerceTaxCategoryMapping> findByCommerceTaxMethodId(long commerceTaxMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce tax category mappings where commerceTaxMethodId = ?.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 bothstartandendtoQueryUtil#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 fromCommerceTaxCategoryMappingModelImpl.- Parameters:
commerceTaxMethodId- the commerce tax method IDstart- the lower bound of the range of commerce tax category mappingsend- the upper bound of the range of commerce tax category mappings (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 tax category mappings
-
findByCommerceTaxMethodId_First
public static CommerceTaxCategoryMapping findByCommerceTaxMethodId_First(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException Returns the first commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.- Parameters:
commerceTaxMethodId- the commerce tax method IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce tax category mapping
- Throws:
NoSuchTaxCategoryMappingException- if a matching commerce tax category mapping could not be foundNoSuchTaxCategoryMappingException
-
fetchByCommerceTaxMethodId_First
public static CommerceTaxCategoryMapping fetchByCommerceTaxMethodId_First(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the first commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.- Parameters:
commerceTaxMethodId- the commerce tax method IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce tax category mapping, or
nullif a matching commerce tax category mapping could not be found
-
findByCommerceTaxMethodId_Last
public static CommerceTaxCategoryMapping findByCommerceTaxMethodId_Last(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException Returns the last commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.- Parameters:
commerceTaxMethodId- the commerce tax method IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce tax category mapping
- Throws:
NoSuchTaxCategoryMappingException- if a matching commerce tax category mapping could not be foundNoSuchTaxCategoryMappingException
-
fetchByCommerceTaxMethodId_Last
public static CommerceTaxCategoryMapping fetchByCommerceTaxMethodId_Last(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the last commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.- Parameters:
commerceTaxMethodId- the commerce tax method IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce tax category mapping, or
nullif a matching commerce tax category mapping could not be found
-
findByCommerceTaxMethodId_PrevAndNext
public static CommerceTaxCategoryMapping[] findByCommerceTaxMethodId_PrevAndNext(long commerceTaxCategoryMappingId, long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) throws NoSuchTaxCategoryMappingException Returns the commerce tax category mappings before and after the current commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.- Parameters:
commerceTaxCategoryMappingId- the primary key of the current commerce tax category mappingcommerceTaxMethodId- the commerce tax method IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce tax category mapping
- Throws:
NoSuchTaxCategoryMappingException- if a commerce tax category mapping with the primary key could not be foundNoSuchTaxCategoryMappingException
-
removeByCommerceTaxMethodId
public static void removeByCommerceTaxMethodId(long commerceTaxMethodId) Removes all the commerce tax category mappings where commerceTaxMethodId = ? from the database.- Parameters:
commerceTaxMethodId- the commerce tax method ID
-
countByCommerceTaxMethodId
public static int countByCommerceTaxMethodId(long commerceTaxMethodId) Returns the number of commerce tax category mappings where commerceTaxMethodId = ?.- Parameters:
commerceTaxMethodId- the commerce tax method ID- Returns:
- the number of matching commerce tax category mappings
-
findByC_C
public static CommerceTaxCategoryMapping findByC_C(long commerceTaxMethodId, long CPTaxCategoryId) throws NoSuchTaxCategoryMappingException Returns the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? or throws aNoSuchTaxCategoryMappingExceptionif it could not be found.- Parameters:
commerceTaxMethodId- the commerce tax method IDCPTaxCategoryId- the cp tax category ID- Returns:
- the matching commerce tax category mapping
- Throws:
NoSuchTaxCategoryMappingException- if a matching commerce tax category mapping could not be foundNoSuchTaxCategoryMappingException
-
fetchByC_C
Returns the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
commerceTaxMethodId- the commerce tax method IDCPTaxCategoryId- the cp tax category ID- Returns:
- the matching commerce tax category mapping, or
nullif a matching commerce tax category mapping could not be found
-
fetchByC_C
public static CommerceTaxCategoryMapping fetchByC_C(long commerceTaxMethodId, long CPTaxCategoryId, boolean useFinderCache) Returns the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
commerceTaxMethodId- the commerce tax method IDCPTaxCategoryId- the cp tax category IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce tax category mapping, or
nullif a matching commerce tax category mapping could not be found
-
removeByC_C
public static CommerceTaxCategoryMapping removeByC_C(long commerceTaxMethodId, long CPTaxCategoryId) throws NoSuchTaxCategoryMappingException Removes the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? from the database.- Parameters:
commerceTaxMethodId- the commerce tax method IDCPTaxCategoryId- the cp tax category ID- Returns:
- the commerce tax category mapping that was removed
- Throws:
NoSuchTaxCategoryMappingException
-
countByC_C
public static int countByC_C(long commerceTaxMethodId, long CPTaxCategoryId) Returns the number of commerce tax category mappings where commerceTaxMethodId = ? and CPTaxCategoryId = ?.- Parameters:
commerceTaxMethodId- the commerce tax method IDCPTaxCategoryId- the cp tax category ID- Returns:
- the number of matching commerce tax category mappings
-
findByERC_C
public static CommerceTaxCategoryMapping findByERC_C(String externalReferenceCode, long companyId) throws NoSuchTaxCategoryMappingException Returns the commerce tax category mapping where externalReferenceCode = ? and companyId = ? or throws aNoSuchTaxCategoryMappingExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching commerce tax category mapping
- Throws:
NoSuchTaxCategoryMappingException- if a matching commerce tax category mapping could not be foundNoSuchTaxCategoryMappingException
-
fetchByERC_C
Returns the commerce tax category mapping 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 tax category mapping, or
nullif a matching commerce tax category mapping could not be found
-
fetchByERC_C
public static CommerceTaxCategoryMapping fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce tax category mapping 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 tax category mapping, or
nullif a matching commerce tax category mapping could not be found
-
removeByERC_C
public static CommerceTaxCategoryMapping removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchTaxCategoryMappingException Removes the commerce tax category mapping where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the commerce tax category mapping that was removed
- Throws:
NoSuchTaxCategoryMappingException
-
countByERC_C
Returns the number of commerce tax category mappings where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching commerce tax category mappings
-
cacheResult
Caches the commerce tax category mapping in the entity cache if it is enabled.- Parameters:
commerceTaxCategoryMapping- the commerce tax category mapping
-
cacheResult
Caches the commerce tax category mappings in the entity cache if it is enabled.- Parameters:
commerceTaxCategoryMappings- the commerce tax category mappings
-
create
Creates a new commerce tax category mapping with the primary key. Does not add the commerce tax category mapping to the database.- Parameters:
commerceTaxCategoryMappingId- the primary key for the new commerce tax category mapping- Returns:
- the new commerce tax category mapping
-
remove
public static CommerceTaxCategoryMapping remove(long commerceTaxCategoryMappingId) throws NoSuchTaxCategoryMappingException Removes the commerce tax category mapping with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceTaxCategoryMappingId- the primary key of the commerce tax category mapping- Returns:
- the commerce tax category mapping that was removed
- Throws:
NoSuchTaxCategoryMappingException- if a commerce tax category mapping with the primary key could not be foundNoSuchTaxCategoryMappingException
-
updateImpl
public static CommerceTaxCategoryMapping updateImpl(CommerceTaxCategoryMapping commerceTaxCategoryMapping) -
findByPrimaryKey
public static CommerceTaxCategoryMapping findByPrimaryKey(long commerceTaxCategoryMappingId) throws NoSuchTaxCategoryMappingException Returns the commerce tax category mapping with the primary key or throws aNoSuchTaxCategoryMappingExceptionif it could not be found.- Parameters:
commerceTaxCategoryMappingId- the primary key of the commerce tax category mapping- Returns:
- the commerce tax category mapping
- Throws:
NoSuchTaxCategoryMappingException- if a commerce tax category mapping with the primary key could not be foundNoSuchTaxCategoryMappingException
-
fetchByPrimaryKey
Returns the commerce tax category mapping with the primary key or returnsnullif it could not be found.- Parameters:
commerceTaxCategoryMappingId- the primary key of the commerce tax category mapping- Returns:
- the commerce tax category mapping, or
nullif a commerce tax category mapping with the primary key could not be found
-
findAll
Returns all the commerce tax category mappings.- Returns:
- the commerce tax category mappings
-
findAll
Returns a range of all the commerce tax category mappings.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 bothstartandendtoQueryUtil#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 fromCommerceTaxCategoryMappingModelImpl.- Parameters:
start- the lower bound of the range of commerce tax category mappingsend- the upper bound of the range of commerce tax category mappings (not inclusive)- Returns:
- the range of commerce tax category mappings
-
findAll
public static List<CommerceTaxCategoryMapping> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns an ordered range of all the commerce tax category mappings.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 bothstartandendtoQueryUtil#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 fromCommerceTaxCategoryMappingModelImpl.- Parameters:
start- the lower bound of the range of commerce tax category mappingsend- the upper bound of the range of commerce tax category mappings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of commerce tax category mappings
-
findAll
public static List<CommerceTaxCategoryMapping> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce tax category mappings.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 bothstartandendtoQueryUtil#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 fromCommerceTaxCategoryMappingModelImpl.- Parameters:
start- the lower bound of the range of commerce tax category mappingsend- the upper bound of the range of commerce tax category mappings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of commerce tax category mappings
-
removeAll
public static void removeAll()Removes all the commerce tax category mappings from the database. -
countAll
public static int countAll()Returns the number of commerce tax category mappings.- Returns:
- the number of commerce tax category mappings
-
getPersistence
-
setPersistence
-