|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ldap.ospf.LdapModification
public final class LdapModification
Defines modification information that needs to be passed between the Oracle directory server and the Java plug-in. Contains the following information:
Field Summary | |
---|---|
static int |
LDAP_MOD_ADD Attribute/Attribute value addition |
static int |
LDAP_MOD_DELETE Attribute/Attribute value deletion |
static int |
LDAP_MOD_REPLACE Attribute value replacement |
Constructor Summary | |
---|---|
LdapModification() Constructor for creating a LdapModification |
Method Summary | |
---|---|
void |
addModificationItem(int modop, javax.naming.directory.Attribute attr) Adds a ModificationItem in the LdapModification with the LdapModification operation code |
javax.naming.directory.ModificationItem[] |
getAllModificationItems() Returns an array of Modification Items in the LdapModification |
javax.naming.directory.ModificationItem |
getModificationItemAt(int index) Gets a copy of the required ModificationItem from the LdapModification |
boolean |
insertModificationItemAt(int modop, javax.naming.directory.Attribute attr, int index) Inserts a ModificationItem in the LdapModification with the LdapModification operation code at the specified position in the collection. |
boolean |
removeModificationItemAt(int index) Removes the ModificationItem in the LdapModification from the specified position in the collection. |
void |
setAllModificationItems(javax.naming.directory.ModificationItem[] modItems) Sets an array of Modification Items in the LdapModification. |
boolean |
setModificationItemAt(int modop, javax.naming.directory.Attribute attr, int index) Sets a ModificationItem in the LdapModification with the LdapModification operation code at the specified position in the collection. |
int |
size() Gets the count of the ModificationItems in the LdapModification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LDAP_MOD_ADD
public static final int LDAP_MOD_DELETE
public static final int LDAP_MOD_REPLACE
Constructor Detail |
---|
public LdapModification()
Method Detail |
---|
public javax.naming.directory.ModificationItem getModificationItemAt(int index) throws java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
public int size()
public void addModificationItem(int modop, javax.naming.directory.Attribute attr)
modop
- - LdapModification operation code
Valid LdapModification operation codes
attr
- - Attribute to be modifiedpublic boolean setModificationItemAt(int modop, javax.naming.directory.Attribute attr, int index)
modop
- - LdapModification operation code Valid LdapModification operation codesattr
- - Attribute to be modifiedindex
- - Index where the ModificationItem is to insertedpublic boolean insertModificationItemAt(int modop, javax.naming.directory.Attribute attr, int index)
modop
- - LdapModification operation code Valid LdapModification operation codesattr
- - Attribute to be modifiedindex
- - Index where the ModificationItem is to insertedpublic boolean removeModificationItemAt(int index)
index
- - Index from where the ModificationItem is to be removedpublic void setAllModificationItems(javax.naming.directory.ModificationItem[] modItems)
modItems
- - Array of ModificationItemspublic javax.naming.directory.ModificationItem[] getAllModificationItems()
|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |