Class DatasetGraphAccessControl

java.lang.Object
org.apache.jena.sparql.core.DatasetGraphWrapper
org.apache.jena.fuseki.access.DatasetGraphAccessControl
All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable, org.apache.jena.atlas.lib.Sync, org.apache.jena.sparql.core.DatasetGraph, org.apache.jena.sparql.core.Transactional

public class DatasetGraphAccessControl extends org.apache.jena.sparql.core.DatasetGraphWrapper
DatasetGraph layer that carries an AuthorizationService.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.jena.sparql.core.Transactional

    org.apache.jena.sparql.core.Transactional.Promote
  • Method Summary

    Modifier and Type
    Method
    Description
     
    static org.apache.jena.sparql.core.DatasetGraph
    removeWrapper(org.apache.jena.sparql.core.DatasetGraph dsg)
    Return the underlying DatasetGraph.
    static org.apache.jena.sparql.core.DatasetGraph
    unwrapOrNull(org.apache.jena.sparql.core.DatasetGraph dsg)
    Return the underlying DatasetGraph.

    Methods inherited from class org.apache.jena.sparql.core.DatasetGraphWrapper

    abort, add, add, addGraph, begin, begin, begin, clear, close, commit, contains, contains, containsGraph, delete, delete, deleteAny, end, find, find, find, findNG, getBase, getBaseForQuery, getContext, getDefaultGraph, getGraph, getLock, getUnionGraph, getWrapped, isEmpty, isInTransaction, listGraphNodes, prefixes, promote, promote, removeGraph, size, supportsTransactionAbort, supportsTransactions, sync, toString, transactionMode, transactionType, unwrap

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.jena.sparql.core.DatasetGraph

    addAll, stream, stream

    Methods inherited from interface org.apache.jena.sparql.core.Transactional

    calc, calculate, calculateRead, calculateWrite, exec, execute, executeRead, executeWrite
  • Method Details

    • getAuthService

      public AuthorizationService getAuthService()
    • removeWrapper

      public static org.apache.jena.sparql.core.DatasetGraph removeWrapper(org.apache.jena.sparql.core.DatasetGraph dsg)
      Return the underlying DatasetGraph. If the argument is not a DatasetGraphAccessControl, return the argument.
    • unwrapOrNull

      public static org.apache.jena.sparql.core.DatasetGraph unwrapOrNull(org.apache.jena.sparql.core.DatasetGraph dsg)
      Return the underlying DatasetGraph. If the argument is not a DatasetGraphAccessControl, return null.