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

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

public class FlowDetails
extends java.lang.Object


Constructor Summary
FlowDetails()
           
 
Method Summary
 com.ebmwebsourcing.petalsview.persistence.model.flow.Flow getFlow()
           
 com.ebmwebsourcing.petalsview.persistence.model.flowref.FlowRef getFlowRef()
           
 com.ebmwebsourcing.petalsview.persistence.model.flow.Flow[] getFlows()
           
 java.lang.String getFlowType()
           
 java.util.List<com.ebmwebsourcing.petalsview.persistence.dao.flowref.FlowParamsDetails> getListFlowParamsDetails()
           
 java.lang.String getShortStepName(com.ebmwebsourcing.petalsview.persistence.model.flow.FlowStep step)
           
 java.lang.String getStepKey(com.ebmwebsourcing.petalsview.persistence.model.flow.FlowStep step)
           
 java.lang.String getStepMessage(com.ebmwebsourcing.petalsview.persistence.model.flow.FlowStep step)
           
 java.lang.String getStepName(com.ebmwebsourcing.petalsview.persistence.model.flow.FlowStep step)
           
 java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.FlowStep> getSteps()
           
 int getUiStatus(int status)
          Convert a flow status into a ui status (in_progress = 2, success = 0, failure = 1)
 void load(javax.servlet.http.HttpServletRequest request)
           
 void refresh()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowDetails

public FlowDetails()
Method Detail

load

public void load(javax.servlet.http.HttpServletRequest request)
          throws java.lang.Exception
Throws:
java.lang.Exception

refresh

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

getFlow

public com.ebmwebsourcing.petalsview.persistence.model.flow.Flow getFlow()

getFlows

public com.ebmwebsourcing.petalsview.persistence.model.flow.Flow[] getFlows()

getSteps

public java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.FlowStep> getSteps()

getFlowRef

public com.ebmwebsourcing.petalsview.persistence.model.flowref.FlowRef getFlowRef()

getFlowType

public java.lang.String getFlowType()

getListFlowParamsDetails

public java.util.List<com.ebmwebsourcing.petalsview.persistence.dao.flowref.FlowParamsDetails> getListFlowParamsDetails()

getShortStepName

public java.lang.String getShortStepName(com.ebmwebsourcing.petalsview.persistence.model.flow.FlowStep step)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

getStepName

public java.lang.String getStepName(com.ebmwebsourcing.petalsview.persistence.model.flow.FlowStep step)

getStepKey

public java.lang.String getStepKey(com.ebmwebsourcing.petalsview.persistence.model.flow.FlowStep step)

getUiStatus

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

Parameters:
status -
Returns:

getStepMessage

public java.lang.String getStepMessage(com.ebmwebsourcing.petalsview.persistence.model.flow.FlowStep step)
                                throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2010 eBMWebsourcing. All Rights Reserved.