Package com.liferay.account.service
Class AccountRoleServiceWrapper
java.lang.Object
com.liferay.account.service.AccountRoleServiceWrapper
- All Implemented Interfaces:
AccountRoleService
,com.liferay.portal.kernel.service.BaseService
,com.liferay.portal.kernel.service.ServiceWrapper<AccountRoleService>
public class AccountRoleServiceWrapper
extends Object
implements AccountRoleService, com.liferay.portal.kernel.service.ServiceWrapper<AccountRoleService>
Provides a wrapper for
AccountRoleService
.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAccountRole
(String externalReferenceCode, long accountEntryId, String name, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap) void
associateUser
(long accountEntryId, long[] accountRoleIds, long userId) void
associateUser
(long accountEntryId, long accountRoleId, long userId) deleteAccountRole
(long accountRoleId) deleteAccountRole
(AccountRole accountRole) getAccountRoleByRoleId
(long roleId) Returns the OSGi service identifier.com.liferay.portal.kernel.search.BaseModelSearchResult<AccountRole>
searchAccountRoles
(long companyId, long[] accountEntryIds, String keywords, LinkedHashMap<String, 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)
-
Constructor Details
-
AccountRoleServiceWrapper
public AccountRoleServiceWrapper() -
AccountRoleServiceWrapper
-
-
Method Details
-
addAccountRole
public AccountRole addAccountRole(String externalReferenceCode, long accountEntryId, String name, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap) - Specified by:
addAccountRole
in interfaceAccountRoleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
associateUser
public void associateUser(long accountEntryId, long accountRoleId, long userId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
associateUser
in interfaceAccountRoleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
associateUser
public void associateUser(long accountEntryId, long[] accountRoleIds, long userId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
associateUser
in interfaceAccountRoleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAccountRole
public AccountRole deleteAccountRole(AccountRole accountRole) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteAccountRole
in interfaceAccountRoleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAccountRole
public AccountRole deleteAccountRole(long accountRoleId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteAccountRole
in interfaceAccountRoleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAccountRoleByRoleId
public AccountRole getAccountRoleByRoleId(long roleId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getAccountRoleByRoleId
in interfaceAccountRoleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceAccountRoleService
- Returns:
- the OSGi service identifier
-
searchAccountRoles
public com.liferay.portal.kernel.search.BaseModelSearchResult<AccountRole> searchAccountRoles(long companyId, long[] accountEntryIds, String keywords, LinkedHashMap<String, Object> params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
searchAccountRoles
in interfaceAccountRoleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
setUserAccountRoles
public void setUserAccountRoles(long accountEntryId, long[] accountRoleIds, long userId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
setUserAccountRoles
in interfaceAccountRoleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
unassociateUser
public void unassociateUser(long accountEntryId, long accountRoleId, long userId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
unassociateUser
in interfaceAccountRoleService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<AccountRoleService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<AccountRoleService>
-