|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
public class MoveDocumentTask
Ant task, which implements the SiteTreeNodeVisitor for the operation move a document. (Visitor pattern)
Field Summary |
---|
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 |
Constructor Summary | |
---|---|
MoveDocumentTask()
|
Method Summary | |
---|---|
void |
execute()
|
java.lang.String |
getFirstarea()
|
java.lang.String |
getFirstdocumentid()
|
java.lang.String |
getSecarea()
|
java.lang.String |
getSecdocumentid()
|
void |
setFirstarea(java.lang.String string)
|
void |
setFirstdocumentid(java.lang.String string)
|
void |
setSecarea(java.lang.String string)
|
void |
setSecdocumentid(java.lang.String string)
|
void |
visitSiteTreeNode(SiteTreeNode node)
move the workflow files |
Methods inherited from class org.apache.lenya.cms.ant.PublicationTask |
---|
assertString, getContextPrefix, getPublication, getPublicationDirectory, getPublicationId, getServletContext |
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 |
Constructor Detail |
---|
public MoveDocumentTask()
Method Detail |
---|
public java.lang.String getFirstarea()
public java.lang.String getFirstdocumentid()
public java.lang.String getSecarea()
public java.lang.String getSecdocumentid()
public void setFirstarea(java.lang.String string)
string
- The area of the source.public void setFirstdocumentid(java.lang.String string)
string
- The document-id corresponding to the source.public void setSecarea(java.lang.String string)
string
- The area of the destination.public void setSecdocumentid(java.lang.String string)
string
- The document-id corresponding to the destination.public void visitSiteTreeNode(SiteTreeNode node)
visitSiteTreeNode
in interface SiteTreeNodeVisitor
node
- The SiteTreeNode.SiteTreeNodeVisitor.visitSiteTreeNode(org.apache.lenya.cms.publication.SiteTreeNode)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Task.execute()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |