Class CommerceCatalogServiceUtil
java.lang.Object
com.liferay.commerce.product.service.CommerceCatalogServiceUtil
Provides the remote service utility for CommerceCatalog. This utility wraps
com.liferay.commerce.product.service.impl.CommerceCatalogServiceImpl
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 CommerceCatalog
addCommerceCatalog
(String externalReferenceCode, long accountEntryId, String name, String commerceCurrencyCode, String catalogDefaultLanguageId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommerceCatalog
deleteCommerceCatalog
(long commerceCatalogId) static CommerceCatalog
fetchCommerceCatalog
(long commerceCatalogId) static CommerceCatalog
fetchCommerceCatalogByExternalReferenceCode
(String externalReferenceCode, long companyId) static CommerceCatalog
fetchCommerceCatalogByGroupId
(long groupId) static CommerceCatalog
getCommerceCatalog
(long commerceCatalogId) static List<CommerceCatalog>
getCommerceCatalogs
(long companyId, int start, int end) static String
Returns the OSGi service identifier.static CommerceCatalogService
static List<CommerceCatalog>
search
(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) static int
searchCommerceCatalogsCount
(long companyId, String keywords) static CommerceCatalog
updateCommerceCatalog
(long commerceCatalogId, long accountEntryId, String name, String commerceCurrencyCode, String catalogDefaultLanguageId) static CommerceCatalog
updateCommerceCatalogExternalReferenceCode
(String externalReferenceCode, long commerceCatalogId)
-
Constructor Details
-
CommerceCatalogServiceUtil
public CommerceCatalogServiceUtil()
-
-
Method Details
-
addCommerceCatalog
public static CommerceCatalog addCommerceCatalog(String externalReferenceCode, long accountEntryId, String name, String commerceCurrencyCode, String catalogDefaultLanguageId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceCatalog
public static CommerceCatalog deleteCommerceCatalog(long commerceCatalogId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceCatalog
public static CommerceCatalog fetchCommerceCatalog(long commerceCatalogId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceCatalogByExternalReferenceCode
public static CommerceCatalog fetchCommerceCatalogByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceCatalogByGroupId
public static CommerceCatalog fetchCommerceCatalogByGroupId(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCatalog
public static CommerceCatalog getCommerceCatalog(long commerceCatalogId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCatalogs
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
search
public static List<CommerceCatalog> search(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommerceCatalogsCount
public static int searchCommerceCatalogsCount(long companyId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceCatalog
public static CommerceCatalog updateCommerceCatalog(long commerceCatalogId, long accountEntryId, String name, String commerceCurrencyCode, String catalogDefaultLanguageId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceCatalogExternalReferenceCode
public static CommerceCatalog updateCommerceCatalogExternalReferenceCode(String externalReferenceCode, long commerceCatalogId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-