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