Class CommerceTermEntryServiceUtil

java.lang.Object
com.liferay.commerce.term.service.CommerceTermEntryServiceUtil

public class CommerceTermEntryServiceUtil extends Object
Provides the remote service utility for CommerceTermEntry. This utility wraps com.liferay.commerce.term.service.impl.CommerceTermEntryServiceImpl 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

    • CommerceTermEntryServiceUtil

      public CommerceTermEntryServiceUtil()
  • Method Details

    • addCommerceTermEntry

      public static CommerceTermEntry addCommerceTermEntry(String externalReferenceCode, boolean active, Map<Locale,String> descriptionMap, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, Map<Locale,String> labelMap, String name, double priority, String type, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceTermEntry

      public static CommerceTermEntry deleteCommerceTermEntry(long commerceTermEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommerceTermEntry

      public static CommerceTermEntry fetchCommerceTermEntry(long commerceTermEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommerceTermEntryByExternalReferenceCode

      public static CommerceTermEntry fetchCommerceTermEntryByExternalReferenceCode(long companyId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceTermEntries

      public static List<CommerceTermEntry> getCommerceTermEntries(long groupId, long companyId, String type) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceTermEntry

      public static CommerceTermEntry getCommerceTermEntry(long commerceTermEntryId) 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
    • getPaymentCommerceTermEntries

      public static List<CommerceTermEntry> getPaymentCommerceTermEntries(long groupId, long companyId, long commerceOrderTypeId, long commercePaymentMethodGroupRelId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceTermEntry

      public static CommerceTermEntry updateCommerceTermEntry(long commerceTermEntryId, boolean active, Map<Locale,String> descriptionMap, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, Map<Locale,String> labelMap, String name, double priority, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceTermEntryExternalReferenceCode

      public static CommerceTermEntry updateCommerceTermEntryExternalReferenceCode(String externalReferenceCode, long commerceTermEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static CommerceTermEntryService getService()