@Path(value="/v1.0/vendor-software-products/{vspId}/versions/{versionId}/components") @Produces(value="application/json") @Consumes(value="application/json") @Validated public interface Components extends VspEntities
versioningManager
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
create(ComponentRequestDto request,
String vspId,
String versionId,
String user) |
javax.ws.rs.core.Response |
delete(String vspId,
String versionId,
String componentId,
String user) |
javax.ws.rs.core.Response |
deleteList(String vspId,
String versionId,
String user) |
javax.ws.rs.core.Response |
get(String vspId,
String versionId,
String componentId,
String user) |
javax.ws.rs.core.Response |
getQuestionnaire(String vspId,
String versionId,
String componentId,
String user) |
javax.ws.rs.core.Response |
list(String vspId,
String versionId,
String user) |
javax.ws.rs.core.Response |
update(ComponentRequestDto request,
String vspId,
String versionId,
String componentId,
String user) |
javax.ws.rs.core.Response |
updateQuestionnaire(String questionnaireData,
String vspId,
String versionId,
String componentId,
String user) |
getVersionInfo, resolveVspVersion
@GET @Path(value="/") javax.ws.rs.core.Response list(@PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@DELETE @Path(value="/") javax.ws.rs.core.Response deleteList(@PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@POST @Path(value="/") javax.ws.rs.core.Response create(ComponentRequestDto request, @PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@GET @Path(value="/{componentId}") javax.ws.rs.core.Response get(@PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, @PathParam(value="componentId") String componentId, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@DELETE @Path(value="/{componentId}") javax.ws.rs.core.Response delete(@PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, @PathParam(value="componentId") String componentId, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@PUT @Path(value="/{componentId}") javax.ws.rs.core.Response update(ComponentRequestDto request, @PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, @PathParam(value="componentId") String componentId, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@GET @Path(value="/{componentId}/questionnaire") javax.ws.rs.core.Response getQuestionnaire(@PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, @PathParam(value="componentId") String componentId, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@PUT @Path(value="/{componentId}/questionnaire") javax.ws.rs.core.Response updateQuestionnaire(@NotNull @IsValidJson String questionnaireData, @PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, @PathParam(value="componentId") String componentId, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
Copyright © 2017. All rights reserved.