| | |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2014 ForgeRock AS |
| | | */ |
| | | package org.forgerock.opendj.config; |
| | | |
| | |
| | | import org.forgerock.opendj.config.client.ManagedObjectDecodingException; |
| | | import org.forgerock.opendj.config.client.OperationRejectedException; |
| | | import org.forgerock.opendj.ldap.DN; |
| | | import org.forgerock.opendj.ldap.ErrorResultException; |
| | | import org.forgerock.opendj.ldap.LdapException; |
| | | import org.forgerock.opendj.ldap.schema.AttributeType; |
| | | |
| | | /** |
| | |
| | | * @throws ConcurrentModificationException |
| | | * If this Test Parent has been removed from the server by |
| | | * another client. |
| | | * @throws ErrorResultException |
| | | * @throws LdapException |
| | | * If an error occurs |
| | | */ |
| | | String[] listTestChildren() throws ConcurrentModificationException, ErrorResultException; |
| | | String[] listTestChildren() throws ConcurrentModificationException, LdapException; |
| | | |
| | | /** |
| | | * Gets the named Test Child. |
| | |
| | | * @throws ConcurrentModificationException |
| | | * If this Test Parent has been removed from the server by |
| | | * another client. |
| | | * @throws ErrorResultException |
| | | * @throws LdapException |
| | | * If an error occurs. |
| | | */ |
| | | TestChildCfgClient getTestChild(String name) throws DefinitionDecodingException, ManagedObjectDecodingException, |
| | | ManagedObjectNotFoundException, ConcurrentModificationException, ErrorResultException; |
| | | ManagedObjectNotFoundException, ConcurrentModificationException, LdapException; |
| | | |
| | | /** |
| | | * Creates a new Test Child. The new Test Child will initially not contain |
| | |
| | | * @throws ConcurrentModificationException |
| | | * If this Test Parent has been removed from the server by |
| | | * another client. |
| | | * @throws ErrorResultException |
| | | * @throws LdapException |
| | | * If an errors occurs. |
| | | */ |
| | | void removeTestChild(String name) throws ManagedObjectNotFoundException, OperationRejectedException, |
| | | ConcurrentModificationException, ErrorResultException; |
| | | ConcurrentModificationException, LdapException; |
| | | |
| | | /** |
| | | * Determines whether or not the Optional Test Child exists. |
| | |
| | | * @throws ConcurrentModificationException |
| | | * If this Test Parent has been removed from the server by |
| | | * another client. |
| | | * @throws ErrorResultException |
| | | * @throws LdapException |
| | | * If an errors occurs. |
| | | */ |
| | | boolean hasOptionalTestChild() throws ConcurrentModificationException, ErrorResultException; |
| | | boolean hasOptionalTestChild() throws ConcurrentModificationException, LdapException; |
| | | |
| | | /** |
| | | * Gets the Optional Test Child if it is present. |
| | |
| | | * @throws ConcurrentModificationException |
| | | * If this Test Parent has been removed from the server by |
| | | * another client. |
| | | * @throws ErrorResultException |
| | | * @throws LdapException |
| | | * If an errors occurs. |
| | | */ |
| | | TestChildCfgClient getOptionalChild() throws DefinitionDecodingException, ManagedObjectDecodingException, |
| | | ManagedObjectNotFoundException, ConcurrentModificationException, ErrorResultException; |
| | | ManagedObjectNotFoundException, ConcurrentModificationException, LdapException; |
| | | |
| | | /** |
| | | * Creates a new Optional Test Child. The new Optional Test Child will |
| | |
| | | * @throws ConcurrentModificationException |
| | | * If this Test Parent has been removed from the server by |
| | | * another client. |
| | | * @throws ErrorResultException |
| | | * @throws LdapException |
| | | * If an errors occurs. |
| | | */ |
| | | void removeOptionalTestChild() throws ManagedObjectNotFoundException, OperationRejectedException, |
| | | ConcurrentModificationException, ErrorResultException; |
| | | ConcurrentModificationException, LdapException; |
| | | |
| | | } |