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) 2011-2015 Eike Stepper (Berlin, Germany) and others.