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 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 getFileName()
           
 java.lang.String getFileUrl()
           
 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 setFileName(java.lang.String fileName)
           
 void setFileUrl(java.lang.String fileUrl)
           
 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

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

getFlows

public java.util.List<org.ow2.petals.flowwatch.flowmanager.bo.Flow> getFlows()
                                                                      throws java.lang.Exception
Throws:
java.lang.Exception

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)

getFileUrl

public java.lang.String getFileUrl()

setFileUrl

public void setFileUrl(java.lang.String fileUrl)

getFileName

public java.lang.String getFileName()

setFileName

public void setFileName(java.lang.String fileName)

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.