1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package net.sf.ldaptemplate.support;
18
19 import javax.naming.directory.ModificationItem;
20
21 /***
22 * Indicates that the implementor is capable of keeping track of any attribute
23 * modifications and return them as ModificationItems.
24 *
25 * @author Mattias Arthursson
26 *
27 */
28 public interface AttributeModificationsAware {
29
30 /***
31 * Creates an array of which attributes have been changed or added. Note:
32 * Does not create a modification item if one attribute has been removed. If
33 * not in update mode, it will always return an empty array.
34 *
35 * @return an array of modification items
36 */
37 public ModificationItem[] getModificationItems();
38 }