public interface CDOAdminHandler2 extends CDOAdminHandler
CDOAdminHandler
interface that provides
additional queries and control functions, such as determination of whether
deletion of a particular repository is feasible even to attempt.CDOAdminHandler.Factory
Modifier and Type | Method and Description |
---|---|
void |
authenticateAdministrator()
Authenticates the user as a server administrator, if applicable.
|
boolean |
canDelete(IRepository delegate)
Queries whether a given
repository can be deleted. |
createRepository, deleteRepository, getType
boolean canDelete(IRepository delegate)
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.void authenticateAdministrator() throws SecurityException
SecurityException
- if authentication is required and failsCopyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html