Uses of Class
org.forgerock.api.models.Resource.Builder
-
Uses of Resource.Builder in org.forgerock.api.models
Modifier and TypeMethodDescriptionAdds one Action to the list of Actions.Set Actions.Set create.Set Delete.Resource.Builder.description
(String description) Set the description.Resource.Builder.description
(LocalizableString description) Set the description.Adds items-resource.Resource.Builder.mvccSupported
(Boolean mvccSupported) Setter for MVCC-supported flag.Resource.Builder.operations
(Operation... operations) Allocates the operations given in the parameter by their type.Sets a single supported parameter.Resource.Builder.parameters
(List<Parameter> parameters) Set multiple supported parameters.Set Patch.Set Queries.Adds one Query to the list of queries.Set Read.Set a reference.static Resource.Builder
Resource.resource()
Create a new Builder for Resoruce.Resource.Builder.resourceSchema
(Schema resourceSchema) Set the resource schema.Resource.Builder.subresources
(SubResources subresources) Sets the sub-resources for this resource.Set the title.Resource.Builder.title
(LocalizableString title) Set the title.Set Update.Modifier and TypeMethodDescriptionprotected void
Action.allocateToResource
(Resource.Builder resourceBuilder) Allocates the Action 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
Delete.allocateToResource
(Resource.Builder resourceBuilder) Allocates the Delete 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
Patch.allocateToResource
(Resource.Builder resourceBuilder) Allocates the Patch 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
Read.allocateToResource
(Resource.Builder resourceBuilder) Allocates the Read operation type to the given Resource Builder.protected void
Update.allocateToResource
(Resource.Builder resourceBuilder) Allocates the Update operation type to the given Resource Builder.