public interface SchemaService
Modifier and Type | Method and Description |
---|---|
org.apache.directory.shared.ldap.schema.SchemaManager |
getSchemaManager() |
SchemaPartition |
getSchemaPartition() |
org.apache.directory.shared.ldap.entry.ServerEntry |
getSubschemaEntry(String[] ids)
Gets the schemaSubentry based on specific search id parameters which
include the special '*' and '+' operators.
|
org.apache.directory.shared.ldap.entry.ServerEntry |
getSubschemaEntryCloned()
A seriously unsafe (unsynchronized) means to access the schemaSubentry.
|
org.apache.directory.shared.ldap.entry.ServerEntry |
getSubschemaEntryImmutable()
A seriously unsafe (unsynchronized) means to access the schemaSubentry.
|
void |
initialize()
Initializes the SchemaService
|
boolean |
isSchemaSubentry(String dnString)
Tells if the given DN is the schemaSubentry DN
|
void |
setSchemaPartition(SchemaPartition schemaPartition) |
boolean isSchemaSubentry(String dnString) throws org.apache.directory.shared.ldap.exception.LdapException
dnString
- The DN we want to checktrue
if the given DN is the Schema subentry DNorg.apache.directory.shared.ldap.exception.LdapException
- If the given DN is not validorg.apache.directory.shared.ldap.schema.SchemaManager getSchemaManager()
SchemaPartition getSchemaPartition()
void setSchemaPartition(SchemaPartition schemaPartition)
void initialize() throws Exception
Exception
- If the initializaion failsorg.apache.directory.shared.ldap.entry.ServerEntry getSubschemaEntryImmutable() throws Exception
Exception
- if there is a failure to access schema timestampsorg.apache.directory.shared.ldap.entry.ServerEntry getSubschemaEntryCloned() throws Exception
Exception
- if there is a failure to access schema timestampsorg.apache.directory.shared.ldap.entry.ServerEntry getSubschemaEntry(String[] ids) throws Exception
ids
- the ids of the attributes that should be returned from a searchException
- if there are failures during schema info accessCopyright © 2003–2015 The Apache Software Foundation. All rights reserved.