public class CompareOperationContext extends AbstractOperationContext
| Modifier and Type | Field and Description |
|---|---|
private org.apache.directory.api.ldap.model.schema.AttributeType |
attributeType
The associated AttributeType
|
private java.lang.String |
oid
The entry OID
|
private org.apache.directory.api.ldap.model.entry.Value<?> |
value
The value to be compared
|
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,
java.lang.String oid)
Creates a new instance of LookupOperationContext.
|
CompareOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn,
java.lang.String oid,
org.apache.directory.api.ldap.model.entry.Value<?> value)
Creates a new instance of LookupOperationContext.
|
CompareOperationContext(CoreSession session,
java.lang.String oid)
Creates a new instance of LookupOperationContext.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.api.ldap.model.schema.AttributeType |
getAttributeType() |
java.lang.String |
getName() |
java.lang.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(java.lang.String oid)
Set the compared OID
|
void |
setValue(org.apache.directory.api.ldap.model.entry.Value<?> value)
Set the value to compare
|
java.lang.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, throwReferralprivate java.lang.String oid
private org.apache.directory.api.ldap.model.schema.AttributeType attributeType
private org.apache.directory.api.ldap.model.entry.Value<?> value
public CompareOperationContext(CoreSession session)
public CompareOperationContext(CoreSession session, org.apache.directory.api.ldap.model.name.Dn dn)
public CompareOperationContext(CoreSession session, java.lang.String oid)
public CompareOperationContext(CoreSession session, org.apache.directory.api.ldap.model.name.Dn dn, java.lang.String oid)
public CompareOperationContext(CoreSession session, org.apache.directory.api.ldap.model.name.Dn dn, java.lang.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 java.lang.String getOid()
public void setOid(java.lang.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 java.lang.String getName()
getName in interface OperationContextgetName in class AbstractOperationContextpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()