org.alfresco.web.bean.workflow
Class WorkflowConsoleBean

java.lang.Object
  extended by org.alfresco.web.bean.workflow.WorkflowConsoleBean
All Implemented Interfaces:
java.io.Serializable

public class WorkflowConsoleBean
extends java.lang.Object
implements java.io.Serializable

Backing bean to support the Workflow Console

See Also:
Serialized Form

Constructor Summary
WorkflowConsoleBean()
           
 
Method Summary
 java.lang.String getCommand()
          Gets the current query
 java.lang.String getCurrentUserName()
          Gets the current user name
 java.lang.String getCurrentWorkflowDef()
          Gets the current workflow definition
 long getDuration()
          Gets the last command duration
 java.lang.String getResult()
          Gets the command result
 java.lang.String getSubmittedCommand()
          Gets the submitted command
 void setCommand(java.lang.String command)
          Set the current command
 void setDuration(long duration)
          Set the duration
 void setResult(java.lang.String result)
          Sets the command result
 void setSubmittedCommand(java.lang.String submittedCommand)
          Set the submitted command
 void setWorkflowInterpreter(org.alfresco.repo.workflow.WorkflowInterpreter workflowInterpreter)
           
 java.lang.String submitCommand()
          Action to submit command
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowConsoleBean

public WorkflowConsoleBean()
Method Detail

setWorkflowInterpreter

public void setWorkflowInterpreter(org.alfresco.repo.workflow.WorkflowInterpreter workflowInterpreter)
Parameters:
workflowInterpreter - workflow interpreter

getResult

public java.lang.String getResult()
Gets the command result

Returns:
result

setResult

public void setResult(java.lang.String result)
Sets the command result

Parameters:
result -

getCommand

public java.lang.String getCommand()
Gets the current query

Returns:
query statement

setCommand

public void setCommand(java.lang.String command)
Set the current command

Parameters:
command - command

getSubmittedCommand

public java.lang.String getSubmittedCommand()
Gets the submitted command

Returns:
submitted command

setSubmittedCommand

public void setSubmittedCommand(java.lang.String submittedCommand)
Set the submitted command

Parameters:
submittedCommand - The submitted command

getDuration

public long getDuration()
Gets the last command duration

Returns:
command duration

setDuration

public void setDuration(long duration)
Set the duration

Parameters:
duration - The duration

submitCommand

public java.lang.String submitCommand()
Action to submit command

Returns:
next action

getCurrentUserName

public java.lang.String getCurrentUserName()
Gets the current user name

Returns:
user name

getCurrentWorkflowDef

public java.lang.String getCurrentWorkflowDef()
Gets the current workflow definition

Returns:
workflow definition


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.