public class AVMDeploymentTarget extends Object implements Serializable, org.alfresco.deployment.DeploymentTarget
| Constructor and Description |
|---|
AVMDeploymentTarget() |
| Modifier and Type | Method and Description |
|---|---|
void |
abort(String ticket) |
String |
begin(String targetName,
String storeName,
int version,
String user,
char[] password)
Implementation of begin for ASR
|
void |
commit(String ticket) |
void |
createDirectory(String ticket,
String path,
String guid,
Set<String> aspects,
Map<String,Serializable> props)
Create new directory
|
void |
delete(String ticket,
String path)
Delete a file or directory
|
org.alfresco.deployment.impl.server.DeploymentReceiverAuthenticator |
getAuthenticator() |
int |
getCurrentVersion(String target,
String storeName) |
List<org.alfresco.deployment.FileDescriptor> |
getListing(String ticket,
String path)
Get listing
|
String |
getName()
Get the target name.
|
List<org.alfresco.deployment.FSDeploymentRunnable> |
getPostCommit() |
List<org.alfresco.deployment.FSDeploymentRunnable> |
getPrepare() |
String |
getProxyUser() |
String |
getRootPath() |
String |
getStoreNamePattern() |
TransactionService |
getTransactionService() |
void |
init()
initialise this target
|
void |
prepare(String ticket) |
OutputStream |
send(String ticket,
boolean create,
String path,
String guid,
String encoding,
String mimeType,
Set<String> aspects,
Map<String,Serializable> props)
Send
|
void |
setAuthenticator(org.alfresco.deployment.impl.server.DeploymentReceiverAuthenticator authenticator) |
void |
setAvmService(AVMService service)
Setter.
|
void |
setPostCommit(List<org.alfresco.deployment.FSDeploymentRunnable> postCommit) |
void |
setPrepare(List<org.alfresco.deployment.FSDeploymentRunnable> prepare) |
void |
setProxyUser(String proxyUser) |
void |
setRootPath(String rootPath)
The root path is the root for deployed files.
|
void |
setStoreNamePattern(String storeNamePattern) |
void |
setTransactionService(TransactionService trxService) |
void |
updateDirectory(String ticket,
String path,
String guid,
Set<String> aspects,
Map<String,Serializable> props) |
public void setAuthenticator(org.alfresco.deployment.impl.server.DeploymentReceiverAuthenticator authenticator)
public org.alfresco.deployment.impl.server.DeploymentReceiverAuthenticator getAuthenticator()
public void setAvmService(AVMService service)
service - The instance to set.public void init()
public String getName()
public String begin(String targetName, String storeName, int version, String user, char[] password)
begin in interface org.alfresco.deployment.DeploymentTargetpublic void prepare(String ticket)
prepare in interface org.alfresco.deployment.DeploymentTargetpublic void abort(String ticket)
abort in interface org.alfresco.deployment.DeploymentTargetpublic void commit(String ticket)
commit in interface org.alfresco.deployment.DeploymentTargetpublic void delete(String ticket, String path)
delete in interface org.alfresco.deployment.DeploymentTargetpublic List<org.alfresco.deployment.FileDescriptor> getListing(String ticket, String path)
getListing in interface org.alfresco.deployment.DeploymentTargetpublic void createDirectory(String ticket, String path, String guid, Set<String> aspects, Map<String,Serializable> props)
createDirectory in interface org.alfresco.deployment.DeploymentTargetpublic OutputStream send(String ticket, boolean create, String path, String guid, String encoding, String mimeType, Set<String> aspects, Map<String,Serializable> props)
send in interface org.alfresco.deployment.DeploymentTargetpublic void updateDirectory(String ticket, String path, String guid, Set<String> aspects, Map<String,Serializable> props)
updateDirectory in interface org.alfresco.deployment.DeploymentTargetpublic void setPostCommit(List<org.alfresco.deployment.FSDeploymentRunnable> postCommit)
public List<org.alfresco.deployment.FSDeploymentRunnable> getPostCommit()
public void setPrepare(List<org.alfresco.deployment.FSDeploymentRunnable> prepare)
public List<org.alfresco.deployment.FSDeploymentRunnable> getPrepare()
public void setTransactionService(TransactionService trxService)
public TransactionService getTransactionService()
public void setRootPath(String rootPath)
rootPath - public String getRootPath()
public int getCurrentVersion(String target, String storeName)
getCurrentVersion in interface org.alfresco.deployment.DeploymentTargetpublic void setStoreNamePattern(String storeNamePattern)
public String getStoreNamePattern()
public void setProxyUser(String proxyUser)
public String getProxyUser()
Copyright © 2005–2014 Alfresco Software. All rights reserved.