public interface DeploymentReceiverService
| Modifier and Type | Method and Description |
|---|---|
void |
abort(java.lang.String ticket)
Signals that the deployment should be aborted and
rolled back.
|
DeploymentToken |
begin(java.lang.String target,
java.lang.String storeName,
int version,
java.lang.String user,
char[] password)
Start a deployment.
|
void |
commit(java.lang.String ticket)
Signals that the deployment should commit.
|
void |
createDirectory(java.lang.String ticket,
java.lang.String path,
java.lang.String guid,
java.util.Set aspects,
java.util.Map properties)
Create a new directory.
|
void |
delete(java.lang.String ticket,
java.lang.String path)
Delete a file or directory.
|
java.util.List |
getListing(java.lang.String ticket,
java.lang.String path)
Get a listing of a directory.
|
void |
prepare(java.lang.String ticket)
Signals that the deployment should prepare
|
java.io.OutputStream |
send(java.lang.String ticket,
boolean create,
java.lang.String path,
java.lang.String guid,
java.lang.String encoding,
java.lang.String mimeType,
java.util.Set aspects,
java.util.Map properties)
Send a file to a path.
|
void |
updateDirectory(java.lang.String ticket,
java.lang.String path,
java.lang.String guid,
java.util.Set aspects,
java.util.Map properties)
Set the Guid (Version) on a directory.
|
DeploymentToken begin(java.lang.String target, java.lang.String storeName, int version, java.lang.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(java.lang.String ticket)
ticket - The transaction ticket.void commit(java.lang.String ticket)
ticket - The transaction ticket.void abort(java.lang.String ticket)
ticket - java.io.OutputStream send(java.lang.String ticket,
boolean create,
java.lang.String path,
java.lang.String guid,
java.lang.String encoding,
java.lang.String mimeType,
java.util.Set aspects,
java.util.Map 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(java.lang.String ticket,
java.lang.String path,
java.lang.String guid,
java.util.Set aspects,
java.util.Map properties)
ticket - path - guid - The GUID (Version) of the directory to be created.void updateDirectory(java.lang.String ticket,
java.lang.String path,
java.lang.String guid,
java.util.Set aspects,
java.util.Map properties)
ticket - path - guid - void delete(java.lang.String ticket,
java.lang.String path)
ticket - path - java.util.List getListing(java.lang.String ticket,
java.lang.String path)
ticket - path - Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.