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
Constructors Constructor Description HibernateTombstoneDao(Clock clock, org.hibernate.SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <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)intremoveAllUpTo(long timestamp)voidstoreAliasTombstone(long applicationId, String username)voidstoreEventsTombstone(String reason)voidstoreEventsTombstoneForApplication(long applicationId)voidstoreEventsTombstoneForDirectory(String reason, long directoryId)voidstoreGroupMembershipTombstone(long directoryId, String childGroupName, String parentGroupName)voidstoreGroupTombstones(long directoryId, Collection<String> names)voidstoreUserMembershipTombstone(long directoryId, String username, String parentGroupName)voidstoreUserTombstones(long directoryId, Collection<String> names)
-
-
-
Constructor Detail
-
HibernateTombstoneDao
public HibernateTombstoneDao(Clock clock, org.hibernate.SessionFactory sessionFactory)
-
-
Method Detail
-
storeUserTombstones
public void storeUserTombstones(long directoryId, Collection<String> names)- Specified by:
storeUserTombstonesin interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeGroupTombstones
public void storeGroupTombstones(long directoryId, Collection<String> names)- Specified by:
storeGroupTombstonesin interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeUserMembershipTombstone
public void storeUserMembershipTombstone(long directoryId, String username, String parentGroupName)- Specified by:
storeUserMembershipTombstonein interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeGroupMembershipTombstone
public void storeGroupMembershipTombstone(long directoryId, String childGroupName, String parentGroupName)- Specified by:
storeGroupMembershipTombstonein interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeEventsTombstoneForDirectory
public void storeEventsTombstoneForDirectory(String reason, long directoryId)
- Specified by:
storeEventsTombstoneForDirectoryin interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeEventsTombstoneForApplication
public void storeEventsTombstoneForApplication(long applicationId)
- Specified by:
storeEventsTombstoneForApplicationin interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeEventsTombstone
public void storeEventsTombstone(String reason)
- Specified by:
storeEventsTombstonein interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeAliasTombstone
public void storeAliasTombstone(long applicationId, String username)- Specified by:
storeAliasTombstonein 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:
getTombstonesAfterin 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:
getTombstonesAfterin interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
removeAllUpTo
public int removeAllUpTo(long timestamp)
- Specified by:
removeAllUpToin interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
-