@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class DraftChuLDAPLogSchema00SearchEntry extends DraftChuLDAPLogSchema00Entry
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTR_DEREFERENCE_POLICY
The name of the attribute used to hold the alias dereference policy.
|
static java.lang.String |
ATTR_ENTRIES_RETURNED
The name of the attribute used to hold the number of entries returned.
|
static java.lang.String |
ATTR_FILTER
The name of the attribute used to hold the search filter.
|
static java.lang.String |
ATTR_REQUESTED_ATTRIBUTE
The name of the attribute used to hold a requested attribute.
|
static java.lang.String |
ATTR_SCOPE
The name of the attribute used to hold the search scope.
|
static java.lang.String |
ATTR_SIZE_LIMIT
The name of the attribute used to hold the requested size limit.
|
static java.lang.String |
ATTR_TIME_LIMIT_SECONDS
The name of the attribute used to hold the requested time limit in seconds.
|
static java.lang.String |
ATTR_TYPES_ONLY
The name of the attribute used to hold the value of the typesOnly flag.
|
ATTR_AUTHORIZATION_IDENTITY_DN, ATTR_DIAGNOSTIC_MESSAGE, ATTR_OPERATION_TYPE, ATTR_PROCESSING_END_TIME, ATTR_PROCESSING_START_TIME, ATTR_REFERRAL_URL, ATTR_REQUEST_CONTROL, ATTR_RESPONSE_CONTROL, ATTR_RESULT_CODE, ATTR_SESSION_ID, ATTR_TARGET_ENTRY_DN| Constructor and Description |
|---|
DraftChuLDAPLogSchema00SearchEntry(Entry entry)
Creates a new instance of this search access log entry from the provided
entry.
|
| Modifier and Type | Method and Description |
|---|---|
DereferencePolicy |
getDereferencePolicy()
Retrieves the alias dereference policy for the search request described by
this search access log entry.
|
java.lang.Integer |
getEntriesReturned()
Retrieves the number of entries returned to the client in response to the
search request described by this search access log entry, if available.
|
Filter |
getFilter()
Retrieves the filter for the search request described by this search access
log entry, if available.
|
java.util.List<java.lang.String> |
getRequestedAttributes()
Retrieves the requested attributes for the search request described by this
search access log entry, if available.
|
java.lang.Integer |
getRequestedSizeLimit()
Retrieves the requested size limit for the search request described by this
search access log entry, if available.
|
java.lang.Integer |
getRequestedTimeLimitSeconds()
Retrieves the requested time limit (in seconds) for the search request
described by this search access log entry, if available.
|
SearchScope |
getScope()
Retrieves the scope for the search request described by this search access
log entry.
|
SearchRequest |
toSearchRequest()
Retrieves a
SearchRequest created from this search access log
entry. |
boolean |
typesOnly()
Retrieves the value of the typesOnly flag for the search request described
by this search access log entry.
|
decode, getAuthorizationIdentityDN, getDiagnosticMessage, getOperationType, getProcessingEndTimeDate, getProcessingEndTimeString, getProcessingStartTimeDate, getProcessingStartTimeString, getReferralURLs, getRequestControls, getResponseControls, getResultCode, getSessionID, getTargetEntryDN, toLDAPResultaddAttribute, addAttribute, addAttribute, addAttribute, addAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeAttributeValues, removeAttributeValues, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setDN, setDNaddAttribute, applyModifications, applyModifications, applyModifyDN, applyModifyDN, diff, diff, diff, duplicate, equals, getAttribute, getAttribute, getAttributes, getAttributesWithOptions, getAttributeValue, getAttributeValueAsBoolean, getAttributeValueAsDate, getAttributeValueAsDN, getAttributeValueAsInteger, getAttributeValueAsLong, getAttributeValueByteArrays, getAttributeValueBytes, getAttributeValues, getDN, getObjectClassAttribute, getObjectClassValues, getParentDN, getParentDNString, getParsedDN, getRDN, getSchema, hasAttribute, hasAttribute, hasAttribute, hasAttributeValue, hasAttributeValue, hasAttributeValue, hasAttributeValue, hashCode, hasObjectClass, intersectEntries, matchesBaseAndScope, matchesBaseAndScope, mergeEntries, removeAttributeValue, removeAttributeValue, setAttribute, toLDIF, toLDIF, toLDIF, toLDIF, toLDIFString, toLDIFString, toLDIFString, toLDIFString, toString, toString@NotNull public static final java.lang.String ATTR_DEREFERENCE_POLICY
@NotNull public static final java.lang.String ATTR_ENTRIES_RETURNED
@NotNull public static final java.lang.String ATTR_FILTER
@NotNull public static final java.lang.String ATTR_REQUESTED_ATTRIBUTE
@NotNull public static final java.lang.String ATTR_SCOPE
@NotNull public static final java.lang.String ATTR_SIZE_LIMIT
@NotNull public static final java.lang.String ATTR_TIME_LIMIT_SECONDS
@NotNull public static final java.lang.String ATTR_TYPES_ONLY
public DraftChuLDAPLogSchema00SearchEntry(@NotNull Entry entry) throws LDAPException
entry - The entry used to create this search access log entry.LDAPException - If the provided entry cannot be decoded as a valid
search access log entry as per the specification
contained in draft-chu-ldap-logschema-00.@NotNull public SearchScope getScope()
@NotNull public DereferencePolicy getDereferencePolicy()
public boolean typesOnly()
@Nullable public Filter getFilter()
null if no filter was included in the access
log entry.@Nullable public java.lang.Integer getRequestedSizeLimit()
null if no size limit was
included in the access log entry.@Nullable public java.lang.Integer getRequestedTimeLimitSeconds()
null if no
time limit was included in the access log entry.@NotNull public java.util.List<java.lang.String> getRequestedAttributes()
@Nullable public java.lang.Integer getEntriesReturned()
null if the number of entries returned was not included in
the access log entry.@NotNull public SearchRequest toSearchRequest()
SearchRequest created from this search access log
entry. If the size limit or time limit was not present in the entry, a
default of zero will be used. If the filter was not present in the entry,
a default of "(objectClass=*)" will be used.SearchRequest created from this search access log
entry.