de.iai.ilcd.webgui.controller.ui
Class FlowHandler

java.lang.Object
  extended by de.iai.ilcd.webgui.controller.ui.AbstractDataSetHandler<de.fzk.iai.ilcd.service.model.IFlowVO,Flow,FlowDao>
      extended by de.iai.ilcd.webgui.controller.ui.FlowHandler
All Implemented Interfaces:
java.io.Serializable

public class FlowHandler
extends AbstractDataSetHandler<de.fzk.iai.ilcd.service.model.IFlowVO,Flow,FlowDao>

Backing bean for flow detail view

See Also:
Serialized Form

Constructor Summary
FlowHandler()
          Initialize handler
 
Method Summary
protected  void datasetLoaded(Flow dataset)
          Set the input / output flow exist boolean properties
 de.fzk.iai.ilcd.service.model.IFlowVO getFlow()
          Convenience method, delegates to AbstractDataSetHandler.getDataSet()
 boolean isElementaryFlow()
          Determine if elementary flow
 boolean isProcessesWithInOrOutputFlowExist()
          Determine if processes with this flow as in- or output flow exist
 boolean isProcessesWithInputFlowExist()
          Determine if processes with this flow as input flow exist
 boolean isProcessesWithInXorOutputFlowExist()
          Determine if processes with this flow as in- xor output flow exist
 boolean isProcessesWithOutputFlowExist()
          Determine if processes with this flow as output flow exist
 
Methods inherited from class de.iai.ilcd.webgui.controller.ui.AbstractDataSetHandler
getDaoInstance, getDataSet, getDataSetIdString, getDataSetUuidString, getDataSetVersionString, getForeignHTMLResourceURL, getForeignXMLResourceURL, getLocalHTMLResourceURL, getLocalXMLResourceURL, getOtherVersions, getSourceNodeIdString, isForeignDataSet, isOtherVersionPresent, isStringNullOrEmpty, postViewParamInit, setConf, setDataSet, setDataSetIdString, setDataSetUuidString, setDataSetVersionString, setSourceNodeIdString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowHandler

public FlowHandler()
Initialize handler

Method Detail

getFlow

public de.fzk.iai.ilcd.service.model.IFlowVO getFlow()
Convenience method, delegates to AbstractDataSetHandler.getDataSet()

Returns:
represented flow

isElementaryFlow

public boolean isElementaryFlow()
Determine if elementary flow

Returns:
true if represented flow is elementary flow, else false

datasetLoaded

protected void datasetLoaded(Flow dataset)
Set the input / output flow exist boolean properties

Overrides:
datasetLoaded in class AbstractDataSetHandler<de.fzk.iai.ilcd.service.model.IFlowVO,Flow,FlowDao>
Parameters:
dataset - loaded data set

isProcessesWithInOrOutputFlowExist

public boolean isProcessesWithInOrOutputFlowExist()
Determine if processes with this flow as in- or output flow exist

Returns:
true if processes with this flow as in. or output flow exist, else false

isProcessesWithInputFlowExist

public boolean isProcessesWithInputFlowExist()
Determine if processes with this flow as input flow exist

Returns:
true if processes with this flow as input flow exist, else false

isProcessesWithOutputFlowExist

public boolean isProcessesWithOutputFlowExist()
Determine if processes with this flow as output flow exist

Returns:
true if processes with this flow as output flow exist, else false

isProcessesWithInXorOutputFlowExist

public boolean isProcessesWithInXorOutputFlowExist()
Determine if processes with this flow as in- xor output flow exist

Returns:
true if processes with this flow as in- xor output flow exist, else false