Package | Description |
---|---|
org.forgerock.api.models |
ForgeRock API Descriptor models.
|
Modifier and Type | Method and Description |
---|---|
Resource.Builder |
Resource.Builder.action(Action action)
Adds one Action to the list of Actions.
|
Resource.Builder |
Resource.Builder.actions(List<Action> actions)
Set Actions.
|
Resource.Builder |
Resource.Builder.create(Create create)
Set create.
|
Resource.Builder |
Resource.Builder.delete(Delete delete)
Set Delete.
|
Resource.Builder |
Resource.Builder.description(LocalizableString description)
Set the description.
|
Resource.Builder |
Resource.Builder.description(String description)
Set the description.
|
Resource.Builder |
Resource.Builder.items(Items items)
Adds items-resource.
|
Resource.Builder |
Resource.Builder.mvccSupported(Boolean mvccSupported)
Setter for MVCC-supported flag.
|
Resource.Builder |
Resource.Builder.operations(Operation... operations)
Allocates the operations given in the parameter by their type.
|
Resource.Builder |
Resource.Builder.parameter(Parameter parameter)
Sets a single supported parameter.
|
Resource.Builder |
Resource.Builder.parameters(List<Parameter> parameters)
Set multiple supported parameters.
|
Resource.Builder |
Resource.Builder.patch(Patch patch)
Set Patch.
|
Resource.Builder |
Resource.Builder.queries(List<Query> queries)
Set Queries.
|
Resource.Builder |
Resource.Builder.query(Query query)
Adds one Query to the list of queries.
|
Resource.Builder |
Resource.Builder.read(Read read)
Set Read.
|
Resource.Builder |
Resource.Builder.reference(Reference reference)
Set a reference.
|
static Resource.Builder |
Resource.resource()
Create a new Builder for Resoruce.
|
Resource.Builder |
Resource.Builder.resourceSchema(Schema resourceSchema)
Set the resource schema.
|
Resource.Builder |
Resource.Builder.subresources(SubResources subresources)
Sets the sub-resources for this resource.
|
Resource.Builder |
Resource.Builder.title(LocalizableString title)
Set the title.
|
Resource.Builder |
Resource.Builder.title(String title)
Set the title.
|
Resource.Builder |
Resource.Builder.update(Update update)
Set Update.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Update.allocateToResource(Resource.Builder resourceBuilder)
Allocates the Update operation type to the given Resource Builder.
|
protected void |
Read.allocateToResource(Resource.Builder resourceBuilder)
Allocates the Read operation type to the given Resource Builder.
|
protected void |
Query.allocateToResource(Resource.Builder resourceBuilder)
Allocates the Query operation type to the given Resource Builder.
|
protected void |
Patch.allocateToResource(Resource.Builder resourceBuilder)
Allocates the Patch operation type to the given Resource Builder.
|
protected abstract void |
Operation.allocateToResource(Resource.Builder resourceBuilder)
Allocates the operation by operation type to the given Resource Builder
by calling the corresonding method by type.
|
protected void |
Delete.allocateToResource(Resource.Builder resourceBuilder)
Allocates the Delete operation type to the given Resource Builder.
|
protected void |
Create.allocateToResource(Resource.Builder resourceBuilder)
Allocates the Create operation type to the given Resource Builder.
|
protected void |
Action.allocateToResource(Resource.Builder resourceBuilder)
Allocates the Action operation type to the given Resource Builder.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.