Package org.eclipse.emf.cdo.server.spi.admin

# Schnittstelle CDOAdminHandler2

Alle Superschnittstellen:
  `CDOAdminHandler`

public interface CDOAdminHandler2 extends CDOAdminHandler
An optional extension of the `CDOAdminHandler` interface that provides additional queries and control functions, such as determination of whether deletion of a particular repository is feasible even to attempt.

Seit:
  4.2
Autor:
  Christian W. Damus (CEA LIST)

## Verschachtelte Klassen - Übersicht

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.cdo.server.spi.admin.CDOAdminHandler

`CDOAdminHandler.Factory`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`void`
`authenticateAdministrator()`
Authenticates the user as a server administrator, if applicable.
`boolean`
`canDelete(IRepository delegate)`
Queries whether a given `repository` can be deleted.

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.server.spi.admin.CDOAdminHandler

`createRepository, deleteRepository, getType`

## Methodendetails

### canDelete

boolean canDelete(IRepository delegate)
Queries whether a given `repository` can be deleted. If it cannot, then it will not be deactivated and the delete operation will fail with an exception back to the client.

### authenticateAdministrator

void authenticateAdministrator() throws SecurityException
Authenticates the user as a server administrator, if applicable.

Löst aus:
  `SecurityException` - if authentication is required and fails