public class DMDeploymentTarget extends Object implements Serializable, org.alfresco.deployment.DeploymentTarget
| Constructor and Description |
|---|
DMDeploymentTarget() |
| 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 DMR
|
void |
commit(String ticket) |
void |
createDirectory(String ticket,
String path,
String guid,
Set<String> aspects,
Map<String,Serializable> props)
DMR Implementation of create new directory
|
void |
delete(String ticket,
String path)
DMR Implementation of delete a file or directory
|
org.alfresco.deployment.impl.server.DeploymentReceiverAuthenticator |
getAuthenticator() |
int |
getCurrentVersion(String target,
String storeName) |
org.alfresco.service.cmr.dictionary.DictionaryService |
getDictionaryService() |
FileFolderService |
getFileFolderService() |
List<org.alfresco.deployment.FileDescriptor> |
getListing(String ticket,
String path)
DMR implementation of getListing
|
String |
getName()
Get the target name.
|
NodeService |
getNodeService() |
List<org.alfresco.deployment.FSDeploymentRunnable> |
getPostCommit() |
List<org.alfresco.deployment.FSDeploymentRunnable> |
getPrepare() |
RootLocator |
getRootLocator() |
SearchService |
getSearchService() |
StoreNameMapper |
getStoreNameMapper() |
String |
getStoreRef() |
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)
DMR Implementation of Send
|
void |
setAuthenticator(org.alfresco.deployment.impl.server.DeploymentReceiverAuthenticator authenticator) |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
void |
setExcludedProps(List<String> excludedProps) |
void |
setFileFolderService(FileFolderService fileFolderService) |
void |
setNodeService(NodeService nodeService) |
void |
setPostCommit(List<org.alfresco.deployment.FSDeploymentRunnable> postCommit) |
void |
setPrepare(List<org.alfresco.deployment.FSDeploymentRunnable> prepare) |
void |
setRootLocator(RootLocator rootLocator) |
void |
setSearchService(SearchService searchService) |
void |
setStoreNameMapper(StoreNameMapper nameMapper) |
void |
setStoreRef(String storeRef) |
void |
setTransactionService(TransactionService trxService) |
void |
updateDirectory(String ticket,
String path,
String guid,
Set<String> aspects,
Map<String,Serializable> props)
DMR implementation of update directory
|
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 int getCurrentVersion(String target, String storeName)
getCurrentVersion 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 setFileFolderService(FileFolderService fileFolderService)
public FileFolderService getFileFolderService()
public void setNodeService(NodeService nodeService)
public NodeService getNodeService()
public void setSearchService(SearchService searchService)
public SearchService getSearchService()
public void setAuthenticator(org.alfresco.deployment.impl.server.DeploymentReceiverAuthenticator authenticator)
public org.alfresco.deployment.impl.server.DeploymentReceiverAuthenticator getAuthenticator()
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
public org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
public void setStoreNameMapper(StoreNameMapper nameMapper)
public StoreNameMapper getStoreNameMapper()
public void setRootLocator(RootLocator rootLocator)
public RootLocator getRootLocator()
public void setStoreRef(String storeRef)
public String getStoreRef()
Copyright © 2005–2014 Alfresco Software. All rights reserved.