public class CompareOperationContext extends AbstractOperationContext
authorizedPrincipal, byPassed, dn, EMPTY_CONTROLS, entry, next, previous, requestControls, responseControls, session, throwReferral
Constructor and Description |
---|
CompareOperationContext(CoreSession session)
Creates a new instance of CompareOperationContext.
|
CompareOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn)
Creates a new instance of CompareOperationContext.
|
CompareOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn,
String oid)
Creates a new instance of LookupOperationContext.
|
CompareOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn,
String oid,
org.apache.directory.shared.ldap.entry.Value<?> value)
Creates a new instance of LookupOperationContext.
|
CompareOperationContext(CoreSession session,
org.apache.directory.shared.ldap.message.internal.InternalCompareRequest compareRequest) |
CompareOperationContext(CoreSession session,
String oid)
Creates a new instance of LookupOperationContext.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getOid() |
org.apache.directory.shared.ldap.entry.Value<?> |
getValue() |
void |
setOid(String oid)
Set the compared OID
|
void |
setValue(org.apache.directory.shared.ldap.entry.Value<?> value)
Set the value to compare
|
String |
toString() |
add, addRequestControl, addRequestControls, addResponseControl, delete, getByPassed, getDn, getEffectivePrincipal, getEntry, getFirstOperation, getLastOperation, getNextOperation, getPreviousOperation, getRequestControl, getResponseControl, getResponseControlCount, getResponseControls, getSession, hasBypass, hasEntry, hasRequestControl, hasRequestControls, hasResponseControl, hasResponseControls, ignoreReferral, isBypassed, isFirstOperation, isReferralIgnored, isReferralThrown, lookup, lookup, modify, newLookupContext, setAuthorizedPrincipal, setByPassed, setDn, setEntry, setNextOperation, setPreviousOperation, setRequestControls, setSession, throwReferral
public CompareOperationContext(CoreSession session)
public CompareOperationContext(CoreSession session, org.apache.directory.shared.ldap.name.DN dn)
public CompareOperationContext(CoreSession session, String oid)
public CompareOperationContext(CoreSession session, org.apache.directory.shared.ldap.name.DN dn, String oid)
public CompareOperationContext(CoreSession session, org.apache.directory.shared.ldap.name.DN dn, String oid, org.apache.directory.shared.ldap.entry.Value<?> value)
public CompareOperationContext(CoreSession session, org.apache.directory.shared.ldap.message.internal.InternalCompareRequest compareRequest)
public String getOid()
public void setOid(String oid)
oid
- The compared OIDpublic org.apache.directory.shared.ldap.entry.Value<?> getValue()
public void setValue(org.apache.directory.shared.ldap.entry.Value<?> value)
value
- The value to comparepublic String getName()
getName
in interface OperationContext
getName
in class AbstractOperationContext
public String toString()
toString
in class Object
Object.toString()
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.