nu.zoom.ldap.eon.directory.attributes
Class StringEditor

java.lang.Object
  extended by nu.zoom.ldap.eon.directory.attributes.StringEditor
All Implemented Interfaces:
AttributeEditor

public class StringEditor
extends Object
implements AttributeEditor

Version:
$Revision: 1.6 $
Author:
$Author: johan $

Constructor Summary
StringEditor(Workbench workbench, org.ops4j.gaderian.Messages messages, OperationManager operationManager, DirectoryEventListenerRegistry eventListeners)
           
 
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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringEditor

public StringEditor(Workbench workbench,
                    org.ops4j.gaderian.Messages messages,
                    OperationManager operationManager,
                    DirectoryEventListenerRegistry eventListeners)
Method Detail

edit

public void edit(ConnectionInformation connectionInformation,
                 InitialLdapContext iCtx,
                 Name name,
                 Attribute attribute)
Description copied from interface: AttributeEditor
The editor should should become visible and let the user edit the attribute value(s).

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

create

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

Specified by:
create in interface AttributeEditor
Parameters:
connectionInformation - The connection used to operate on the attribute.
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.


Copyright © 2011. All Rights Reserved.