|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DirContextOperations
Interface for DirContextAdapter.
DirContextAdapter
Field Summary |
---|
Fields inherited from interface javax.naming.directory.DirContext |
---|
ADD_ATTRIBUTE, REMOVE_ATTRIBUTE, REPLACE_ATTRIBUTE |
Fields inherited from interface javax.naming.Context |
---|
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES |
Method Summary | |
---|---|
String |
getNameInNamespace()
|
String[] |
getNamesOfModifiedAttributes()
Creates a String array of the names of the attributes which have been changed. |
String |
getReferralUrl()
If this instance results from a referral, this method returns the url of the referred server. |
boolean |
isReferral()
Checks whether this instance results from a referral. |
boolean |
isUpdateMode()
Gets the update mode. |
void |
setDn(Name dn)
Set the dn of this entry. |
void |
update()
Update the attributes.This will mean that the getters ( getStringAttribute methods) will return the updated values,
and the modifications will be forgotten (i.e. |
Methods inherited from interface javax.naming.directory.DirContext |
---|
bind, bind, createSubcontext, createSubcontext, getAttributes, getAttributes, getAttributes, getAttributes, getSchema, getSchema, getSchemaClassDefinition, getSchemaClassDefinition, modifyAttributes, modifyAttributes, modifyAttributes, modifyAttributes, rebind, rebind, search, search, search, search, search, search, search, search |
Methods inherited from interface javax.naming.Context |
---|
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind |
Methods inherited from interface org.springframework.LdapDataEntry |
---|
addAttributeValue, addAttributeValue, attributeExists, getAttributes, getAttributeSortedStringSet, getDn, getObjectAttribute, getObjectAttributes, getStringAttribute, getStringAttributes, removeAttributeValue, setAttributeValue, setAttributeValues, setAttributeValues |
Methods inherited from interface org.springframework.ldap.core.AttributeModificationsAware |
---|
getModificationItems |
Method Detail |
---|
boolean isUpdateMode()
AttributeModificationsAware.getModificationItems()
. The update
mode should be true
for a new entry and true
for an existing entry that is being updated.
String[] getNamesOfModifiedAttributes()
void update()
getStringAttribute
methods) will return the updated values,
and the modifications will be forgotten (i.e.
AttributeModificationsAware.getModificationItems()
will return an
empty array.
void setDn(Name dn)
dn
- the dn.String getNameInNamespace()
getNameInNamespace
in interface Context
String getReferralUrl()
ldap://localhost:389
, or the empty string if this is not a
referral.boolean isReferral()
true
if this instance results from a referral,
false
otherwise.
|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |