public class DenormalisedPermissionsDdlExecutor extends Object
Constructor and Description |
---|
DenormalisedPermissionsDdlExecutor(org.hibernate.SessionFactory sessionFactory,
org.springframework.transaction.PlatformTransactionManager txManager) |
Modifier and Type | Method and Description |
---|---|
void |
activateContentTriggers() |
void |
activateSpaceTriggers() |
void |
createContentDatabaseObjects(boolean enableService)
Creates all required content database objects except tables (they are managed by Hibernate)
|
void |
createSpaceDatabaseObjects(boolean enableService)
Creates all required space database objects except tables (they are managed by Hibernate)
|
void |
deactivateContentTriggers() |
void |
deactivateSpaceTriggers() |
void |
dropAdditionalContentIndexes() |
void |
dropContentDatabaseObjects() |
void |
dropSpaceDatabaseObjects() |
List<CreateIndexCommand> |
getAdditionalContentIndexes(DdlExecutor ddlExecutor)
Returns only content indexes.
|
List<CreateIndexCommand> |
getAdditionalIndexes(DdlExecutor ddlExecutor)
Return all indexes.
|
List<CreateIndexCommand> |
getAdditionalSpaceIndexes(DdlExecutor ddlExecutor)
Returns only space indexes.
|
public DenormalisedPermissionsDdlExecutor(org.hibernate.SessionFactory sessionFactory, org.springframework.transaction.PlatformTransactionManager txManager)
public void createSpaceDatabaseObjects(boolean enableService)
public void createContentDatabaseObjects(boolean enableService)
public void deactivateSpaceTriggers()
public void deactivateContentTriggers()
public void activateSpaceTriggers()
public void activateContentTriggers()
public void dropSpaceDatabaseObjects()
public void dropContentDatabaseObjects()
public List<CreateIndexCommand> getAdditionalIndexes(DdlExecutor ddlExecutor)
ddlExecutor
- ddl executorpublic List<CreateIndexCommand> getAdditionalSpaceIndexes(DdlExecutor ddlExecutor)
ddlExecutor
- ddl executorpublic List<CreateIndexCommand> getAdditionalContentIndexes(DdlExecutor ddlExecutor)
ddlExecutor
- ddl executorpublic void dropAdditionalContentIndexes()
Copyright © 2003–2021 Atlassian. All rights reserved.