org.kie.internal.process

## Interface CaseAssignment

-     public interface CaseAssignment

  Represents case assignment which usually means named role to individuals or groups.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `assign(String roleName, org.kie.api.task.model.OrganizationalEntity entity)` Assigns given entity (either user or group) to given role
    `Collection<org.kie.api.task.model.OrganizationalEntity>` | `getAssignments(String roleName)` Returns assigned entities for given role
    `void` | `remove(String roleName, org.kie.api.task.model.OrganizationalEntity entity)` Removes given entity from the role

- - ### Method Detail

    - #### assign

          void assign(String roleName,
                      org.kie.api.task.model.OrganizationalEntity entity)

      Assigns given entity (either user or group) to given role
      Parameters:
        `roleName` - name of the role entity should be assigned to
        `entity` - user or group to be assigned

    - #### remove

          void remove(String roleName,
                      org.kie.api.task.model.OrganizationalEntity entity)

      Removes given entity from the role
      Parameters:
        `roleName` - name of the role that given entity should be removed from
        `entity` - use or group to be removed

    - #### getAssignments

          Collection<org.kie.api.task.model.OrganizationalEntity> getAssignments(String roleName)

      Returns assigned entities for given role
      Parameters:
        `roleName` - name of the role assignment should be returned for
      Returns:

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