public interface SecuredPrefixMapping extends PrefixMapping, SecuredItem
PrefixMapping.Factory, PrefixMapping.IllegalPrefixException, PrefixMapping.JenaLockedException
SecuredItem.Util
Extended, Standard
Modifier and Type | Method and Description |
---|---|
String |
expandPrefix(String prefixed) |
Map<String,String> |
getNsPrefixMap() |
String |
getNsPrefixURI(String prefix) |
String |
getNsURIPrefix(String uri) |
SecuredPrefixMapping |
lock() |
String |
qnameFor(String uri) |
SecuredPrefixMapping |
removeNsPrefix(String prefix) |
boolean |
samePrefixMappingAs(PrefixMapping other) |
SecuredPrefixMapping |
setNsPrefix(String prefix,
String uri) |
SecuredPrefixMapping |
setNsPrefixes(Map<String,String> map) |
SecuredPrefixMapping |
setNsPrefixes(PrefixMapping other) |
String |
shortForm(String uri) |
SecuredPrefixMapping |
withDefaultMappings(PrefixMapping map) |
clearNsPrefixMap, hasNoMappings, numPrefixes
canCreate, canCreate, canCreate, canDelete, canDelete, canDelete, canRead, canRead, canRead, canUpdate, canUpdate, canUpdate, equals, getBaseItem, getModelIRI, getModelNode, getSecurityEvaluator, isEquivalent
String expandPrefix(String prefixed) throws ReadDeniedException, AuthenticationRequiredException
expandPrefix
in interface PrefixMapping
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.Map<String,String> getNsPrefixMap() throws ReadDeniedException, AuthenticationRequiredException
getNsPrefixMap
in interface PrefixMapping
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.String getNsPrefixURI(String prefix) throws ReadDeniedException, AuthenticationRequiredException
getNsPrefixURI
in interface PrefixMapping
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.String getNsURIPrefix(String uri) throws ReadDeniedException, AuthenticationRequiredException
getNsURIPrefix
in interface PrefixMapping
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.SecuredPrefixMapping lock() throws ReadDeniedException, AuthenticationRequiredException
lock
in interface PrefixMapping
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.String qnameFor(String uri) throws ReadDeniedException, AuthenticationRequiredException
qnameFor
in interface PrefixMapping
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.SecuredPrefixMapping removeNsPrefix(String prefix) throws ReadDeniedException, AuthenticationRequiredException
removeNsPrefix
in interface PrefixMapping
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.boolean samePrefixMappingAs(PrefixMapping other) throws ReadDeniedException, AuthenticationRequiredException
samePrefixMappingAs
in interface PrefixMapping
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.SecuredPrefixMapping setNsPrefix(String prefix, String uri) throws UpdateDeniedException, AuthenticationRequiredException
setNsPrefix
in interface PrefixMapping
UpdateDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.SecuredPrefixMapping setNsPrefixes(Map<String,String> map) throws UpdateDeniedException, AuthenticationRequiredException
setNsPrefixes
in interface PrefixMapping
UpdateDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.SecuredPrefixMapping setNsPrefixes(PrefixMapping other) throws UpdateDeniedException, AuthenticationRequiredException
setNsPrefixes
in interface PrefixMapping
UpdateDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.String shortForm(String uri) throws ReadDeniedException, AuthenticationRequiredException
shortForm
in interface PrefixMapping
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.SecuredPrefixMapping withDefaultMappings(PrefixMapping map) throws UpdateDeniedException, AuthenticationRequiredException
withDefaultMappings
in interface PrefixMapping
UpdateDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.Licensed under the Apache License, Version 2.0