com.ebmwebsourcing.petalsview.gui.beans.supervision
Class ListOfFlows

java.lang.Object
  extended by com.ebmwebsourcing.petalsview.gui.beans.supervision.ListOfFlows

public class ListOfFlows
extends java.lang.Object


Constructor Summary
ListOfFlows()
           
 
Method Summary
 void applyFilter()
           
 void download(javax.servlet.http.HttpServletResponse response)
           
 java.util.Date getAfter()
           
static int[] getAllStatus()
           
 java.util.Date getBefore()
           
 java.lang.String getCss()
           
 java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.Flow> getFlows()
           
 java.lang.String getName(com.ebmwebsourcing.petalsview.persistence.model.flow.Flow flow)
           
 java.lang.String getShortName(com.ebmwebsourcing.petalsview.persistence.model.flow.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 setCss(java.lang.String css)
           
 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()
             throws java.lang.Exception
Throws:
java.lang.Exception

getShortName

public java.lang.String getShortName(com.ebmwebsourcing.petalsview.persistence.model.flow.Flow flow)

getName

public java.lang.String getName(com.ebmwebsourcing.petalsview.persistence.model.flow.Flow flow)

viewAllFlow

public void viewAllFlow()
                 throws java.lang.Exception
Throws:
java.lang.Exception

validateFilter

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

applyFilter

public void applyFilter()
                 throws java.lang.Exception
Throws:
java.lang.Exception

refresh

public void refresh()
             throws java.lang.Exception
Throws:
java.lang.Exception

download

public void download(javax.servlet.http.HttpServletResponse response)
              throws org.ow2.opensuit.core.error.LocalizedError,
                     java.io.IOException
Throws:
org.ow2.opensuit.core.error.LocalizedError
java.io.IOException

getFlows

public java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.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:

getCss

public java.lang.String getCss()

setCss

public void setCss(java.lang.String css)


Copyright © 2010 eBMWebsourcing. All Rights Reserved.