public class CommerceAccountGroupLocalServiceUtil
extends java.lang.Object
com.liferay.commerce.account.service.impl.CommerceAccountGroupLocalServiceImpl
and
is an access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.CommerceAccountGroupLocalService
Constructor and Description |
---|
CommerceAccountGroupLocalServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CommerceAccountGroup |
addCommerceAccountGroup(long companyId,
java.lang.String name,
int type,
boolean system,
java.lang.String externalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
checkGuestCommerceAccountGroup(long companyId) |
static CommerceAccountGroup |
deleteCommerceAccountGroup(CommerceAccountGroup commerceAccountGroup) |
static CommerceAccountGroup |
deleteCommerceAccountGroup(long commerceAccountGroupId) |
static CommerceAccountGroup |
fetchByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
static CommerceAccountGroup |
fetchCommerceAccountGroup(long commerceAccountGroupId) |
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 java.util.List<CommerceAccountGroup> |
getCommerceAccountGroupsByCommerceAccountId(long commerceAccountId) |
static int |
getCommerceAccountGroupsCount(long companyId) |
static java.util.List<java.lang.Long> |
getCommerceAccountUserIdsFromAccountGroupIds(long[] commerceAccountGroupIds,
int start,
int end) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceAccountGroupLocalService |
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 CommerceAccountGroupLocalServiceUtil()
public static CommerceAccountGroup addCommerceAccountGroup(long companyId, java.lang.String name, int type, boolean system, 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 checkGuestCommerceAccountGroup(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceAccountGroup deleteCommerceAccountGroup(CommerceAccountGroup commerceAccountGroup) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceAccountGroup 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)
public static CommerceAccountGroup fetchCommerceAccountGroup(long commerceAccountGroupId)
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)
public static java.util.List<CommerceAccountGroup> getCommerceAccountGroupsByCommerceAccountId(long commerceAccountId)
public static int getCommerceAccountGroupsCount(long companyId)
public static java.util.List<java.lang.Long> getCommerceAccountUserIdsFromAccountGroupIds(long[] commerceAccountGroupIds, int start, int end)
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 CommerceAccountGroupLocalService getService()