Class LinkAppearanceService
java.lang.Object
com.sodius.oslc.server.process.links.services.LinkAppearanceService
Manages the link appearance services.
- Since:
- 3.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLinkAppearance(String url) Retrieves the configured link attributes without checking admin access and without attributes' properties nor decorators.getShapeOf(String url)
-
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
-
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
-