Package org.eclipse.emf.cdo.security

# Schnittstelle Realm

Alle Superschnittstellen:
  `CDOObject`, `CDOWithID`, `EObject`, `ModelElement`, `Notifier`, `SecurityElement`, `SecurityItemContainer`, `SecurityItemProvider`

Alle bekannten Implementierungsklassen:
  `RealmImpl`

public interface Realm extends SecurityElement, SecurityItemContainer
A representation of the model object 'Realm'.

Siehe auch:
  - `SecurityPackage.getRealm()`
Generated
Extends
  SecurityItemContainer
Model
  annotation="http://www.eclipse.org/emf/2002/Ecore constraints='HasAdministrator'"
No Implement
  This interface is not intended to be implemented by clients.
No Extend
  This interface is not intended to be extended by clients.

  The following features are supported:

  - `Items`
  - `All Users`
  - `All Groups`
  - `All Roles`
  - `All Permissions`
  - `Name`
  - `Default Access`
  - `Default User Directory`
  - `Default Group Directory`
  - `Default Role Directory`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`EList<Group>`
`getAllGroups()`
Returns the value of the 'All Groups' reference list.
`EList<Permission>`
`getAllPermissions()`
Returns the value of the 'All Permissions' reference list.
`EList<Role>`
`getAllRoles()`
Returns the value of the 'All Roles' reference list.
`EList<User>`
`getAllUsers()`
Returns the value of the 'All Users' reference list.
`Access`
`getDefaultAccess()`
Returns the value of the 'Default Access' attribute.
`Directory`
`getDefaultGroupDirectory()`
Returns the value of the 'Default Group Directory' reference.
`Directory`
`getDefaultRoleDirectory()`
Returns the value of the 'Default Role Directory' reference.
`Directory`
`getDefaultUserDirectory()`
Returns the value of the 'Default User Directory' reference.
`EList<SecurityItem>`
`getItems()`
Returns the value of the 'Items' containment reference list.
`String`
`getName()`
Returns the value of the 'Name' attribute.
`void`
`setDefaultAccess(Access value)`
Sets the value of the '`Default Access`' attribute.
`void`
`setDefaultGroupDirectory(Directory value)`
Sets the value of the '`Default Group Directory`' reference.
`void`
`setDefaultRoleDirectory(Directory value)`
Sets the value of the '`Default Role Directory`' reference.
`void`
`setDefaultUserDirectory(Directory value)`
Sets the value of the '`Default User Directory`' reference.
`void`
`setName(String value)`
Sets the value of the '`Name`' attribute.

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.CDOObject

`cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.ecore.EObject

`eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.etypes.ModelElement

`getAnnotation, getAnnotations`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.common.notify.Notifier

`eAdapters, eDeliver, eNotify, eSetDeliver`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.security.SecurityElement

`getRealm`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.security.SecurityItemContainer

`addGroup, addRole, addUser, addUser, addUser, removeGroup, removeRole, removeUser, setPassword`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.security.SecurityItemProvider

`getGroup, getRole, getUser`

## Methodendetails

### getItems

EList<SecurityItem> getItems()
Returns the value of the 'Items' containment reference list. The list contents are of type `SecurityItem`.

If the meaning of the 'Items' containment reference list isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'Items' containment reference list.
Siehe auch:
  - `SecurityPackage.getRealm_Items()`
Generated
Model
  containment="true"

### getAllUsers

EList<User> getAllUsers()
Returns the value of the 'All Users' reference list. The list contents are of type `User`.

If the meaning of the 'All Users' reference list isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'All Users' reference list.
Siehe auch:
  - `SecurityPackage.getRealm_AllUsers()`
Generated
Model
  transient="true" changeable="false" volatile="true" derived="true"

### getAllGroups

EList<Group> getAllGroups()
Returns the value of the 'All Groups' reference list. The list contents are of type `Group`.

If the meaning of the 'All Groups' reference list isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'All Groups' reference list.
Siehe auch:
  - `SecurityPackage.getRealm_AllGroups()`
Generated
Model
  transient="true" changeable="false" volatile="true" derived="true"

### getAllRoles

EList<Role> getAllRoles()
Returns the value of the 'All Roles' reference list. The list contents are of type `Role`.

If the meaning of the 'All Roles' reference list isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'All Roles' reference list.
Siehe auch:
  - `SecurityPackage.getRealm_AllRoles()`
Generated
Model
  transient="true" changeable="false" volatile="true" derived="true"

### getAllPermissions

EList<Permission> getAllPermissions()
Returns the value of the 'All Permissions' reference list. The list contents are of type `Permission`.

If the meaning of the 'All Permissions' reference list isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'All Permissions' reference list.
Siehe auch:
  - `SecurityPackage.getRealm_AllPermissions()`
Generated
Model
  transient="true" changeable="false" volatile="true" derived="true"

### getName

String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'Name' attribute.
Siehe auch:
  - `setName(String)`
  - `SecurityPackage.getRealm_Name()`
Generated
Model

### setName

void setName(String value)
Sets the value of the '`Name`' attribute.

Parameter:
  `value` - the new value of the 'Name' attribute.
Siehe auch:
  - `getName()`
Generated

### getDefaultAccess

Access getDefaultAccess()
Returns the value of the 'Default Access' attribute.

The minimum level of access for all users on all objects in the repository. This is not the default level of access for a user on an object that is not otherwise covered by some permission rule; all permissions are implicitly elevated to this level.

This default/minimum can be overridden, even to a lesser access level, for specific users on a case-by-case basis.

Gibt zurück:
  the value of the 'Default Access' attribute.
Siehe auch:
  - `setDefaultAccess(Access)`
  - `SecurityPackage.getRealm_DefaultAccess()`
Generated
Model
  dataType="org.eclipse.emf.cdo.security.AccessObject"

### setDefaultAccess

void setDefaultAccess(Access value)
Sets the value of the '`Default Access`' attribute.

Parameter:
  `value` - the new value of the 'Default Access' attribute.
Siehe auch:
  - `getDefaultAccess()`
Generated

### getDefaultUserDirectory

Directory getDefaultUserDirectory()
Returns the value of the 'Default User Directory' reference.

If the meaning of the 'Default User Directory' reference isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'Default User Directory' reference.
Seit:
  4.2
Siehe auch:
  - `setDefaultUserDirectory(Directory)`
  - `SecurityPackage.getRealm_DefaultUserDirectory()`
Generated
Model

### setDefaultUserDirectory

void setDefaultUserDirectory(Directory value)
Sets the value of the '`Default User Directory`' reference.

Parameter:
  `value` - the new value of the 'Default User Directory' reference.
Seit:
  4.2
Siehe auch:
  - `getDefaultUserDirectory()`
Generated

### getDefaultGroupDirectory

Directory getDefaultGroupDirectory()
Returns the value of the 'Default Group Directory' reference.

If the meaning of the 'Default Group Directory' reference isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'Default Group Directory' reference.
Seit:
  4.2
Siehe auch:
  - `setDefaultGroupDirectory(Directory)`
  - `SecurityPackage.getRealm_DefaultGroupDirectory()`
Generated
Model

### setDefaultGroupDirectory

void setDefaultGroupDirectory(Directory value)
Sets the value of the '`Default Group Directory`' reference.

Parameter:
  `value` - the new value of the 'Default Group Directory' reference.
Seit:
  4.2
Siehe auch:
  - `getDefaultGroupDirectory()`
Generated

### getDefaultRoleDirectory

Directory getDefaultRoleDirectory()
Returns the value of the 'Default Role Directory' reference.

If the meaning of the 'Default Role Directory' reference isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'Default Role Directory' reference.
Seit:
  4.2
Siehe auch:
  - `setDefaultRoleDirectory(Directory)`
  - `SecurityPackage.getRealm_DefaultRoleDirectory()`
Generated
Model

### setDefaultRoleDirectory

void setDefaultRoleDirectory(Directory value)
Sets the value of the '`Default Role Directory`' reference.

Parameter:
  `value` - the new value of the 'Default Role Directory' reference.
Seit:
  4.2
Siehe auch:
  - `getDefaultRoleDirectory()`
Generated