public abstract class AbstractDenormalisedPermissionsIntegrationTestBase
extends AbstractInjectableConfluenceSingleContextSpringPersistenceTest
Modifier and Type | Field and Description |
---|---|
protected ConfluenceUser |
admin |
protected BulkPermissionService |
bulkPermissionService |
ContentPermissionManagerInternal |
contentPermissionManager |
protected DenormalisedContentChangeLogDao |
denormalisedContentChangeLogDao |
protected DenormalisedPermissionsDdlExecutor |
denormalisedPermissionsDdlExecutor |
protected DenormalisedPermissionStateManagerImpl |
denormalisedPermissionStateManager |
protected DenormalisedSpaceChangeLogDao |
denormalisedSpaceChangeLogDao |
com.atlassian.event.api.EventPublisher |
eventPublisher |
protected PageManager |
pageManager |
static int |
SERVICE_READY_TIMEOUT |
protected SpaceDaoInternal |
spaceDao |
SpaceManager |
spaceManager |
SpacePermissionManagerInternal |
spacePermissionManager |
protected ItStateManager |
state |
Constructor and Description |
---|
AbstractDenormalisedPermissionsIntegrationTestBase() |
Modifier and Type | Method and Description |
---|---|
void |
clearEverything() |
protected Page |
createPage(String title,
String content,
Page parentPage,
Space space) |
protected Page |
createPage(String title,
String content,
Page parentPage,
Space space,
String contentStatus) |
protected void |
deleteContentRecordFromDB(long pageId) |
protected void |
deleteSpace(long spaceId) |
protected void |
disableServiceAndWaitUntilItsReady() |
protected void |
enableServiceAndWaitUntilItsReady() |
protected String |
getDialectName() |
protected void |
processLogRecords() |
protected void |
removeAllChangeLogRecords() |
void |
setUpBase() |
protected void |
waitForServiceState(DenormalisedPermissionServiceState requiredServiceState,
DenormalisedServiceStateRecord.ServiceType serviceType) |
protected void |
waitUntilApiIsEnabled(boolean enabled) |
public static final int SERVICE_READY_TIMEOUT
@Inject protected DenormalisedPermissionsDdlExecutor denormalisedPermissionsDdlExecutor
@Inject protected PageManager pageManager
@Inject protected SpaceDaoInternal spaceDao
@Inject protected DenormalisedSpaceChangeLogDao denormalisedSpaceChangeLogDao
@Inject protected DenormalisedContentChangeLogDao denormalisedContentChangeLogDao
@Inject protected BulkPermissionService bulkPermissionService
@Inject protected DenormalisedPermissionStateManagerImpl denormalisedPermissionStateManager
protected ConfluenceUser admin
@Inject public SpacePermissionManagerInternal spacePermissionManager
@Inject public ContentPermissionManagerInternal contentPermissionManager
@Inject public SpaceManager spaceManager
@Inject public com.atlassian.event.api.EventPublisher eventPublisher
protected ItStateManager state
public AbstractDenormalisedPermissionsIntegrationTestBase()
public void setUpBase()
public void clearEverything() throws InterruptedException
InterruptedException
protected String getDialectName()
protected void enableServiceAndWaitUntilItsReady() throws InterruptedException
InterruptedException
protected void waitUntilApiIsEnabled(boolean enabled) throws InterruptedException
InterruptedException
protected void waitForServiceState(DenormalisedPermissionServiceState requiredServiceState, DenormalisedServiceStateRecord.ServiceType serviceType) throws InterruptedException
InterruptedException
protected void disableServiceAndWaitUntilItsReady() throws InterruptedException
InterruptedException
protected void processLogRecords()
protected void removeAllChangeLogRecords()
protected void deleteSpace(long spaceId)
protected void deleteContentRecordFromDB(long pageId)
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences