Package com.liferay.commerce.service
Interface CommerceOrderTypeService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
CommerceOrderTypeServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceOrderTypeService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CommerceOrderType. 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:
-
Method Summary
Modifier and TypeMethodDescriptionaddCommerceOrderType
(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) deleteCommerceOrderType
(long commerceOrderTypeId) fetchCommerceOrderType
(long commerceOrderTypeId) fetchCommerceOrderTypeByExternalReferenceCode
(String externalReferenceCode, long companyId) getCommerceOrderType
(long commerceOrderTypeId) getCommerceOrderTypes
(String className, long classPK, boolean active, int start, int end) int
getCommerceOrderTypesCount
(String className, long classPK, boolean active) Returns the OSGi service identifier.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) updateCommerceOrderTypeExternalReferenceCode
(String externalReferenceCode, long commerceOrderTypeId)
-
Method Details
-
addCommerceOrderType
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
CommerceOrderType deleteCommerceOrderType(long commerceOrderTypeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderType
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrderType fetchCommerceOrderType(long commerceOrderTypeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderTypeByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrderType fetchCommerceOrderTypeByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderType
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrderType getCommerceOrderType(long commerceOrderTypeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderTypes
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceOrderTypesCount(String className, long classPK, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateCommerceOrderType
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
CommerceOrderType updateCommerceOrderTypeExternalReferenceCode(String externalReferenceCode, long commerceOrderTypeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-