Package org.eclipse.emf.cdo.security

# Klasse RealmUtil

java.lang.Object
org.eclipse.emf.cdo.security.RealmUtil

public final class RealmUtil extends Object
Various static helper methods for dealing with `realms`.

Autor:
  Eike Stepper

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`static BasicEList<Group>`
`allGroups(EList<SecurityItem> items)`
`static BasicEList<Permission>`
`allPermissions(EList<SecurityItem> items)`
`static BasicEList<Role>`
`allRoles(EList<SecurityItem> items)`
`static BasicEList<User>`
`allUsers(EList<SecurityItem> items)`
`static Group`
`findGroup(EList<SecurityItem> items, String groupID)`
`static Role`
`findRole(EList<SecurityItem> items, String roleID)`
`static User`
`findUser(EList<SecurityItem> items, String userID)`
`static Group`
`removeGroup(EList<SecurityItem> items, String groupID)`
`static Role`
`removeRole(EList<SecurityItem> items, String roleID)`
`static User`
`removeUser(EList<SecurityItem> items, String userID)`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Methodendetails

### findUser

public static User findUser(EList<SecurityItem> items, String userID)

### findGroup

public static Group findGroup(EList<SecurityItem> items, String groupID)

### findRole

public static Role findRole(EList<SecurityItem> items, String roleID)

### removeUser

public static User removeUser(EList<SecurityItem> items, String userID)

Seit:
  4.2

### removeGroup

public static Group removeGroup(EList<SecurityItem> items, String groupID)

Seit:
  4.2

### removeRole

public static Role removeRole(EList<SecurityItem> items, String roleID)

Seit:
  4.2

### allUsers

public static BasicEList<User> allUsers(EList<SecurityItem> items)

### allGroups

public static BasicEList<Group> allGroups(EList<SecurityItem> items)

### allRoles

public static BasicEList<Role> allRoles(EList<SecurityItem> items)

### allPermissions

public static BasicEList<Permission> allPermissions(EList<SecurityItem> items)