public class AVMZipBootstrap
extends org.springframework.extensions.surf.util.AbstractLifecycleBean
| Constructor and Description |
|---|
AVMZipBootstrap() |
| Modifier and Type | Method and Description |
|---|---|
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
|
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.AbstractLifecycleBeanCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.