| | |
| | | String schemaFile = replaceExistingSchemaElement( |
| | | modifiedSchemaFiles, new ServerSchemaElement(nameForm), new ServerSchemaElement(existingNF)); |
| | | schema.registerNameForm(nameForm, schemaFile, false); |
| | | schema.rebuildDependentElements(existingNF); |
| | | } |
| | | } |
| | | |
| | |
| | | String schemaFile = replaceExistingSchemaElement(modifiedSchemaFiles, new ServerSchemaElement(ditContentRule), |
| | | new ServerSchemaElement(existingDCR)); |
| | | schema.registerDITContentRule(ditContentRule, schemaFile, false); |
| | | schema.rebuildDependentElements(existingDCR); |
| | | } |
| | | } |
| | | |
| | |
| | | String schemaFile = replaceExistingSchemaElement( |
| | | modifiedSchemaFiles, new ServerSchemaElement(ditStructureRule), new ServerSchemaElement(existingDSR)); |
| | | schema.registerDITStructureRule(ditStructureRule, schemaFile, false); |
| | | schema.rebuildDependentElements(existingDSR); |
| | | } |
| | | } |
| | | |
| | |
| | | String def = Schema.addSchemaFileToElementDefinitionIfAbsent(definition, schemaFile); |
| | | schema.registerLdapSyntaxDescription(def, false); |
| | | |
| | | schema.rebuildDependentElements(existingLSD); |
| | | String newSchemaFile = getSchemaFile(schema.getLdapSyntaxDescription(oid)); |
| | | |
| | | if (oldSchemaFile != null) |
| | | { |
| | | modifiedSchemaFiles.add(oldSchemaFile); |