This project has retired. For details please refer to its
        
        Attic page.
      
 
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. | 
 
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 publicationauthoringPath - path to the authoring directorytreeAuthoringPath - path to the authoring treeresourcesAuthoringPath - path to the authoring resourcesresourcesLivePath - path to the live resourceslivePath - path to the live directorytreeLivePath - path to the live treereplicationPath - path to the replication directorysources - array of xml sources to be published
- Throws:
 PublishingException - if an error occurs
 
 
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.