org.apache.lenya.cms.publishing
Interface Publisher

All Known Implementing Classes:
AbstractFilePublisher, AbstractPublisher, DefaultFilePublisher, ResourceFilePublisher

public interface Publisher

A Publisher is used to copy XML sources from the authoring server to the pending server.


Method Summary
 void publish(java.lang.String publicationPath, java.lang.String authoringPath, java.lang.String treeAuthoringPath, java.lang.String resourcesAuthoringPath, java.lang.String livePath, java.lang.String treeLivePath, java.lang.String resourcesLivePath, java.lang.String replicationPath, java.lang.String[] sources)
          Publish a document.
 

Method Detail

publish

void publish(java.lang.String publicationPath,
             java.lang.String authoringPath,
             java.lang.String treeAuthoringPath,
             java.lang.String resourcesAuthoringPath,
             java.lang.String livePath,
             java.lang.String treeLivePath,
             java.lang.String resourcesLivePath,
             java.lang.String replicationPath,
             java.lang.String[] sources)
             throws PublishingException
Publish a document.

Parameters:
publicationPath - path to the publication
authoringPath - path to the authoring directory
treeAuthoringPath - path to the authoring tree
resourcesAuthoringPath - path to the authoring resources
resourcesLivePath - path to the live resources
livePath - path to the live directory
treeLivePath - path to the live tree
replicationPath - path to the replication directory
sources - array of xml sources to be published
Throws:
PublishingException - if an error occurs


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.