|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PostQueryAttributesProcessor
Optional interface that should be implemented by AttributeStyleOpProcessors
that wish to script specialized handling of query results.
| Method Summary | |
|---|---|
boolean |
isPostQueryPocessingActive()
Boolean to turn on calling of the methods below, as there are efficiency impacts to calling them. |
void |
processPostQueryAttributes(ObjectInfo objInfo,
Attributes attrs)
Called after attributes have been collected after a doLookUp or for each result returned by a doSearch. |
void |
processPostQuerySearchResult(ObjectInfo objInfo,
Set<String> requestedConnAttrIds,
Attributes attrs,
SearchResult sr)
Called after LDAP search result returned by a doSearch is finalized (note that processPostQueryAttributes(ObjectInfo, Attributes) will
have already been called) to allow specialized processing. |
void |
setPostQueryPocessingActive(boolean active)
|
| Method Detail |
|---|
boolean isPostQueryPocessingActive()
void setPostQueryPocessingActive(boolean active)
@OpBindingMethod(operation=PROCESS_POST_QUERY_ATTRIBUTES)
void processPostQueryAttributes(ObjectInfo objInfo,
Attributes attrs)
throws NamingException
objInfo - Information about object for which attrs were retrieved.attrs - Connector-speak attributes.
NamingException - If thrown then doLookUp will fail or search result
will be skipped.
@OpBindingMethod(operation=PROCESS_POST_QUERY_SEARCH_RESULT)
void processPostQuerySearchResult(ObjectInfo objInfo,
Set<String> requestedConnAttrIds,
Attributes attrs,
SearchResult sr)
throws NamingException
processPostQueryAttributes(ObjectInfo, Attributes) will
have already been called) to allow specialized processing.
objInfo - Information about object for which attrs were retrieved.requestedConnAttrIds - Attributes requested by the top-level search
which generated this SearchResult.attrs - Connector-speak attributes.sr - Search result in LDAP-speak that will be returned to the client
after any manipulations done by this method.
NamingException - If thrown then doLookUp will fail or search result
will be skipped.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||