Class SecuredGraphEventManager
java.lang.Object
org.apache.jena.permissions.graph.SecuredGraphEventManager
- All Implemented Interfaces:
GraphEventManager
,GraphListener
Since we sit between the graph and other items we have to determine when the
message is first seen and send it to the underlying graph if necessary.
-
Constructor Summary
ConstructorsConstructorDescriptionSecuredGraphEventManager
(SecuredGraph securedGraph, Graph baseGraph, GraphEventManager manager) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
notifyAddArray
(Graph g, Triple[] triples) void
notifyAddGraph
(Graph g, Graph added) void
notifyAddIterator
(Graph g, Iterator<Triple> it) void
notifyAddIterator
(Graph g, List<Triple> triples) void
notifyAddList
(Graph g, List<Triple> triples) void
notifyAddTriple
(Graph g, Triple t) void
notifyDeleteArray
(Graph g, Triple[] triples) void
notifyDeleteGraph
(Graph g, Graph removed) void
notifyDeleteIterator
(Graph g, Iterator<Triple> it) void
notifyDeleteIterator
(Graph g, List<Triple> triples) void
notifyDeleteList
(Graph g, List<Triple> L) void
notifyDeleteTriple
(Graph g, Triple t) void
notifyEvent
(Graph source, Object value) register
(GraphListener listener) unregister
(GraphListener listener)
-
Constructor Details
-
SecuredGraphEventManager
public SecuredGraphEventManager(SecuredGraph securedGraph, Graph baseGraph, GraphEventManager manager)
-
-
Method Details
-
listening
public boolean listening()- Specified by:
listening
in interfaceGraphEventManager
-
notifyAddArray
- Specified by:
notifyAddArray
in interfaceGraphListener
- Throws:
AuthenticationRequiredException
-
notifyAddGraph
- Specified by:
notifyAddGraph
in interfaceGraphListener
- Throws:
AuthenticationRequiredException
-
notifyAddIterator
- Specified by:
notifyAddIterator
in interfaceGraphListener
- Throws:
AuthenticationRequiredException
-
notifyAddIterator
- Specified by:
notifyAddIterator
in interfaceGraphEventManager
- Throws:
AuthenticationRequiredException
-
notifyAddList
- Specified by:
notifyAddList
in interfaceGraphListener
- Throws:
AuthenticationRequiredException
-
notifyAddTriple
- Specified by:
notifyAddTriple
in interfaceGraphListener
- Throws:
AuthenticationRequiredException
-
notifyDeleteArray
- Specified by:
notifyDeleteArray
in interfaceGraphListener
- Throws:
AuthenticationRequiredException
-
notifyDeleteGraph
- Specified by:
notifyDeleteGraph
in interfaceGraphListener
- Throws:
AuthenticationRequiredException
-
notifyDeleteIterator
public void notifyDeleteIterator(Graph g, Iterator<Triple> it) throws AuthenticationRequiredException - Specified by:
notifyDeleteIterator
in interfaceGraphListener
- Throws:
AuthenticationRequiredException
-
notifyDeleteIterator
public void notifyDeleteIterator(Graph g, List<Triple> triples) throws AuthenticationRequiredException - Specified by:
notifyDeleteIterator
in interfaceGraphEventManager
- Throws:
AuthenticationRequiredException
-
notifyDeleteList
- Specified by:
notifyDeleteList
in interfaceGraphListener
- Throws:
AuthenticationRequiredException
-
notifyDeleteTriple
- Specified by:
notifyDeleteTriple
in interfaceGraphListener
- Throws:
AuthenticationRequiredException
-
notifyEvent
- Specified by:
notifyEvent
in interfaceGraphListener
- Throws:
AuthenticationRequiredException
-
register
- Specified by:
register
in interfaceGraphEventManager
-
unregister
- Specified by:
unregister
in interfaceGraphEventManager
-