Package com.liferay.commerce.service
Class CommerceOrderTypeServiceUtil
java.lang.Object
com.liferay.commerce.service.CommerceOrderTypeServiceUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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) static CommerceOrderType
deleteCommerceOrderType
(long commerceOrderTypeId) static CommerceOrderType
fetchCommerceOrderType
(long commerceOrderTypeId) static CommerceOrderType
fetchCommerceOrderTypeByExternalReferenceCode
(String externalReferenceCode, long companyId) static CommerceOrderType
getCommerceOrderType
(long commerceOrderTypeId) static List<CommerceOrderType>
getCommerceOrderTypes
(String className, long classPK, boolean active, int start, int end) static int
getCommerceOrderTypesCount
(String className, long classPK, boolean active) static String
Returns the OSGi service identifier.static CommerceOrderTypeService
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) static CommerceOrderType
updateCommerceOrderTypeExternalReferenceCode
(String externalReferenceCode, long commerceOrderTypeId)
-
Constructor Details
-
CommerceOrderTypeServiceUtil
public CommerceOrderTypeServiceUtil()
-
-
Method Details
-
addCommerceOrderType
public static CommerceOrderType addCommerceOrderType(String externalReferenceCode, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> 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
-
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
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, throws com.liferay.portal.kernel.exception.PortalExceptionString> 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
-
updateCommerceOrderTypeExternalReferenceCode
public static CommerceOrderType updateCommerceOrderTypeExternalReferenceCode(String externalReferenceCode, long commerceOrderTypeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-