org.apache.lenya.cms.ant
Class InitWorkflowHistoryTask

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.InitWorkflowHistoryTask

public class InitWorkflowHistoryTask
extends PublicationTask


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
InitWorkflowHistoryTask()
           
 
Method Summary
 void execute()
           
 java.lang.String getDocumentId()
          Get the document-id.
 java.lang.String getDocumentType()
          Get the document type.
 java.lang.String getLanguage()
          Get the language.
 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 setDocumentId(java.lang.String aDocumentId)
          Set the document-id.
 void setDocumentType(java.lang.String aDocumentType)
          Set the document type.
 void setLanguage(java.lang.String string)
          Set the language.
 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.
 
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

InitWorkflowHistoryTask

public InitWorkflowHistoryTask()
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.

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

getDocumentId

public java.lang.String getDocumentId()
Get the document-id.

Returns:
the document-id

setDocumentId

public void setDocumentId(java.lang.String aDocumentId)
Set the document-id.

Parameters:
aDocumentId - the document-id

getDocumentType

public java.lang.String getDocumentType()
Get the document type.

Returns:
the document type

setDocumentType

public void setDocumentType(java.lang.String aDocumentType)
Set the document type.

Parameters:
aDocumentType - the document type

getLanguage

public java.lang.String getLanguage()
Get the language.

Returns:
the language

setLanguage

public void setLanguage(java.lang.String string)
Set the language.

Parameters:
string - the language


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