java.lang.Object
com.atlassian.confluence.impl.space.deletion.concealing.SpaceConcealer

@Transactional public class SpaceConcealer extends Object
It is responsible for hiding a space, so the space key could be re-used again immediately. In addition, the space should not be returned in the space list and its content should not be accessible and searchable.
Since:
9.1.0
  • Constructor Details

  • Method Details

    • conceal

      @Transactional(propagation=REQUIRES_NEW) public void conceal(long spaceId)
      It performs all preparations so the space key could be reused again; plus, the space should become hidden for users.
    • cloneSpace

      @Transactional(propagation=REQUIRES_NEW, readOnly=true) public Space cloneSpace(long spaceId)
    • clearAllCircularReferences

      @Transactional(propagation=REQUIRES_NEW) public void clearAllCircularReferences(long spaceId)
      Without deleting of the circular references, it won't be possible to delete space object.