Class SecuredModelImpl
java.lang.Object
org.apache.jena.permissions.impl.SecuredItemImpl
org.apache.jena.permissions.model.impl.SecuredModelImpl
- All Implemented Interfaces:
SecuredPrefixMapping
,SecuredModel
,SecuredItem
,Model
,ModelCon
,ModelGraphInterface
,RDFReaderF
,RDFWriterF
,Lock
,PrefixMapping
Implementation of SecuredModel to be used by a SecuredItemInvoker proxy.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.jena.shared.PrefixMapping
PrefixMapping.Factory, PrefixMapping.IllegalPrefixException, PrefixMapping.JenaLockedException
Nested classes/interfaces inherited from interface org.apache.jena.permissions.SecuredItem
SecuredItem.Util
-
Field Summary
Fields inherited from class org.apache.jena.permissions.impl.SecuredItemImpl
CACHE, COUNT, MAX_CACHE
Fields inherited from interface org.apache.jena.shared.PrefixMapping
Extended, Standard
-
Method Summary
Modifier and TypeMethodDescriptionabort()
add
(Resource s, Property p, String lex, RDFDatatype datatype) add
(StmtIterator iter) addLiteral
(Resource s, Property p, boolean o) addLiteral
(Resource s, Property p, char o) addLiteral
(Resource s, Property p, double o) addLiteral
(Resource s, Property p, float o) addLiteral
(Resource s, Property p, int o) addLiteral
(Resource s, Property p, long o) addLiteral
(Resource s, Property p, Object o) Deprecated.addLiteral
(Resource s, Property p, Literal o) begin()
<T> T
calculateInTxn
(Supplier<T> action) void
close()
commit()
boolean
boolean
boolean
boolean
boolean
boolean
containsAll
(Model model) boolean
containsAll
(StmtIterator iter) boolean
containsAny
(Model model) boolean
containsAny
(StmtIterator iter) boolean
containsLiteral
(Resource s, Property p, boolean o) boolean
containsLiteral
(Resource s, Property p, char o) boolean
containsLiteral
(Resource s, Property p, double o) boolean
containsLiteral
(Resource s, Property p, float o) boolean
containsLiteral
(Resource s, Property p, int o) boolean
containsLiteral
(Resource s, Property p, long o) boolean
containsLiteral
(Resource s, Property p, Object o) boolean
createList
(Iterator<? extends RDFNode> members) createList
(RDFNode... members) createLiteral
(String v, boolean wellFormed) createLiteral
(String v, String language) createLiteralStatement
(Resource s, Property p, boolean o) createLiteralStatement
(Resource s, Property p, char o) createLiteralStatement
(Resource s, Property p, double o) createLiteralStatement
(Resource s, Property p, float o) createLiteralStatement
(Resource s, Property p, int o) createLiteralStatement
(Resource s, Property p, long o) createLiteralStatement
(Resource s, Property p, Object o) createProperty
(String uri) createProperty
(String nameSpace, String localName) createReifiedStatement
(String uri, Statement s) createResource
(String uri) createResource
(String uri, Resource type) createResource
(String uri, ResourceF f) Deprecated.createResource
(AnonId id) createResource
(Resource type) Deprecated.createResource
(Statement statement) createStatement
(Resource s, Property p, String o) createStatement
(Resource s, Property p, String o, boolean wellFormed) createStatement
(Resource s, Property p, String o, String l) createStatement
(Resource s, Property p, String o, String l, boolean wellFormed) createStatement
(Resource s, Property p, RDFNode o) createTypedLiteral
(boolean v) createTypedLiteral
(char v) createTypedLiteral
(double v) createTypedLiteral
(float v) createTypedLiteral
(int v) createTypedLiteral
(long v) createTypedLiteral
(Object value) createTypedLiteral
(Object value, String typeURI) createTypedLiteral
(Object value, RDFDatatype dtype) createTypedLiteral
(String lex, String typeURI) createTypedLiteral
(String lex, RDFDatatype dtype) difference
(Model model) void
enterCriticalSection
(boolean readLockRequested) void
executeInTxn
(Runnable action) expandPrefix
(String prefixed) getGraph()
static SecuredModel
getInstance
(SecuredItem securedItem, Model model) Get an instance of SecuredModelstatic SecuredModel
getInstance
(SecurityEvaluator securityEvaluator, String modelIRI, Model model) Get an instance of SecuredModelReturn a RDF List instance in this model.Return a RDF List based on a given resource.getLock()
getNsPrefixURI
(String prefix) getNsURIPrefix
(String uri) getProperty
(String uri) getProperty
(String nameSpace, String localName) getProperty
(Resource s, Property p) getProperty
(Resource s, Property p, String lang) getRDFNode
(Node n) .getRequiredProperty
(Resource s, Property p, String lang) .getResource
(String uri) getResource
(String uri, ResourceF f) Deprecated.boolean
boolean
intersection
(Model model) boolean
isClosed()
boolean
isEmpty()
boolean
boolean
void
listLiteralStatements
(Resource subject, Property predicate, boolean object) listLiteralStatements
(Resource subject, Property predicate, char object) listLiteralStatements
(Resource subject, Property predicate, double object) listLiteralStatements
(Resource subject, Property predicate, float object) listLiteralStatements
(Resource subject, Property predicate, int object) listLiteralStatements
(Resource subject, Property predicate, long object) listResourcesWithProperty
(Property p, boolean o) listResourcesWithProperty
(Property p, char o) listResourcesWithProperty
(Property p, double o) listResourcesWithProperty
(Property p, float o) listResourcesWithProperty
(Property p, long o) listStatements
(Resource subject, Property predicate, String object) listStatements
(Resource subject, Property predicate, String object, String lang) listStatements
(Resource s, Property p, RDFNode o) listSubjectsWithProperty
(Property p, String o, String l) lock()
int
read
(InputStream in, String base) read
(InputStream in, String base, String lang) register
(ModelChangedListener listener) Listener will be filtered to only report events that the user can see.remove
(StmtIterator iter) void
removeNsPrefix
(String prefix) void
boolean
samePrefixMappingAs
(PrefixMapping other) setNsPrefix
(String prefix, String uri) setNsPrefixes
(Map<String, String> map) setNsPrefixes
(PrefixMapping other) long
size()
boolean
boolean
unregister
(ModelChangedListener listener) write
(OutputStream out) write
(OutputStream out, String lang) write
(OutputStream out, String lang, String base) Methods inherited from class org.apache.jena.permissions.impl.SecuredItemImpl
canCreate, canCreate, canCreate, canDelete, canDelete, canDelete, canRead, canRead, canRead, canUpdate, canUpdate, canUpdate, decrementUse, equals, getBaseItem, getModelIRI, getModelNode, getSecurityEvaluator, hashCode, incrementUse, isEquivalent, toString
Methods inherited from interface org.apache.jena.permissions.SecuredItem
canCreate, canCreate, canCreate, canDelete, canDelete, canDelete, canRead, canRead, canRead, canUpdate, canUpdate, canUpdate, equals, getBaseItem, getModelIRI, getModelNode, getSecurityEvaluator, isEquivalent
-
Method Details
-
getInstance
Get an instance of SecuredModel- Parameters:
securedItem
- the item providing the security context.model
- the Model to secure.- Returns:
- The SecuredModel
-
getInstance
public static SecuredModel getInstance(SecurityEvaluator securityEvaluator, String modelIRI, Model model) Get an instance of SecuredModel- Parameters:
securityEvaluator
- The security evaluator to usemodelIRI
- The IRI (graph IRI) to name this model.model
- The Model to secure.- Returns:
- the SecuredModel
-
abort
-
add
public SecuredModel add(List<Statement> statements) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
add
in interfaceModel
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create for each statement as a triple.
-
add
public SecuredModel add(Model m) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
add
in interfaceModel
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create for each statement in the securedModel as a triple.
-
add
public SecuredModel add(Resource s, Property p, RDFNode o) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
add
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create the triple Triple(s,p,o)
-
add
public SecuredModel add(Resource s, Property p, String o) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
add
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create the triple Triple(s,p,o)
-
add
public SecuredModel add(Resource s, Property p, String o, boolean wellFormed) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
add
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create the triple Triple(s,p,o)
-
add
public SecuredModel add(Resource s, Property p, String lex, RDFDatatype datatype) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
add
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create the triple Triple(s,p,literal(lex,datatype))
-
add
public SecuredModel add(Resource s, Property p, String o, String l) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
add
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create the triple Triple(s,p,literal(o,l,false))
-
add
public SecuredModel add(Statement s) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
add
in interfaceModel
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create the statement as a triple
-
add
public SecuredModel add(Statement[] statements) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
add
in interfaceModel
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create all the statements as triples.
-
add
public SecuredModel add(StmtIterator iter) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
add
in interfaceModel
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create all the statements as triples.
-
addLiteral
public SecuredModel addLiteral(Resource s, Property p, boolean o) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
addLiteral
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create triple(s,p,o)
-
addLiteral
public SecuredModel addLiteral(Resource s, Property p, char o) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
addLiteral
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create triple(s,p,o)
-
addLiteral
public SecuredModel addLiteral(Resource s, Property p, double o) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
addLiteral
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create triple(s,p,o)
-
addLiteral
public SecuredModel addLiteral(Resource s, Property p, float o) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
addLiteral
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create triple(s,p,o)
-
addLiteral
public SecuredModel addLiteral(Resource s, Property p, int o) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
addLiteral
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create triple(s,p,o)
-
addLiteral
public SecuredModel addLiteral(Resource s, Property p, Literal o) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
addLiteral
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create triple(s,p,o)
-
addLiteral
public SecuredModel addLiteral(Resource s, Property p, long o) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
addLiteral
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create triple(s,p,o)
-
addLiteral
@Deprecated public SecuredModel addLiteral(Resource s, Property p, Object o) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException Deprecated.- Specified by:
addLiteral
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create triple(s,p,o)
-
asRDFNode
- Specified by:
asRDFNode
in interfaceModelGraphInterface
-
asStatement
public SecuredStatement asStatement(Triple t) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
asStatement
in interfaceModelGraphInterface
- Throws:
AccessDeniedException
- on restrictionAuthenticationRequiredException
- if user is not authenticated and is required to be.UpdateDeniedException
AddDeniedException
- Required graph permissions:
- Read if t does exist, Update it t does not exist or can not be read
- Required triple permissions:
- Read if t does exist, Create if t does not exist or can not be read
-
begin
-
close
public void close() -
commit
-
contains
public boolean contains(Resource s, Property p) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
contains
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read Triple( s, p, SecNode.ANY )
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
contains
public boolean contains(Resource s, Property p, RDFNode o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
contains
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read Triple( s, p, SecNode.ANY )
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
contains
public boolean contains(Resource s, Property p, String o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
contains
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read Triple( s, p, SecNode.ANY )
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
contains
public boolean contains(Resource s, Property p, String o, String l) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
contains
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read Triple( s, p, SecNode.ANY )
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
contains
- Specified by:
contains
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read Triple( s, p, SecNode.ANY )
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
containsAll
- Specified by:
containsAll
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read every statement in securedModel.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
containsAll
public boolean containsAll(StmtIterator iter) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
containsAll
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read every statement in securedModel.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
containsAny
- Specified by:
containsAny
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read any statement in securedModel to be included in check, if no
statement in securedModel can be read will return false;
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
containsAny
public boolean containsAny(StmtIterator iter) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
containsAny
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read any statement in securedModel to be included in check, if no statement in securedModel can be read will return false;
-
containsLiteral
public boolean containsLiteral(Resource s, Property p, boolean o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
containsLiteral
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read Triple( s, p, literal(o) )
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
containsLiteral
public boolean containsLiteral(Resource s, Property p, char o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
containsLiteral
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read Triple( s, p, literal(o) )
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
containsLiteral
public boolean containsLiteral(Resource s, Property p, double o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
containsLiteral
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read Triple( s, p, literal(o) )
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
containsLiteral
public boolean containsLiteral(Resource s, Property p, float o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
containsLiteral
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read Triple( s, p, literal(o) )
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
containsLiteral
public boolean containsLiteral(Resource s, Property p, int o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
containsLiteral
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read Triple( s, p, literal(o) )
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
containsLiteral
public boolean containsLiteral(Resource s, Property p, long o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
containsLiteral
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read Triple( s, p, literal(o) )
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
containsLiteral
public boolean containsLiteral(Resource s, Property p, Object o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
containsLiteral
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read Triple( s, p, literal(o) )
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
containsResource
public boolean containsResource(RDFNode r) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
containsResource
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read Triple( s, p, resource) where Triple(s,p,resource) is in the
securedModel.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
createAlt
public SecuredAlt createAlt() throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException- Specified by:
createAlt
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( SecNode.ANY, RDF.type, Rdf.Alt)
-
createAlt
public SecuredAlt createAlt(String uri) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
createAlt
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( SecNode.ANY, RDF.type, Rdf.Alt)
-
createBag
public SecuredBag createBag() throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException- Specified by:
createBag
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( SecNode.ANY, RDF.type, Rdf.Bag)
-
createBag
public SecuredBag createBag(String uri) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
createBag
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( uri, RDF.type, Rdf.Bag)
-
createList
public SecuredRDFList createList() throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException- Specified by:
createList
in interfaceModel
- Throws:
UpdateDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.AddDeniedException
- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( SecurityEvaluator.FUTURE, RDF.type, Rdf.List)
-
createList
public SecuredRDFList createList(Iterator<? extends RDFNode> members) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
createList
in interfaceModel
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( RDF.nil, SecNode.IGNORE, SecNode.IGNORE), Create for each member Triple(SecNode.ANY, RDF.first.asNode(), member.asNode()), Create Triple(SecNode.ANY, RDF.rest.asNode(), SecNode.ANY)
-
createList
public SecuredRDFList createList(RDFNode... members) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
createList
in interfaceModel
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( RDF.nil, SecNode.IGNORE, SecNode.IGNORE), Create for each member Triple(SecNode.ANY, RDF.first.asNode(), member.asNode()), Create Triple(SecNode.ANY, RDF.rest.asNode(), SecNode.ANY)
-
createLiteral
- Specified by:
createLiteral
in interfaceModelCon
-
createLiteral
- Specified by:
createLiteral
in interfaceModel
-
createLiteral
- Specified by:
createLiteral
in interfaceModel
-
createLiteralStatement
- Specified by:
createLiteralStatement
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( s,p,o )
-
createLiteralStatement
- Specified by:
createLiteralStatement
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( s,p,o )
-
createLiteralStatement
- Specified by:
createLiteralStatement
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( s,p,o )
-
createLiteralStatement
- Specified by:
createLiteralStatement
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( s,p,o )
-
createLiteralStatement
- Specified by:
createLiteralStatement
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( s,p,o )
-
createLiteralStatement
- Specified by:
createLiteralStatement
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( s,p,o )
-
createLiteralStatement
- Specified by:
createLiteralStatement
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( s,p,o )
-
createProperty
- Specified by:
createProperty
in interfaceModelCon
-
createProperty
- Specified by:
createProperty
in interfaceModel
-
createReifiedStatement
public SecuredReifiedStatement createReifiedStatement(Statement s) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
createReifiedStatement
in interfaceModel
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Read s as a triple, Create Triple( SecNode.Future, RDF.subject, t.getSubject() ), Create Triple( SecNode.Future, RDF.subject, t.getPredicate() ), create Triple( SecNode.Future, RDF.subject, t.getObject() )
-
createReifiedStatement
public SecuredReifiedStatement createReifiedStatement(String uri, Statement s) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
createReifiedStatement
in interfaceModel
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Read s as a triple, create Triple( uri, RDF.subject, t.getSubject() ), create Triple( uri, RDF.subject, t.getPredicate() ), create Triple( uri, RDF.subject, t.getObject() )
-
createResource
- Specified by:
createResource
in interfaceModel
-
createResource
- Specified by:
createResource
in interfaceModel
-
createResource
public SecuredResource createResource(Resource type) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
createResource
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( SecNode.FUTURE, RDF.type, type )
-
createResource
@Deprecated public SecuredResource createResource(ResourceF f) throws AuthenticationRequiredException Deprecated.- Specified by:
createResource
in interfaceModelCon
- Throws:
AuthenticationRequiredException
-
createResource
- Specified by:
createResource
in interfaceModel
-
createResource
- Specified by:
createResource
in interfaceModel
-
createResource
public SecuredResource createResource(String uri, Resource type) throws AccessDeniedException, AuthenticationRequiredException - Specified by:
createResource
in interfaceModelCon
- Throws:
UpdateDeniedException
ReadDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.AccessDeniedException
- Required graph permissions:
- Update if uri exists, Create if uri does not exist
- Required triple permissions:
- Read if Triple( uri, RDF.type, type ) exists, Create if Triple( uri, RDF.type, type ) does not exist
-
createResource
Deprecated.- Specified by:
createResource
in interfaceModelCon
-
createSeq
public SecuredSeq createSeq() throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException- Specified by:
createSeq
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( SecNode.FUTURE, RDF.type, RDF.Alt )
-
createSeq
public SecuredSeq createSeq(String uri) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
createSeq
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( uri, RDF.type, RDF.Alt )
-
createStatement
public SecuredStatement createStatement(Resource s, Property p, RDFNode o) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
createStatement
in interfaceModel
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( s, p, o )
-
createStatement
public SecuredStatement createStatement(Resource s, Property p, String o) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
createStatement
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( s, p, o )
-
createStatement
public SecuredStatement createStatement(Resource s, Property p, String o, boolean wellFormed) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
createStatement
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( s, p, o )
-
createStatement
public SecuredStatement createStatement(Resource s, Property p, String o, String l) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
createStatement
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( s, p, o )
-
createStatement
public SecuredStatement createStatement(Resource s, Property p, String o, String l, boolean wellFormed) throws UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
createStatement
in interfaceModelCon
- Throws:
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Create Triple( s, p, o )
-
createTypedLiteral
- Specified by:
createTypedLiteral
in interfaceModelCon
-
createTypedLiteral
- Specified by:
createTypedLiteral
in interfaceModelCon
-
createTypedLiteral
- Specified by:
createTypedLiteral
in interfaceModelCon
-
createTypedLiteral
- Specified by:
createTypedLiteral
in interfaceModelCon
-
createTypedLiteral
- Specified by:
createTypedLiteral
in interfaceModelCon
-
createTypedLiteral
- Specified by:
createTypedLiteral
in interfaceModelCon
-
createTypedLiteral
- Specified by:
createTypedLiteral
in interfaceModelCon
-
createTypedLiteral
- Specified by:
createTypedLiteral
in interfaceModel
- Specified by:
createTypedLiteral
in interfaceModelCon
-
createTypedLiteral
- Specified by:
createTypedLiteral
in interfaceModel
-
createTypedLiteral
- Specified by:
createTypedLiteral
in interfaceModelCon
-
createTypedLiteral
- Specified by:
createTypedLiteral
in interfaceModelCon
-
createTypedLiteral
- Specified by:
createTypedLiteral
in interfaceModel
-
createTypedLiteral
- Specified by:
createTypedLiteral
in interfaceModelCon
-
difference
- Specified by:
difference
in interfaceModel
- Throws:
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read for every triple contributed to the difference.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an model will be returned.
-
enterCriticalSection
public void enterCriticalSection(boolean readLockRequested) throws UpdateDeniedException, ReadDeniedException, AuthenticationRequiredException - Specified by:
enterCriticalSection
in interfaceLock
- Throws:
UpdateDeniedException
ReadDeniedException
AuthenticationRequiredException
-
executeInTxn
- Specified by:
executeInTxn
in interfaceModel
-
calculateInTxn
- Specified by:
calculateInTxn
in interfaceModel
-
expandPrefix
public String expandPrefix(String prefixed) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
expandPrefix
in interfacePrefixMapping
- Specified by:
expandPrefix
in interfaceSecuredPrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then original argument will be returned.
-
getAlt
- Specified by:
getAlt
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
-
getAlt
- Specified by:
getAlt
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
-
getAnyReifiedStatement
public SecuredReifiedStatement getAnyReifiedStatement(Statement s) throws ReadDeniedException, UpdateDeniedException, AddDeniedException, AuthenticationRequiredException - Specified by:
getAnyReifiedStatement
in interfaceModel
- Throws:
ReadDeniedException
UpdateDeniedException
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read if statement exists, Update if statement does not exist
- Required triple permissions:
- Read s as a triple, Read Triple( result, RDF.subject, s.getSubject() ) if reification existed, Read Triple( result, RDF.predicate, s.getPredicate() ) if reification existed, Read Triple( result, RDF.object, s.getObject() ) if reification existed, Create Triple( result, RDF.subject, s.getSubject() ) if reification did not exist., Create Triple( result, RDF.predicate, s.getPredicate() ) if reification did not exist, Create Triple( result, RDF.object, s.getObject() ) if reification did not exist
-
getBag
- Specified by:
getBag
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read Triple( resource, RDF.type, RDF.Bag )
-
getBag
- Specified by:
getBag
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read Triple( ure, RDF.type, RDF.Bag )
-
getSeq
- Specified by:
getSeq
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on Triple(resource, RDF.type, RDF.Seq)
-
getSeq
- Specified by:
getSeq
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on Triple(uri, RDF.type, RDF.Seq)
-
getList
public SecuredRDFList getList(String uri) throws ReadDeniedException, AuthenticationRequiredException Return a RDF List instance in this model.Subsequent operations on the returned list may modify this model.
The list is assumed to already exist in the model. If it does not,
createList
should be used instead.- Specified by:
getList
in interfaceModelCon
- Parameters:
uri
- the URI of the list- Returns:
- a list instance
- Throws:
ReadDeniedException
AuthenticationRequiredException
-
getList
public SecuredRDFList getList(Resource r) throws ReadDeniedException, AuthenticationRequiredException Return a RDF List based on a given resource.This method enables an application to treat any resource as a list. It is in effect an unsafe downcast.
Subsequent operations on the returned list may modify this model.
The list is assumed to already exist in the model. If it does not,
createList
should be used instead.- Specified by:
getList
in interfaceModelCon
- Parameters:
r
- the resource of the list- Returns:
- a list instance
- Throws:
ReadDeniedException
AuthenticationRequiredException
-
getGraph
- Specified by:
getGraph
in interfaceModelGraphInterface
-
getLock
-
getNsPrefixMap
public Map<String,String> getNsPrefixMap() throws ReadDeniedException, AuthenticationRequiredException- Specified by:
getNsPrefixMap
in interfacePrefixMapping
- Specified by:
getNsPrefixMap
in interfaceSecuredPrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty map will be returned.
-
getNsPrefixURI
public String getNsPrefixURI(String prefix) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
getNsPrefixURI
in interfacePrefixMapping
- Specified by:
getNsPrefixURI
in interfaceSecuredPrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then @{code null} will be returned.
-
getNsURIPrefix
public String getNsURIPrefix(String uri) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
getNsURIPrefix
in interfacePrefixMapping
- Specified by:
getNsURIPrefix
in interfaceSecuredPrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then @{code null} will be returned.
-
getProperty
public SecuredStatement getProperty(Resource s, Property p) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
getProperty
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on the returned statement.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then @{code null} will be returned.
-
getProperty
public SecuredStatement getProperty(Resource s, Property p, String lang) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
getProperty
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on the returned statement.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then @{code null} will be returned.
-
getProperty
public SecuredProperty getProperty(String uri) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
getProperty
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
-
getProperty
public SecuredProperty getProperty(String nameSpace, String localName) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
getProperty
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
-
getRDFNode
public SecuredRDFNode getRDFNode(Node n) throws ReadDeniedException, UpdateDeniedException, AuthenticationRequiredException - Specified by:
getRDFNode
in interfaceModelCon
- Throws:
ReadDeniedException
UpdateDeniedException
AuthenticationRequiredException
-
getReader
- Specified by:
getReader
in interfaceModel
- Specified by:
getReader
in interfaceRDFReaderF
-
getReader
- Specified by:
getReader
in interfaceModel
- Specified by:
getReader
in interfaceRDFReaderF
-
getRequiredProperty
public SecuredStatement getRequiredProperty(Resource s, Property p) throws ReadDeniedException, AuthenticationRequiredException . If the PropertyNotFoundException was thrown by the enclosed securedModel and the user can not read Triple(s, p, SecNode.ANY) AccessDeniedException is thrown, otherwise the PropertyNotFoundException will be thrown.- Specified by:
getRequiredProperty
in interfaceModel
- Throws:
ReadDeniedException
PropertyNotFoundException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on the returned statement, Read on Triple(s, p, SecNode.ANY) if PropertyNotFoundException was thrown
-
getRequiredProperty
public SecuredStatement getRequiredProperty(Resource s, Property p, String lang) throws ReadDeniedException, AuthenticationRequiredException . If the PropertyNotFoundException was thrown by the enclosed securedModel and the user can not read Triple(s, p, SecNode.ANY) AccessDeniedException is thrown, otherwise the PropertyNotFoundException will be thrown.- Specified by:
getRequiredProperty
in interfaceModel
- Throws:
ReadDeniedException
PropertyNotFoundException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on the returned statement, Read on Triple(s, p, SecNode.ANY) if PropertyNotFoundException was thrown
-
getResource
- Specified by:
getResource
in interfaceModel
-
getResource
Deprecated.- Specified by:
getResource
in interfaceModelCon
-
getWriter
- Specified by:
getWriter
in interfaceModel
- Specified by:
getWriter
in interfaceRDFWriterF
-
getWriter
- Specified by:
getWriter
in interfaceModel
- Specified by:
getWriter
in interfaceRDFWriterF
-
independent
public boolean independent()- Specified by:
independent
in interfaceModel
-
intersection
- Specified by:
intersection
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all triples contributed to the new securedModel.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty model will be returned.
-
isClosed
public boolean isClosed() -
isEmpty
- Specified by:
isEmpty
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then true will be returned.
-
isIsomorphicWith
public boolean isIsomorphicWith(Model g) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
isIsomorphicWith
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read all compared triples. Triples that can not be read will not
be compared.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then true will be returned if g is empty.
-
isReified
- Specified by:
isReified
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on s as triple, Read on at least one set reified statements.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then false will be returned.
-
leaveCriticalSection
public void leaveCriticalSection()- Specified by:
leaveCriticalSection
in interfaceLock
-
listLiteralStatements
public SecuredStatementIterator listLiteralStatements(Resource subject, Property predicate, boolean object) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listLiteralStatements
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all triples returned.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listLiteralStatements
public SecuredStatementIterator listLiteralStatements(Resource subject, Property predicate, char object) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listLiteralStatements
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all triples returned.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listLiteralStatements
public SecuredStatementIterator listLiteralStatements(Resource subject, Property predicate, double object) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listLiteralStatements
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all triples returned.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listLiteralStatements
public SecuredStatementIterator listLiteralStatements(Resource subject, Property predicate, float object) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listLiteralStatements
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all triples returned.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listLiteralStatements
public SecuredStatementIterator listLiteralStatements(Resource subject, Property predicate, long object) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listLiteralStatements
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all triples returned.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listLiteralStatements
public SecuredStatementIterator listLiteralStatements(Resource subject, Property predicate, int object) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listLiteralStatements
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all triples returned.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listNameSpaces
- Specified by:
listNameSpaces
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listObjects
public SecuredNodeIterator<RDFNode> listObjects() throws ReadDeniedException, AuthenticationRequiredException- Specified by:
listObjects
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on each RDFNode returned
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listObjectsOfProperty
public SecuredNodeIterator<RDFNode> listObjectsOfProperty(Property p) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listObjectsOfProperty
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on each RDFNode returned
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listObjectsOfProperty
public SecuredNodeIterator<RDFNode> listObjectsOfProperty(Resource s, Property p) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listObjectsOfProperty
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on each RDFNode returned
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listReifiedStatements
public SecuredRSIterator listReifiedStatements() throws ReadDeniedException, AuthenticationRequiredException- Specified by:
listReifiedStatements
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on each Reified statement returned
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listReifiedStatements
public SecuredRSIterator listReifiedStatements(Statement st) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listReifiedStatements
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on each Reified statement returned
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listResourcesWithProperty
public SecuredResIterator listResourcesWithProperty(Property p) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listResourcesWithProperty
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read at least one Triple( resource, p, o ) for each resource
returned.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listResourcesWithProperty
public SecuredResIterator listResourcesWithProperty(Property p, boolean o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listResourcesWithProperty
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read at least one Triple( resource, p, o ) for each resource
returned.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listResourcesWithProperty
public SecuredResIterator listResourcesWithProperty(Property p, char o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listResourcesWithProperty
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read at least one Triple( resource, p, o ) for each resource
returned.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listResourcesWithProperty
public SecuredResIterator listResourcesWithProperty(Property p, double o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listResourcesWithProperty
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read at least one Triple( resource, p, o ) for each resource
returned.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listResourcesWithProperty
public SecuredResIterator listResourcesWithProperty(Property p, float o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listResourcesWithProperty
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read at least one Triple( resource, p, o ) for each resource
returned.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listResourcesWithProperty
public SecuredResIterator listResourcesWithProperty(Property p, long o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listResourcesWithProperty
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read at least one Triple( resource, p, o ) for each resource
returned.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listResourcesWithProperty
public SecuredResIterator listResourcesWithProperty(Property p, Object o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listResourcesWithProperty
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read at least one Triple( resource, p, o ) for each resource
returned.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listResourcesWithProperty
public SecuredResIterator listResourcesWithProperty(Property p, RDFNode o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listResourcesWithProperty
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read at least one Triple( resource, p, o ) for each resource
returned.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listStatements
public SecuredStatementIterator listStatements() throws ReadDeniedException, AuthenticationRequiredException- Specified by:
listStatements
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all triples returned
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listStatements
public SecuredStatementIterator listStatements(Resource s, Property p, RDFNode o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listStatements
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all triples returned
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listStatements
public SecuredStatementIterator listStatements(Resource subject, Property predicate, String object) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listStatements
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all triples returned
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listStatements
public SecuredStatementIterator listStatements(Resource subject, Property predicate, String object, String lang) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listStatements
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all triples returned
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listStatements
public SecuredStatementIterator listStatements(Selector s) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listStatements
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all triples returned
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listSubjects
public SecuredResIterator listSubjects() throws ReadDeniedException, AuthenticationRequiredException- Specified by:
listSubjects
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read at least one Triple( s, p, o ) for each resource returned
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listSubjectsWithProperty
public SecuredResIterator listSubjectsWithProperty(Property p) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listSubjectsWithProperty
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read at least one Triple( resource, p, o ) for each resource
returned
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listSubjectsWithProperty
public SecuredResIterator listSubjectsWithProperty(Property p, RDFNode o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listSubjectsWithProperty
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read at least one Triple( resource, p, o ) for each resource
returned
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listSubjectsWithProperty
public SecuredResIterator listSubjectsWithProperty(Property p, String o) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listSubjectsWithProperty
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read at least one Triple( resource, p, o ) for each resource
returned
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
listSubjectsWithProperty
public SecuredResIterator listSubjectsWithProperty(Property p, String o, String l) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
listSubjectsWithProperty
in interfaceModelCon
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read at least one Triple( resource, p, o ) for each resource
returned
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty iterator will be returned.
-
lock
- Specified by:
lock
in interfacePrefixMapping
- Specified by:
lock
in interfaceSecuredPrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.UpdateDeniedException
- Required graph permissions:
- Update
-
notifyEvent
- Specified by:
notifyEvent
in interfaceModel
-
qnameFor
- Specified by:
qnameFor
in interfacePrefixMapping
- Specified by:
qnameFor
in interfaceSecuredPrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access thennull
will be returned.
-
query
- Specified by:
query
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty model will be returned.
-
read
public SecuredModel read(InputStream in, String base) throws UpdateDeniedException, AuthenticationRequiredException - Specified by:
read
in interfaceModel
- Throws:
UpdateDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
-
read
public SecuredModel read(InputStream in, String base, String lang) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
read
in interfaceModel
- Throws:
UpdateDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.ReadDeniedException
- Required graph permissions:
- Update
-
read
public SecuredModel read(Reader reader, String base) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
read
in interfaceModel
- Throws:
UpdateDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.ReadDeniedException
- Required graph permissions:
- Update
-
read
public SecuredModel read(Reader reader, String base, String lang) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
read
in interfaceModel
- Throws:
UpdateDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.ReadDeniedException
- Required graph permissions:
- Update
-
read
- Specified by:
read
in interfaceModel
- Throws:
UpdateDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.ReadDeniedException
- Required graph permissions:
- Update
-
read
public SecuredModel read(String url, String lang) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
read
in interfaceModel
- Throws:
UpdateDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.ReadDeniedException
- Required graph permissions:
- Update
-
read
public SecuredModel read(String url, String base, String lang) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
read
in interfaceModel
- Throws:
UpdateDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.ReadDeniedException
- Required graph permissions:
- Update
-
register
public SecuredModel register(ModelChangedListener listener) throws ReadDeniedException, AuthenticationRequiredException Listener will be filtered to only report events that the user can see.- Specified by:
register
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then listener will not be registered but no exception will be thrown
-
remove
public SecuredModel remove(List<Statement> statements) throws UpdateDeniedException, DeleteDeniedException, AuthenticationRequiredException - Specified by:
remove
in interfaceModel
- Throws:
UpdateDeniedException
DeleteDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Delete on every statement in statements.
-
remove
public SecuredModel remove(Model m) throws UpdateDeniedException, DeleteDeniedException, AuthenticationRequiredException - Specified by:
remove
in interfaceModelCon
- Throws:
UpdateDeniedException
DeleteDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Delete on every statement in baseModel.
-
remove
public SecuredModel remove(Resource s, Property p, RDFNode o) throws UpdateDeniedException, DeleteDeniedException, AuthenticationRequiredException - Specified by:
remove
in interfaceModelCon
- Throws:
UpdateDeniedException
DeleteDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Delete on Triple( s, p, o )
-
remove
public SecuredModel remove(Statement s) throws UpdateDeniedException, DeleteDeniedException, AuthenticationRequiredException - Specified by:
remove
in interfaceModel
- Throws:
UpdateDeniedException
DeleteDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Delete on statement.
-
remove
public SecuredModel remove(Statement[] statements) throws UpdateDeniedException, DeleteDeniedException, AuthenticationRequiredException - Specified by:
remove
in interfaceModel
- Throws:
UpdateDeniedException
DeleteDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Delete on every statement in statements.
-
remove
public SecuredModel remove(StmtIterator iter) throws UpdateDeniedException, DeleteDeniedException, AuthenticationRequiredException - Specified by:
remove
in interfaceModelCon
- Throws:
UpdateDeniedException
DeleteDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Delete on every statement in iter.
-
removeAll
public SecuredModel removeAll() throws UpdateDeniedException, DeleteDeniedException, AuthenticationRequiredException- Specified by:
removeAll
in interfaceModel
- Throws:
UpdateDeniedException
DeleteDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Delete on every statement in the securedModel
-
removeAll
public SecuredModel removeAll(Resource s, Property p, RDFNode r) throws UpdateDeniedException, DeleteDeniedException, AuthenticationRequiredException - Specified by:
removeAll
in interfaceModel
- Throws:
UpdateDeniedException
DeleteDeniedException
AuthenticationRequiredException
-
removeAllReifications
public void removeAllReifications(Statement s) throws UpdateDeniedException, DeleteDeniedException, AuthenticationRequiredException - Specified by:
removeAllReifications
in interfaceModel
- Throws:
UpdateDeniedException
DeleteDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Delete on every reification statement for each statement in statements.
-
removeNsPrefix
public SecuredModel removeNsPrefix(String prefix) throws UpdateDeniedException, AuthenticationRequiredException - Specified by:
removeNsPrefix
in interfaceModel
- Specified by:
removeNsPrefix
in interfacePrefixMapping
- Specified by:
removeNsPrefix
in interfaceSecuredPrefixMapping
- Throws:
UpdateDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
-
clearNsPrefixMap
- Specified by:
clearNsPrefixMap
in interfaceModel
- Specified by:
clearNsPrefixMap
in interfacePrefixMapping
- Throws:
UpdateDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
-
removeReification
public void removeReification(ReifiedStatement rs) throws UpdateDeniedException, DeleteDeniedException, AuthenticationRequiredException - Specified by:
removeReification
in interfaceModel
- Throws:
UpdateDeniedException
DeleteDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
- Required triple permissions:
- Delete on every reification statement fore each statement in rs.
-
setNsPrefix
public SecuredModel setNsPrefix(String prefix, String uri) throws UpdateDeniedException, AuthenticationRequiredException - Specified by:
setNsPrefix
in interfaceModel
- Specified by:
setNsPrefix
in interfacePrefixMapping
- Specified by:
setNsPrefix
in interfaceSecuredPrefixMapping
- Throws:
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.UpdateDeniedException
- Required graph permissions:
- Update
-
setNsPrefixes
public SecuredModel setNsPrefixes(Map<String, String> map) throws UpdateDeniedException, AuthenticationRequiredException- Specified by:
setNsPrefixes
in interfaceModel
- Specified by:
setNsPrefixes
in interfacePrefixMapping
- Specified by:
setNsPrefixes
in interfaceSecuredPrefixMapping
- Throws:
AddDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.UpdateDeniedException
- Required graph permissions:
- Update
-
shortForm
- Specified by:
shortForm
in interfacePrefixMapping
- Specified by:
shortForm
in interfaceSecuredPrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then @{code uri} will be returned.
-
hasNoMappings
public boolean hasNoMappings()- Specified by:
hasNoMappings
in interfacePrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then @{code true} will be returned.
-
numPrefixes
public int numPrefixes()- Specified by:
numPrefixes
in interfacePrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then 0 will be returned.
-
size
- Specified by:
size
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then 0 will be returned.
-
supportsSetOperations
public boolean supportsSetOperations()- Specified by:
supportsSetOperations
in interfaceModel
-
supportsTransactions
public boolean supportsTransactions()- Specified by:
supportsTransactions
in interfaceModel
-
union
- Specified by:
union
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all statements contributed to the union.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then an empty model will be returned.
-
unregister
- Specified by:
unregister
in interfaceModel
-
wrapAsResource
- Specified by:
wrapAsResource
in interfaceModelGraphInterface
-
write
public SecuredModel write(OutputStream out) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
write
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all statements that are written.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then no data will be written.
-
write
public SecuredModel write(OutputStream out, String lang) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
write
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all statements that are written.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then no data will be written.
-
write
public SecuredModel write(OutputStream out, String lang, String base) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
write
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all statements that are written.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then no data will be written.
-
write
public SecuredModel write(Writer writer) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
write
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all statements that are written.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then no data will be written.
-
write
public SecuredModel write(Writer writer, String lang) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
write
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all statements that are written.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then no data will be written.
-
write
public SecuredModel write(Writer writer, String lang, String base) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
write
in interfaceModel
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
- Required triple permissions:
- Read on all statements that are written.
if
SecurityEvaluator.isHardReadError()
is true and the user does not have read access then no data will be written.
-