Class AbstractBulkActionTest
java.lang.Object
it.com.atlassian.confluence.AbstractInjectableConfluenceSingleContextSpringPersistenceTest
it.com.atlassian.confluence.testsupport.AbstractBulkActionTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public abstract class AbstractBulkActionTest
extends AbstractInjectableConfluenceSingleContextSpringPersistenceTest
-
Nested Class Summary
Nested classes/interfaces inherited from class it.com.atlassian.confluence.AbstractInjectableConfluenceSingleContextSpringPersistenceTest
AbstractInjectableConfluenceSingleContextSpringPersistenceTest.InitThreadLocalCacheRule -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AttachmentDaoprotected LabelManagerprotected com.atlassian.beehive.ClusterLockServiceprotected NotificationManagerprotected PageDaoInternalprotected PageManagerprotected SpaceDaoprotected SpaceManagerprotected SpacePermissionManagerInternalprotected TestDataCreatorprotected com.atlassian.user.UserManagerFields inherited from class it.com.atlassian.confluence.AbstractInjectableConfluenceSingleContextSpringPersistenceTest
executorService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidinit()protected final voidremoveAllPages(org.hibernate.Session session, Space deleteSpace) protected final voidremoveSpace(org.hibernate.Session session, Space deleteSpace) protected final ThreadrunInThread(CountDownLatch latch, Runnable runnable) Methods inherited from class it.com.atlassian.confluence.AbstractInjectableConfluenceSingleContextSpringPersistenceTest
configureContainerManager, deleteAll, doInIsolatedTransaction, doInIsolatedTransaction, doInReadOnlyTransaction, doInReadOnlyTransaction, doInTransaction, doInTransaction, findAll, getApplicationContext, getDataSource, getSession, getSessionFactory, getTransactionManager, initBaseUrl, initLicense, loadResource, logConnectionPoolState, setApplicationContext
-
Field Details
-
initThreadLocalCacheRule
public AbstractInjectableConfluenceSingleContextSpringPersistenceTest.InitThreadLocalCacheRule initThreadLocalCacheRule -
lockService
@Inject protected com.atlassian.beehive.ClusterLockService lockService -
pageManager
-
spaceManager
-
labelManager
-
userManager
@Inject protected com.atlassian.user.UserManager userManager -
notificationManager
-
pageDao
-
spaceDao
-
attachmentDao
-
spacePermissionManager
@Named("spacePermissionManagerTarget") @Inject protected SpacePermissionManagerInternal spacePermissionManager -
testDataCreator
-
-
Constructor Details
-
AbstractBulkActionTest
public AbstractBulkActionTest()
-
-
Method Details
-
init
@PostConstruct public final void init() -
runInThread
-
removeSpace
-
removeAllPages
-