|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.core.interceptor.context.AbstractOperationContext
org.apache.directory.server.core.interceptor.context.LookupOperationContext
public class LookupOperationContext
A context for tracking lookup operations. Lookup operations will return a cloned server entry.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.server.core.interceptor.context.AbstractOperationContext |
|---|
authorizedPrincipal, byPassed, dn, EMPTY_CONTROLS, entry, next, previous, requestControls, responseControls, session, throwReferral |
| Constructor Summary | |
|---|---|
LookupOperationContext(CoreSession session)
Creates a new instance of LookupOperationContext. |
|
LookupOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn)
Creates a new instance of LookupOperationContext. |
|
LookupOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn,
java.lang.String[] attrsId)
Creates a new instance of LookupOperationContext. |
|
LookupOperationContext(CoreSession session,
java.lang.String[] attrsId)
Creates a new instance of LookupOperationContext. |
|
| Method Summary | |
|---|---|
void |
addAttrsId(java.lang.String attrId)
Add an attribute ID to the current list, creating the list if necessary |
java.lang.Boolean |
getAllOperational()
|
java.lang.Boolean |
getAllUser()
|
java.util.List<java.lang.String> |
getAttrsId()
|
java.lang.String[] |
getAttrsIdArray()
|
java.lang.String |
getName()
|
void |
setAttrsId(java.lang.String[] attrsId)
Set the attribute Ids |
java.lang.String |
toString()
|
| Methods inherited from class org.apache.directory.server.core.interceptor.context.AbstractOperationContext |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LookupOperationContext(CoreSession session)
public LookupOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn)
public LookupOperationContext(CoreSession session,
java.lang.String[] attrsId)
public LookupOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn,
java.lang.String[] attrsId)
| Method Detail |
|---|
public java.lang.String[] getAttrsIdArray()
public void setAttrsId(java.lang.String[] attrsId)
attrsId - The String array containing all the attribute IDspublic void addAttrsId(java.lang.String attrId)
attrId - the Id to addpublic java.util.List<java.lang.String> getAttrsId()
public java.lang.Boolean getAllUser()
public java.lang.Boolean getAllOperational()
public java.lang.String getName()
getName in interface OperationContextgetName in class AbstractOperationContextpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||