nu.zoom.ldap.eon.directory.attributes
Interface AttributeEditor

All Known Implementing Classes:
StringEditor

public interface AttributeEditor

Atribute editors implement this interface. The editor also needs to be registered as an attribute editor contribution.

Version:
$Revision: 1.3 $
Author:
$Author: johan $

Method Summary
 void create(ConnectionInformation connectionInformation, InitialLdapContext iCtx, Name name, String newAttributeID)
          The editor should become visible and let the user add a new attribute with value(s).
 void edit(ConnectionInformation connectionInformation, InitialLdapContext iCtx, Name name, Attribute attribute)
          The editor should should become visible and let the user edit the attribute value(s).
 

Method Detail

edit

void edit(ConnectionInformation connectionInformation,
          InitialLdapContext iCtx,
          Name name,
          Attribute attribute)
The editor should should become visible and let the user edit the attribute value(s).

Parameters:
attribute - The attribute to edit.
iCtx - The connection to the directory.
name - The object in the directory that should be updated with the new edited attribute.
connectionInformation - The connection used to operate on the attribute.

create

void create(ConnectionInformation connectionInformation,
            InitialLdapContext iCtx,
            Name name,
            String newAttributeID)
The editor should become visible and let the user add a new attribute with value(s).

Parameters:
iCtx - The connection to the directory.
name - The object that should have the new attribute.
newAttributeID - The new attribute name that the editor should create.
connectionInformation - The connection used to operate on the attribute.


Copyright © 2011. All Rights Reserved.