@Path(value="delegations") public interface DelegationService 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 DelegationTO delegationTO)
Creates a new delegation.
|
void |
delete(@NotNull String key)
Deletes the delegation matching the provided key.
|
List<DelegationTO> |
list()
Returns a list of all delegations.
|
DelegationTO |
read(@NotNull String key)
Returns delegation with matching key.
|
void |
update(@NotNull DelegationTO delegationTO)
Updates the delegation matching the provided key.
|
@GET @Produces(value={"application/json","application/yaml","application/xml"}) List<DelegationTO> list()
@GET @Path(value="{key}") @Produces(value={"application/json","application/yaml","application/xml"}) DelegationTO read(@NotNull @PathParam(value="key") @NotNull String key)
key
- delegation key to be read@POST @Consumes(value={"application/json","application/yaml","application/xml"}) @Produces(value={"application/json","application/yaml","application/xml"}) javax.ws.rs.core.Response create(@NotNull @NotNull DelegationTO delegationTO)
delegationTO
- delegation to be created@PUT @Path(value="{key}") @Consumes(value={"application/json","application/yaml","application/xml"}) @Produces(value={"application/json","application/yaml","application/xml"}) void update(@NotNull @NotNull DelegationTO delegationTO)
delegationTO
- delegation to be stored@DELETE @Path(value="{key}") @Produces(value={"application/json","application/yaml","application/xml"}) void delete(@NotNull @PathParam(value="key") @NotNull String key)
key
- delegation key to be deletedCopyright © 2010–2023 The Apache Software Foundation. All rights reserved.