org.apache.lenya.cms.ant
Class InitCopyWorkflowTask

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
                      extended by org.apache.lenya.cms.ant.InitCopyWorkflowTask
All Implemented Interfaces:
SiteTreeNodeVisitor

public class InitCopyWorkflowTask
extends TwoDocumentsOperationTask

Ant task, which implements the SiteTreeNodeVisitor for the operation init the workflow history files when copying documents (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
InitCopyWorkflowTask()
           
 
Method Summary
 java.lang.String getMachineIp()
          Returns the machine IP address from which the history was initialized.
 java.lang.String getUserId()
          Returns the ID of the user who initialized the history.
 void setMachineIp(java.lang.String machineIp)
          Sets the machine IP address from which the history was initialized.
 void setUserId(java.lang.String userId)
          Sets the ID of the user who initialized the history.
 void visitSiteTreeNode(SiteTreeNode node)
          (non-Javadoc)
 
Methods inherited from class org.apache.lenya.cms.ant.TwoDocumentsOperationTask
execute, getSecarea, getSecdocumentid, setSecarea, setSecdocumentid
 
Methods inherited from class org.apache.lenya.cms.ant.DocumentOperationTask
getFirstarea, getFirstdocumentid, setFirstarea, setFirstdocumentid
 
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

InitCopyWorkflowTask

public InitCopyWorkflowTask()
Method Detail

getMachineIp

public java.lang.String getMachineIp()
Returns the machine IP address from which the history was initialized.

Returns:
A string.

setMachineIp

public void setMachineIp(java.lang.String machineIp)
Sets the machine IP address from which the history was initialized.

Parameters:
machineIp - A string.

getUserId

public java.lang.String getUserId()
Returns the ID of the user who initialized the history.

Returns:
A string.

setUserId

public void setUserId(java.lang.String userId)
Sets the ID of the user who initialized the history.

Parameters:
userId - A string.

visitSiteTreeNode

public void visitSiteTreeNode(SiteTreeNode node)
(non-Javadoc)

Specified by:
visitSiteTreeNode in interface SiteTreeNodeVisitor
Specified by:
visitSiteTreeNode in class DocumentOperationTask
Parameters:
node - The SiteTreeNode.
See Also:
SiteTreeNodeVisitor.visitSiteTreeNode(org.apache.lenya.cms.publication.SiteTreeNode)


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