|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.schema.DefaultSchemaService
public class DefaultSchemaService
This class manage the Schema's operations.
Constructor Summary | |
---|---|
DefaultSchemaService()
|
Method Summary | |
---|---|
org.apache.directory.shared.ldap.schema.SchemaManager |
getSchemaManager()
|
SchemaPartition |
getSchemaPartition()
|
org.apache.directory.shared.ldap.entry.ServerEntry |
getSubschemaEntry(java.lang.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(java.lang.String dnString)
Tells if the given DN is the schemaSubentry DN |
void |
setSchemaPartition(SchemaPartition schemaPartition)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSchemaService() throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public boolean isSchemaSubentry(java.lang.String dnString) throws org.apache.directory.shared.ldap.exception.LdapException
SchemaService
isSchemaSubentry
in interface SchemaService
dnString
- The DN we want to check
true
if the given DN is the Schema subentry DN
org.apache.directory.shared.ldap.exception.LdapException
- If the given DN is not validpublic final org.apache.directory.shared.ldap.schema.SchemaManager getSchemaManager()
getSchemaManager
in interface SchemaService
public SchemaPartition getSchemaPartition()
getSchemaPartition
in interface SchemaService
public void setSchemaPartition(SchemaPartition schemaPartition)
setSchemaPartition
in interface SchemaService
public org.apache.directory.shared.ldap.entry.ServerEntry getSubschemaEntryImmutable() throws java.lang.Exception
getSubschemaEntryImmutable
in interface SchemaService
java.lang.Exception
- if there is a failure to access schema timestampspublic void initialize() throws java.lang.Exception
initialize
in interface SchemaService
java.lang.Exception
- If the initializaion failspublic org.apache.directory.shared.ldap.entry.ServerEntry getSubschemaEntryCloned() throws java.lang.Exception
SchemaService
getSubschemaEntryCloned
in interface SchemaService
java.lang.Exception
- if there is a failure to access schema timestampspublic org.apache.directory.shared.ldap.entry.ServerEntry getSubschemaEntry(java.lang.String[] ids) throws java.lang.Exception
getSubschemaEntry
in interface SchemaService
ids
- the ids of the attributes that should be returned from a search
java.lang.Exception
- if there are failures during schema info access
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |