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 Summary
ConstructorsConstructorDescriptionHibernateTombstoneDao
(Clock clock, org.hibernate.SessionFactory sessionFactory) -
Method Summary
Modifier and TypeMethodDescription<T extends com.atlassian.crowd.model.tombstone.ApplicationTombstone>
List<T>getTombstonesAfter
(long after, Long applicationId, Class<T> type) <T extends com.atlassian.crowd.model.tombstone.AbstractTombstone>
List<T>getTombstonesAfter
(long after, Collection<Long> directoryIds, Class<T> type) int
removeAllUpTo
(long timestamp) void
storeAliasTombstone
(long applicationId, String username) void
storeEventsTombstone
(String reason) void
storeEventsTombstoneForApplication
(long applicationId) void
storeEventsTombstoneForDirectory
(String reason, long directoryId) void
storeGroupMembershipTombstone
(long directoryId, String childGroupName, String parentGroupName) void
storeGroupTombstones
(long directoryId, Collection<String> names) void
storeUserMembershipTombstone
(long directoryId, String username, String parentGroupName) void
storeUserTombstones
(long directoryId, Collection<String> names)
-
Constructor Details
-
HibernateTombstoneDao
-
-
Method Details
-
storeUserTombstones
- Specified by:
storeUserTombstones
in interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeGroupTombstones
- Specified by:
storeGroupTombstones
in interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeUserMembershipTombstone
- Specified by:
storeUserMembershipTombstone
in interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeGroupMembershipTombstone
public void storeGroupMembershipTombstone(long directoryId, String childGroupName, String parentGroupName) - Specified by:
storeGroupMembershipTombstone
in interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeEventsTombstoneForDirectory
- Specified by:
storeEventsTombstoneForDirectory
in interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeEventsTombstoneForApplication
public void storeEventsTombstoneForApplication(long applicationId) - Specified by:
storeEventsTombstoneForApplication
in interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeEventsTombstone
- Specified by:
storeEventsTombstone
in interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeAliasTombstone
- Specified by:
storeAliasTombstone
in interfacecom.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 interfacecom.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 interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
removeAllUpTo
public int removeAllUpTo(long timestamp) - Specified by:
removeAllUpTo
in interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-