org.alfresco.service.cmr.avm.deploy
Interface DeploymentService

All Known Implementing Classes:
DeploymentServiceImpl

public interface DeploymentService

A service to handle WCM AVM repository to remote AVM repository deployment.


Method Summary
 void deployDifference(int version, java.lang.String srcPath, java.lang.String hostName, int port, java.lang.String userName, java.lang.String password, java.lang.String dstPath, org.alfresco.util.NameMatcher matcher, boolean createDst, boolean dontDelete, boolean dontDo, java.util.List callback)
          Deploys the differences between what is is the local source path and a destination machine's path.
 void deployDifferenceFS(int version, java.lang.String srcPath, java.lang.String adapterName, java.lang.String hostName, int port, java.lang.String userName, java.lang.String password, java.lang.String dstTarget, org.alfresco.util.NameMatcher matcher, boolean createDst, boolean dontDelete, boolean dontDo, java.util.List callback)
          Deploy to a filesystem on another machine.
 java.util.List findLiveDeploymentServers(org.alfresco.service.cmr.repository.NodeRef webProjectRef)
           
 java.util.List findTestDeploymentServers(org.alfresco.service.cmr.repository.NodeRef webProjectRef, boolean availableOnly)
           
 java.util.Set getAdapterNames()
          Get the names of the transport adapters.
 ActionService getRemoteActionService(java.lang.String hostName, int port, java.lang.String userName, java.lang.String password)
          Get A reference to an ActionService instance on a remote Alfresco Server.
 

Method Detail

deployDifference

@Auditable
void deployDifference(int version,
                                java.lang.String srcPath,
                                java.lang.String hostName,
                                int port,
                                java.lang.String userName,
                                java.lang.String password,
                                java.lang.String dstPath,
                                org.alfresco.util.NameMatcher matcher,
                                boolean createDst,
                                boolean dontDelete,
                                boolean dontDo,
                                java.util.List callback)
Deploys the differences between what is is the local source path and a destination machine's path.

Parameters:
version - The local version.
srcPath - The local path.
hostName - The remote hostname.
port - The remote rmi registry port.
userName - The username for authentication.
password - The password for authentication.
dstPath - The destination path corresponding to source path.
createDst - Flag for whether a missing destination should be created.
dontDelete - Don't delete assets at the destination.
dontDo - If this is set then this is a dry run.
callback - A possibly null callback.

getRemoteActionService

@NotAuditable
ActionService getRemoteActionService(java.lang.String hostName,
                                                  int port,
                                                  java.lang.String userName,
                                                  java.lang.String password)
Get A reference to an ActionService instance on a remote Alfresco Server.

Parameters:
hostName -
port -
userName -
password -
Returns:

deployDifferenceFS

@Auditable
void deployDifferenceFS(int version,
                                  java.lang.String srcPath,
                                  java.lang.String adapterName,
                                  java.lang.String hostName,
                                  int port,
                                  java.lang.String userName,
                                  java.lang.String password,
                                  java.lang.String dstTarget,
                                  org.alfresco.util.NameMatcher matcher,
                                  boolean createDst,
                                  boolean dontDelete,
                                  boolean dontDo,
                                  java.util.List callback)
Deploy to a filesystem on another machine.

Parameters:
version - The version to deploy from.
srcPath - The path to deploy from.
adapterName - The name of the transport adapter to connect to the remote system. The value "default" means use the traditional RMI used for versions of Alfresco prior to 3.0
hostName - The hostname of the filesystem receiver.
port - The port to connect to.
userName - The username for authentication of the target
password - The password for authentication of the target
dstTarget - The target on the deployment receiver.
createDst - Flag for whether a missing destination should be created.
dontDelete - Don't delete deleted nodes from destination.
dontDo - If this is set, this is a dry run.
callback - A possibly null callback.

getAdapterNames

@NotAuditable
java.util.Set getAdapterNames()
Get the names of the transport adapters.

Returns:
the adapters

findLiveDeploymentServers

@NotAuditable
java.util.List findLiveDeploymentServers(org.alfresco.service.cmr.repository.NodeRef webProjectRef)

findTestDeploymentServers

@NotAuditable
java.util.List findTestDeploymentServers(org.alfresco.service.cmr.repository.NodeRef webProjectRef,
                                                      boolean availableOnly)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.