@Path(value="/v1/") @Loggable(prepend=true, value=1, trim=false) @Singleton public class ElementServlet extends BeGenericServlet
servletRequest
gson
Constructor and Description |
---|
ElementServlet() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createComponentCategory(String componentType,
String data,
javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
createComponentGrouping(String componentType,
String grandParentCategoryId,
String parentSubCategoryId,
String data,
javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
createComponentSubCategory(String componentType,
String categoryId,
String data,
javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
deleteComponentCategory(String categoryUniqueId,
String componentType,
javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
deleteComponentGrouping(String grandParentCategoryUniqueId,
String parentSubCategoryUniqueId,
String groupingUniqueId,
String componentType,
javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
deleteComponentSubCategory(String categoryUniqueId,
String subCategoryUniqueId,
String componentType,
javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
deleteMarkedResources(String componentType,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
getArtifactTypes(javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
getCatalogComponents(javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
getComponentCategories(String componentType,
String userId,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
getConfiguration(javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
getFollowedResourcesServices(javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
getListOfCsars(javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
getPropertyScopes(javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
getTags(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="/categories/{componentType}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getComponentCategories(@PathParam(value="componentType") String componentType, @HeaderParam(value="USER_ID") String userId, @Context javax.servlet.http.HttpServletRequest request)
@POST @Path(value="/category/{componentType}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response createComponentCategory(@PathParam(value="componentType") String componentType, String data, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@DELETE @Path(value="/category/{componentType}/{categoryUniqueId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response deleteComponentCategory(@PathParam(value="categoryUniqueId") String categoryUniqueId, @PathParam(value="componentType") String componentType, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@POST @Path(value="/category/{componentType}/{categoryId}/subCategory") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response createComponentSubCategory(@PathParam(value="componentType") String componentType, @PathParam(value="categoryId") String categoryId, String data, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@DELETE @Path(value="/category/{componentType}/{categoryUniqueId}/subCategory/{subCategoryUniqueId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response deleteComponentSubCategory(@PathParam(value="categoryUniqueId") String categoryUniqueId, @PathParam(value="subCategoryUniqueId") String subCategoryUniqueId, @PathParam(value="componentType") String componentType, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@POST @Path(value="/category/{componentType}/{categoryId}/subCategory/{subCategoryId}/grouping") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response createComponentGrouping(@PathParam(value="componentType") String componentType, @PathParam(value="categoryId") String grandParentCategoryId, @PathParam(value="subCategoryId") String parentSubCategoryId, String data, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@DELETE @Path(value="/category/{componentType}/{categoryUniqueId}/subCategory/{subCategoryUniqueId}/grouping/{groupingUniqueId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response deleteComponentGrouping(@PathParam(value="categoryUniqueId") String grandParentCategoryUniqueId, @PathParam(value="subCategoryUniqueId") String parentSubCategoryUniqueId, @PathParam(value="groupingUniqueId") String groupingUniqueId, @PathParam(value="componentType") String componentType, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@GET @Path(value="/tags") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getTags(@Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@GET @Path(value="/propertyScopes") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getPropertyScopes(@Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@GET @Path(value="/artifactTypes") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getArtifactTypes(@Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@GET @Path(value="/configuration/ui") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getConfiguration(@Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@GET @Path(value="/followed") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getFollowedResourcesServices(@Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@GET @Path(value="/screen") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getCatalogComponents(@Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@DELETE @Path(value="/inactiveComponents/{componentType}") public javax.ws.rs.core.Response deleteMarkedResources(@PathParam(value="componentType") String componentType, @Context javax.servlet.http.HttpServletRequest request)
@GET @Path(value="/ecompPortalMenu") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getListOfCsars(@Context javax.servlet.http.HttpServletRequest request)
Copyright © 2017. All rights reserved.