public class CommerceApplicationBrandServiceUtil
extends java.lang.Object
com.liferay.commerce.application.service.impl.CommerceApplicationBrandServiceImpl 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.CommerceApplicationBrandService| Constructor and Description |
|---|
CommerceApplicationBrandServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static CommerceApplicationBrand |
addCommerceApplicationBrand(long userId,
java.lang.String name,
boolean logo,
byte[] logoBytes) |
static void |
deleteCommerceApplicationBrand(long commerceApplicationBrandId) |
static CommerceApplicationBrand |
getCommerceApplicationBrand(long commerceApplicationBrandId) |
static java.util.List<CommerceApplicationBrand> |
getCommerceApplicationBrands(long companyId,
int start,
int end) |
static int |
getCommerceApplicationBrandsCount(long companyId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceApplicationBrandService |
getService() |
static void |
setService(CommerceApplicationBrandService service) |
static CommerceApplicationBrand |
updateCommerceApplicationBrand(long commerceApplicationBrandId,
java.lang.String name,
boolean logo,
byte[] logoBytes) |
public static CommerceApplicationBrand addCommerceApplicationBrand(long userId, java.lang.String name, boolean logo, byte[] logoBytes) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteCommerceApplicationBrand(long commerceApplicationBrandId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceApplicationBrand getCommerceApplicationBrand(long commerceApplicationBrandId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CommerceApplicationBrand> getCommerceApplicationBrands(long companyId, int start, int end)
public static int getCommerceApplicationBrandsCount(long companyId)
public static java.lang.String getOSGiServiceIdentifier()
public static CommerceApplicationBrand updateCommerceApplicationBrand(long commerceApplicationBrandId, java.lang.String name, boolean logo, byte[] logoBytes) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceApplicationBrandService getService()
public static void setService(CommerceApplicationBrandService service)