Package org.alfresco.repo.domain.schema
Class SchemaBootstrapRegistration
java.lang.Object
org.alfresco.repo.domain.schema.SchemaBootstrapRegistration
Registers a list of create scripts.
- Since:
- 4.2
- Author:
- Derek Hulley
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregister()Registers all the necessary scripts and patches with theSchemaBootstrap.voidsetDifferenceHelper(SchemaDifferenceHelper differenceHelper) voidsetPostCreateScriptUrls(List<String> preCreateScriptUrls) voidsetPostUpdateScriptPatches(List<SchemaUpgradeScriptPatch> postUpdateScriptPatches) voidsetPreCreateScriptUrls(List<String> preCreateScriptUrls) voidsetPreUpdateScriptPatches(List<SchemaUpgradeScriptPatch> preUpdateScriptPatches) voidsetSchemaBootstrap(SchemaBootstrap schemaBootstrap) voidsetUpdateActivitiScriptPatches(List<SchemaUpgradeScriptPatch> updateActivitiScriptPatches)
-
Constructor Details
-
SchemaBootstrapRegistration
public SchemaBootstrapRegistration()
-
-
Method Details
-
setSchemaBootstrap
- Parameters:
schemaBootstrap- the component with which to register the URLs
-
setDifferenceHelper
- Parameters:
differenceHelper- the component with which to register upgrade script pacthes
-
setPreCreateScriptUrls
- Parameters:
preCreateScriptUrls- a list of schema create URLs that will be registered in order.- See Also:
-
setPostCreateScriptUrls
- Parameters:
preCreateScriptUrls- a list of schema create URLs that will be registered in order.- See Also:
-
setUpdateActivitiScriptPatches
public void setUpdateActivitiScriptPatches(List<SchemaUpgradeScriptPatch> updateActivitiScriptPatches) - Parameters:
updateActivitiScriptPatches- a list of schema upgade script patches for Activiti tables to execute- See Also:
-
setPreUpdateScriptPatches
- Parameters:
preUpdateScriptPatches- a list of schema upgade script patches to execute before Hibernate patching- See Also:
-
setPostUpdateScriptPatches
- Parameters:
postUpdateScriptPatches- a list of schema upgade script patches to execute after Hibernate patching- See Also:
-
register
public void register()Registers all the necessary scripts and patches with theSchemaBootstrap.
-