|
||||||||
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.DocumentOperationTask
public abstract class DocumentOperationTask
Abstract base class for Ant tasks, which implements the SiteTreeNodeVisitor to call an operation for 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 | |
---|---|
DocumentOperationTask()
|
Method Summary | |
---|---|
void |
execute()
|
java.lang.String |
getFirstarea()
|
java.lang.String |
getFirstdocumentid()
|
void |
setFirstarea(java.lang.String string)
|
void |
setFirstdocumentid(java.lang.String string)
|
abstract void |
visitSiteTreeNode(SiteTreeNode node)
To be overriden. |
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 DocumentOperationTask()
Method Detail |
---|
public java.lang.String getFirstarea()
public java.lang.String getFirstdocumentid()
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 abstract 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 |