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) voidassociateUser(long accountEntryId, long[] accountRoleIds, long userId) voidassociateUser(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) voidsetUserAccountRoles(long accountEntryId, long[] accountRoleIds, long userId) voidsetWrappedService(AccountRoleService accountRoleService) voidunassociateUser(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:
addAccountRolein 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:
associateUserin 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:
associateUserin interfaceAccountRoleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAccountRole
public AccountRole deleteAccountRole(AccountRole accountRole) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteAccountRolein interfaceAccountRoleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAccountRole
public AccountRole deleteAccountRole(long accountRoleId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteAccountRolein interfaceAccountRoleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAccountRoleByRoleId
public AccountRole getAccountRoleByRoleId(long roleId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getAccountRoleByRoleIdin interfaceAccountRoleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin 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:
searchAccountRolesin 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:
setUserAccountRolesin 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:
unassociateUserin interfaceAccountRoleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<AccountRoleService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<AccountRoleService>
-