public class AccountGroupServiceUtil
extends java.lang.Object
com.liferay.account.service.impl.AccountGroupServiceImpl
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.AccountGroupService
Constructor and Description |
---|
AccountGroupServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static AccountGroup |
addAccountGroup(long userId,
java.lang.String description,
java.lang.String name) |
static AccountGroup |
deleteAccountGroup(long accountGroupId) |
static void |
deleteAccountGroups(long[] accountGroupIds) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AccountGroupService |
getService() |
static AccountGroup |
updateAccountGroup(long accountGroupId,
java.lang.String description,
java.lang.String name) |
public static AccountGroup addAccountGroup(long userId, java.lang.String description, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static AccountGroup deleteAccountGroup(long accountGroupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteAccountGroups(long[] accountGroupIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static AccountGroup updateAccountGroup(long accountGroupId, java.lang.String description, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static AccountGroupService getService()