@Path(value="realms") public interface RealmService extends JAXRSService
PARAM_ANYTYPE_KIND, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_RESOURCE, PARAM_SIZE| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
create(String parentPath,
RealmTO realmTO)
Creates a new realm under the given path.
|
javax.ws.rs.core.Response |
delete(String fullPath)
Deletes the realm under the given path.
|
List<RealmTO> |
list()
Returns a list of all realms.
|
List<RealmTO> |
list(String fullPath)
Returns realms rooted at the given path.
|
javax.ws.rs.core.Response |
update(RealmTO realmTO)
Updates the realm under the given path.
|
@GET
@Produces(value={"application/json","application/yaml","application/xml"})
List<RealmTO> list()
@GET
@Path(value="{fullPath:.*}")
@Produces(value={"application/json","application/yaml","application/xml"})
List<RealmTO> list(@NotNull @PathParam(value="fullPath")
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")
String parentPath,
@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
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")
String fullPath)
fullPath - realm pathCopyright © 2010–2020 The Apache Software Foundation. All rights reserved.