Package | Description |
---|---|
org.forgerock.audit.events |
Package contains audit events.
|
org.forgerock.audit.util |
This package contains utility classes used in the audit service.
|
org.forgerock.json |
Provides an API for the traversal and manipulation of JSON object model structures in Java.
|
org.forgerock.json.resource |
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
|
org.forgerock.opendj.rest2ldap |
APIs for implementing REST to LDAP gateways.
|
Modifier and Type | Method and Description |
---|---|
static String |
AuditEventHelper.getPropertyType(JsonValue auditEvent,
JsonPointer property)
Gets a AuditEvent property type.
|
static boolean |
AuditEventHelper.isPropertyRequired(JsonValue auditEvent,
JsonPointer property)
Gets whether a AuditEvent property is required.
|
Modifier and Type | Field and Description |
---|---|
static QueryFilterVisitor<Boolean,JsonValue,JsonPointer> |
JsonValueUtils.JSONVALUE_FILTER_VISITOR
A generic JsonValue Query Filter Visitor.
|
Modifier and Type | Method and Description |
---|---|
JsonPointer |
JsonValueKeyAccessChecker.asPointer()
Returns the JSON string value as a JSON pointer.
|
JsonPointer |
JsonValue.asPointer()
Deprecated.
Use the method
JsonValue.as(Function) with the appropriate function. (Replace the following call
jv.asPointer() with jv.map(JsonValueFunctions.pointer()) ). |
JsonPointer |
JsonPointer.child(int child)
Returns a new JSON pointer, which identifies a specified child element of the
array identified by this pointer.
|
JsonPointer |
JsonPointer.child(String child)
Returns a new JSON pointer, which identifies a specified child member of the
object identified by this pointer.
|
JsonPointer |
JsonValueKeyAccessChecker.getPointer()
Returns the pointer of the JSON value in its JSON structure.
|
JsonPointer |
JsonValue.getPointer()
Returns the pointer of the JSON value in its JSON structure.
|
JsonPointer |
JsonPointer.parent()
Returns a pointer to the parent of the JSON value identified by this JSON pointer,
or
null if the pointer has no parent JSON value (i.e. |
JsonPointer |
JsonPointer.relativePointer()
Returns a pointer containing all but the first reference token contained
in this pointer, or
/ if this pointer contains less than 2
reference tokens. |
JsonPointer |
JsonPointer.relativePointer(int sz)
Returns a pointer containing the last
sz reference tokens
contained in this pointer. |
Modifier and Type | Method and Description |
---|---|
static Function<JsonValue,JsonPointer,JsonValueException> |
JsonValueFunctions.pointer()
Returns the JSON string value as a JSON pointer.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
JsonValueKeyAccessChecker.add(JsonPointer pointer,
Object object)
Adds the value identified by the specified pointer, relative to this
value as root.
|
JsonValue |
JsonValue.add(JsonPointer pointer,
Object object)
Adds the value identified by the specified pointer, relative to this
value as root.
|
JsonValue |
JsonValueKeyAccessChecker.addPermissive(JsonPointer pointer,
Object object)
Adds the value identified by the specified pointer, relative to this
value as root.
|
JsonValue |
JsonValue.addPermissive(JsonPointer pointer,
Object object)
Adds the value identified by the specified pointer, relative to this
value as root.
|
JsonValue |
JsonValueKeyAccessChecker.get(JsonPointer pointer)
Returns the specified child value with a pointer, relative to this value
as root.
|
JsonValue |
JsonValue.get(JsonPointer pointer)
Returns the specified child value with a pointer, relative to this value
as root.
|
JsonValue |
JsonValueKeyAccessChecker.put(JsonPointer pointer,
Object object)
Sets the value identified by the specified pointer, relative to this
value as root.
|
JsonValue |
JsonValue.put(JsonPointer pointer,
Object object)
Sets the value identified by the specified pointer, relative to this
value as root.
|
JsonValue |
JsonValueKeyAccessChecker.putPermissive(JsonPointer pointer,
Object object)
Sets the value identified by the specified pointer, relative to this
value as root.
|
JsonValue |
JsonValue.putPermissive(JsonPointer pointer,
Object object)
Sets the value identified by the specified pointer, relative to this
value as root.
|
void |
JsonValueKeyAccessChecker.remove(JsonPointer pointer)
Removes the specified child value with a pointer, relative to this value
as root.
|
void |
JsonValue.remove(JsonPointer pointer)
Removes the specified child value with a pointer, relative to this value
as root.
|
Constructor and Description |
---|
JsonValue(Object object,
JsonPointer pointer)
Constructs a JSON value object with a given object and pointer.
|
JsonValue(Object object,
JsonPointer pointer,
Collection<? extends JsonTransformer> transformers)
Constructs a JSON value object with given object, pointer and
transformers.
|
Modifier and Type | Method and Description |
---|---|
JsonPointer |
SortKey.getField()
Returns the sort key field.
|
JsonPointer |
PatchOperation.getField()
Returns the field targeted by the patch operation.
|
JsonPointer |
PatchOperation.getFrom()
Returns the source field for move and copy operations.
|
Modifier and Type | Method and Description |
---|---|
List<JsonPointer> |
UpdateRequest.getFields() |
List<JsonPointer> |
ResourceResponse.getFields()
Returns the list of fields which should be included in this JSON resource
after field filtering has occurred.
|
List<JsonPointer> |
Request.getFields()
Returns the list of fields which should be included with each JSON resource returned by this request.
|
List<JsonPointer> |
ReadRequest.getFields() |
List<JsonPointer> |
QueryRequest.getFields() |
List<JsonPointer> |
PatchRequest.getFields() |
List<JsonPointer> |
DeleteRequest.getFields() |
List<JsonPointer> |
CreateRequest.getFields() |
List<JsonPointer> |
ActionRequest.getFields() |
QueryFilter<JsonPointer> |
QueryRequest.getQueryFilter()
Returns the query filter which will be used for selecting which JSON resources will be returned.
|
static QueryFilter<JsonPointer> |
QueryFilters.parse(String query)
Parses the provided query string into a
QueryFilter . |
Modifier and Type | Method and Description |
---|---|
static PatchOperation |
PatchOperation.add(JsonPointer field,
Object value)
Creates a new "add" patch operation which will add the provided value(s)
to the specified field.
|
UpdateRequest |
UpdateRequest.addField(JsonPointer... fields) |
void |
ResourceResponse.addField(JsonPointer... fields)
Adds a field to the list of fields which should be included in this JSON
resource after field filtering has occurred.
|
Request |
Request.addField(JsonPointer... fields)
Adds one or more fields which should be included with each JSON resource returned by this request.
|
ReadRequest |
ReadRequest.addField(JsonPointer... fields) |
QueryRequest |
QueryRequest.addField(JsonPointer... fields) |
PatchRequest |
PatchRequest.addField(JsonPointer... fields) |
DeleteRequest |
DeleteRequest.addField(JsonPointer... fields) |
CreateRequest |
CreateRequest.addField(JsonPointer... fields) |
ActionRequest |
ActionRequest.addField(JsonPointer... fields) |
static SortKey |
SortKey.ascendingOrder(JsonPointer field)
Creates a new ascending-order sort key for the provided JSON field.
|
static PatchOperation |
PatchOperation.copy(JsonPointer from,
JsonPointer field)
Creates a new "copy" patch operation which will copy the value found at `from` to `path`.
|
static SortKey |
SortKey.descendingOrder(JsonPointer field)
Creates a new descending-order sort key for the provided JSON field.
|
static PatchOperation |
PatchOperation.increment(JsonPointer field,
Number amount)
Creates a new "increment" patch operation which will increment the
value(s) of the specified field by the amount provided.
|
static PatchOperation |
PatchOperation.move(JsonPointer from,
JsonPointer field)
Creates a new "move" patch operation which will move the value found at `from` to `path`.
|
static PatchOperation |
PatchOperation.operation(String operation,
JsonPointer field,
Object value)
Creates a new patch operation having the specified operation type, field,
and value(s).
|
static PatchOperation |
PatchOperation.remove(JsonPointer field)
Creates a new "remove" patch operation which will remove the specified
field.
|
static PatchOperation |
PatchOperation.remove(JsonPointer field,
Object value)
Creates a new "remove" patch operation which will remove the provided
value(s) from the specified field.
|
static PatchOperation |
PatchOperation.replace(JsonPointer field,
Object value)
Creates a new "replace" patch operation which will replace the value(s)
of the specified field with the provided value(s).
|
static PatchOperation |
PatchOperation.transform(JsonPointer field,
Object transform)
Creates a new "transform" patch operation which sets the value at field based on a
transformation.
|
Modifier and Type | Method and Description |
---|---|
static JsonValue |
Resources.filterResource(JsonValue resource,
Collection<JsonPointer> fields)
Returns a JSON object containing only the specified fields from the
provided JSON value.
|
static ResourceResponse |
Resources.filterResource(ResourceResponse resource,
Collection<JsonPointer> fields)
Returns a JSON object containing only the specified fields from the
provided resource.
|
QueryRequest |
QueryRequest.setQueryFilter(QueryFilter<JsonPointer> filter)
Sets the query filter which will be used for selecting which JSON resources will be returned.
|
Modifier and Type | Method and Description |
---|---|
Resource |
Resource.resourceTypeProperty(JsonPointer resourceTypeProperty)
Specifies the name of the JSON property which contains the resource's type, whose value is the
resource ID.
|
Copyright 2010-2017 ForgeRock AS.