public class CompareOperationContext extends AbstractOperationContext
authorizedPrincipal, byPassed, currentInterceptor, dn, EMPTY_CONTROLS, entry, interceptors, originalEntry, requestControls, responseControls, session, throwReferral| Constructor and Description |
|---|
CompareOperationContext(CoreSession session)
Creates a new instance of CompareOperationContext.
|
CompareOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.message.CompareRequest compareRequest) |
CompareOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn)
Creates a new instance of CompareOperationContext.
|
CompareOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn,
String oid)
Creates a new instance of LookupOperationContext.
|
CompareOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn,
String oid,
org.apache.directory.api.ldap.model.entry.Value<?> value)
Creates a new instance of LookupOperationContext.
|
CompareOperationContext(CoreSession session,
String oid)
Creates a new instance of LookupOperationContext.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.api.ldap.model.schema.AttributeType |
getAttributeType() |
String |
getName() |
String |
getOid() |
org.apache.directory.api.ldap.model.entry.Value<?> |
getValue() |
void |
setAttributeType(org.apache.directory.api.ldap.model.schema.AttributeType attributeType)
Set the AttributeType associated with the OID
|
void |
setOid(String oid)
Set the compared OID
|
void |
setValue(org.apache.directory.api.ldap.model.entry.Value<?> value)
Set the value to compare
|
String |
toString() |
addRequestControl, addRequestControls, addResponseControl, delete, getCurrentInterceptor, getDn, getEffectivePrincipal, getEntry, getNextInterceptor, getOriginalEntry, getRequestControl, getResponseControl, getResponseControlCount, getResponseControls, getSession, hasRequestControl, hasRequestControls, hasResponseControl, hasResponseControls, ignoreReferral, isReferralIgnored, isReferralThrown, lookup, newLookupContext, setAuthorizedPrincipal, setCurrentInterceptor, setDn, setEntry, setInterceptors, setOriginalEntry, setRequestControls, setSession, throwReferralpublic CompareOperationContext(CoreSession session)
public CompareOperationContext(CoreSession session, org.apache.directory.api.ldap.model.name.Dn dn)
public CompareOperationContext(CoreSession session, String oid)
public CompareOperationContext(CoreSession session, org.apache.directory.api.ldap.model.name.Dn dn, String oid)
public CompareOperationContext(CoreSession session, org.apache.directory.api.ldap.model.name.Dn dn, String oid, org.apache.directory.api.ldap.model.entry.Value<?> value)
public CompareOperationContext(CoreSession session, org.apache.directory.api.ldap.model.message.CompareRequest compareRequest)
public String getOid()
public void setOid(String oid)
oid - The compared OIDpublic org.apache.directory.api.ldap.model.entry.Value<?> getValue()
public void setValue(org.apache.directory.api.ldap.model.entry.Value<?> value)
value - The value to comparepublic org.apache.directory.api.ldap.model.schema.AttributeType getAttributeType()
public void setAttributeType(org.apache.directory.api.ldap.model.schema.AttributeType attributeType)
attributeType - The AttributeTypepublic String getName()
getName in interface OperationContextgetName in class AbstractOperationContextpublic String toString()
toString in class ObjectObject.toString()Copyright © 2021. All rights reserved.