Interface SecuredPrefixMapping
- All Superinterfaces:
PrefixMapping
,SecuredItem
- All Known Subinterfaces:
SecuredModel
- All Known Implementing Classes:
SecuredModelImpl
,SecuredPrefixMappingImpl
The interface for secured PrefixMapping instances.
Use the SecuredPrefixMapping.Factory to create instances
-
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 interface org.apache.jena.shared.PrefixMapping
Extended, Standard
-
Method Summary
Modifier and TypeMethodDescriptionexpandPrefix
(String prefixed) getNsPrefixURI
(String prefix) getNsURIPrefix
(String uri) lock()
removeNsPrefix
(String prefix) boolean
samePrefixMappingAs
(PrefixMapping other) setNsPrefix
(String prefix, String uri) setNsPrefixes
(Map<String, String> map) setNsPrefixes
(PrefixMapping other) Methods inherited from interface org.apache.jena.shared.PrefixMapping
clearNsPrefixMap, hasNoMappings, numPrefixes
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
-
expandPrefix
- Specified by:
expandPrefix
in interfacePrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
-
getNsPrefixMap
- Specified by:
getNsPrefixMap
in interfacePrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
-
getNsPrefixURI
- Specified by:
getNsPrefixURI
in interfacePrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
-
getNsURIPrefix
- Specified by:
getNsURIPrefix
in interfacePrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
-
lock
- Specified by:
lock
in interfacePrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
-
qnameFor
- Specified by:
qnameFor
in interfacePrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
-
removeNsPrefix
PrefixMapping removeNsPrefix(String prefix) throws ReadDeniedException, AuthenticationRequiredException - Specified by:
removeNsPrefix
in interfacePrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
-
setNsPrefix
PrefixMapping setNsPrefix(String prefix, String uri) throws UpdateDeniedException, AuthenticationRequiredException - Specified by:
setNsPrefix
in interfacePrefixMapping
- Throws:
UpdateDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
-
setNsPrefixes
PrefixMapping setNsPrefixes(Map<String, String> map) throws UpdateDeniedException, AuthenticationRequiredException- Specified by:
setNsPrefixes
in interfacePrefixMapping
- Throws:
UpdateDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Update
-
shortForm
- Specified by:
shortForm
in interfacePrefixMapping
- Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is required to be.- Required graph permissions:
- Read
-