@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface AccountRoleService
extends com.liferay.portal.kernel.service.BaseService
AccountRoleServiceUtil| Modifier and Type | Method and Description |
|---|---|
AccountRole |
addAccountRole(long accountEntryId,
java.lang.String name,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap) |
void |
associateUser(long accountEntryId,
long[] accountRoleIds,
long userId) |
void |
associateUser(long accountEntryId,
long accountRoleId,
long userId) |
AccountRole |
deleteAccountRole(AccountRole accountRole) |
AccountRole |
deleteAccountRole(long accountRoleId) |
AccountRole |
getAccountRoleByRoleId(long roleId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
void |
setUserAccountRoles(long accountEntryId,
long[] accountRoleIds,
long userId) |
void |
unassociateUser(long accountEntryId,
long accountRoleId,
long userId) |
AccountRole addAccountRole(long accountEntryId, java.lang.String name, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid associateUser(long accountEntryId,
long accountRoleId,
long userId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid associateUser(long accountEntryId,
long[] accountRoleIds,
long userId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionAccountRole deleteAccountRole(AccountRole accountRole) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionAccountRole deleteAccountRole(long accountRoleId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
AccountRole getAccountRoleByRoleId(long roleId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.lang.String getOSGiServiceIdentifier()
void setUserAccountRoles(long accountEntryId,
long[] accountRoleIds,
long userId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid unassociateUser(long accountEntryId,
long accountRoleId,
long userId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException