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 Details

    • AccountRoleServiceWrapper

      public AccountRoleServiceWrapper()
    • AccountRoleServiceWrapper

      public AccountRoleServiceWrapper(AccountRoleService accountRoleService)
  • Method Details

    • addAccountRole

      public AccountRole addAccountRole(String externalReferenceCode, long accountEntryId, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addAccountRole in interface AccountRoleService
      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 interface AccountRoleService
      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 interface AccountRoleService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteAccountRole

      public AccountRole deleteAccountRole(AccountRole accountRole) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteAccountRole in interface AccountRoleService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteAccountRole

      public AccountRole deleteAccountRole(long accountRoleId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteAccountRole in interface AccountRoleService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAccountRoleByRoleId

      public AccountRole getAccountRoleByRoleId(long roleId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAccountRoleByRoleId in interface AccountRoleService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface AccountRoleService
      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 interface AccountRoleService
      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 interface AccountRoleService
      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 interface AccountRoleService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWrappedService

      public AccountRoleService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<AccountRoleService>
    • setWrappedService

      public void setWrappedService(AccountRoleService accountRoleService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<AccountRoleService>