Uses of Interface
org.apache.directory.api.ldap.model.schema.SchemaManager
-
Packages that use SchemaManager Package Description org.apache.directory.api.ldap.model.entry org.apache.directory.api.ldap.model.filter org.apache.directory.api.ldap.model.ldif org.apache.directory.api.ldap.model.ldif.anonymizer org.apache.directory.api.ldap.model.message org.apache.directory.api.ldap.model.name org.apache.directory.api.ldap.model.schema Contains interfaces and base classes for representing the LDAP schema domain model.org.apache.directory.api.ldap.model.schema.comparators org.apache.directory.api.ldap.model.schema.normalizers org.apache.directory.api.ldap.model.schema.syntaxCheckers org.apache.directory.api.ldap.model.subtree -
-
Uses of SchemaManager in org.apache.directory.api.ldap.model.entry
Fields in org.apache.directory.api.ldap.model.entry declared as SchemaManager Modifier and Type Field Description private SchemaManagerDefaultEntry. schemaManagerThe SchemaManagerMethods in org.apache.directory.api.ldap.model.entry with parameters of type SchemaManager Modifier and Type Method Description private EntryDefaultEntry. createEntry(SchemaManager schemaManager, Object... elements)Constructors in org.apache.directory.api.ldap.model.entry with parameters of type SchemaManager Constructor Description DefaultEntry(SchemaManager schemaManager)Creates a new instance of DefaultEntry, schema aware.DefaultEntry(SchemaManager schemaManager, String dn)Creates a new instance of DefaultEntry, schema aware.DefaultEntry(SchemaManager schemaManager, String dn, Object... elements)Creates a new instance of DefaultEntry, with a Dn and a list of IDs.DefaultEntry(SchemaManager schemaManager, Entry entry)Creates a new instance of DefaultEntry, copying another entry.DefaultEntry(SchemaManager schemaManager, Dn dn)Creates a new instance of DefaultEntry, schema aware.DefaultEntry(SchemaManager schemaManager, Dn dn, Object... elements)Creates a new instance of DefaultEntry, with a Dn and a list of IDs.DefaultModification(SchemaManager schemaManager, Modification modification)Creates a new instance of DefaultModification. -
Uses of SchemaManager in org.apache.directory.api.ldap.model.filter
Methods in org.apache.directory.api.ldap.model.filter with parameters of type SchemaManager Modifier and Type Method Description static StringBranchNormalizedVisitor. getNormalizedFilter(SchemaManager schemaManager, String filter)Normalizes a filter expression to a canonical representation while retaining logical meaning of the expression.static ExprNodeFilterParser. parse(SchemaManager schemaManager, String filter)Parses a search filter from it's string representation to an expression node object, using the provided SchemaManagerstatic ExprNodeFilterParser. parse(SchemaManager schemaManager, String filter, boolean relaxed)Parses a search filter from it's string representation to an expression node object, using the provided SchemaManagerprivate static ValueFilterParser. parseAssertionValue(SchemaManager schemaManager, byte[] filterBytes, org.apache.directory.api.util.Position pos)An assertion value :private static ValueFilterParser. parseAssertionValue(SchemaManager schemaManager, String attribute, byte[] filterBytes, org.apache.directory.api.util.Position pos)An assertion value :private static ExprNodeFilterParser. parseBranchNode(SchemaManager schemaManager, ExprNode node, byte[] filterBytes, org.apache.directory.api.util.Position pos, boolean relaxed)Parse AND, OR and NOT nodes :private static ExprNodeFilterParser. parseExtensible(SchemaManager schemaManager, String attribute, byte[] filterBytes, org.apache.directory.api.util.Position pos, boolean relaxed)Parse an extensibleprivate static ExprNodeFilterParser. parseFilterComp(SchemaManager schemaManager, byte[] filterBytes, org.apache.directory.api.util.Position pos, boolean relaxed)filtercomp = and / or / not / item and = '&' WSP* filterlist or = '|' WSP* filterlist not = '!'private static ExprNodeFilterParser. parseFilterInternal(SchemaManager schemaManager, byte[] filterBytes, org.apache.directory.api.util.Position pos, boolean relaxed)Parse the grammar rule :private static ExprNodeFilterParser. parseItem(SchemaManager schemaManager, byte[] filterBytes, org.apache.directory.api.util.Position pos, byte b, boolean relaxed)Parse the following grammar :private static ExprNodeFilterParser. parsePresenceEqOrSubstring(SchemaManager schemaManager, String attribute, byte[] filterBytes, org.apache.directory.api.util.Position pos)Here is the grammar to parse :private static ExprNodeFilterParser. parseSubstring(SchemaManager schemaManager, String attribute, Value initial, byte[] filterBytes, org.apache.directory.api.util.Position pos)Parse a substring -
Uses of SchemaManager in org.apache.directory.api.ldap.model.ldif
Fields in org.apache.directory.api.ldap.model.ldif declared as SchemaManager Modifier and Type Field Description protected SchemaManagerLdifReader. schemaManagerThe SchemaManager instance, if anyMethods in org.apache.directory.api.ldap.model.ldif with parameters of type SchemaManager Modifier and Type Method Description protected LdifEntryLdifReader. createLdifEntry(SchemaManager schemaManager)Creates a schema aware LdifEntryprivate EntryLdifAttributesReader. parseEntry(SchemaManager schemaManager)Parse a ldif file.EntryLdifAttributesReader. parseEntry(SchemaManager schemaManager, String ldif)A method which parses a ldif string and returns an Entry.private voidLdifAttributesReader. parseEntryAttribute(SchemaManager schemaManager, Entry entry, String line, String lowerLine)Parse an AttributeType/AttributeValuevoidLdifReader. setSchemaManager(SchemaManager schemaManager)Constructors in org.apache.directory.api.ldap.model.ldif with parameters of type SchemaManager Constructor Description LdifEntry(SchemaManager schemaManager)Creates a new schema aware LdifEntry object.LdifReader(File file, SchemaManager schemaManager)A constructor which takes a File and a SchemaManager.LdifReader(SchemaManager schemaManager)Creates a Schema aware reader -
Uses of SchemaManager in org.apache.directory.api.ldap.model.ldif.anonymizer
Fields in org.apache.directory.api.ldap.model.ldif.anonymizer declared as SchemaManager Modifier and Type Field Description protected SchemaManagerAbstractAnonymizer. schemaManagerThe SchemaManager instanceMethods in org.apache.directory.api.ldap.model.ldif.anonymizer with parameters of type SchemaManager Modifier and Type Method Description voidAbstractAnonymizer. setSchemaManager(SchemaManager schemaManager)Inject a SchemaManager instance in this AnonymizervoidAnonymizer. setSchemaManager(SchemaManager schemaManager)Inject a SchemaManager instance in this Anonymizer -
Uses of SchemaManager in org.apache.directory.api.ldap.model.message
Methods in org.apache.directory.api.ldap.model.message with parameters of type SchemaManager Modifier and Type Method Description voidSearchParams. normalize(SchemaManager schemaManager)Normalize the ReturningAttributes.SearchRequestSearchRequest. setFilter(SchemaManager schemaManager, String filter)Sets the search filter associated with this search request.SearchRequestSearchRequestImpl. setFilter(SchemaManager schemaManager, String filter)Sets the search filter associated with this search request. -
Uses of SchemaManager in org.apache.directory.api.ldap.model.name
Fields in org.apache.directory.api.ldap.model.name declared as SchemaManager Modifier and Type Field Description private SchemaManagerAva. schemaManagerthe schema managerprivate SchemaManagerDefaultDnFactory. schemaManagerThe schema managerprivate SchemaManagerDn. schemaManagerthe schema managerprivate SchemaManagerRdn. schemaManagerthe schema managerMethods in org.apache.directory.api.ldap.model.name that return SchemaManager Modifier and Type Method Description SchemaManagerDn. getSchemaManager()Get the associated SchemaManager if any.Methods in org.apache.directory.api.ldap.model.name with parameters of type SchemaManager Modifier and Type Method Description private voidRdn. addAVA(SchemaManager schemaManager, String type, Value value)Add an Ava to the current Rdn(package private) voidRdn. addAVA(SchemaManager schemaManager, Ava addedAva)Add an Ava to the current schema aware Rdnprivate voidAva. apply(SchemaManager schemaManager)Apply a SchemaManager to the Ava.StringAntlrDnParser. attributeTypeAndValue(SchemaManager schemaManager, Ava ava)RFC 4514, Section 3private voidAva. createAva(SchemaManager schemaManager, String upType, Value value)Construct a schema aware Ava.voidAntlrDnParser. distinguishedName(SchemaManager schemaManager, Dn dn)Parses a Dn string.static booleanDn. isValid(SchemaManager schemaManager, String name)Check if a DistinguishedName is syntactically valid.static booleanRdn. isValid(SchemaManager schemaManager, String rdn)Validate a NameComponent :(package private) static DnFastDnParser. parse(SchemaManager schemaManager, String name)Parses a Dn from a Stringprivate static voidRdn. parse(SchemaManager schemaManager, String rdnStr, Rdn rdn)Parse a NameComponent :(package private) StringComplexDnParser. parseDn(SchemaManager schemaManager, String name, List<Rdn> rdns)Parses an Dn.(package private) static StringFastDnParser. parseDn(SchemaManager schemaManager, String name, List<Rdn> rdns)(package private) static voidFastDnParser. parseDn(SchemaManager schemaManager, String name, Dn dn)Parses the given name string and fills the given Dn object.private static StringDn. parseInternal(SchemaManager schemaManager, String name, List<Rdn> rdns)Parse a Dn.(package private) voidComplexDnParser. parseRdn(SchemaManager schemaManager, String name, Rdn rdn)Parses an Rdn.(package private) static voidFastDnParser. parseRdn(SchemaManager schemaManager, String name, Rdn rdn)Parses the given name string and fills the given Rdn object.private static voidFastDnParser. parseRdnInternal(SchemaManager schemaManager, String name, org.apache.directory.api.util.Position pos, Rdn rdn)voidAntlrDnParser. relativeDistinguishedName(SchemaManager schemaManager, Rdn rdn)Parses a Rdn string.StringAntlrDnParser. relativeDistinguishedNames(SchemaManager schemaManager, List<Rdn> rdns)Parses a Dn string.(package private) voidAva. setAttributeType(SchemaManager schemaManager, String upType)Constructors in org.apache.directory.api.ldap.model.name with parameters of type SchemaManager Constructor Description Ava(SchemaManager schemaManager)Constructs an empty schema aware Ava.Ava(SchemaManager schemaManager, String upType, byte[] upValue)Construct a schema aware Ava containing a binary value.Ava(SchemaManager schemaManager, String upType, String upValue)Construct a schema aware Ava with a String value.Ava(SchemaManager schemaManager, String upType, String upName, byte[] upValue)Construct a schema aware Ava containing a binary value.Ava(SchemaManager schemaManager, String upType, String upName, String upValue)Construct a schema aware Ava with a String value.Ava(SchemaManager schemaManager, String upType, String normType, Value value)Construct an Ava.Ava(SchemaManager schemaManager, Ava ava)Constructs new Ava using the provided SchemaManager and AVADefaultDnFactory(SchemaManager schemaManager, int cacheSize)Instantiates a new default Dn factory.Dn(SchemaManager schemaManager)Construct an empty Schema aware Dn objectDn(SchemaManager schemaManager, String... upRdns)Creates a new instance of schema aware Dn, using varargs to declare the RDNs.Dn(SchemaManager schemaManager, Dn dn)Construct an empty Schema aware Dn objectDn(SchemaManager schemaManager, Rdn... rdns)Creates a Schema aware Dn from a list of Rdns.Rdn(SchemaManager schemaManager)Creates a new schema aware instance of Rdn.Rdn(SchemaManager schemaManager, String rdn)A constructor that parse a String representing a schema aware Rdn.Rdn(SchemaManager schemaManager, String upType, String upValue)A constructor that constructs a schema aware Rdn from a type and a value.Rdn(SchemaManager schemaManager, Ava... avas)Creates a new schema aware RDN from a list of AVARdn(SchemaManager schemaManager, Rdn rdn)Constructs an Rdn from the given rdn. -
Uses of SchemaManager in org.apache.directory.api.ldap.model.schema
Methods in org.apache.directory.api.ldap.model.schema with parameters of type SchemaManager Modifier and Type Method Description EntryAttributesFactory. convert(String oid, LdapComparator<? super Object> comparator, Schema schema, SchemaManager schemaManager)Convert a LdapComparator instance into an EntryEntryAttributesFactory. convert(String oid, Normalizer normalizer, Schema schema, SchemaManager schemaManager)Convert a Normalizer instance into an EntryEntryAttributesFactory. convert(AttributeType attributeType, Schema schema, SchemaManager schemaManager)objectclass ( 1.3.6.1.4.1.18060.0.4.0.3.3 NAME 'metaAttributeType' DESC 'meta definition of the AttributeType object' SUP metaTop STRUCTURAL MUST ( m-name $ m-syntax ) MAY ( m-supAttributeType $ m-obsolete $ m-equality $ m-ordering $ m-substr $ m-singleValue $ m-collective $ m-noUserModification $ m-usage $ m-extensionAttributeType ) )EntryAttributesFactory. convert(DitContentRule dITContentRule, Schema schema, SchemaManager schemaManager)Converts a DitContentRule into an EntryEntryAttributesFactory. convert(DitStructureRule ditStructureRule, Schema schema, SchemaManager schemaManager)Converts a DitStructureRule into an EntryEntryAttributesFactory. convert(LdapSyntax syntax, Schema schema, SchemaManager schemaManager)Convert a Syntax instance into an EntryEntryAttributesFactory. convert(MatchingRule matchingRule, Schema schema, SchemaManager schemaManager)Converts a MatchingRule into an EntryEntryAttributesFactory. convert(MatchingRuleUse matchingRuleUse, Schema schema, SchemaManager schemaManager)Converts a MatchingRuleUse into an EntryEntryAttributesFactory. convert(NameForm nameForm, Schema schema, SchemaManager schemaManager)Converts a NameForm into an EntryEntryAttributesFactory. convert(ObjectClass objectClass, Schema schema, SchemaManager schemaManager)Creates the attributes of an entry representing an objectClass.EntryAttributesFactory. convert(Schema schema, SchemaManager schemaManager)Converts a Schema to an EntryEntryAttributesFactory. convert(SyntaxChecker syntaxChecker, Schema schema, SchemaManager schemaManager)Convert a SyntaxChecker instance into an EntryEntryAttributesFactory. getAttributes(SchemaObject obj, Schema schema, SchemaManager schemaManager)Get a SchemaObject as an Entryprivate voidAttributesFactory. injectCommon(SchemaObject object, Entry entry, SchemaManager schemaManager)private voidAttributesFactory. injectNames(List<String> names, Entry entry, SchemaManager schemaManager)voidLdapComparator. setSchemaManager(SchemaManager schemaManager)Store the SchemaManager in this instance.voidNormalizer. setSchemaManager(SchemaManager schemaManager)Store the SchemaManager in this instance.voidSyntaxChecker. setSchemaManager(SchemaManager schemaManager)Store the SchemaManager in this instance. -
Uses of SchemaManager in org.apache.directory.api.ldap.model.schema.comparators
Fields in org.apache.directory.api.ldap.model.schema.comparators declared as SchemaManager Modifier and Type Field Description private SchemaManagerDnComparator. schemaManagerA reference to the schema managerprivate SchemaManagerParsedDnComparator. schemaManagerA reference to the schema managerprivate SchemaManagerSerializableComparator. schemaManagerA reference to the schema managerprivate SchemaManagerUniqueMemberComparator. schemaManagerA reference to the schema managerMethods in org.apache.directory.api.ldap.model.schema.comparators with parameters of type SchemaManager Modifier and Type Method Description voidDnComparator. setSchemaManager(SchemaManager schemaManager)Store the SchemaManager in this instance.voidParsedDnComparator. setSchemaManager(SchemaManager schemaManager)Store the SchemaManager in this instance.voidSerializableComparator. setSchemaManager(SchemaManager schemaManager)voidUniqueMemberComparator. setSchemaManager(SchemaManager schemaManager)Store the SchemaManager in this instance. -
Uses of SchemaManager in org.apache.directory.api.ldap.model.schema.normalizers
Fields in org.apache.directory.api.ldap.model.schema.normalizers declared as SchemaManager Modifier and Type Field Description private SchemaManagerConcreteNameComponentNormalizer. schemaManagerthe schemaManager used to dynamically resolve Normalizersprivate SchemaManagerDnNormalizer. schemaManagerA reference to the schema manager used to normalize the Dnprivate SchemaManagerNameOrNumericIdNormalizer. schemaManagerA reference to the schema manager used to normalize the Nameprivate SchemaManagerObjectIdentifierNormalizer. schemaManagerA reference to the schema manager used to normalize the Nameprivate SchemaManagerUniqueMemberNormalizer. schemaManagerA reference to the schema manager used to normalize the DnMethods in org.apache.directory.api.ldap.model.schema.normalizers with parameters of type SchemaManager Modifier and Type Method Description voidDnNormalizer. setSchemaManager(SchemaManager schemaManager)Store the SchemaManager in this instance.voidNameOrNumericIdNormalizer. setSchemaManager(SchemaManager schemaManager)Store the SchemaManager in this instance.voidObjectIdentifierNormalizer. setSchemaManager(SchemaManager schemaManager)Store the SchemaManager in this instance.voidUniqueMemberNormalizer. setSchemaManager(SchemaManager schemaManager)Store the SchemaManager in this instance.Constructors in org.apache.directory.api.ldap.model.schema.normalizers with parameters of type SchemaManager Constructor Description ConcreteNameComponentNormalizer(SchemaManager schemaManager)Creates a Dn Name component Normalizer which uses the bootstrap registries to find the appropriate normalizer for the attribute of the name component with which to normalize the name component value. -
Uses of SchemaManager in org.apache.directory.api.ldap.model.schema.syntaxCheckers
Fields in org.apache.directory.api.ldap.model.schema.syntaxCheckers declared as SchemaManager Modifier and Type Field Description private SchemaManagerSubtreeSpecificationSyntaxChecker.Builder. schemaManagerThe schemaManagerMethods in org.apache.directory.api.ldap.model.schema.syntaxCheckers with parameters of type SchemaManager Modifier and Type Method Description SubtreeSpecificationSyntaxChecker.BuilderSubtreeSpecificationSyntaxChecker.Builder. setSchemaManager(SchemaManager schemaManager)Constructors in org.apache.directory.api.ldap.model.schema.syntaxCheckers with parameters of type SchemaManager Constructor Description SubtreeSpecificationSyntaxChecker(String oid, SchemaManager schemaManager)Creates an instance of SubtreeSpecificationSyntaxChecker -
Uses of SchemaManager in org.apache.directory.api.ldap.model.subtree
Fields in org.apache.directory.api.ldap.model.subtree declared as SchemaManager Modifier and Type Field Description private SchemaManagerAntlrSubtreeSpecificationChecker. schemaManagerThe SchemaManagerprivate SchemaManagerAntlrSubtreeSpecificationParser. schemaManagerThe schemaManagerMethods in org.apache.directory.api.ldap.model.subtree with parameters of type SchemaManager Modifier and Type Method Description voidAntlrSubtreeSpecificationChecker. init(SchemaManager schemaManager)Initialize the checkervoidAntlrSubtreeSpecificationParser. init(SchemaManager schemaManager)Initialize the parserConstructors in org.apache.directory.api.ldap.model.subtree with parameters of type SchemaManager Constructor Description SubtreeSpecificationChecker(SchemaManager schemaManager)Creates a normalizing subtree specification parser.SubtreeSpecificationParser(NormalizerMappingResolver resolver, SchemaManager schemaManager)Creates a normalizing subtree specification parser.SubtreeSpecificationParser(SchemaManager schemaManager)Creates a subtree specification parser.
-