Class CommercePaymentMethodGroupRelServiceUtil

java.lang.Object
com.liferay.commerce.payment.service.CommercePaymentMethodGroupRelServiceUtil

public class CommercePaymentMethodGroupRelServiceUtil extends Object
Provides the remote service utility for CommercePaymentMethodGroupRel. This utility wraps com.liferay.commerce.payment.service.impl.CommercePaymentMethodGroupRelServiceImpl 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

    • CommercePaymentMethodGroupRelServiceUtil

      public CommercePaymentMethodGroupRelServiceUtil()
  • Method Details

    • addCommerceAddressRestriction

      public static com.liferay.commerce.model.CommerceAddressRestriction addCommerceAddressRestriction(long groupId, long classPK, long countryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommerceAddressRestriction

      @Deprecated public static com.liferay.commerce.model.CommerceAddressRestriction addCommerceAddressRestriction(long classPK, long countryId, 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
    • addCommercePaymentMethodGroupRel

      public static CommercePaymentMethodGroupRel addCommercePaymentMethodGroupRel(long groupId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, File imageFile, String paymentIntegrationKey, double priority, String typeSettings) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceAddressRestriction

      public static void deleteCommerceAddressRestriction(long commerceAddressRestrictionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceAddressRestrictions

      public static void deleteCommerceAddressRestrictions(long commercePaymentMethodGroupRelId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommercePaymentMethodGroupRel

      public static void deleteCommercePaymentMethodGroupRel(long commercePaymentMethodGroupRelId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommercePaymentMethodGroupRel

      public static CommercePaymentMethodGroupRel fetchCommercePaymentMethodGroupRel(long commercePaymentMethodGroupRelId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommercePaymentMethodGroupRel

      public static CommercePaymentMethodGroupRel fetchCommercePaymentMethodGroupRel(long groupId, String engineKey) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceAddressRestrictions

      public static List<com.liferay.commerce.model.CommerceAddressRestriction> getCommerceAddressRestrictions(long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.commerce.model.CommerceAddressRestriction> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceAddressRestrictionsCount

      public static int getCommerceAddressRestrictionsCount(long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePaymentMethodGroupRel

      public static CommercePaymentMethodGroupRel getCommercePaymentMethodGroupRel(long commercePaymentMethodGroupRelId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePaymentMethodGroupRel

      public static CommercePaymentMethodGroupRel getCommercePaymentMethodGroupRel(long groupId, String engineKey) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePaymentMethodGroupRels

      public static List<CommercePaymentMethodGroupRel> getCommercePaymentMethodGroupRels(long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePaymentMethodGroupRels

      public static List<CommercePaymentMethodGroupRel> getCommercePaymentMethodGroupRels(long groupId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePaymentMethodGroupRels

      public static List<CommercePaymentMethodGroupRel> getCommercePaymentMethodGroupRels(long groupId, boolean active, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePaymentMethodGroupRels

      public static List<CommercePaymentMethodGroupRel> getCommercePaymentMethodGroupRels(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePaymentMethodGroupRels

      public static List<CommercePaymentMethodGroupRel> getCommercePaymentMethodGroupRels(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePaymentMethodGroupRels

      public static List<CommercePaymentMethodGroupRel> getCommercePaymentMethodGroupRels(long groupId, long countryId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePaymentMethodGroupRelsCount

      public static int getCommercePaymentMethodGroupRelsCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePaymentMethodGroupRelsCount

      public static int getCommercePaymentMethodGroupRelsCount(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 CommercePaymentMethodGroupRel setActive(long commercePaymentMethodGroupRelId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommercePaymentMethodGroupRel

      public static CommercePaymentMethodGroupRel updateCommercePaymentMethodGroupRel(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommercePaymentMethodGroupRel

      public static CommercePaymentMethodGroupRel updateCommercePaymentMethodGroupRel(long commercePaymentMethodGroupRelId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, File imageFile, double priority, boolean active) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static CommercePaymentMethodGroupRelService getService()