java.lang.Object
com.atlassian.confluence.impl.space.deletion.backgrounddeletion.erasers.ContentEntityObjectEraser
All Implemented Interfaces:
EntityEraser

public class ContentEntityObjectEraser extends Object implements EntityEraser

Deletes records from CONTENT table. This table has its own specific eraser for four reasons:

  • CONTENT table keeps data for plenty of hibernate entities, pages, blog posts, comments, etc
  • It contains a few different tree structures inside (parent - child, page - inner object, parent comment - child comment, etc). All those trees use their own columns for organising it.
  • It also has to delete artificial objects in CONFANCESTORS table.
  • It has to send events when pages are deleted.

Therefore, we have need a special eraser to do the work above properly.

Since:
9.1.0