Class LinkAppearanceService

java.lang.Object
com.sodius.oslc.server.process.links.services.LinkAppearanceService

@Path("/process/link/appearance") public class LinkAppearanceService extends Object
Manages the link appearance services.
Since:
3.3.0
  • Constructor Details

    • LinkAppearanceService

      public LinkAppearanceService()
  • Method Details

    • getLinkAppearance

      @GET @Produces({"application/rdf+xml","application/xml","text/xml","application/json","application/ld+json","text/turtle"}) public Response getLinkAppearance(@QueryParam("url") String url)
    • getLinksAppearanceAttributes

      @GET @Path("attributes") @Produces({"application/rdf+xml","application/xml","text/xml","application/json","application/ld+json","text/turtle"}) public Response getLinksAppearanceAttributes()
      Retrieves the configured link attributes without checking admin access and without attributes' properties nor decorators.

      This method is convenient for applications where regular users can customize (out of the server configuration) the link attributes to display.

      Returns:
      configured link attributes.
    • getLinksAppearance

      @GET @Path("admin") @Produces({"application/rdf+xml","application/xml","text/xml","application/json","application/ld+json","text/turtle"}) public Response getLinksAppearance()
    • saveLinksAppearance

      @POST @Path("admin") @Consumes({"application/rdf+xml","application/xml","text/xml","application/json","application/ld+json","text/turtle"}) public Response saveLinksAppearance()
    • getDecoratorsPreview

      @POST @Path("preview") @Produces({"application/rdf+xml","application/xml","text/xml","application/json","application/ld+json","text/turtle"}) @Consumes({"application/rdf+xml","application/xml","text/xml","application/json","application/ld+json","text/turtle"}) public Response getDecoratorsPreview(@QueryParam("url") String url)
    • getShapeOf

      @GET @Path("/shapeOf") @Produces({"application/rdf+xml","application/xml","text/xml","application/json","application/ld+json","text/turtle"}) public Response getShapeOf(@QueryParam("url") String url)