Package com.liferay.commerce.tax.service
Class CommerceTaxMethodServiceUtil
java.lang.Object
com.liferay.commerce.tax.service.CommerceTaxMethodServiceUtil
Provides the remote service utility for CommerceTaxMethod. This utility wraps
com.liferay.commerce.tax.service.impl.CommerceTaxMethodServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CommerceTaxMethod
addCommerceTaxMethod
(long groupId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, String engineKey, boolean percentage, boolean active) static CommerceTaxMethod
addCommerceTaxMethod
(Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, String engineKey, boolean percentage, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.As of Athanasius (7.3.x)static CommerceTaxMethod
createCommerceTaxMethod
(long groupId, long commerceTaxMethodId) static void
deleteCommerceTaxMethod
(long commerceTaxMethodId) static CommerceTaxMethod
fetchCommerceTaxMethod
(long groupId, String engineKey) static CommerceTaxMethod
getCommerceTaxMethod
(long commerceTaxMethodId) static List<CommerceTaxMethod>
getCommerceTaxMethods
(long groupId) static List<CommerceTaxMethod>
getCommerceTaxMethods
(long groupId, boolean active) static String
Returns the OSGi service identifier.static CommerceTaxMethodService
static CommerceTaxMethod
setActive
(long commerceTaxMethodId, boolean active) static CommerceTaxMethod
updateCommerceTaxMethod
(long commerceTaxMethodId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean percentage, boolean active) static CommerceTaxMethod
updateCommerceTaxMethod
(CommerceTaxMethod commerceTaxMethod)
-
Constructor Details
-
CommerceTaxMethodServiceUtil
public CommerceTaxMethodServiceUtil()
-
-
Method Details
-
addCommerceTaxMethod
public static CommerceTaxMethod addCommerceTaxMethod(long groupId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String engineKey, boolean percentage, boolean active) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceTaxMethod
@Deprecated public static CommerceTaxMethod addCommerceTaxMethod(Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String engineKey, boolean percentage, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.As of Athanasius (7.3.x)- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createCommerceTaxMethod
public static CommerceTaxMethod createCommerceTaxMethod(long groupId, long commerceTaxMethodId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceTaxMethod
public static void deleteCommerceTaxMethod(long commerceTaxMethodId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceTaxMethod
public static CommerceTaxMethod fetchCommerceTaxMethod(long groupId, String engineKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceTaxMethod
public static CommerceTaxMethod getCommerceTaxMethod(long commerceTaxMethodId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceTaxMethods
public static List<CommerceTaxMethod> getCommerceTaxMethods(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceTaxMethods
public static List<CommerceTaxMethod> getCommerceTaxMethods(long groupId, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
setActive
public static CommerceTaxMethod setActive(long commerceTaxMethodId, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceTaxMethod
public static CommerceTaxMethod updateCommerceTaxMethod(CommerceTaxMethod commerceTaxMethod) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceTaxMethod
public static CommerceTaxMethod updateCommerceTaxMethod(long commerceTaxMethodId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean percentage, boolean active) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-