Class IdmIdentityServiceImpl

java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<CoreIdmEngineConfiguration>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<CoreIdmEngineConfiguration>
com.flowable.idm.engine.impl.BaseIdmIdentityServiceImpl
com.flowable.idm.engine.impl.IdmIdentityServiceImpl
All Implemented Interfaces:
PlatformIdentityService, org.flowable.idm.api.IdmIdentityService

public class IdmIdentityServiceImpl extends BaseIdmIdentityServiceImpl implements PlatformIdentityService
Author:
Tijs Rademakers, Filip Hrisafov
  • Constructor Details

  • Method Details

    • newGroup

      public org.flowable.idm.api.Group newGroup(String groupId)
      Specified by:
      newGroup in interface org.flowable.idm.api.IdmIdentityService
    • newUser

      public org.flowable.idm.api.User newUser(String userId)
      Specified by:
      newUser in interface org.flowable.idm.api.IdmIdentityService
    • saveGroup

      public void saveGroup(org.flowable.idm.api.Group group)
      Specified by:
      saveGroup in interface org.flowable.idm.api.IdmIdentityService
    • saveUser

      public void saveUser(org.flowable.idm.api.User user)
      Specified by:
      saveUser in interface org.flowable.idm.api.IdmIdentityService
    • updateUserPassword

      public void updateUserPassword(org.flowable.idm.api.User user)
      Specified by:
      updateUserPassword in interface org.flowable.idm.api.IdmIdentityService
    • createPlatformUserQuery

      public PlatformUserQuery createPlatformUserQuery()
      Specified by:
      createPlatformUserQuery in interface PlatformIdentityService
    • createPlatformGroupQuery

      public PlatformGroupQuery createPlatformGroupQuery()
      Specified by:
      createPlatformGroupQuery in interface PlatformIdentityService
    • findPlatformGroupById

      public PlatformGroup findPlatformGroupById(String groupId)
      Specified by:
      findPlatformGroupById in interface PlatformIdentityService
    • findPlatformGroupsForUser

      public List<PlatformGroup> findPlatformGroupsForUser(String userId)
      Specified by:
      findPlatformGroupsForUser in interface PlatformIdentityService
    • findUniqueTenantIds

      public List<String> findUniqueTenantIds()
      Description copied from interface: PlatformIdentityService
      Find the unique tenant ids
      Specified by:
      findUniqueTenantIds in interface PlatformIdentityService
      Returns:
      a list of the unique tenant ids
    • createNativeUserQuery

      public org.flowable.idm.api.NativeUserQuery createNativeUserQuery()
      Specified by:
      createNativeUserQuery in interface org.flowable.idm.api.IdmIdentityService
    • createNewUserBuilder

      public PlatformUserBuilder createNewUserBuilder(String userId)
      Description copied from interface: PlatformIdentityService
      Create user builder for a new user with id userId. The user is transient and must be saved using PlatformUserBuilder.save()
      Specified by:
      createNewUserBuilder in interface PlatformIdentityService
      Parameters:
      userId - the id of the new user
    • createNewGroupBuilder

      public PlatformGroupBuilder createNewGroupBuilder(String groupId)
      Specified by:
      createNewGroupBuilder in interface PlatformIdentityService
    • createUpdateGroupBuilder

      public PlatformGroupBuilder createUpdateGroupBuilder(String groupId)
      Specified by:
      createUpdateGroupBuilder in interface PlatformIdentityService
    • findPlatformUserById

      public PlatformUserEntity findPlatformUserById(String userId)
      Specified by:
      findPlatformUserById in interface PlatformIdentityService
    • createUpdateUserBuilder

      public PlatformUserBuilder createUpdateUserBuilder(String userId)
      Specified by:
      createUpdateUserBuilder in interface PlatformIdentityService
    • createNativeGroupQuery

      public org.flowable.idm.api.NativeGroupQuery createNativeGroupQuery()
      Specified by:
      createNativeGroupQuery in interface org.flowable.idm.api.IdmIdentityService
    • createMembership

      public void createMembership(String userId, String groupId)
      Specified by:
      createMembership in interface org.flowable.idm.api.IdmIdentityService
    • deleteGroup

      public void deleteGroup(String groupId)
      Specified by:
      deleteGroup in interface org.flowable.idm.api.IdmIdentityService
    • deleteMembership

      public void deleteMembership(String userId, String groupId)
      Specified by:
      deleteMembership in interface org.flowable.idm.api.IdmIdentityService
    • checkPassword

      public boolean checkPassword(String userId, String password)
      Specified by:
      checkPassword in interface org.flowable.idm.api.IdmIdentityService
    • deleteUser

      public void deleteUser(String userId)
      Specified by:
      deleteUser in interface org.flowable.idm.api.IdmIdentityService
    • getGroupsWithPrivilege

      public List<org.flowable.idm.api.Group> getGroupsWithPrivilege(String name)
      Specified by:
      getGroupsWithPrivilege in interface org.flowable.idm.api.IdmIdentityService
    • getUsersWithPrivilege

      public List<org.flowable.idm.api.User> getUsersWithPrivilege(String name)
      Specified by:
      getUsersWithPrivilege in interface org.flowable.idm.api.IdmIdentityService