インターフェース DirContextOperations
- すべてのスーパーインターフェース:
AttributeModificationsAware、ContextSE、DirContextSE、LdapDataEntry
- すべての既知の実装クラス:
DirContextAdapter
public interface DirContextOperations
extends DirContextSE, LdapDataEntry, AttributeModificationsAware
DirContextAdapter のインターフェース。
- 関連事項:
フィールド概要
インターフェース javax.naming.ContextSE から継承されたフィールド
APPLETSE, AUTHORITATIVESE, BATCHSIZESE, DNS_URLSE, INITIAL_CONTEXT_FACTORYSE, LANGUAGESE, OBJECT_FACTORIESSE, PROVIDER_URLSE, REFERRALSE, SECURITY_AUTHENTICATIONSE, SECURITY_CREDENTIALSSE, SECURITY_PRINCIPALSE, SECURITY_PROTOCOLSE, STATE_FACTORIESSE, URL_PKG_PREFIXESSEインターフェース javax.naming.directory.DirContextSE から継承されたフィールド
ADD_ATTRIBUTESE, REMOVE_ATTRIBUTESE, REPLACE_ATTRIBUTESE方法の概要
インターフェース org.springframework.ldap.core.AttributeModificationsAware から継承されたメソッド
getModificationItemsインターフェース javax.naming.ContextSE から継承されたメソッド
addToEnvironmentSE, bindSE, bindSE, close, composeNameSE, composeNameSE, createSubcontextSE, createSubcontextSE, destroySubcontextSE, destroySubcontextSE, getEnvironment, getNameParserSE, getNameParserSE, listSE, listSE, listBindingsSE, listBindingsSE, lookupSE, lookupSE, lookupLinkSE, lookupLinkSE, rebindSE, rebindSE, removeFromEnvironmentSE, renameSE, renameSE, unbindSE, unbindSEインターフェース javax.naming.directory.DirContextSE から継承されたメソッド
bindSE, bindSE, createSubcontextSE, createSubcontextSE, getAttributesSE, getAttributesSE, getAttributesSE, getAttributesSE, getSchemaSE, getSchemaSE, getSchemaClassDefinitionSE, getSchemaClassDefinitionSE, modifyAttributesSE, modifyAttributesSE, modifyAttributesSE, modifyAttributesSE, rebindSE, rebindSE, searchSE, searchSE, searchSE, searchSE, searchSE, searchSE, searchSE, searchSEインターフェース org.springframework.LdapDataEntry から継承されたメソッド
addAttributeValue, addAttributeValue, attributeExists, getAttributes, getAttributeSortedStringSet, getDn, getObjectAttribute, getObjectAttributes, getStringAttribute, getStringAttributes, removeAttributeValue, setAttributeValue, setAttributeValues, setAttributeValues
方法の詳細
isUpdateMode
boolean isUpdateMode()更新モードを取得します。更新モードのエントリは、AttributeModificationsAware.getModificationItems()を使用して取得できるように、その変更を追跡します。更新モードは、新しいエントリの場合はtrue、更新中の既存のエントリの場合はtrueである必要があります。- 戻り値:
- 更新モード。
getNamesOfModifiedAttributes
StringSE[] getNamesOfModifiedAttributes()変更された属性の名前の文字列配列を作成します。これが新しいエントリの場合、設定されたすべてのエントリがリストに表示されます。これが更新されたエントリである場合、変更および削除されたエントリのみが配列に含まれます。- 戻り値:
- 文字列の配列
update
void update()属性を更新します。これは、getter (getStringAttributeメソッド) が更新された値を返し、変更が忘れられることを意味します (つまり、AttributeModificationsAware.getModificationItems()は空の配列を返します。setDn
このエントリの dn を設定します。- パラメーター:
dn- DN。
getNameInNamespace
StringSE getNameInNamespace()- 次で指定:
- インターフェース
ContextSE内のgetNameInNamespace
getReferralUrl
StringSE getReferralUrl()このインスタンスが参照の結果である場合、このメソッドは参照されたサーバーの URL を返します。- 戻り値:
- 参照されたサーバーの URL。
ldap://localhost:389、またはこれが参照でない場合は空の文字列。 - 導入:
- 1.3
isReferral
boolean isReferral()このインスタンスが参照の結果であるかどうかを確認します。- 戻り値:
- このインスタンスが参照の結果である場合は
true、それ以外の場合はfalse。 - 導入:
- 1.3