|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SchemaDao
| Method Summary | |
|---|---|
void |
enableSchema(String schemaName)
Enables a schema by removing it's m-disabled attribute if present. |
Entry |
find(String entityName)
Given the non-normalized name (alias) or the OID for a schema entity. |
DN |
findDn(String entityName)
|
String |
findSchema(String entityName)
Given the non-normalized name (alias) or the OID for a schema entity. |
Schema |
getSchema(String schemaName)
|
Set<String> |
getSchemaNames()
|
Map<String,Schema> |
getSchemas()
Gets a Map of Schemas managed by a schema store. |
boolean |
hasAttributeType(String oid)
|
boolean |
hasMatchingRule(String oid)
|
boolean |
hasObjectClass(String oid)
|
boolean |
hasSyntax(String oid)
|
boolean |
hasSyntaxChecker(String oid)
|
Set<Entry> |
listAttributeTypeDependents(AttributeType at)
|
Set<Entry> |
listEnabledSchemaDependents(String schemaName)
Lists the SearchResults of metaSchema objects that depend on a schema. |
Set<Entry> |
listMatchingRuleDependents(MatchingRule mr)
|
Set<Entry> |
listObjectClassDependents(ObjectClass oc)
|
Set<Entry> |
listSchemaDependents(String schemaName)
Lists the SearchResults of metaSchema objects that depend on a schema. |
Set<Entry> |
listSyntaxDependents(String numericOid)
Returns the set of matchingRules and attributeTypes which depend on the provided syntax. |
| Method Detail |
|---|
Map<String,Schema> getSchemas()
throws Exception
Exception - if there is some problem accessing the schema data
Set<String> getSchemaNames()
throws Exception
Exception
Schema getSchema(String schemaName)
throws Exception
Exception
boolean hasMatchingRule(String oid)
throws Exception
Exception
boolean hasAttributeType(String oid)
throws Exception
Exception
boolean hasObjectClass(String oid)
throws Exception
Exception
boolean hasSyntax(String oid)
throws Exception
Exception
boolean hasSyntaxChecker(String oid)
throws Exception
Exception
String findSchema(String entityName)
throws Exception
entityName - one of the names of the entity or it's numeric id
NamingException - if more than one entity has the name, or if there
are underlying data access problems
Exception
DN findDn(String entityName)
throws Exception
Exception
Entry find(String entityName)
throws Exception
entityName - one of the names of the entity or it's numeric id
NamingException - if more than one entity has the name, or if there
are underlying data access problems
Exception
void enableSchema(String schemaName)
throws Exception
schemaName - the name of the schema to enable
NamingException - if there is a problem updating the schema entry
Exception
Set<Entry> listSyntaxDependents(String numericOid)
throws Exception
numericOid - the numeric identifier for the entity
NamingException - if the dao fails to perform search operations
Exception
Set<Entry> listMatchingRuleDependents(MatchingRule mr)
throws Exception
Exception
Set<Entry> listAttributeTypeDependents(AttributeType at)
throws Exception
Exception
Set<Entry> listSchemaDependents(String schemaName)
throws Exception
schemaName - the name of the schema to search for dependees
NamingException - if there is a problem while searching the schema partition
Exception
Set<Entry> listEnabledSchemaDependents(String schemaName)
throws Exception
schemaName - the name of the schema to search for dependencies
NamingException - if there is a problem while searching the schema partition
Exception
Set<Entry> listObjectClassDependents(ObjectClass oc)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||