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 CommerceTaxMethodaddCommerceTaxMethod(long groupId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, String engineKey, boolean percentage, boolean active) static CommerceTaxMethodaddCommerceTaxMethod(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 CommerceTaxMethodcreateCommerceTaxMethod(long groupId, long commerceTaxMethodId) static voiddeleteCommerceTaxMethod(long commerceTaxMethodId) static CommerceTaxMethodfetchCommerceTaxMethod(long groupId, String engineKey) static CommerceTaxMethodgetCommerceTaxMethod(long commerceTaxMethodId) static List<CommerceTaxMethod>getCommerceTaxMethods(long groupId) static List<CommerceTaxMethod>getCommerceTaxMethods(long groupId, boolean active) static StringReturns the OSGi service identifier.static CommerceTaxMethodServicestatic CommerceTaxMethodsetActive(long commerceTaxMethodId, boolean active) static CommerceTaxMethodupdateCommerceTaxMethod(long commerceTaxMethodId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean percentage, boolean active) static CommerceTaxMethodupdateCommerceTaxMethod(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
-