public class AccountRoleServiceWrapper extends java.lang.Object implements AccountRoleService, com.liferay.portal.kernel.service.ServiceWrapper<AccountRoleService>
AccountRoleService
.AccountRoleService
Constructor and Description |
---|
AccountRoleServiceWrapper() |
AccountRoleServiceWrapper(AccountRoleService accountRoleService) |
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.
|
AccountRoleService |
getWrappedService() |
void |
setUserAccountRoles(long accountEntryId,
long[] accountRoleIds,
long userId) |
void |
setWrappedService(AccountRoleService accountRoleService) |
void |
unassociateUser(long accountEntryId,
long accountRoleId,
long userId) |
public AccountRoleServiceWrapper()
public AccountRoleServiceWrapper(AccountRoleService accountRoleService)
public 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
addAccountRole
in interface AccountRoleService
com.liferay.portal.kernel.exception.PortalException
public void associateUser(long accountEntryId, long accountRoleId, long userId) throws com.liferay.portal.kernel.exception.PortalException
associateUser
in interface AccountRoleService
com.liferay.portal.kernel.exception.PortalException
public void associateUser(long accountEntryId, long[] accountRoleIds, long userId) throws com.liferay.portal.kernel.exception.PortalException
associateUser
in interface AccountRoleService
com.liferay.portal.kernel.exception.PortalException
public AccountRole deleteAccountRole(AccountRole accountRole) throws com.liferay.portal.kernel.exception.PortalException
deleteAccountRole
in interface AccountRoleService
com.liferay.portal.kernel.exception.PortalException
public AccountRole deleteAccountRole(long accountRoleId) throws com.liferay.portal.kernel.exception.PortalException
deleteAccountRole
in interface AccountRoleService
com.liferay.portal.kernel.exception.PortalException
public AccountRole getAccountRoleByRoleId(long roleId) throws com.liferay.portal.kernel.exception.PortalException
getAccountRoleByRoleId
in interface AccountRoleService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface AccountRoleService
public void setUserAccountRoles(long accountEntryId, long[] accountRoleIds, long userId) throws com.liferay.portal.kernel.exception.PortalException
setUserAccountRoles
in interface AccountRoleService
com.liferay.portal.kernel.exception.PortalException
public void unassociateUser(long accountEntryId, long accountRoleId, long userId) throws com.liferay.portal.kernel.exception.PortalException
unassociateUser
in interface AccountRoleService
com.liferay.portal.kernel.exception.PortalException
public AccountRoleService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<AccountRoleService>
public void setWrappedService(AccountRoleService accountRoleService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<AccountRoleService>