org.apache.lenya.cms.ant
Class DeleteSchedulerEntryTask

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.DeleteSchedulerEntryTask
All Implemented Interfaces:
SiteTreeNodeVisitor

public class DeleteSchedulerEntryTask
extends PublicationTask
implements SiteTreeNodeVisitor

Moves the scheduler entry for a document.


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
DeleteSchedulerEntryTask()
           
 
Method Summary
 void execute()
           
 void setArea(java.lang.String string)
           
 void setDocumentId(java.lang.String string)
           
 void setServletContextPath(java.lang.String servletContextPath)
          Sets the servlet context path.
 void visitSiteTreeNode(SiteTreeNode node)
          Operation performed on a SiteTreeNode
 
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

DeleteSchedulerEntryTask

public DeleteSchedulerEntryTask()
Method Detail

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()

setArea

public void setArea(java.lang.String string)
Parameters:
string - The area.

setDocumentId

public void setDocumentId(java.lang.String string)
Parameters:
string - The document-id.

setServletContextPath

public void setServletContextPath(java.lang.String servletContextPath)
Sets the servlet context path.

Parameters:
servletContextPath - A string.

visitSiteTreeNode

public void visitSiteTreeNode(SiteTreeNode node)
                       throws DocumentException
Description copied from interface: SiteTreeNodeVisitor
Operation performed on a SiteTreeNode

Specified by:
visitSiteTreeNode in interface SiteTreeNodeVisitor
Parameters:
node - The SiteTreeNode.
Throws:
DocumentException - if an error occurs
See Also:
SiteTreeNodeVisitor.visitSiteTreeNode(org.apache.lenya.cms.publication.SiteTreeNode)


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.