public class CompareOperationContext extends AbstractOperationContext
authorizedPrincipal, byPassed, currentInterceptor, dn, EMPTY_CONTROLS, entry, interceptors, originalEntry, partition, requestControls, responseControls, session, throwReferral, transaction
Constructor and Description |
---|
CompareOperationContext(CoreSession session)
Creates a new instance of CompareOperationContext.
|
CompareOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.message.CompareRequest compareRequest)
Creates a new instance of LookupOperationContext.
|
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, getPartition, getRequestControl, getResponseControl, getResponseControlCount, getResponseControls, getSession, getTransaction, hasRequestControl, hasRequestControls, hasResponseControl, hasResponseControls, ignoreReferral, isReferralIgnored, isReferralThrown, lookup, newLookupContext, setAuthorizedPrincipal, setCurrentInterceptor, setDn, setEntry, setInterceptors, setOriginalEntry, setPartition, setRequestControls, setSession, setTransaction, throwReferral
public CompareOperationContext(CoreSession session)
session
- The session to usepublic CompareOperationContext(CoreSession session, org.apache.directory.api.ldap.model.name.Dn dn)
session
- The session to usedn
- The Dn of teh entry to compare withpublic CompareOperationContext(CoreSession session, String oid)
session
- The session to useoid
- The entry's Oidpublic CompareOperationContext(CoreSession session, org.apache.directory.api.ldap.model.name.Dn dn, String oid)
session
- The session to usedn
- The entry's Dnoid
- The entry's Oidpublic CompareOperationContext(CoreSession session, org.apache.directory.api.ldap.model.name.Dn dn, String oid, org.apache.directory.api.ldap.model.entry.Value value)
session
- The session to usedn
- The entry's Dnoid
- The entry's Oidvalue
- The value to comparepublic CompareOperationContext(CoreSession session, org.apache.directory.api.ldap.model.message.CompareRequest compareRequest)
session
- The session to usecompareRequest
- The Compare operation to processpublic 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 toString()
toString
in class Object
Object.toString()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.