@Path(value="/deprecated/tenant") @Produces(value="application/json") @Consumes(value="application/json") public class RestTenants extends RestBase
| Constructor and Description |
|---|
RestTenants() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
deleteTenant() |
javax.ws.rs.core.Response |
getTenant() |
javax.ws.rs.core.Response |
getTenantRelationships(String direction,
String propertyName,
String propertyValue,
String named,
String sourceType,
String targetType,
String jsonLd,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
updateTenant(Tenant.Update update) |
create, getMapper, getPath, getPath, getTenantId, getTenantPath, getTraverser, pagedResponse, pagedResponse, parsePath, setupMapper@GET @Path(value="/") public javax.ws.rs.core.Response getTenant()
@GET
@Path(value="/relationships")
public javax.ws.rs.core.Response getTenantRelationships(@DefaultValue(value="both") @QueryParam(value="direction")
String direction,
@DefaultValue(value="") @QueryParam(value="property")
String propertyName,
@DefaultValue(value="") @QueryParam(value="propertyValue")
String propertyValue,
@DefaultValue(value="") @QueryParam(value="named")
String named,
@DefaultValue(value="") @QueryParam(value="sourceType")
String sourceType,
@DefaultValue(value="") @QueryParam(value="targetType")
String targetType,
@DefaultValue(value="false") @QueryParam(value="jsonld")
String jsonLd,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@PUT @Path(value="/") public javax.ws.rs.core.Response updateTenant(Tenant.Update update)
@DELETE @Path(value="/") public javax.ws.rs.core.Response deleteTenant()
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.