org.eclipse.rdf4j.repository.event.base

## Class RepositoryConnectionListenerAdapter

- java.lang.Object
- - org.eclipse.rdf4j.repository.event.base.RepositoryConnectionListenerAdapter

- All Implemented Interfaces:
    RepositoryConnectionListener

      public class RepositoryConnectionListenerAdapter
      extends Object
      implements RepositoryConnectionListener

  Author:
    Herko ter Horst

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RepositoryConnectionListenerAdapter()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts)`
    `void` | `begin(RepositoryConnection conn)`
    `void` | `clear(RepositoryConnection conn, Resource... contexts)`
    `void` | `clearNamespaces(RepositoryConnection conn)`
    `void` | `close(RepositoryConnection conn)`
    `void` | `commit(RepositoryConnection conn)`
    `void` | `execute(RepositoryConnection conn, QueryLanguage ql, String update, String baseURI, Update operation)`
    `void` | `remove(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts)`
    `void` | `removeNamespace(RepositoryConnection conn, String prefix)`
    `void` | `rollback(RepositoryConnection conn)`
    `void` | `setAutoCommit(RepositoryConnection conn, boolean autoCommit)` Deprecated.
    `void` | `setNamespace(RepositoryConnection conn, String prefix, String name)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RepositoryConnectionListenerAdapter

          public RepositoryConnectionListenerAdapter()

  - ### Method Detail

    - #### close

          public void close(RepositoryConnection conn)

      Specified by:
        `close` in interface `RepositoryConnectionListener`

    - #### setAutoCommit

          @Deprecated
          public void setAutoCommit(RepositoryConnection conn,
                                                boolean autoCommit)

      Deprecated.
      Specified by:
        `setAutoCommit` in interface `RepositoryConnectionListener`

    - #### begin

          public void begin(RepositoryConnection conn)

      Specified by:
        `begin` in interface `RepositoryConnectionListener`

    - #### commit

          public void commit(RepositoryConnection conn)

      Specified by:
        `commit` in interface `RepositoryConnectionListener`

    - #### rollback

          public void rollback(RepositoryConnection conn)

      Specified by:
        `rollback` in interface `RepositoryConnectionListener`

    - #### add

          public void add(RepositoryConnection conn,
                          Resource subject,
                          IRI predicate,
                          Value object,
                          Resource... contexts)

      Specified by:
        `add` in interface `RepositoryConnectionListener`

    - #### remove

          public void remove(RepositoryConnection conn,
                             Resource subject,
                             IRI predicate,
                             Value object,
                             Resource... contexts)

      Specified by:
        `remove` in interface `RepositoryConnectionListener`

    - #### clear

          public void clear(RepositoryConnection conn,
                            Resource... contexts)

      Specified by:
        `clear` in interface `RepositoryConnectionListener`

    - #### setNamespace

          public void setNamespace(RepositoryConnection conn,
                                   String prefix,
                                   String name)

      Specified by:
        `setNamespace` in interface `RepositoryConnectionListener`

    - #### removeNamespace

          public void removeNamespace(RepositoryConnection conn,
                                      String prefix)

      Specified by:
        `removeNamespace` in interface `RepositoryConnectionListener`

    - #### clearNamespaces

          public void clearNamespaces(RepositoryConnection conn)

      Specified by:
        `clearNamespaces` in interface `RepositoryConnectionListener`

    - #### execute

          public void execute(RepositoryConnection conn,
                              QueryLanguage ql,
                              String update,
                              String baseURI,
                              Update operation)

      Specified by:
        `execute` in interface `RepositoryConnectionListener`

Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.