|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.module.AbstractModuleComponent
org.alfresco.repo.module.ImporterModuleComponent
public class ImporterModuleComponent
Generic module component that can be wired up to import data into the system.
Field Summary |
---|
Fields inherited from class org.alfresco.repo.module.AbstractModuleComponent |
---|
authenticationComponent, moduleService, serviceRegistry |
Constructor Summary | |
---|---|
ImporterModuleComponent()
|
Method Summary | |
---|---|
protected void |
checkProperties()
Checks for the presence of all generally-required properties. |
protected void |
executeInternal()
The method that performs the actual work. |
void |
setBootstrapView(java.util.Properties bootstrapView)
Set a list of bootstrap views to import. This is an alternative to ImporterModuleComponent.setBootstrapViews(List) . |
void |
setBootstrapViews(java.util.List bootstrapViews)
Set a list of bootstrap views to import. This is an alternative to ImporterModuleComponent.setBootstrapView(Properties) . |
void |
setImporter(ImporterBootstrap importer)
Set the helper that has details of the store to load the data into. |
Methods inherited from class org.alfresco.repo.module.AbstractModuleComponent |
---|
equals, execute, getAppliesFromVersionNumber, getAppliesToVersionNumber, getDependsOn, getDescription, getModuleId, getName, getSinceVersionNumber, hashCode, init, isExecuteOnceOnly, setAppliesFromVersion, setAppliesToVersion, setAuthenticationComponent, setBeanName, setDependsOn, setDescription, setExecuteOnceOnly, setModuleId, setModuleService, setName, setServiceRegistry, setSinceVersion, setTenantAdminService, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImporterModuleComponent()
Method Detail |
---|
public void setImporter(ImporterBootstrap importer)
importer
- the bootstrap bean that performs the store bootstrap.public void setBootstrapView(java.util.Properties bootstrapView)
ImporterModuleComponent.setBootstrapViews(List)
.
bootstrapView
- the bootstrap data locationImporterBootstrap.setBootstrapViews(List)
public void setBootstrapViews(java.util.List bootstrapViews)
ImporterModuleComponent.setBootstrapView(Properties)
.
bootstrapViews
- the bootstrap data locationsImporterBootstrap.setBootstrapViews(List)
protected void checkProperties()
AbstractModuleComponent
checkProperties
in class AbstractModuleComponent
protected void executeInternal() throws java.lang.Throwable
AbstractModuleComponent
executeInternal
in class AbstractModuleComponent
java.lang.Throwable
- any problems, just throw them
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |