|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.extensions.surf.util.AbstractLifecycleBean
org.alfresco.repo.importer.AVMZipBootstrap
public class AVMZipBootstrap
A Bootstrap-time Importer which allows the loading of part of an AVM filesystem from a Zip file
| Field Summary |
|---|
| Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean |
|---|
log |
| Constructor Summary | |
|---|---|
AVMZipBootstrap()
|
|
| Method Summary | |
|---|---|
void |
bootstrap()
Bootstrap the Repository |
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event)
|
protected void |
onShutdown(org.springframework.context.ApplicationEvent event)
|
void |
setAllowWrite(boolean write)
Set whether we write or not |
void |
setAuthenticationContext(AuthenticationContext authenticationContext)
Set the authentication component |
void |
setAvmRoot(java.lang.String avmRoot)
Sets the Root of the AVM store to import to. |
void |
setAvmService(AVMService avmService)
Sets the AVM Service to be used for exporting from |
void |
setAvmZipImporter(AVMZipImporter avmZipImporter)
Sets the AVM Importer to be used for importing to |
void |
setLocation(java.lang.String location)
Sets the location of the zip file to import from |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Sets the node service |
void |
setRetryingTransactionHelper(RetryingTransactionHelper retryingTransactionHelper)
Sets the retrying transaction helper specific to the importer bootstrap. |
void |
setTransactionService(TransactionService transactionService)
Sets the Transaction Service |
| Methods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean |
|---|
getApplicationContext, onApplicationEvent, setApplicationContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AVMZipBootstrap()
| Method Detail |
|---|
public void setAllowWrite(boolean write)
write - true (default) if the import must go ahead, otherwise no import will occurpublic void setAvmRoot(java.lang.String avmRoot)
public void setLocation(java.lang.String location)
public void setAvmZipImporter(AVMZipImporter avmZipImporter)
avmZipImporter - The AVM Importer Servicepublic void setAvmService(AVMService avmService)
avmService - The AVM Servicepublic void setTransactionService(TransactionService transactionService)
userTransaction - the transaction servicepublic void setRetryingTransactionHelper(RetryingTransactionHelper retryingTransactionHelper)
retryingTransactionHelper - the retrying transaction helperpublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - the node servicepublic void setAuthenticationContext(AuthenticationContext authenticationContext)
authenticationContext - public void bootstrap()
protected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap in class org.springframework.extensions.surf.util.AbstractLifecycleBeanprotected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown in class org.springframework.extensions.surf.util.AbstractLifecycleBean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||