Interface CommerceTaxCategoryMappingPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceTaxCategoryMapping>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceTaxCategoryMapping commerceTaxCategoryMapping) Caches the commerce tax category mapping in the entity cache if it is enabled.void
cacheResult
(List<CommerceTaxCategoryMapping> commerceTaxCategoryMappings) Caches the commerce tax category mappings in the entity cache if it is enabled.int
countAll()
Returns the number of commerce tax category mappings.int
countByC_C
(long commerceTaxMethodId, long CPTaxCategoryId) Returns the number of commerce tax category mappings where commerceTaxMethodId = ? and CPTaxCategoryId = ?.int
countByCommerceTaxMethodId
(long commerceTaxMethodId) Returns the number of commerce tax category mappings where commerceTaxMethodId = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of commerce tax category mappings where externalReferenceCode = ? and companyId = ?.int
countByUuid
(String uuid) Returns the number of commerce tax category mappings where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce tax category mappings where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of commerce tax category mappings where uuid = ? and groupId = ?.create
(long commerceTaxCategoryMappingId) Creates a new commerce tax category mapping with the primary key.fetchByC_C
(long commerceTaxMethodId, long CPTaxCategoryId) Returns the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? or returnsnull
if it could not be found.fetchByC_C
(long commerceTaxMethodId, long CPTaxCategoryId, boolean useFinderCache) Returns the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the commerce tax category mapping where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce tax category mapping where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long commerceTaxCategoryMappingId) Returns the commerce tax category mapping with the primary key or returnsnull
if it could not be found.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 = ?.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 = ?.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 = ?.fetchByUUID_G
(String uuid, long groupId) Returns the commerce tax category mapping where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the commerce tax category mapping where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.findAll()
Returns all the commerce tax category mappings.findAll
(int start, int end) Returns a range of all the commerce tax category mappings.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns an ordered range of all the commerce tax category mappings.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.findByC_C
(long commerceTaxMethodId, long CPTaxCategoryId) Returns the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? or throws aNoSuchTaxCategoryMappingException
if it could not be found.findByCommerceTaxMethodId
(long commerceTaxMethodId) Returns all the commerce tax category mappings where commerceTaxMethodId = ?.findByCommerceTaxMethodId
(long commerceTaxMethodId, int start, int end) Returns a range of all the commerce tax category mappings where commerceTaxMethodId = ?.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 = ?.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 = ?.findByCommerceTaxMethodId_First
(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the first commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.findByCommerceTaxMethodId_Last
(long commerceTaxMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the last commerce tax category mapping in the ordered set where commerceTaxMethodId = ?.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 = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the commerce tax category mapping where externalReferenceCode = ? and companyId = ? or throws aNoSuchTaxCategoryMappingException
if it could not be found.findByPrimaryKey
(long commerceTaxCategoryMappingId) Returns the commerce tax category mapping with the primary key or throws aNoSuchTaxCategoryMappingException
if it could not be found.findByUuid
(String uuid) Returns all the commerce tax category mappings where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the commerce tax category mappings where uuid = ?.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 = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the commerce tax category mappings where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce tax category mappings where uuid = ? and companyId = ?.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 = ?.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 = ?.findByUuid_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 = ?.findByUuid_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 = ?.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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the first commerce tax category mapping in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the commerce tax category mapping where uuid = ? and groupId = ? or throws aNoSuchTaxCategoryMappingException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxCategoryMapping> orderByComparator) Returns the last commerce tax category mapping in the ordered set where uuid = ?.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 = ?.remove
(long commerceTaxCategoryMappingId) Removes the commerce tax category mapping with the primary key from the database.void
Removes all the commerce tax category mappings from the database.removeByC_C
(long commerceTaxMethodId, long CPTaxCategoryId) Removes the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? from the database.void
removeByCommerceTaxMethodId
(long commerceTaxMethodId) Removes all the commerce tax category mappings where commerceTaxMethodId = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the commerce tax category mapping where externalReferenceCode = ? and companyId = ? from the database.void
removeByUuid
(String uuid) Removes all the commerce tax category mappings where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce tax category mappings where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the commerce tax category mapping where uuid = ? and groupId = ? from the database.updateImpl
(CommerceTaxCategoryMapping commerceTaxCategoryMapping) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByUuid_First
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
null
if a matching commerce tax category mapping could not be found
-
findByUuid_Last
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 found
-
fetchByUuid_Last
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
null
if a matching commerce tax category mapping could not be found
-
findByUuid_PrevAndNext
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 found
-
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
CommerceTaxCategoryMapping findByUUID_G(String uuid, long groupId) throws NoSuchTaxCategoryMappingException Returns the commerce tax category mapping where uuid = ? and groupId = ? or throws aNoSuchTaxCategoryMappingException
if 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 found
-
fetchByUUID_G
Returns the commerce tax category mapping where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce tax category mapping, or
null
if a matching commerce tax category mapping could not be found
-
fetchByUUID_G
Returns the commerce tax category mapping where uuid = ? and groupId = ? or returnsnull
if 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
null
if a matching commerce tax category mapping could not be found
-
removeByUUID_G
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
Returns a range of all the commerce tax category mappings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByUuid_C_First
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
null
if a matching commerce tax category mapping could not be found
-
findByUuid_C_Last
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 found
-
fetchByUuid_C_Last
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
null
if a matching commerce tax category mapping could not be found
-
findByUuid_C_PrevAndNext
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 found
-
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByCommerceTaxMethodId_First
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
null
if a matching commerce tax category mapping could not be found
-
findByCommerceTaxMethodId_Last
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 found
-
fetchByCommerceTaxMethodId_Last
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
null
if a matching commerce tax category mapping could not be found
-
findByCommerceTaxMethodId_PrevAndNext
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 found
-
removeByCommerceTaxMethodId
void removeByCommerceTaxMethodId(long commerceTaxMethodId) Removes all the commerce tax category mappings where commerceTaxMethodId = ? from the database.- Parameters:
commerceTaxMethodId
- the commerce tax method ID
-
countByCommerceTaxMethodId
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
CommerceTaxCategoryMapping findByC_C(long commerceTaxMethodId, long CPTaxCategoryId) throws NoSuchTaxCategoryMappingException Returns the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? or throws aNoSuchTaxCategoryMappingException
if 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 found
-
fetchByC_C
Returns the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? or returnsnull
if 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
null
if a matching commerce tax category mapping could not be found
-
fetchByC_C
CommerceTaxCategoryMapping fetchByC_C(long commerceTaxMethodId, long CPTaxCategoryId, boolean useFinderCache) Returns the commerce tax category mapping where commerceTaxMethodId = ? and CPTaxCategoryId = ? or returnsnull
if 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
null
if a matching commerce tax category mapping could not be found
-
removeByC_C
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
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
CommerceTaxCategoryMapping findByERC_C(String externalReferenceCode, long companyId) throws NoSuchTaxCategoryMappingException Returns the commerce tax category mapping where externalReferenceCode = ? and companyId = ? or throws aNoSuchTaxCategoryMappingException
if 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 found
-
fetchByERC_C
Returns the commerce tax category mapping where externalReferenceCode = ? and companyId = ? or returnsnull
if 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
null
if a matching commerce tax category mapping could not be found
-
fetchByERC_C
CommerceTaxCategoryMapping fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce tax category mapping where externalReferenceCode = ? and companyId = ? or returnsnull
if 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
null
if a matching commerce tax category mapping could not be found
-
removeByERC_C
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
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 found
-
updateImpl
-
findByPrimaryKey
CommerceTaxCategoryMapping findByPrimaryKey(long commerceTaxCategoryMappingId) throws NoSuchTaxCategoryMappingException Returns the commerce tax category mapping with the primary key or throws aNoSuchTaxCategoryMappingException
if 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 found
-
fetchByPrimaryKey
Returns the commerce tax category mapping with the primary key or returnsnull
if it could not be found.- Parameters:
commerceTaxCategoryMappingId
- the primary key of the commerce tax category mapping- Returns:
- the commerce tax category mapping, or
null
if a commerce tax category mapping with the primary key could not be found
-
findAll
List<CommerceTaxCategoryMapping> 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
void removeAll()Removes all the commerce tax category mappings from the database. -
countAll
int countAll()Returns the number of commerce tax category mappings.- Returns:
- the number of commerce tax category mappings
-