Class CommerceTaxMethodServiceUtil

java.lang.Object
com.liferay.commerce.tax.service.CommerceTaxMethodServiceUtil

public class CommerceTaxMethodServiceUtil extends Object
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 Details

    • CommerceTaxMethodServiceUtil

      public CommerceTaxMethodServiceUtil()
  • Method Details

    • addCommerceTaxMethod

      public static CommerceTaxMethod addCommerceTaxMethod(long groupId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String engineKey, boolean percentage, boolean active) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommerceTaxMethod

      @Deprecated public static CommerceTaxMethod addCommerceTaxMethod(Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String engineKey, boolean percentage, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      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

      public static String 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,String> descriptionMap, boolean percentage, boolean active) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static CommerceTaxMethodService getService()