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, getTypeboolean 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 java.lang.SecurityException
java.lang.SecurityException - if authentication is required and failsCopyright (c) 2004-2019 Eike Stepper (Loehne, 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