public interface SecuredItem
Modifier and Type | Interface and Description |
---|---|
static class |
SecuredItem.Util
Utilities for SecuredItem implementations.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canCreate() |
boolean |
canCreate(FrontsTriple t)
Return true if the fronted triple can be created.
|
boolean |
canCreate(Triple t)
Return true if the triple can be created.
|
boolean |
canDelete() |
boolean |
canDelete(FrontsTriple t)
Return true if the fronted triple can be deleted.
|
boolean |
canDelete(Triple t)
Return true if the triple can be deleted.
|
boolean |
canRead() |
boolean |
canRead(FrontsTriple t)
Return true if the fronted triple can be read.
|
boolean |
canRead(Triple t)
Return true if the triple can be read.
|
boolean |
canUpdate() |
boolean |
canUpdate(FrontsTriple from,
FrontsTriple to)
Return true if the fronted triple can be updated.
|
boolean |
canUpdate(Triple from,
Triple to)
Return true if the triple can be updated.
|
boolean |
equals(Object o) |
Object |
getBaseItem() |
String |
getModelIRI() |
Node |
getModelNode() |
SecurityEvaluator |
getSecurityEvaluator()
The SecurityEvaluator implementation that is being used to determine
access.
|
boolean |
isEquivalent(SecuredItem securedItem)
Return true if this secured item is equivalent to another secured item.
|
boolean canCreate() throws AuthenticationRequiredException
AuthenticationRequiredException
- if user is not authenticated and is required to be.boolean canCreate(Triple t) throws AuthenticationRequiredException
t
- The triple to checkAuthenticationRequiredException
- if user is not authenticated and is required to be.boolean canCreate(FrontsTriple t) throws AuthenticationRequiredException
t
- The fronted triple to checkAuthenticationRequiredException
- if user is not authenticated and is required to be.boolean canDelete() throws AuthenticationRequiredException
AuthenticationRequiredException
- if user is not authenticated and is required to be.boolean canDelete(Triple t) throws AuthenticationRequiredException
t
- The triple to checkAuthenticationRequiredException
- if user is not authenticated and is required to be.boolean canDelete(FrontsTriple t) throws AuthenticationRequiredException
t
- The fronted triple to checkAuthenticationRequiredException
- if user is not authenticated and is required to be.boolean canRead() throws AuthenticationRequiredException
AuthenticationRequiredException
- if user is not authenticated and is required to be.boolean canRead(Triple t) throws AuthenticationRequiredException
t
- The triple to checkAuthenticationRequiredException
- if user is not authenticated and is required to be.boolean canRead(FrontsTriple t) throws AuthenticationRequiredException
t
- The frontedtriple to checkAuthenticationRequiredException
- if user is not authenticated and is required to be.boolean canUpdate() throws AuthenticationRequiredException
AuthenticationRequiredException
- if user is not authenticated and is required to be.boolean canUpdate(Triple from, Triple to) throws AuthenticationRequiredException
from
- The triple that will be changedto
- The resulting triple.AuthenticationRequiredException
- if user is not authenticated and is required to be.boolean canUpdate(FrontsTriple from, FrontsTriple to) throws AuthenticationRequiredException
from
- The fronted triple that will be changedto
- The resulting fronted triple.AuthenticationRequiredException
- if user is not authenticated and is required to be.Object getBaseItem()
String getModelIRI()
Node getModelNode()
SecurityEvaluator getSecurityEvaluator()
boolean isEquivalent(SecuredItem securedItem)
securedItem
- the other secured item.Licensed under the Apache License, Version 2.0