Package org.alfresco.repo.domain.schema
Class SchemaBootstrapRegistration
- java.lang.Object
-
- org.alfresco.repo.domain.schema.SchemaBootstrapRegistration
-
public class SchemaBootstrapRegistration extends java.lang.ObjectRegisters a list of create scripts.- Since:
- 4.2
- Author:
- Derek Hulley
-
-
Constructor Summary
Constructors Constructor Description SchemaBootstrapRegistration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidregister()Registers all the necessary scripts and patches with theSchemaBootstrap.voidsetPostCreateScriptUrls(java.util.List<java.lang.String> preCreateScriptUrls)voidsetPostUpdateScriptPatches(java.util.List<SchemaUpgradeScriptPatch> postUpdateScriptPatches)voidsetPreCreateScriptUrls(java.util.List<java.lang.String> preCreateScriptUrls)voidsetPreUpdateScriptPatches(java.util.List<SchemaUpgradeScriptPatch> preUpdateScriptPatches)voidsetSchemaBootstrap(SchemaBootstrap schemaBootstrap)voidsetUpdateActivitiScriptPatches(java.util.List<SchemaUpgradeScriptPatch> updateActivitiScriptPatches)
-
-
-
Method Detail
-
setSchemaBootstrap
public void setSchemaBootstrap(SchemaBootstrap schemaBootstrap)
- Parameters:
schemaBootstrap- the component with which to register the URLs
-
setPreCreateScriptUrls
public void setPreCreateScriptUrls(java.util.List<java.lang.String> preCreateScriptUrls)
- Parameters:
preCreateScriptUrls- a list of schema create URLs that will be registered in order.- See Also:
SchemaBootstrap.addPreCreateScriptUrl(String)
-
setPostCreateScriptUrls
public void setPostCreateScriptUrls(java.util.List<java.lang.String> preCreateScriptUrls)
- Parameters:
preCreateScriptUrls- a list of schema create URLs that will be registered in order.- See Also:
SchemaBootstrap.addPostCreateScriptUrl(String)
-
setUpdateActivitiScriptPatches
public void setUpdateActivitiScriptPatches(java.util.List<SchemaUpgradeScriptPatch> updateActivitiScriptPatches)
- Parameters:
updateActivitiScriptPatches- a list of schema upgade script patches for Activiti tables to execute- See Also:
SchemaBootstrap.addUpdateActivitiScriptPatch(org.alfresco.repo.admin.patch.impl.SchemaUpgradeScriptPatch)
-
setPreUpdateScriptPatches
public void setPreUpdateScriptPatches(java.util.List<SchemaUpgradeScriptPatch> preUpdateScriptPatches)
- Parameters:
preUpdateScriptPatches- a list of schema upgade script patches to execute before Hibernate patching- See Also:
SchemaBootstrap.addPreUpdateScriptPatch(org.alfresco.repo.admin.patch.impl.SchemaUpgradeScriptPatch)
-
setPostUpdateScriptPatches
public void setPostUpdateScriptPatches(java.util.List<SchemaUpgradeScriptPatch> postUpdateScriptPatches)
- Parameters:
postUpdateScriptPatches- a list of schema upgade script patches to execute after Hibernate patching- See Also:
SchemaBootstrap.addPostUpdateScriptPatch(org.alfresco.repo.admin.patch.impl.SchemaUpgradeScriptPatch)
-
register
public void register()
Registers all the necessary scripts and patches with theSchemaBootstrap.
-
-