| |
|
| java.lang.Object org.apache.lenya.cms.publishing.PublishingEnvironment
PublishingEnvironment | public class PublishingEnvironment implements Configurable(Code) | | A class that holds various publishing parameters
|
CONFIGURATION_FILE | final public static String CONFIGURATION_FILE(Code) | | CONFIGURATION_FILE The path to the publisher configuration file
|
PARAMETER_AUTHORING_PATH | final public static String PARAMETER_AUTHORING_PATH(Code) | | PARAMETER_AUTHORING_PATH The authoring path
|
PARAMETER_EXPORT_PATH | final public static String PARAMETER_EXPORT_PATH(Code) | | PARAMETER_EXPORT_PATH The export path
|
PARAMETER_LIVE_PATH | final public static String PARAMETER_LIVE_PATH(Code) | | PARAMETER_LIVE_PATH The live path
|
PARAMETER_REPLICATION_PATH | final public static String PARAMETER_REPLICATION_PATH(Code) | | PARAMETER_REPLICATION_PATH The replication path
|
PARAMETER_SUBSTITUTE_REGEXP | final public static String PARAMETER_SUBSTITUTE_REGEXP(Code) | | PARAMETER_SUBSTITUTE_REGEXP The regular expression to use during export
|
PARAMETER_SUBSTITUTE_REPLACEMENT | final public static String PARAMETER_SUBSTITUTE_REPLACEMENT(Code) | | PARAMETER_SUBSTITUTE_REPLACEMENT The replacement value for the regular
expression
|
PARAMETER_TREE_AUTHORING_PATH | final public static String PARAMETER_TREE_AUTHORING_PATH(Code) | | PARAMETER_TREE_AUTHORING_PATH The path to the authoring tree
|
PARAMETER_TREE_LIVE_PATH | final public static String PARAMETER_TREE_LIVE_PATH(Code) | | PARAMETER_TREE_LIVE_PATH The path to the live tree
|
PUBLICATION_PATH | final public static String PUBLICATION_PATH(Code) | | PUBLICATION_PATH The publication path
|
PUBLICATION_PREFIX | final public static String PUBLICATION_PREFIX(Code) | | PUBLICATION_PREFIX The path to the publications from the webapp root
|
PublishingEnvironment | public PublishingEnvironment(String contextPath, String publicationId)(Code) | | Creates a new PublishingEnvironment object.
Parameters: contextPath - The context path Parameters: publicationId - The publication id |
PublishingEnvironment | public PublishingEnvironment(String _publicationPath)(Code) | | Creates a new PublishingEnvironment object.
Parameters: _publicationPath - The publication path |
configure | public void configure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException(Code) | | Initializes the class from a configuration file
Parameters: configuration - The configuration file throws: org.apache.avalon.framework.configuration.ConfigurationException - if an error occurs |
getAuthoringPath | public String getAuthoringPath()(Code) | | Returns the authoring path
The authoring path |
getExportDirectory | public String getExportDirectory()(Code) | | Returns the path to the export directory
The path to the export directory |
getLivePath | public String getLivePath()(Code) | | Returns the live path
The live path |
getPublicationDirectory | public File getPublicationDirectory()(Code) | | Returns the publication directory.
The publication directory |
getPublicationPath | public String getPublicationPath()(Code) | | Returns the publication path.
The publication path |
getPublicationPath | public static String getPublicationPath(String servletContextPath, String publicationId)(Code) | | Returns the path to the publication given the servlet context path and the publication id
Parameters: servletContextPath - The servlet context path Parameters: publicationId - The publication id The path to the publication |
getReplicationDirectory | public String getReplicationDirectory()(Code) | | Returns the path to the replication directory
The path to the replication directory |
getSubstituteExpression | public String getSubstituteExpression()(Code) | | Returns the substitution regular expression used in the export
The substitution regular expression |
getSubstituteReplacement | public String getSubstituteReplacement()(Code) | | Get the replacement string, which was read from publisher.xconf
The replacement string |
getTreeAuthoringPath | public String getTreeAuthoringPath()(Code) | | Returns the path to the authoring tree
The path to the authoring tree |
getTreeLivePath | public String getTreeLivePath()(Code) | | Returns the path to the live tree
The path to the live tree |
setAuthoringPath | protected void setAuthoringPath(String path)(Code) | | |
setExportDirectory | protected void setExportDirectory(String directory)(Code) | | |
setPublicationPath | protected void setPublicationPath(String path)(Code) | | |
setReplicationDirectory | protected void setReplicationDirectory(String directory)(Code) | | |
setSubstituteExpression | protected void setSubstituteExpression(String substitute)(Code) | | |
setSubstituteReplacementExpression | protected void setSubstituteReplacementExpression(String replacement)(Code) | | Set replacement string, which was read from publisher.xconf
Parameters: replacement - The replacement string |
setTreeAuthoringPath | protected void setTreeAuthoringPath(String path)(Code) | | |
setTreeLivePath | protected void setTreeLivePath(String path)(Code) | | |
|
|
|