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