|
||||||||
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.TwoNodesTask org.apache.lenya.cms.ant.MoveNode
public class MoveNode
Ant task that moves a node in a tree.
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 | |
---|---|
MoveNode()
|
Method Summary | |
---|---|
java.lang.String |
getRefdocumentid()
|
void |
manipulateTree(java.lang.String firstDocumentId,
java.lang.String secDocumentId,
java.lang.String firstArea,
java.lang.String secArea)
Move a node. |
void |
setRefdocumentid(java.lang.String string)
|
Methods inherited from class org.apache.lenya.cms.ant.TwoNodesTask |
---|
execute, getFirstarea, getFirstdocumentid, getSecarea, getSecdocumentid, setFirstarea, setFirstdocumentid, setSecarea, setSecdocumentid |
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 MoveNode()
Method Detail |
---|
public void manipulateTree(java.lang.String firstDocumentId, java.lang.String secDocumentId, java.lang.String firstArea, java.lang.String secArea) throws SiteTreeException
manipulateTree
in class TwoNodesTask
firstDocumentId
- The document-id of the document corresponding to the source node.secDocumentId
- The document-id of the document corresponding to the destination node.firstArea
- The area of the document corresponding to the source node.secArea
- The area of the document corresponding to the destination node.
SiteTreeException
- if there are problems with creating or saving the site tree.public java.lang.String getRefdocumentid()
public void setRefdocumentid(java.lang.String string)
string
- The document-id corresponding to the reference node, before which
the moved node shoul be inserted. If null, the node is inserted at the end.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |