org.apache.lenya.cms.ant
Class TwoDocumentsOperationTask

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.DocumentOperationTask
                  extended by org.apache.lenya.cms.ant.TwoDocumentsOperationTask
All Implemented Interfaces:
SiteTreeNodeVisitor
Direct Known Subclasses:
CopyContentTask, CopyPoliciesTask, CopyResourcesTask, DeleteContentTask, DeletePoliciesTask, DeleteRCTask, DeleteResourcesTask, InitCopyWorkflowTask, InitRCTask, MoveWorkflowTask

public abstract class TwoDocumentsOperationTask
extends DocumentOperationTask


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
TwoDocumentsOperationTask()
           
 
Method Summary
 void execute()
           
 java.lang.String getSecarea()
           
 java.lang.String getSecdocumentid()
           
 void setSecarea(java.lang.String string)
           
 void setSecdocumentid(java.lang.String string)
           
 
Methods inherited from class org.apache.lenya.cms.ant.DocumentOperationTask
getFirstarea, getFirstdocumentid, setFirstarea, setFirstdocumentid, visitSiteTreeNode
 
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

TwoDocumentsOperationTask

public TwoDocumentsOperationTask()
Method Detail

getSecarea

public java.lang.String getSecarea()
Returns:
String The area of the destination.

getSecdocumentid

public java.lang.String getSecdocumentid()
Returns:
String The document-id corresponding to the destination.

setSecarea

public void setSecarea(java.lang.String string)
Parameters:
string - The area of the destination.

setSecdocumentid

public void setSecdocumentid(java.lang.String string)
Parameters:
string - The document-id corresponding to the destination.

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class DocumentOperationTask
Throws:
org.apache.tools.ant.BuildException
See Also:
Task.execute()


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