## 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
    --- | --- | ---
    `java.util.Collection<OrganizationalEntity>` | CaseAssignment.`getAssignments​(java.lang.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​(java.lang.String roleName, OrganizationalEntity entity)` | Assigns given entity (either user or group) to given role
    `void` | CaseAssignment.`remove​(java.lang.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
    --- | --- | ---
    `java.util.Iterator<OrganizationalEntity>` | UserInfo.`getMembersForGroup​(Group group)` |

    Methods in org.kie.api.task with parameters of type OrganizationalEntity
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | UserInfo.`getDisplayName​(OrganizationalEntity entity)` |
    `java.lang.String` | UserInfo.`getEmailForEntity​(OrganizationalEntity entity)` |
    `java.lang.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, java.util.List<OrganizationalEntity> entities)` |
    `default void` | TaskLifeCycleEventListener.`afterTaskAssignmentsRemovedEvent​(TaskEvent event, TaskLifeCycleEventListener.AssignmentType type, java.util.List<OrganizationalEntity> entities)` |
    `default void` | TaskLifeCycleEventListener.`beforeTaskAssignmentsAddedEvent​(TaskEvent event, TaskLifeCycleEventListener.AssignmentType type, java.util.List<OrganizationalEntity> entities)` |
    `default void` | TaskLifeCycleEventListener.`beforeTaskAssignmentsRemovedEvent​(TaskEvent event, TaskLifeCycleEventListener.AssignmentType type, java.util.List<OrganizationalEntity> entities)` |
    `void` | TaskService.`nominate​(long taskId, java.lang.String userId, java.util.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
    --- | --- | ---
    `java.util.List<OrganizationalEntity>` | PeopleAssignments.`getBusinessAdministrators()` |
    `java.util.List<OrganizationalEntity>` | PeopleAssignments.`getPotentialOwners()` |