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
Exception
org.apache.directory.shared.ldap.schema.registries.Schema getSchema(String schemaName) throws Exception
Exception
String 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 problemsException
org.apache.directory.shared.ldap.name.DN findDn(String entityName) throws Exception
Exception
org.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 problemsException
void enableSchema(String schemaName) throws Exception
schemaName
- the name of the schema to enableNamingException
- if there is a problem updating the schema entryException
Set<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 operationsException
Set<org.apache.directory.shared.ldap.entry.ServerEntry> listMatchingRuleDependents(org.apache.directory.shared.ldap.schema.MatchingRule mr) throws Exception
Exception
EntryFilteringCursor listAllNames() throws Exception
Exception
Set<org.apache.directory.shared.ldap.entry.ServerEntry> listAttributeTypeDependents(org.apache.directory.shared.ldap.schema.AttributeType at) throws Exception
Exception
Set<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 partitionException
Set<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 partitionException
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.