public class StoreSession
extends java.lang.Object
implements java.io.Serializable
A session of interactions with a triple store.
Each store session has an access level that determines what data it can read and write.
Modifier and Type | Method and Description |
---|---|
AccessLevel |
getAccessLevel()
Get the store session's access level
|
boolean |
isOfTripleStore(TripleStore store)
Determine whether this session was created by
a particular triple store.
|
public AccessLevel getAccessLevel() throws TripleStoreNonFatalException
Get the store session's access level
The access level must not be null, deleted, or being replaced.
Note that a session can always read its own access level, because the superior-to relation on access levels is reflexive.
TripleStoreNonFatalException
public boolean isOfTripleStore(TripleStore store) throws TripleStoreNonFatalException
store
- a triple storeTripleStoreNonFatalException