Class HibernateTombstoneDao

java.lang.Object
com.atlassian.confluence.impl.user.crowd.hibernate.HibernateTombstoneDao
All Implemented Interfaces:
com.atlassian.crowd.dao.tombstone.TombstoneDao

public final class HibernateTombstoneDao extends Object implements com.atlassian.crowd.dao.tombstone.TombstoneDao
Since:
7.11.0
  • Constructor Details

    • HibernateTombstoneDao

      public HibernateTombstoneDao(Clock clock, org.hibernate.SessionFactory sessionFactory)
  • Method Details

    • storeUserTombstones

      public void storeUserTombstones(long directoryId, Collection<String> names)
      Specified by:
      storeUserTombstones in interface com.atlassian.crowd.dao.tombstone.TombstoneDao
    • storeGroupTombstones

      public void storeGroupTombstones(long directoryId, Collection<String> names)
      Specified by:
      storeGroupTombstones in interface com.atlassian.crowd.dao.tombstone.TombstoneDao
    • storeUserMembershipTombstone

      public void storeUserMembershipTombstone(long directoryId, String username, String parentGroupName)
      Specified by:
      storeUserMembershipTombstone in interface com.atlassian.crowd.dao.tombstone.TombstoneDao
    • storeGroupMembershipTombstone

      public void storeGroupMembershipTombstone(long directoryId, String childGroupName, String parentGroupName)
      Specified by:
      storeGroupMembershipTombstone in interface com.atlassian.crowd.dao.tombstone.TombstoneDao
    • storeEventsTombstoneForDirectory

      public void storeEventsTombstoneForDirectory(String reason, long directoryId)
      Specified by:
      storeEventsTombstoneForDirectory in interface com.atlassian.crowd.dao.tombstone.TombstoneDao
    • storeEventsTombstoneForApplication

      public void storeEventsTombstoneForApplication(long applicationId)
      Specified by:
      storeEventsTombstoneForApplication in interface com.atlassian.crowd.dao.tombstone.TombstoneDao
    • storeEventsTombstone

      public void storeEventsTombstone(String reason)
      Specified by:
      storeEventsTombstone in interface com.atlassian.crowd.dao.tombstone.TombstoneDao
    • storeAliasTombstone

      public void storeAliasTombstone(long applicationId, String username)
      Specified by:
      storeAliasTombstone in interface com.atlassian.crowd.dao.tombstone.TombstoneDao
    • getTombstonesAfter

      public <T extends com.atlassian.crowd.model.tombstone.AbstractTombstone> List<T> getTombstonesAfter(long after, Collection<Long> directoryIds, Class<T> type)
      Specified by:
      getTombstonesAfter in interface com.atlassian.crowd.dao.tombstone.TombstoneDao
    • getTombstonesAfter

      public <T extends com.atlassian.crowd.model.tombstone.ApplicationTombstone> List<T> getTombstonesAfter(long after, Long applicationId, Class<T> type)
      Specified by:
      getTombstonesAfter in interface com.atlassian.crowd.dao.tombstone.TombstoneDao
    • removeAllUpTo

      public int removeAllUpTo(long timestamp)
      Specified by:
      removeAllUpTo in interface com.atlassian.crowd.dao.tombstone.TombstoneDao