| 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.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.InsertCopyNode
public class InsertCopyNode
Ant task that copies a node of a tree and inserts it in 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 | |
|---|---|
InsertCopyNode()
Creates a new instance of InsertCopyNode  | 
|
| Method Summary | |
|---|---|
 void | 
manipulateTree(java.lang.String firstDocumentId,
               java.lang.String secDocumentId,
               java.lang.String firstArea,
               java.lang.String secArea)
copies a node corresponding to a document with id firstdocumentid and area firstarea and inserts it like a node corresponding to a document with id secdocumentid and area secarea.  | 
| 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 InsertCopyNode()
| 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 TwoNodesTaskfirstDocumentId - 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.
  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||