Class CommerceOrderTypeServiceUtil

java.lang.Object
com.liferay.commerce.service.CommerceOrderTypeServiceUtil

public class CommerceOrderTypeServiceUtil extends Object
Provides the remote service utility for CommerceOrderType. This utility wraps com.liferay.commerce.service.impl.CommerceOrderTypeServiceImpl 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

    • CommerceOrderTypeServiceUtil

      public CommerceOrderTypeServiceUtil()
  • Method Details

    • addCommerceOrderType

      public static CommerceOrderType addCommerceOrderType(String externalReferenceCode, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int displayOrder, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceOrderType

      public static CommerceOrderType deleteCommerceOrderType(long commerceOrderTypeId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommerceOrderType

      public static CommerceOrderType fetchCommerceOrderType(long commerceOrderTypeId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommerceOrderTypeByExternalReferenceCode

      public static CommerceOrderType fetchCommerceOrderTypeByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceOrderType

      public static CommerceOrderType getCommerceOrderType(long commerceOrderTypeId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceOrderTypes

      public static List<CommerceOrderType> getCommerceOrderTypes(String className, long classPK, boolean active, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceOrderTypesCount

      public static int getCommerceOrderTypesCount(String className, long classPK, 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
    • updateCommerceOrderType

      public static CommerceOrderType updateCommerceOrderType(String externalReferenceCode, long commerceOrderTypeId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int displayOrder, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceOrderTypeExternalReferenceCode

      public static CommerceOrderType updateCommerceOrderTypeExternalReferenceCode(String externalReferenceCode, long commerceOrderTypeId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static CommerceOrderTypeService getService()