@Path(value="realms") public interface RealmService extends JAXRSService
CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
create(@NotNull String parentPath,
@NotNull RealmTO realmTO)
Creates a new realm under the given path.
|
javax.ws.rs.core.Response |
delete(@NotNull String fullPath)
Deletes the realm under the given path.
|
List<RealmTO> |
list(@NotNull String fullPath)
Returns realms rooted at the given path, including descendant realms.
|
PagedResult<RealmTO> |
search(RealmQuery query)
Returns a list of existing realms matching the given query (not including descendant realms) and the total number
of descendant realms.
|
javax.ws.rs.core.Response |
update(@NotNull RealmTO realmTO)
Updates the realm under the given path.
|
@GET
@Path(value="search")
@Produces(value={"application/json","application/yaml","application/xml"})
PagedResult<RealmTO> search(@BeanParam
RealmQuery query)
query - query conditions@GET
@Path(value="{fullPath:.*}")
@Produces(value={"application/json","application/yaml","application/xml"})
List<RealmTO> list(@NotNull @PathParam(value="fullPath")
@NotNull String fullPath)
fullPath - full path of the root realm where to read from@POST
@Path(value="{parentPath:.*}")
@Consumes(value={"application/json","application/yaml","application/xml"})
@Produces(value={"application/json","application/yaml","application/xml"})
javax.ws.rs.core.Response create(@NotNull @PathParam(value="parentPath")
@NotNull String parentPath,
@NotNull
@NotNull RealmTO realmTO)
parentPath - full path of the parent realmrealmTO - new realm@PUT
@Path(value="{fullPath:.*}")
@Consumes(value={"application/json","application/yaml","application/xml"})
@Produces(value={"application/json","application/yaml","application/xml"})
javax.ws.rs.core.Response update(@NotNull
@NotNull RealmTO realmTO)
realmTO - realm to be stored@DELETE
@Path(value="{fullPath:.*}")
@Produces(value={"application/json","application/yaml","application/xml"})
javax.ws.rs.core.Response delete(@NotNull @PathParam(value="fullPath")
@NotNull String fullPath)
fullPath - realm pathCopyright © 2010–2023 The Apache Software Foundation. All rights reserved.