Package org.eclipse.emf.cdo.security.ui

# Schnittstelle ISecurityManagementContext

Alle bekannten Implementierungsklassen:
  `ISecurityManagementContext.Default`

public interface ISecurityManagementContext
An optional security-management context that may be provided as an adapter by the view part to which the "Manage Security" command is contributed.

Autor:
  Christian W. Damus (CEA LIST)

## Verschachtelte Klassen - Übersicht

Verschachtelte Klassen
Modifizierer und Typ
Schnittstelle
Beschreibung
`static class`
`ISecurityManagementContext.Default`
A default implementation of a `security management context`.

## Feldübersicht

Felder
Modifizierer und Typ
Feld
Beschreibung
`static final ISecurityManagementContext`
`DEFAULT`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`CDOView`
`connect(CDOSession session)`
Obtains a view in which to open the security resource for editing.
`void`
`disconnect(CDOView view)`
Releases a `view` previously obtained from this context.
`CDOResource`
`getSecurityResource(CDOView view)`
Obtains the resource containing the security model for presentation in the Security Management editor.

## Felddetails

### DEFAULT

static final ISecurityManagementContext DEFAULT

## Methodendetails

### connect

CDOView connect(CDOSession session)
Obtains a view in which to open the security resource for editing. If at all possible, this should be a writable transaction. If necessary, implementors are welcome to open a new session logged in as the Administrator for this purpose.

Siehe auch:
  - `getSecurityResource(CDOView)`
  - `disconnect(CDOView)`

### disconnect

void disconnect(CDOView view)
Releases a `view` previously obtained from this context. The caller must not attempt to use the `view` after this point because in all likelihood it will be closed.

Siehe auch:
  - `connect(CDOSession)`

### getSecurityResource

CDOResource getSecurityResource(CDOView view)
Obtains the resource containing the security model for presentation in the Security Management editor.