This project has retired. For details please refer to its
Attic page.
org.apache.lenya.cms.ant
Class MoveDocumentTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.lenya.cms.ant.PublicationTask
org.apache.lenya.cms.ant.MoveDocumentTask
- All Implemented Interfaces:
- SiteTreeNodeVisitor
public class MoveDocumentTask
- extends PublicationTask
- implements SiteTreeNodeVisitor
Ant task, which implements the SiteTreeNodeVisitor for the operation move a document. (Visitor
pattern)
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoveDocumentTask
public MoveDocumentTask()
getFirstarea
public java.lang.String getFirstarea()
- Returns:
- String The area of the source.
getFirstdocumentid
public java.lang.String getFirstdocumentid()
- Returns:
- String The document-id corresponding to the source.
getSecarea
public java.lang.String getSecarea()
- Returns:
- String The area of the destination.
getSecdocumentid
public java.lang.String getSecdocumentid()
- Returns:
- String The document-id corresponding to the destination.
setFirstarea
public void setFirstarea(java.lang.String string)
- Parameters:
string
- The area of the source.
setFirstdocumentid
public void setFirstdocumentid(java.lang.String string)
- Parameters:
string
- The document-id corresponding to the source.
setSecarea
public void setSecarea(java.lang.String string)
- Parameters:
string
- The area of the destination.
setSecdocumentid
public void setSecdocumentid(java.lang.String string)
- Parameters:
string
- The document-id corresponding to the destination.
visitSiteTreeNode
public void visitSiteTreeNode(SiteTreeNode node)
- move the workflow files
- Specified by:
visitSiteTreeNode
in interface SiteTreeNodeVisitor
- Parameters:
node
- The SiteTreeNode.- See Also:
SiteTreeNodeVisitor.visitSiteTreeNode(org.apache.lenya.cms.publication.SiteTreeNode)
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Overrides:
execute
in class org.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
- See Also:
Task.execute()
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.