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

java.lang.Object
  extended by de.iai.ilcd.webgui.controller.ui.AbstractDataSetHandler<de.fzk.iai.ilcd.service.model.IProcessVO,Process,ProcessDao>
      extended by de.iai.ilcd.webgui.controller.ui.ProcessHandler
All Implemented Interfaces:
java.io.Serializable

public class ProcessHandler
extends AbstractDataSetHandler<de.fzk.iai.ilcd.service.model.IProcessVO,Process,ProcessDao>

Backing bean for process detail view

See Also:
Serialized Form

Constructor Summary
ProcessHandler()
          Initialize the handler
 
Method Summary
protected  void datasetLoaded(Process p)
          Called when a local data set was loaded successfully by AbstractDataSetHandler.postViewParamInit(ComponentSystemEvent).
 java.util.List<de.fzk.iai.ilcd.service.model.enums.LCIMethodApproachesValue> getApproaches()
          We need this as workaround because the Service API delivers a set but we need a List in the template
 java.util.List<de.fzk.iai.ilcd.service.model.process.IComplianceSystem> getComplianceSystems()
          We need this too as workaround to geth the ComplianceSystems as List
 java.util.List<Flow> getCoProducts()
          Get the co-product flows
 java.util.List<Flow> getInputProducts()
          Get the input product flows
 de.fzk.iai.ilcd.service.model.IProcessVO getProcess()
          Convenience method, delegates to AbstractDataSetHandler.getDataSet()
 
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

ProcessHandler

public ProcessHandler()
Initialize the handler

Method Detail

getProcess

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

Returns:
process

getApproaches

public java.util.List<de.fzk.iai.ilcd.service.model.enums.LCIMethodApproachesValue> getApproaches()
We need this as workaround because the Service API delivers a set but we need a List in the template

Returns:

getComplianceSystems

public java.util.List<de.fzk.iai.ilcd.service.model.process.IComplianceSystem> getComplianceSystems()
We need this too as workaround to geth the ComplianceSystems as List

Returns:

getInputProducts

public java.util.List<Flow> getInputProducts()
Get the input product flows

Returns:
input product flows

getCoProducts

public java.util.List<Flow> getCoProducts()
Get the co-product flows

Returns:
co-product flows

datasetLoaded

protected void datasetLoaded(Process p)
Called when a local data set was loaded successfully by AbstractDataSetHandler.postViewParamInit(ComponentSystemEvent). Override this method when this information is required in sub-classes.

Overrides:
datasetLoaded in class AbstractDataSetHandler<de.fzk.iai.ilcd.service.model.IProcessVO,Process,ProcessDao>
Parameters:
p - loaded data set