java.lang.Object
com.atlassian.confluence.security.denormalisedpermissions.impl.setup.h2triggers.H2ContentPermissionTrigger
All Implemented Interfaces:
org.h2.api.Trigger

public class H2ContentPermissionTrigger extends Object implements org.h2.api.Trigger
H2 triggers for content_perm table. Triggers handle all changes in the table, and insert records to DENORMALISED_CONTENT_CHANGE_LOG.
Since:
7.11.0
  • Field Summary

    Fields inherited from interface org.h2.api.Trigger

    DELETE, INSERT, SELECT, UPDATE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    For SonarCube: we must implement this method, but we do not need to initialise anything here.
    void
    fire(Connection connection, Object[] oldValues, Object[] newValues)
     
    void
    init(Connection connection, String s, String s1, String s2, boolean b, int i)
    For SonarCube: we must implement this method, but we do not need to initialise anything here.
    void
    For SonarCube: we must implement this method, but we do not need to initialise anything here.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • H2ContentPermissionTrigger

      public H2ContentPermissionTrigger()
  • Method Details

    • init

      public void init(Connection connection, String s, String s1, String s2, boolean b, int i) throws SQLException
      For SonarCube: we must implement this method, but we do not need to initialise anything here.
      Specified by:
      init in interface org.h2.api.Trigger
      Throws:
      SQLException
    • fire

      public void fire(Connection connection, Object[] oldValues, Object[] newValues) throws SQLException
      Specified by:
      fire in interface org.h2.api.Trigger
      Throws:
      SQLException
    • close

      public void close() throws SQLException
      For SonarCube: we must implement this method, but we do not need to initialise anything here.
      Specified by:
      close in interface org.h2.api.Trigger
      Throws:
      SQLException
    • remove

      public void remove() throws SQLException
      For SonarCube: we must implement this method, but we do not need to initialise anything here.
      Specified by:
      remove in interface org.h2.api.Trigger
      Throws:
      SQLException