public class SchemaBootstrapRegistration extends Object
Constructor and Description |
---|
SchemaBootstrapRegistration() |
Modifier and Type | Method and Description |
---|---|
void |
register()
Registers all the necessary scripts and patches with the
SchemaBootstrap . |
void |
setPostCreateScriptUrls(List<String> preCreateScriptUrls) |
void |
setPostUpdateScriptPatches(List<SchemaUpgradeScriptPatch> postUpdateScriptPatches) |
void |
setPreCreateScriptUrls(List<String> preCreateScriptUrls) |
void |
setPreUpdateScriptPatches(List<SchemaUpgradeScriptPatch> preUpdateScriptPatches) |
void |
setSchemaBootstrap(SchemaBootstrap schemaBootstrap) |
void |
setUpdateActivitiScriptPatches(List<SchemaUpgradeScriptPatch> updateActivitiScriptPatches) |
public void setSchemaBootstrap(SchemaBootstrap schemaBootstrap)
schemaBootstrap
- the component with which to register the URLspublic void setPreCreateScriptUrls(List<String> preCreateScriptUrls)
preCreateScriptUrls
- a list of schema create URLs that will be registered in order.SchemaBootstrap.addPreCreateScriptUrl(String)
public void setPostCreateScriptUrls(List<String> preCreateScriptUrls)
preCreateScriptUrls
- a list of schema create URLs that will be registered in order.SchemaBootstrap.addPostCreateScriptUrl(String)
public void setUpdateActivitiScriptPatches(List<SchemaUpgradeScriptPatch> updateActivitiScriptPatches)
updateActivitiScriptPatches
- a list of schema upgade script patches for Activiti tables to executeSchemaBootstrap.addUpdateActivitiScriptPatch(org.alfresco.repo.admin.patch.impl.SchemaUpgradeScriptPatch)
public void setPreUpdateScriptPatches(List<SchemaUpgradeScriptPatch> preUpdateScriptPatches)
preUpdateScriptPatches
- a list of schema upgade script patches to execute before Hibernate patchingSchemaBootstrap.addPreUpdateScriptPatch(org.alfresco.repo.admin.patch.impl.SchemaUpgradeScriptPatch)
public void setPostUpdateScriptPatches(List<SchemaUpgradeScriptPatch> postUpdateScriptPatches)
postUpdateScriptPatches
- a list of schema upgade script patches to execute after Hibernate patchingSchemaBootstrap.addPostUpdateScriptPatch(org.alfresco.repo.admin.patch.impl.SchemaUpgradeScriptPatch)
public void register()
SchemaBootstrap
.Copyright © 2005–2017 Alfresco Software. All rights reserved.