public interface LinkedDataEndpointService
Modifier and Type | Method and Description |
---|---|
void |
addEndpoint(Endpoint endpoint)
Add a new endpoint to the system.
|
Endpoint |
getEndpoint(String id)
Return the endpoint with the given ID.
|
Endpoint |
getEndpoint(org.openrdf.model.URI resource)
Retrieve the endpoint matching the KiWiUriResource passed as argument.
|
boolean |
hasEndpoint(String urlPattern)
Test whether an endpoint definition for the given url pattern already exists.
|
List<Endpoint> |
listEndpoints()
List all endpoints registered in the system.
|
void |
removeEndpoint(Endpoint endpoint)
Remove the endpoint given as argument.
|
void |
updateEndpoint(Endpoint endpoint)
`
Update the endpoint passed as argument in the database.
|
void addEndpoint(Endpoint endpoint)
endpoint
- void updateEndpoint(Endpoint endpoint)
endpoint
- List<Endpoint> listEndpoints()
void removeEndpoint(Endpoint endpoint)
endpoint
- Endpoint getEndpoint(String id)
id
- ID of the endpoint to return.Endpoint getEndpoint(org.openrdf.model.URI resource)
resource
- the KiWiUriResource to check.boolean hasEndpoint(String urlPattern)
urlPattern
- Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.