@Path(value="/") public class RegistryRestEndpoint extends Object
Constructor and Description |
---|
RegistryRestEndpoint() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
publish(String registryId,
String destinationId) |
void |
setFederationAdminService(FederationAdminService federationAdminService) |
void |
setRegistryPublicationService(RegistryPublicationService registryPublicationService) |
void |
setRegistryReportBuilder(RegistryReportBuilder registryReportBuilder) |
javax.ws.rs.core.Response |
unpublish(String registryId,
String destinationId) |
javax.ws.rs.core.Response |
viewRegInfoHtml(String registryId,
List<String> sourceIds) |
javax.ws.rs.core.Response |
viewSectionInfoHtml(String registryId,
List<String> sourceIds,
String section) |
javax.ws.rs.core.Response |
viewSummaryInfoHtml(String registryId) |
@Path(value="/{registryId}/publication/{sourceId}") @POST public javax.ws.rs.core.Response publish(@PathParam(value="registryId") String registryId, @PathParam(value="sourceId") String destinationId)
@Path(value="/{registryId}/publication/{sourceId}") @DELETE public javax.ws.rs.core.Response unpublish(@PathParam(value="registryId") String registryId, @PathParam(value="sourceId") String destinationId)
@Path(value="/{registryId}/report") @Produces(value="text/html") @GET public javax.ws.rs.core.Response viewRegInfoHtml(@PathParam(value="registryId") String registryId, @QueryParam(value="sourceId") List<String> sourceIds)
@Path(value="/{registryId}/report/summary") @Produces(value="text/html") @GET public javax.ws.rs.core.Response viewSummaryInfoHtml(@PathParam(value="registryId") String registryId)
@Path(value="/{registryId}/report/{section}") @Produces(value="text/html") @GET public javax.ws.rs.core.Response viewSectionInfoHtml(@PathParam(value="registryId") String registryId, @QueryParam(value="sourceId") List<String> sourceIds, @PathParam(value="section") String section)
public void setRegistryPublicationService(RegistryPublicationService registryPublicationService)
public void setRegistryReportBuilder(RegistryReportBuilder registryReportBuilder)
public void setFederationAdminService(FederationAdminService federationAdminService)
This work is licensed under a Creative Commons Attribution 4.0 International License.