@Loggable(prepend=true, value=1, trim=false) @Path(value="/v1/catalog") @Singleton public class InputsServlet extends BeGenericServlet
servletRequest
gson
Constructor and Description |
---|
InputsServlet() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createMultipleInputs(String componentType,
String componentId,
javax.servlet.http.HttpServletRequest request,
String userId,
String componentInstInputsMapObj) |
javax.ws.rs.core.Response |
deleteInput(String componentType,
String componentId,
String inputId,
javax.servlet.http.HttpServletRequest request,
String userId,
String componentInstInputsMapObj) |
javax.ws.rs.core.Response |
getComponentInputs(String componentType,
String componentId,
javax.servlet.http.HttpServletRequest request,
String fromName,
int amount,
String userId) |
javax.ws.rs.core.Response |
getComponentInstanceInputs(String componentType,
String componentId,
String instanceId,
String originComonentUid,
javax.servlet.http.HttpServletRequest request,
String fromName,
int amount,
String userId) |
protected InputsBusinessLogic |
getInputBL(javax.servlet.ServletContext context) |
javax.ws.rs.core.Response |
getInputPropertiesForComponentInstance(String componentType,
String componentId,
String instanceId,
String inputId,
javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
getInputsForComponentInput(String componentType,
String componentId,
String inputId,
javax.servlet.http.HttpServletRequest request,
String userId) |
fj.data.Either<ComponentInstInputsMap,ResponseFormat> |
parseToComponentInstanceMap(String serviceJson,
User user) |
buildErrorResponse, buildOkResponse, buildOkResponse, getArtifactBL, getBusinessLogic, getComponentBL, getComponentCleanerBL, getComponentInstanceBL, getComponentsUtils, getContentDispositionValue, getElementBL, getElementDao, getGroupBL, getMonitoringBL, getProductBL, getResourceBL, getServiceBL, getUserAdminManager, initHeaderParam
@GET @Path(value="/services/{componentId}/inputs") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getComponentInputs(@PathParam(value="componentType") String componentType, @PathParam(value="componentId") String componentId, @Context javax.servlet.http.HttpServletRequest request, @QueryParam(value="fromId") String fromName, @QueryParam(value="amount") int amount, @HeaderParam(value="USER_ID") String userId)
@GET @Path(value="/{componentType}/{componentId}/componentInstances/{instanceId}/{originComonentUid}/inputs") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getComponentInstanceInputs(@PathParam(value="componentType") String componentType, @PathParam(value="componentId") String componentId, @PathParam(value="instanceId") String instanceId, @PathParam(value="originComonentUid") String originComonentUid, @Context javax.servlet.http.HttpServletRequest request, @QueryParam(value="fromName") String fromName, @QueryParam(value="amount") int amount, @HeaderParam(value="USER_ID") String userId)
@GET @Path(value="/{componentType}/{componentId}/componentInstances/{instanceId}/{inputId}/properties") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getInputPropertiesForComponentInstance(@PathParam(value="componentType") String componentType, @PathParam(value="componentId") String componentId, @PathParam(value="instanceId") String instanceId, @PathParam(value="inputId") String inputId, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@GET @Path(value="/{componentType}/{componentId}/inputs/{inputId}/inputs") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getInputsForComponentInput(@PathParam(value="componentType") String componentType, @PathParam(value="componentId") String componentId, @PathParam(value="inputId") String inputId, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
public fj.data.Either<ComponentInstInputsMap,ResponseFormat> parseToComponentInstanceMap(String serviceJson, User user)
@POST @Path(value="/{componentType}/{componentId}/create/inputs") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response createMultipleInputs(@PathParam(value="componentType") String componentType, @PathParam(value="componentId") String componentId, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId, String componentInstInputsMapObj)
@DELETE @Path(value="/{componentType}/{componentId}/delete/{inputId}/input") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response deleteInput(@PathParam(value="componentType") String componentType, @PathParam(value="componentId") String componentId, @PathParam(value="inputId") String inputId, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId, String componentInstInputsMapObj)
protected InputsBusinessLogic getInputBL(javax.servlet.ServletContext context)
Copyright © 2017. All rights reserved.