## 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 and 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 and 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 and Description
    --- | ---
    `Iterator<OrganizationalEntity>` | UserInfo.`getMembersForGroup(Group group)`

    Methods in org.kie.api.task with parameters of type OrganizationalEntity
    Modifier and Type | Method and 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 and 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 and Description
    --- | ---
    `interface` | `Group`
    `interface` | `User`

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

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