Class EntryChangeContainer

    • Constructor Detail

      • EntryChangeContainer

        public EntryChangeContainer​(LdapApiService codec)
        Creates a new EntryChangeContainer object. We will store one grammar, it's enough ...
        Parameters:
        codec - The LDAP service instance
      • EntryChangeContainer

        public EntryChangeContainer​(LdapApiService codec,
                                    EntryChange control)
        Creates a container with decorator, optionally decorating the supplied Control if it is not a decorator implementation.
        Parameters:
        codec - The LDAP service instance
        control - The EntryChange ControlDecorator, or a Control to be wrapped by a new decorator.
    • Method Detail

      • decorate

        public void decorate​(EntryChange control)
        Checks to see if the supplied EntryChange implementation is a decorator and if so just sets the EntryChangeDecorator to it. Otherwise the supplied control is decorated by creating a new EntryChangeDecorator to wrap the object.
        Parameters:
        control - The EntryChange Control to wrap, if it is not a decorator.
      • setEntryChangeDecorator

        public void setEntryChangeDecorator​(EntryChangeDecorator control)
        Set a EntryChangeControl Object into the container. It will be completed by the ldapDecoder.
        Parameters:
        control - the EntryChangeControl to set.