|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SchemaPartitionDao
Method Summary | |
---|---|
void |
enableSchema(java.lang.String schemaName)
Enables a schema by removing it's m-disabled attribute if present. |
org.apache.directory.shared.ldap.entry.ServerEntry |
find(java.lang.String entityName)
Given the non-normalized name (alias) or the OID for a schema entity. |
org.apache.directory.shared.ldap.name.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. |
org.apache.directory.shared.ldap.schema.registries.Schema |
getSchema(java.lang.String schemaName)
|
java.util.Set<java.lang.String> |
getSchemaNames()
|
java.util.Map<java.lang.String,org.apache.directory.shared.ldap.schema.registries.Schema> |
getSchemas()
|
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)
|
EntryFilteringCursor |
listAllNames()
|
java.util.Set<org.apache.directory.shared.ldap.entry.ServerEntry> |
listAttributeTypeDependents(org.apache.directory.shared.ldap.schema.AttributeType at)
|
java.util.Set<org.apache.directory.shared.ldap.entry.ServerEntry> |
listEnabledSchemaDependents(java.lang.String schemaName)
Lists the SearchResults of metaSchema objects that depend on a schema. |
java.util.Set<org.apache.directory.shared.ldap.entry.ServerEntry> |
listMatchingRuleDependents(org.apache.directory.shared.ldap.schema.MatchingRule mr)
|
java.util.Set<org.apache.directory.shared.ldap.entry.ServerEntry> |
listObjectClassDependents(org.apache.directory.shared.ldap.schema.ObjectClass oc)
|
java.util.Set<org.apache.directory.shared.ldap.entry.ServerEntry> |
listSchemaDependents(java.lang.String schemaName)
Lists the SearchResults of metaSchema objects that depend on a schema. |
java.util.Set<org.apache.directory.shared.ldap.entry.ServerEntry> |
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,org.apache.directory.shared.ldap.schema.registries.Schema> getSchemas() throws java.lang.Exception
java.lang.Exception
java.util.Set<java.lang.String> getSchemaNames() throws java.lang.Exception
java.lang.Exception
org.apache.directory.shared.ldap.schema.registries.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
javax.naming.NamingException
- if more than one entity has the name, or if there
are underlying data access problems
java.lang.Exception
org.apache.directory.shared.ldap.name.DN findDn(java.lang.String entityName) throws java.lang.Exception
java.lang.Exception
org.apache.directory.shared.ldap.entry.ServerEntry find(java.lang.String entityName) throws java.lang.Exception
entityName
- one of the names of the entity or it's numeric id
javax.naming.NamingException
- 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
javax.naming.NamingException
- if there is a problem updating the schema entry
java.lang.Exception
java.util.Set<org.apache.directory.shared.ldap.entry.ServerEntry> listSyntaxDependents(java.lang.String numericOid) throws java.lang.Exception
numericOid
- the numeric identifier for the entity
javax.naming.NamingException
- if the dao fails to perform search operations
java.lang.Exception
java.util.Set<org.apache.directory.shared.ldap.entry.ServerEntry> listMatchingRuleDependents(org.apache.directory.shared.ldap.schema.MatchingRule mr) throws java.lang.Exception
java.lang.Exception
EntryFilteringCursor listAllNames() throws java.lang.Exception
java.lang.Exception
java.util.Set<org.apache.directory.shared.ldap.entry.ServerEntry> listAttributeTypeDependents(org.apache.directory.shared.ldap.schema.AttributeType at) throws java.lang.Exception
java.lang.Exception
java.util.Set<org.apache.directory.shared.ldap.entry.ServerEntry> listSchemaDependents(java.lang.String schemaName) throws java.lang.Exception
schemaName
- the name of the schema to search for dependees
javax.naming.NamingException
- if there is a problem while searching the schema partition
java.lang.Exception
java.util.Set<org.apache.directory.shared.ldap.entry.ServerEntry> listEnabledSchemaDependents(java.lang.String schemaName) throws java.lang.Exception
schemaName
- the name of the schema to search for dependencies
javax.naming.NamingException
- if there is a problem while searching the schema partition
java.lang.Exception
java.util.Set<org.apache.directory.shared.ldap.entry.ServerEntry> listObjectClassDependents(org.apache.directory.shared.ldap.schema.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 |