org.kie.internal.task.api

## Interface TaskIdentityService

-     public interface TaskIdentityService

  The Task Identity Service provides all the functionality related with the Organizational Entities that will be handled internally by jBPM. This methods will allow us to create the Mappings against external identity directories to the internal inforamtion required by jBPM.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addGroup(org.kie.api.task.model.Group group)`
    `void` | `addUser(org.kie.api.task.model.User user)`
    `org.kie.api.task.model.Group` | `getGroupById(String groupId)`
    `List<org.kie.api.task.model.Group>` | `getGroups()`
    `org.kie.api.task.model.OrganizationalEntity` | `getOrganizationalEntityById(String entityId)`
    `org.kie.api.task.model.User` | `getUserById(String userId)`
    `List<org.kie.api.task.model.User>` | `getUsers()`
    `void` | `removeGroup(String groupId)`
    `void` | `removeUser(String userId)`

- - ### Method Detail

    - #### addUser

          void addUser(org.kie.api.task.model.User user)

    - #### addGroup

          void addGroup(org.kie.api.task.model.Group group)

    - #### removeGroup

          void removeGroup(String groupId)

    - #### removeUser

          void removeUser(String userId)

    - #### getUsers

          List<org.kie.api.task.model.User> getUsers()

    - #### getGroups

          List<org.kie.api.task.model.Group> getGroups()

    - #### getUserById

          org.kie.api.task.model.User getUserById(String userId)

    - #### getGroupById

          org.kie.api.task.model.Group getGroupById(String groupId)

    - #### getOrganizationalEntityById

          org.kie.api.task.model.OrganizationalEntity getOrganizationalEntityById(String entityId)

Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.