Class SpaceConcealer
java.lang.Object
com.atlassian.confluence.impl.space.deletion.concealing.SpaceConcealer
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 Summary
ConstructorsConstructorDescriptionSpaceConcealer
(SpaceDaoInternal spaceDao, SpaceKeyNameRenamer spaceKeyNameRenamer, BandanaPersister bandanaPersister, SpacePermissionManagerInternal spacePermissionManager, com.atlassian.event.api.EventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clearAllCircularReferences
(long spaceId) Without deleting of the circular references, it won't be possible to delete space object.cloneSpace
(long spaceId) void
conceal
(long spaceId) It performs all preparations so the space key could be reused again; plus, the space should become hidden for users.
-
Constructor Details
-
SpaceConcealer
public SpaceConcealer(SpaceDaoInternal spaceDao, SpaceKeyNameRenamer spaceKeyNameRenamer, BandanaPersister bandanaPersister, SpacePermissionManagerInternal spacePermissionManager, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
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
-
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.
-