A B C D E F G I L M N O P R S T U W 

A

abortUpload(String) - Method in interface org.trellisldp.spi.BinaryService.Resolver
Abort the upload for the given identifier
AccessControlService - Interface in org.trellisldp.spi
The AccessControlService provides methods for checking user access to given resources as well as services for finding the applicable access control resource.
AgentService - Interface in org.trellisldp.spi
This service provides some useful methods for handling user values.
anyMatch(Session, IRI, Predicate<IRI>) - Method in interface org.trellisldp.spi.AccessControlService
Test whether the given acl:Mode matches a given predicate
asAgent(String) - Method in interface org.trellisldp.spi.AgentService
Convert an agent String into an IRI
auditCreation(IRI, Session) - Static method in class org.trellisldp.spi.RDFUtils
Create audit-related creation data
auditDeletion(IRI, Session) - Static method in class org.trellisldp.spi.RDFUtils
Create audit-related deletion data
auditUpdate(IRI, Session) - Static method in class org.trellisldp.spi.RDFUtils
Create audit-related update data
Authorization - Class in org.trellisldp.spi
This class provides access to data defined in an WebAC Authorization graph.
Authorization(BlankNodeOrIRI, Graph) - Constructor for class org.trellisldp.spi.Authorization
Create an Authorization object from an RDF graph

B

BinaryService - Interface in org.trellisldp.spi
The BinaryService provides methods for retrieving, modifying and checking the validity of binary content.
BinaryService.MultipartUpload - Class in org.trellisldp.spi
A multipart upload container
BinaryService.Resolver - Interface in org.trellisldp.spi
A blob resolver, used by the BinaryService

C

calculateDigest(String, IRI, String) - Method in interface org.trellisldp.spi.BinaryService
Calculate the digest for a binary object
canAppend(Session, IRI) - Method in interface org.trellisldp.spi.AccessControlService
Test whether the user can append the given resource
canControl(Session, IRI) - Method in interface org.trellisldp.spi.AccessControlService
Test whether the user can control the ACL for the given resource
canRead(Session, IRI) - Method in interface org.trellisldp.spi.AccessControlService
Test whether the resource is readable
canWrite(Session, IRI) - Method in interface org.trellisldp.spi.AccessControlService
Test whether the resource is writeable
cleanIdentifier(String) - Static method in class org.trellisldp.spi.RDFUtils
Clean the identifier
cleanIdentifier(IRI) - Static method in class org.trellisldp.spi.RDFUtils
Clean the identifier
compact(IRI, Instant, Instant) - Method in interface org.trellisldp.spi.ResourceService
Compact (i.e.
completeUpload(String, Map<Integer, String>) - Method in interface org.trellisldp.spi.BinaryService.Resolver
Complete a multi-part upload
constrainedBy(IRI, String, Graph) - Method in interface org.trellisldp.spi.ConstraintService
Check a graph against an LDP interaction model
ConstraintService - Interface in org.trellisldp.spi
The ConstraintService defines rules that constrain RDF triples on a graph for a particular resource type.
ConstraintViolation - Class in org.trellisldp.spi
A class that represents a constraint violation in an RDF graph.
ConstraintViolation(IRI, List<? extends Triple>) - Constructor for class org.trellisldp.spi.ConstraintViolation
Create a new constraint violation
ConstraintViolation(IRI, Triple) - Constructor for class org.trellisldp.spi.ConstraintViolation
Create a new constraint violation

D

digest(String, InputStream) - Method in interface org.trellisldp.spi.BinaryService
Get the digest for an input stream

E

emit(Event) - Method in interface org.trellisldp.spi.EventService
Emit an event to the event service
Event - Interface in org.trellisldp.spi
This represents the data for a public repository event.
EventService - Interface in org.trellisldp.spi
The EventService provides a mechanism by which events can be emitted to a message broker.
exists(String, IRI) - Method in interface org.trellisldp.spi.BinaryService
Test whether a binary object exists at the given URI
exists(String, IRI) - Method in interface org.trellisldp.spi.BinaryService.Resolver
Check whether the binary object exists
export(String, Collection<IRI>) - Method in interface org.trellisldp.spi.ResourceService
Export the complete repository as a stream of Quads

F

from(BlankNodeOrIRI, Graph) - Static method in class org.trellisldp.spi.Authorization
Create an Authorization object from a graph and an identifier

G

get(IRI) - Method in interface org.trellisldp.spi.ResourceService
Get a resource from the given location
get(IRI, Instant) - Method in interface org.trellisldp.spi.ResourceService
Get a resource from the given location and time
getAccessTo() - Method in class org.trellisldp.spi.Authorization
Retrieve the resource identifiers to which this Authorization applies
getAgent() - Method in class org.trellisldp.spi.Authorization
Retrieve the agents that are associated with this Authorization
getAgent() - Method in interface org.trellisldp.spi.Session
Get an agent identifier
getAgentClass() - Method in class org.trellisldp.spi.Authorization
Retrieve the agent classes that are associated with this Authorization
getAgentGroup() - Method in class org.trellisldp.spi.Authorization
Retrieve the agent groups that are associated with this Authorization
getAgents() - Method in interface org.trellisldp.spi.Event
Get the Agents associated with this event
getBaseUrl() - Method in class org.trellisldp.spi.BinaryService.MultipartUpload
The base URL
getBinary() - Method in class org.trellisldp.spi.BinaryService.MultipartUpload
The binary object
getConstraint() - Method in class org.trellisldp.spi.ConstraintViolation
Get the constraint IRI for this violation
getContainer(IRI) - Method in interface org.trellisldp.spi.ResourceService
Get the identifier for the structurally-logical container for the resource
getContent(String, IRI) - Method in interface org.trellisldp.spi.BinaryService
Get the content of the binary object
getContent(String, IRI) - Method in interface org.trellisldp.spi.BinaryService.Resolver
Get the content of the binary object
getCreated() - Method in interface org.trellisldp.spi.Event
Get the created date for this event
getCreated() - Method in interface org.trellisldp.spi.Session
Get the date when the session was created.
getDefault() - Method in class org.trellisldp.spi.Authorization
Retrieve the directories for which this authorization is used for new resources in the container
getDelegatedBy() - Method in interface org.trellisldp.spi.Session
Get the user that delegated access, if one exists
getIdentifier() - Method in class org.trellisldp.spi.Authorization
Retrieve the identifier for this Authorization
getIdentifier() - Method in interface org.trellisldp.spi.Event
Get an identifier for this event
getIdentifier() - Method in interface org.trellisldp.spi.Session
Get a session identifier
getIdentifierSupplier() - Method in interface org.trellisldp.spi.ResourceService
An identifier supplier
getIdentifierSupplier(String) - Method in interface org.trellisldp.spi.BinaryService
An identifier supplier
getInbox() - Method in interface org.trellisldp.spi.Event
Get the inbox corresponding to the target, if one exists
getInstance() - Static method in class org.trellisldp.spi.RDFUtils
Get the Commons RDF instance in use
getMode() - Method in class org.trellisldp.spi.Authorization
Retrieve the access modes that are associated with this Authorization
getNamespace(String) - Method in interface org.trellisldp.spi.NamespaceService
Fetch the namespace for a particular prefix
getNamespaces() - Method in interface org.trellisldp.spi.NamespaceService
Fetch the entire namespace mapping
getPath() - Method in class org.trellisldp.spi.BinaryService.MultipartUpload
The path
getPrefix(String) - Method in interface org.trellisldp.spi.NamespaceService
Fetch the prefix for a particular namespace
getResolver(IRI) - Method in interface org.trellisldp.spi.BinaryService
Get the resolver for the given identifier
getResolverForPartition(String) - Method in interface org.trellisldp.spi.BinaryService
Get the default resolver for the given partition
getSession() - Method in class org.trellisldp.spi.BinaryService.MultipartUpload
The Session
getSupplier() - Method in interface org.trellisldp.spi.IdentifierService
Get a Supplier that generates Strings with the provided prefix
getSupplier(String) - Method in interface org.trellisldp.spi.IdentifierService
Get a Supplier that generates Strings with the provided prefix
getSupplier(String, Integer, Integer) - Method in interface org.trellisldp.spi.IdentifierService
Get a Supplier that generates Strings with the provided prefix
getTarget() - Method in interface org.trellisldp.spi.Event
Get the resource identifier, if one exists
getTargetTypes() - Method in interface org.trellisldp.spi.Event
Get the types for the target resource
getTriples() - Method in class org.trellisldp.spi.ConstraintViolation
Get the triples causing the constraint violation
getTypes() - Method in interface org.trellisldp.spi.Event
Get types for this event
getUriSchemes() - Method in interface org.trellisldp.spi.BinaryService.Resolver
 

I

IdentifierService - Interface in org.trellisldp.spi
The IdentifierService provides a mechanism for creating new identifiers.
initiateUpload(String, IRI, String) - Method in interface org.trellisldp.spi.BinaryService.Resolver
Initiate a multi-part upload
IOService - Interface in org.trellisldp.spi
The IOService defines methods for reading, writing and updating RDF streams to/from a concrete RDF 1.1 syntax.

L

ldpResourceTypes(IRI) - Static method in class org.trellisldp.spi.RDFUtils
Get all of the LDP resource (super) types for the given LDP interaction model
list(String) - Method in interface org.trellisldp.spi.ResourceService
Get a list of resources in the partition
listParts(String) - Method in interface org.trellisldp.spi.BinaryService.Resolver
List the uploaded parts

M

MultipartUpload(String, String, Session, Binary) - Constructor for class org.trellisldp.spi.BinaryService.MultipartUpload
Create a Multipart Upload object

N

NamespaceService - Interface in org.trellisldp.spi
Namespaces may be stored globally across the repository, and the NamespaceService provides a mechanism for retrieving and setting namespace values.

O

org.trellisldp.spi - package org.trellisldp.spi
Trellis Service Programming Interfaces

P

purge(IRI) - Method in interface org.trellisldp.spi.ResourceService
Purge a resource from the repository
purgeContent(String, IRI) - Method in interface org.trellisldp.spi.BinaryService
Purge the content from its corresponding datastore
purgeContent(String, IRI) - Method in interface org.trellisldp.spi.BinaryService.Resolver
Remove the content from the datastore
put(IRI, Dataset) - Method in interface org.trellisldp.spi.ResourceService
Put a resource into the repository

R

RDFUtils - Class in org.trellisldp.spi
The RDFUtils class provides a set of convenience methods related to generating and processing RDF objects.
read(InputStream, String, RDFSyntax) - Method in interface org.trellisldp.spi.IOService
Read an input stream into a stream of triples
ResourceService - Interface in org.trellisldp.spi
The ResourceService provides methods for creating, retrieving and manipulating repository resources.
RuntimeRepositoryException - Exception in org.trellisldp.spi
Base class for all trellis unchecked exceptions.
RuntimeRepositoryException() - Constructor for exception org.trellisldp.spi.RuntimeRepositoryException
Create a new RuntimeRepositoryException
RuntimeRepositoryException(String) - Constructor for exception org.trellisldp.spi.RuntimeRepositoryException
Create a new RuntimeRepositoryException with a custom message
RuntimeRepositoryException(String, Throwable) - Constructor for exception org.trellisldp.spi.RuntimeRepositoryException
Create a new RuntimeRepositoryException with a custom message and known cause
RuntimeRepositoryException(Throwable) - Constructor for exception org.trellisldp.spi.RuntimeRepositoryException
Create a new RuntimeRepositoryException with a known cause

S

serialize(Event) - Static method in interface org.trellisldp.spi.EventService
Serialize an event as a JSON string
Session - Interface in org.trellisldp.spi
This interface represents a user's session when interacting with a repository resource.
setContent(String, IRI, InputStream) - Method in interface org.trellisldp.spi.BinaryService.Resolver
Set the content of the binary object
setContent(String, IRI, InputStream) - Method in interface org.trellisldp.spi.BinaryService
Set the content for a binary object
setContent(String, IRI, InputStream, Map<String, String>) - Method in interface org.trellisldp.spi.BinaryService.Resolver
Set the content of the binary object
setContent(String, IRI, InputStream, Map<String, String>) - Method in interface org.trellisldp.spi.BinaryService
Set the content for a binary object
setPrefix(String, String) - Method in interface org.trellisldp.spi.NamespaceService
Set the namespace for a given prefix
skolemize(RDFTerm) - Method in interface org.trellisldp.spi.ResourceService
Skolemize a blank node
superClassOf - Static variable in class org.trellisldp.spi.RDFUtils
A mapping of LDP types to their supertype
supportedAlgorithms() - Method in interface org.trellisldp.spi.BinaryService
Get a list of supported algorithms
supportsMultipartUpload() - Method in interface org.trellisldp.spi.BinaryService.Resolver
Test whether the resolver supports multipart uploads

T

toExternalTerm(T, String) - Static method in class org.trellisldp.spi.RDFUtils
Convert an internal term to an external term
toInternalTerm(T, String) - Static method in class org.trellisldp.spi.RDFUtils
Convert an external term to an internal term
toString() - Method in class org.trellisldp.spi.ConstraintViolation
 
TRELLIS_BNODE_PREFIX - Static variable in class org.trellisldp.spi.RDFUtils
The internal blank node prefix
TRELLIS_PREFIX - Static variable in class org.trellisldp.spi.RDFUtils
The internal trellis prefix

U

unskolemize(RDFTerm) - Method in interface org.trellisldp.spi.ResourceService
Un-skolemize a blank node
update(Graph, String, String) - Method in interface org.trellisldp.spi.IOService
Apply a Sparql-Update operation over a Graph
uploadPart(String, Integer, InputStream) - Method in interface org.trellisldp.spi.BinaryService.Resolver
Upload a part
uploadSessionExists(String) - Method in interface org.trellisldp.spi.BinaryService.Resolver
Test whether the provided identifier exists

W

write(Stream<? extends Triple>, OutputStream, RDFSyntax, IRI...) - Method in interface org.trellisldp.spi.IOService
Serialize the triple stream in a concrete RDF syntax
A B C D E F G I L M N O P R S T U W 
Skip navigation links