public class CommerceApplicationModelServiceUtil
extends java.lang.Object
com.liferay.commerce.application.service.impl.CommerceApplicationModelServiceImpl 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.CommerceApplicationModelService| Constructor and Description |
|---|
CommerceApplicationModelServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static CommerceApplicationModel |
addCommerceApplicationModel(long userId,
long commerceApplicationBrandId,
java.lang.String name,
java.lang.String year) |
static void |
deleteCommerceApplicationModel(long commerceApplicationModelId) |
static CommerceApplicationModel |
getCommerceApplicationModel(long commerceApplicationModelId) |
static java.util.List<CommerceApplicationModel> |
getCommerceApplicationModels(long commerceApplicationBrandId,
int start,
int end) |
static java.util.List<CommerceApplicationModel> |
getCommerceApplicationModelsByCompanyId(long companyId,
int start,
int end) |
static int |
getCommerceApplicationModelsCount(long commerceApplicationBrandId) |
static int |
getCommerceApplicationModelsCountByCompanyId(long companyId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceApplicationModelService |
getService() |
static void |
setService(CommerceApplicationModelService service) |
static CommerceApplicationModel |
updateCommerceApplicationModel(long commerceApplicationModelId,
java.lang.String name,
java.lang.String year) |
public static CommerceApplicationModel addCommerceApplicationModel(long userId, long commerceApplicationBrandId, java.lang.String name, java.lang.String year) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteCommerceApplicationModel(long commerceApplicationModelId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceApplicationModel getCommerceApplicationModel(long commerceApplicationModelId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CommerceApplicationModel> getCommerceApplicationModels(long commerceApplicationBrandId, int start, int end)
public static java.util.List<CommerceApplicationModel> getCommerceApplicationModelsByCompanyId(long companyId, int start, int end)
public static int getCommerceApplicationModelsCount(long commerceApplicationBrandId)
public static int getCommerceApplicationModelsCountByCompanyId(long companyId)
public static java.lang.String getOSGiServiceIdentifier()
public static CommerceApplicationModel updateCommerceApplicationModel(long commerceApplicationModelId, java.lang.String name, java.lang.String year) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceApplicationModelService getService()
public static void setService(CommerceApplicationModelService service)