public interface DeploymentReceiverService
| Modifier and Type | Method and Description |
|---|---|
void |
abort(String ticket)
Signals that the deployment should be aborted and
rolled back.
|
DeploymentToken |
begin(String target,
String storeName,
int version,
String user,
char[] password)
Start a deployment.
|
void |
commit(String ticket)
Signals that the deployment should commit.
|
void |
createDirectory(String ticket,
String path,
String guid,
Set<String> aspects,
Map<String,Serializable> properties)
Create a new directory.
|
void |
delete(String ticket,
String path)
Delete a file or directory.
|
List<FileDescriptor> |
getListing(String ticket,
String path)
Get a listing of a directory.
|
void |
prepare(String ticket)
Signals that the deployment should prepare
|
OutputStream |
send(String ticket,
boolean create,
String path,
String guid,
String encoding,
String mimeType,
Set<String> aspects,
Map<String,Serializable> properties)
Send a file to a path.
|
void |
updateDirectory(String ticket,
String path,
String guid,
Set<String> aspects,
Map<String,Serializable> properties)
Set the Guid (Version) on a directory.
|
DeploymentToken begin(String target, String storeName, int version, String user, char[] password)
storeName - - the name of the store being deployed.target - The target to deploy to. A target is simply a key
to a receiver side deployment configuration.version - - the version being deployed.user - The user name for authentication.password - The password for the user.void prepare(String ticket)
ticket - The transaction ticket.void commit(String ticket)
ticket - The transaction ticket.void abort(String ticket)
ticket - OutputStream send(String ticket, boolean create, String path, String guid, String encoding, String mimeType, Set<String> aspects, Map<String,Serializable> properties)
ticket - create - - true new filepath - guid - encoding - mimeType - aspects - - full qualified names of the aspects that this file is associated with.props - - map of full qualified names and property values.void createDirectory(String ticket, String path, String guid, Set<String> aspects, Map<String,Serializable> properties)
ticket - path - guid - The GUID (Version) of the directory to be created.void updateDirectory(String ticket, String path, String guid, Set<String> aspects, Map<String,Serializable> properties)
ticket - path - guid - void delete(String ticket, String path)
ticket - path - List<FileDescriptor> getListing(String ticket, String path)
ticket - path - Copyright © 2005–2014 Alfresco Software. All rights reserved.