org.apache.lenya.cms.ant
Class MoveSiteTreeNodeTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.lenya.cms.ant.PublicationTask
              extended by org.apache.lenya.cms.ant.MoveSiteTreeNodeTask

public class MoveSiteTreeNodeTask
extends PublicationTask

Task to move a node amongst the siblings


Field Summary
static java.lang.String DOWN
           
static java.lang.String UP
           
 
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
MoveSiteTreeNodeTask()
           
 
Method Summary
 void execute()
           
protected  java.lang.String getDirection()
          Returns the direction.
protected  java.lang.String getDocumentId()
          Returns the document ID.
 void setDirection(java.lang.String direction)
          Sets the direction.
 void setDocumentId(java.lang.String documentId)
          Sets the document ID.
 
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
 

Field Detail

UP

public static final java.lang.String UP
See Also:
Constant Field Values

DOWN

public static final java.lang.String DOWN
See Also:
Constant Field Values
Constructor Detail

MoveSiteTreeNodeTask

public MoveSiteTreeNodeTask()
Method Detail

getDocumentId

protected java.lang.String getDocumentId()
Returns the document ID.

Returns:
A string.

setDocumentId

public void setDocumentId(java.lang.String documentId)
Sets the document ID.

Parameters:
documentId - A string.

getDirection

protected java.lang.String getDirection()
Returns the direction.

Returns:
A string.

setDirection

public void setDirection(java.lang.String direction)
Sets the direction.

Parameters:
direction - A string.

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.