## Uses of Interface
org.kie.api.task.model.OrganizationalEntity

- Packages that use OrganizationalEntity
  Package | Description
  --- | ---
  org.kie.api.runtime.process | The process runtime classes.
  org.kie.api.task |
  org.kie.api.task.model |

- - ### Uses of OrganizationalEntity in org.kie.api.runtime.process

    Methods in org.kie.api.runtime.process that return types with arguments of type OrganizationalEntity
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<OrganizationalEntity>` | CaseAssignment.`getAssignments​(String roleName)` | Returns assigned entities for given role

    Methods in org.kie.api.runtime.process with parameters of type OrganizationalEntity
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CaseAssignment.`assign​(String roleName, OrganizationalEntity entity)` | Assigns given entity (either user or group) to given role
    `void` | CaseAssignment.`remove​(String roleName, OrganizationalEntity entity)` | Removes given entity from the role

  - ### Uses of OrganizationalEntity in org.kie.api.task

    Methods in org.kie.api.task that return types with arguments of type OrganizationalEntity
    Modifier and Type | Method | Description
    --- | --- | ---
    `Iterator<OrganizationalEntity>` | UserInfo.`getMembersForGroup​(Group group)` |

    Methods in org.kie.api.task with parameters of type OrganizationalEntity
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | UserInfo.`getDisplayName​(OrganizationalEntity entity)` |
    `String` | UserInfo.`getEmailForEntity​(OrganizationalEntity entity)` |
    `String` | UserInfo.`getLanguageForEntity​(OrganizationalEntity entity)` |

    Method parameters in org.kie.api.task with type arguments of type OrganizationalEntity
    Modifier and Type | Method | Description
    --- | --- | ---
    `default void` | TaskLifeCycleEventListener.`afterTaskAssignmentsAddedEvent​(TaskEvent event, TaskLifeCycleEventListener.AssignmentType type, List<OrganizationalEntity> entities)` |
    `default void` | TaskLifeCycleEventListener.`afterTaskAssignmentsRemovedEvent​(TaskEvent event, TaskLifeCycleEventListener.AssignmentType type, List<OrganizationalEntity> entities)` |
    `default void` | TaskLifeCycleEventListener.`beforeTaskAssignmentsAddedEvent​(TaskEvent event, TaskLifeCycleEventListener.AssignmentType type, List<OrganizationalEntity> entities)` |
    `default void` | TaskLifeCycleEventListener.`beforeTaskAssignmentsRemovedEvent​(TaskEvent event, TaskLifeCycleEventListener.AssignmentType type, List<OrganizationalEntity> entities)` |
    `void` | TaskService.`nominate​(long taskId, String userId, List<OrganizationalEntity> potentialOwners)` |

  - ### Uses of OrganizationalEntity in org.kie.api.task.model

    Subinterfaces of OrganizationalEntity in org.kie.api.task.model
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `Email` |
    `interface` | `Group` |
    `interface` | `User` |

    Methods in org.kie.api.task.model that return types with arguments of type OrganizationalEntity
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<OrganizationalEntity>` | PeopleAssignments.`getBusinessAdministrators()` |
    `List<OrganizationalEntity>` | PeopleAssignments.`getPotentialOwners()` |