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

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

public class ListOfFlows
extends java.lang.Object


Constructor Summary
ListOfFlows()
           
 
Method Summary
 void applyFilter()
           
 java.util.Date getAfter()
           
static int[] getAllStatus()
           
 java.util.Date getBefore()
           
 java.util.List<org.ow2.petals.flowwatch.flowmanager.bo.Flow> getFlows()
           
 java.lang.String getName(org.ow2.petals.flowwatch.flowmanager.bo.Flow flow)
           
 java.lang.String getShortName(org.ow2.petals.flowwatch.flowmanager.bo.Flow flow)
           
 int getUiStatus(int status)
          Convert a flow status into a ui status (in_progress = 2, success = 0, failure = 1)
 void loadAll()
           
 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

ListOfFlows

public ListOfFlows()
Method Detail

loadAll

public void loadAll()

getShortName

public java.lang.String getShortName(org.ow2.petals.flowwatch.flowmanager.bo.Flow flow)

getName

public java.lang.String getName(org.ow2.petals.flowwatch.flowmanager.bo.Flow flow)

viewAllFlow

public void viewAllFlow()

validateFilter

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

applyFilter

public void applyFilter()

refresh

public void refresh()

getFlows

public java.util.List<org.ow2.petals.flowwatch.flowmanager.bo.Flow> getFlows()

getAllStatus

public static int[] getAllStatus()

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)

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.