public interface SchemaPartitionDao
| Modifier and Type | Method and Description |
|---|---|
void |
enableSchema(String schemaName)
Enables a schema by removing it's m-disabled attribute if present.
|
org.apache.directory.shared.ldap.entry.ServerEntry |
find(String entityName)
Given the non-normalized name (alias) or the OID for a schema entity.
|
org.apache.directory.shared.ldap.name.DN |
findDn(String entityName) |
String |
findSchema(String entityName)
Given the non-normalized name (alias) or the OID for a schema entity.
|
org.apache.directory.shared.ldap.schema.registries.Schema |
getSchema(String schemaName) |
Set<String> |
getSchemaNames() |
Map<String,org.apache.directory.shared.ldap.schema.registries.Schema> |
getSchemas() |
boolean |
hasAttributeType(String oid) |
boolean |
hasMatchingRule(String oid) |
boolean |
hasObjectClass(String oid) |
boolean |
hasSyntax(String oid) |
boolean |
hasSyntaxChecker(String oid) |
EntryFilteringCursor |
listAllNames() |
Set<org.apache.directory.shared.ldap.entry.ServerEntry> |
listAttributeTypeDependents(org.apache.directory.shared.ldap.schema.AttributeType at) |
Set<org.apache.directory.shared.ldap.entry.ServerEntry> |
listEnabledSchemaDependents(String schemaName)
Lists the SearchResults of metaSchema objects that depend on a schema.
|
Set<org.apache.directory.shared.ldap.entry.ServerEntry> |
listMatchingRuleDependents(org.apache.directory.shared.ldap.schema.MatchingRule mr) |
Set<org.apache.directory.shared.ldap.entry.ServerEntry> |
listObjectClassDependents(org.apache.directory.shared.ldap.schema.ObjectClass oc) |
Set<org.apache.directory.shared.ldap.entry.ServerEntry> |
listSchemaDependents(String schemaName)
Lists the SearchResults of metaSchema objects that depend on a schema.
|
Set<org.apache.directory.shared.ldap.entry.ServerEntry> |
listSyntaxDependents(String numericOid)
Returns the set of matchingRules and attributeTypes which depend on the
provided syntax.
|
Map<String,org.apache.directory.shared.ldap.schema.registries.Schema> getSchemas() throws Exception
Exceptionorg.apache.directory.shared.ldap.schema.registries.Schema getSchema(String schemaName) throws Exception
ExceptionString findSchema(String entityName) throws Exception
entityName - one of the names of the entity or it's numeric idNamingException - if more than one entity has the name, or if there
are underlying data access problemsExceptionorg.apache.directory.shared.ldap.name.DN findDn(String entityName) throws Exception
Exceptionorg.apache.directory.shared.ldap.entry.ServerEntry find(String entityName) throws Exception
entityName - one of the names of the entity or it's numeric idNamingException - if more than one entity has the name, or if there
are underlying data access problemsExceptionvoid enableSchema(String schemaName) throws Exception
schemaName - the name of the schema to enableNamingException - if there is a problem updating the schema entryExceptionSet<org.apache.directory.shared.ldap.entry.ServerEntry> listSyntaxDependents(String numericOid) throws Exception
numericOid - the numeric identifier for the entityNamingException - if the dao fails to perform search operationsExceptionSet<org.apache.directory.shared.ldap.entry.ServerEntry> listMatchingRuleDependents(org.apache.directory.shared.ldap.schema.MatchingRule mr) throws Exception
ExceptionEntryFilteringCursor listAllNames() throws Exception
ExceptionSet<org.apache.directory.shared.ldap.entry.ServerEntry> listAttributeTypeDependents(org.apache.directory.shared.ldap.schema.AttributeType at) throws Exception
ExceptionSet<org.apache.directory.shared.ldap.entry.ServerEntry> listSchemaDependents(String schemaName) throws Exception
schemaName - the name of the schema to search for dependeesNamingException - if there is a problem while searching the schema partitionExceptionSet<org.apache.directory.shared.ldap.entry.ServerEntry> listEnabledSchemaDependents(String schemaName) throws Exception
schemaName - the name of the schema to search for dependenciesNamingException - if there is a problem while searching the schema partitionExceptionCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.