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(java.lang.String externalReferenceCode,
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() |
com.liferay.portal.kernel.search.BaseModelSearchResult<AccountRole> |
searchAccountRoles(long companyId,
long[] accountEntryIds,
java.lang.String keywords,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) |
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(java.lang.String externalReferenceCode, 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 AccountRoleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void associateUser(long accountEntryId,
long accountRoleId,
long userId)
throws com.liferay.portal.kernel.exception.PortalException
associateUser in interface AccountRoleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void associateUser(long accountEntryId,
long[] accountRoleIds,
long userId)
throws com.liferay.portal.kernel.exception.PortalException
associateUser in interface AccountRoleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic AccountRole deleteAccountRole(AccountRole accountRole) throws com.liferay.portal.kernel.exception.PortalException
deleteAccountRole in interface AccountRoleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic AccountRole deleteAccountRole(long accountRoleId) throws com.liferay.portal.kernel.exception.PortalException
deleteAccountRole in interface AccountRoleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic AccountRole getAccountRoleByRoleId(long roleId) throws com.liferay.portal.kernel.exception.PortalException
getAccountRoleByRoleId in interface AccountRoleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface AccountRoleServicepublic com.liferay.portal.kernel.search.BaseModelSearchResult<AccountRole> searchAccountRoles(long companyId, long[] accountEntryIds, java.lang.String keywords, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
searchAccountRoles in interface AccountRoleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void setUserAccountRoles(long accountEntryId,
long[] accountRoleIds,
long userId)
throws com.liferay.portal.kernel.exception.PortalException
setUserAccountRoles in interface AccountRoleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void unassociateUser(long accountEntryId,
long accountRoleId,
long userId)
throws com.liferay.portal.kernel.exception.PortalException
unassociateUser in interface AccountRoleServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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>