Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.lenya.cms.ant
Class InitWorkflowHistoryTask  view InitWorkflowHistoryTask download InitWorkflowHistoryTask.java

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.lenya.cms.ant.PublicationTask
              extended byorg.apache.lenya.cms.ant.InitWorkflowHistoryTask

public class InitWorkflowHistoryTask
extends PublicationTask


Field Summary
private  java.lang.String documentId
           
private  java.lang.String documentType
           
private  java.lang.String language
           
private  java.lang.String machineIp
           
private  java.lang.String userId
           
 
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()
          Called by the project to let the task do its work.
 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
 

Field Detail

documentId

private java.lang.String documentId

documentType

private java.lang.String documentType

language

private java.lang.String language

userId

private java.lang.String userId

machineIp

private java.lang.String machineIp
Constructor Detail

InitWorkflowHistoryTask

public InitWorkflowHistoryTask()
Method Detail

getMachineIp

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


setMachineIp

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


getUserId

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


setUserId

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


execute

public void execute()
             throws org.apache.tools.ant.BuildException
Description copied from class: org.apache.tools.ant.Task
Called by the project to let the task do its work. This method may be called more than once, if the task is invoked more than once. For example, if target1 and target2 both depend on target3, then running "ant target1 target2" will run all tasks in target3 twice.


getDocumentId

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


setDocumentId

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


getDocumentType

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


setDocumentType

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


getLanguage

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


setLanguage

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