@Loggable(prepend=true, value=1, trim=false) @Path(value="/v1/catalog") @Singleton public class ComponentServlet extends BeGenericServlet
servletRequest
gson
Constructor and Description |
---|
ComponentServlet() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getComponentInstancesFilteredByPropertiesAndInputs(String componentType,
String componentId,
javax.servlet.http.HttpServletRequest request,
String searchText,
String userId,
String data) |
javax.ws.rs.core.Response |
getLatestVersionNotAbstractCheckoutComponents(String componentType,
javax.servlet.http.HttpServletRequest request,
String internalComponentType,
List<String> componentUids,
String userId) |
javax.ws.rs.core.Response |
getLatestVersionNotAbstractCheckoutComponentsByBody(String componentType,
javax.servlet.http.HttpServletRequest request,
String internalComponentType,
String userId,
List<String> data) |
javax.ws.rs.core.Response |
getLatestVersionNotAbstractCheckoutComponentsIdesOnly(String componentType,
javax.servlet.http.HttpServletRequest request,
String internalComponentType,
String userId,
String data) |
javax.ws.rs.core.Response |
getRequirementAndCapabilities(String componentType,
String componentId,
javax.servlet.http.HttpServletRequest request,
String userId) |
buildErrorResponse, buildOkResponse, buildOkResponse, getArtifactBL, getBusinessLogic, getComponentBL, getComponentCleanerBL, getComponentInstanceBL, getComponentsUtils, getContentDispositionValue, getElementBL, getElementDao, getGroupBL, getMonitoringBL, getProductBL, getResourceBL, getServiceBL, getUserAdminManager, initHeaderParam
@GET @Path(value="/{componentType}/{componentId}/requirmentsCapabilities") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getRequirementAndCapabilities(@PathParam(value="componentType") String componentType, @PathParam(value="componentId") String componentId, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@GET @Path(value="/{componentType}/latestversion/notabstract") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getLatestVersionNotAbstractCheckoutComponents(@PathParam(value="componentType") String componentType, @Context javax.servlet.http.HttpServletRequest request, @QueryParam(value="internalComponentType") String internalComponentType, @QueryParam(value="componentUids") List<String> componentUids, @HeaderParam(value="USER_ID") String userId)
@POST @Path(value="/{componentType}/latestversion/notabstract") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getLatestVersionNotAbstractCheckoutComponentsByBody(@PathParam(value="componentType") String componentType, @Context javax.servlet.http.HttpServletRequest request, @QueryParam(value="internalComponentType") String internalComponentType, @HeaderParam(value="USER_ID") String userId, List<String> data)
@GET @Path(value="/{componentType}/latestversion/notabstract/uidonly") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getLatestVersionNotAbstractCheckoutComponentsIdesOnly(@PathParam(value="componentType") String componentType, @Context javax.servlet.http.HttpServletRequest request, @QueryParam(value="internalComponentType") String internalComponentType, @HeaderParam(value="USER_ID") String userId, String data)
@GET @Path(value="/{componentType}/{componentId}/componentInstances") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getComponentInstancesFilteredByPropertiesAndInputs(@PathParam(value="componentType") String componentType, @PathParam(value="componentId") String componentId, @Context javax.servlet.http.HttpServletRequest request, @QueryParam(value="searchText") String searchText, @HeaderParam(value="USER_ID") String userId, String data)
Copyright © 2017. All rights reserved.