org.ow2.petals.flowwatch.gui.beans
Class ListOfFlowsByType

java.lang.Object
  extended by org.ow2.petals.flowwatch.gui.beans.ListOfFlowsByType

public class ListOfFlowsByType
extends java.lang.Object


Constructor Summary
ListOfFlowsByType()
           
 
Method Summary
 void applyFilterByType()
           
 void exportFlows(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String nbOfResultStg)
           
 java.util.Date getAfter()
           
static int[] getAllStatus()
           
 java.util.Date getBefore()
           
 java.lang.String getFlowParameterName(int numIndex)
           
 java.util.List<org.ow2.petals.flowwatch.flowmanager.FlowWithParams> getFlowsWithParams()
           
 java.lang.String getName(org.ow2.petals.flowwatch.flowmanager.FlowWithParams flowWithParams)
           
 int[] getParamIndex()
           
 java.lang.String getShortName(org.ow2.petals.flowwatch.flowmanager.FlowWithParams flowWithParams)
           
 int getUiStatus(int status)
          Convert a flow status into a ui status (in_progress = 2, success = 0, failure = 1)
 void loadByType(javax.servlet.http.HttpServletRequest request)
           
 void refresh()
           
 void setAfter(java.util.Date after)
           
 void setBefore(java.util.Date before)
           
 void validateFilter()
           
 void viewAllFlow()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListOfFlowsByType

public ListOfFlowsByType()
Method Detail

loadByType

public void loadByType(javax.servlet.http.HttpServletRequest request)

getFlowParameterName

public java.lang.String getFlowParameterName(int numIndex)

getShortName

public java.lang.String getShortName(org.ow2.petals.flowwatch.flowmanager.FlowWithParams flowWithParams)

getName

public java.lang.String getName(org.ow2.petals.flowwatch.flowmanager.FlowWithParams flowWithParams)

viewAllFlow

public void viewAllFlow()

validateFilter

public void validateFilter()
                    throws org.ow2.opensuit.core.validation.ValidationErrors
Throws:
org.ow2.opensuit.core.validation.ValidationErrors

applyFilterByType

public void applyFilterByType()

refresh

public void refresh()

exportFlows

public void exportFlows(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response,
                        java.lang.String nbOfResultStg)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getParamIndex

public int[] getParamIndex()

getFlowsWithParams

public java.util.List<org.ow2.petals.flowwatch.flowmanager.FlowWithParams> getFlowsWithParams()
                                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

getBefore

public java.util.Date getBefore()

setBefore

public void setBefore(java.util.Date before)

getAfter

public java.util.Date getAfter()

setAfter

public void setAfter(java.util.Date after)

getAllStatus

public static int[] getAllStatus()

getUiStatus

public int getUiStatus(int status)
Convert a flow status into a ui status (in_progress = 2, success = 0, failure = 1)

Parameters:
status -
Returns:


Copyright © 2009-2010 eBM Websourcing. All Rights Reserved.