net.sf.ldaptemplate.support
Interface AttributeModificationsAware

All Known Subinterfaces:
DirContextOperations
All Known Implementing Classes:
DirContextAdapter

public interface AttributeModificationsAware

Indicates that the implementor is capable of keeping track of any attribute modifications and return them as ModificationItems.

Author:
Mattias Arthursson

Method Summary
 javax.naming.directory.ModificationItem[] getModificationItems()
          Creates an array of which attributes have been changed or added.
 

Method Detail

getModificationItems

public javax.naming.directory.ModificationItem[] getModificationItems()
Creates an array of which attributes have been changed or added. Note: Does not create a modification item if one attribute has been removed. If not in update mode, it will always return an empty array.

Returns:
an array of modification items


Copyright © 2006 Jayway AB. All Rights Reserved.