org.apache.lenya.cms.publishing
Class ResourcePublishingEnvironment

java.lang.Object
  extended by org.apache.lenya.cms.publishing.PublishingEnvironment
      extended by org.apache.lenya.cms.publishing.ResourcePublishingEnvironment
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable

public class ResourcePublishingEnvironment
extends PublishingEnvironment

DOCUMENT ME!


Field Summary
static java.lang.String PARAMETER_RESOURCE_AUTHORING_PATH
           
static java.lang.String PARAMETER_RESOURCE_LIVE_PATH
           
 
Fields inherited from class org.apache.lenya.cms.publishing.PublishingEnvironment
CONFIGURATION_FILE, PARAMETER_AUTHORING_PATH, PARAMETER_EXPORT_PATH, PARAMETER_LIVE_PATH, PARAMETER_REPLICATION_PATH, PARAMETER_SUBSTITUTE_REGEXP, PARAMETER_SUBSTITUTE_REPLACEMENT, PARAMETER_TREE_AUTHORING_PATH, PARAMETER_TREE_LIVE_PATH, PUBLICATION_PATH, PUBLICATION_PREFIX
 
Constructor Summary
ResourcePublishingEnvironment(java.lang.String publicationPath)
          Creates a new ResourcePublishingEnvironment object.
ResourcePublishingEnvironment(java.lang.String contextPath, java.lang.String publicationId)
          Creates a new ResourcePublishingEnvironment object.
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
          DOCUMENT ME!
 java.lang.String getResourceAuthoringPath()
          Get the authoring resource path.
 java.lang.String getResourceLivePath()
          Get the live resource path.
protected  void setResourceAuthoringPath(java.lang.String path)
          Set the authoring resource path.
protected  void setResourceLivePath(java.lang.String path)
          Set the live resource path.
 
Methods inherited from class org.apache.lenya.cms.publishing.PublishingEnvironment
getAuthoringPath, getExportDirectory, getLivePath, getPublicationDirectory, getPublicationPath, getPublicationPath, getReplicationDirectory, getSubstituteExpression, getSubstituteReplacement, getTreeAuthoringPath, getTreeLivePath, setAuthoringPath, setExportDirectory, setLivePath, setPublicationPath, setReplicationDirectory, setSubstituteExpression, setSubstituteReplacementExpression, setTreeAuthoringPath, setTreeLivePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAMETER_RESOURCE_AUTHORING_PATH

public static final java.lang.String PARAMETER_RESOURCE_AUTHORING_PATH
See Also:
Constant Field Values

PARAMETER_RESOURCE_LIVE_PATH

public static final java.lang.String PARAMETER_RESOURCE_LIVE_PATH
See Also:
Constant Field Values
Constructor Detail

ResourcePublishingEnvironment

public ResourcePublishingEnvironment(java.lang.String contextPath,
                                     java.lang.String publicationId)
Creates a new ResourcePublishingEnvironment object.

Parameters:
contextPath - DOCUMENT ME!
publicationId - DOCUMENT ME!

ResourcePublishingEnvironment

public ResourcePublishingEnvironment(java.lang.String publicationPath)
Creates a new ResourcePublishingEnvironment object.

Parameters:
publicationPath - DOCUMENT ME!
Method Detail

configure

public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
DOCUMENT ME!

Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Overrides:
configure in class PublishingEnvironment
Parameters:
configuration - DOCUMENT ME!
Throws:
org.apache.avalon.framework.configuration.ConfigurationException - DOCUMENT ME!

getResourceLivePath

public java.lang.String getResourceLivePath()
Get the live resource path.

Returns:
a String value

setResourceLivePath

protected void setResourceLivePath(java.lang.String path)
Set the live resource path.

Parameters:
path - a String value

getResourceAuthoringPath

public java.lang.String getResourceAuthoringPath()
Get the authoring resource path.

Returns:
a String value

setResourceAuthoringPath

protected void setResourceAuthoringPath(java.lang.String path)
Set the authoring resource path.

Parameters:
path - a String value


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