public class CommerceAccountGroupServiceUtil
extends java.lang.Object
com.liferay.commerce.account.service.impl.CommerceAccountGroupServiceImpl
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.CommerceAccountGroupService
Constructor and Description |
---|
CommerceAccountGroupServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CommerceAccountGroup |
addCommerceAccountGroup(long companyId,
java.lang.String name,
int type,
java.lang.String externalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteCommerceAccountGroup(long commerceAccountGroupId) |
static CommerceAccountGroup |
fetchByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
static CommerceAccountGroup |
getCommerceAccountGroup(long commerceAccountGroupId) |
static java.util.List<CommerceAccountGroup> |
getCommerceAccountGroups(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator) |
static int |
getCommerceAccountGroupsCount(long companyId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceAccountGroupService |
getService() |
static java.util.List<CommerceAccountGroup> |
search(long companyId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
static int |
searchCommerceAccountsGroupCount(long companyId,
java.lang.String keywords) |
static CommerceAccountGroup |
updateCommerceAccountGroup(long commerceAccountGroupId,
java.lang.String name,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static CommerceAccountGroup addCommerceAccountGroup(long companyId, java.lang.String name, int type, java.lang.String externalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCommerceAccountGroup(long commerceAccountGroupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceAccountGroup fetchByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceAccountGroup getCommerceAccountGroup(long commerceAccountGroupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceAccountGroup> getCommerceAccountGroups(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCommerceAccountGroupsCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<CommerceAccountGroup> search(long companyId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int searchCommerceAccountsGroupCount(long companyId, java.lang.String keywords) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceAccountGroup updateCommerceAccountGroup(long commerceAccountGroupId, java.lang.String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceAccountGroupService getService()