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
 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
 de.fzk.iai.ilcd.service.model.IProcessVO getProcess()
          Convenience method, delegates to AbstractDataSetHandler.getDataSet()
 java.lang.String getSourceNode()
          Get the source node as string
 java.lang.String getUuid()
          Get the UUID as string
 void postViewParamInit(javax.faces.event.ComponentSystemEvent event)
          Trigger loading of process.
 void setDataSetIdString(java.lang.String dataSetIdString)
           Set the data set ID as string.
 void setSourceNode(java.lang.String sourceNode)
          Set the source node
 void setUuid(java.lang.String uuid)
          Set the UUID as string
 
Methods inherited from class de.iai.ilcd.webgui.controller.ui.AbstractDataSetHandler
getDaoInstance, getDataSet, getDataSetIdString, isStringNullOrEmpty, setDataSet, setDataSetIdString
 
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

setDataSetIdString

public void setDataSetIdString(java.lang.String dataSetIdString)

Set the data set ID as string.

Will not trigger loading the object via provided DAO

Overrides:
setDataSetIdString in class AbstractDataSetHandler<de.fzk.iai.ilcd.service.model.IProcessVO,Process,ProcessDao>
Parameters:
dataSetIdString - the data set ID as string

getProcess

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

Returns:
process

postViewParamInit

public void postViewParamInit(javax.faces.event.ComponentSystemEvent event)
                       throws javax.faces.event.AbortProcessingException
Trigger loading of process.

Throws:
javax.faces.event.AbortProcessingException

getSourceNode

public java.lang.String getSourceNode()
Get the source node as string

Returns:
source node as string

setSourceNode

public void setSourceNode(java.lang.String sourceNode)
Set the source node

Parameters:
sourceNode - source node to set

getUuid

public java.lang.String getUuid()
Get the UUID as string

Returns:
UUID as string

setUuid

public void setUuid(java.lang.String uuid)
Set the UUID as string

Parameters:
uuid - UUID as string to set

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: