org.deegree.wpsclient.gui
Class ClientBean

java.lang.Object
  extended by org.deegree.wpsclient.gui.ClientBean
All Implemented Interfaces:
Serializable

public class ClientBean
extends Object
implements Serializable

ClientBean handles all selections/entries made in the GUI which leads to changes in the GUI.

Version:
$Revision: $, $Date: $
Author:
Lyn Buesching, last edited by: $Author: lyn $
See Also:
Serialized Form

Constructor Summary
ClientBean()
           
 
Method Summary
 String getInformation()
           
 CodeType getProcess()
           
 List<Process> getProcesses()
           
 Process getSelectedProcess()
           
 String getUrl()
           
 List<String> getUrls()
           
 void init()
           
 boolean isProcessSelected()
           
 boolean isWpsEntered()
           
 void selectProcess(javax.faces.event.AjaxBehaviorEvent event)
          updates the gui, which depends on the selected process
 void selectWPS(javax.faces.event.AjaxBehaviorEvent event)
          change the URL of the WPS and update the list of processes
 void setInformation(String information)
           
 void setProcess(CodeType process)
           
 void setUrl(String url)
           
 Object updateInfoText()
          action methode to update the information text dependent on the given parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientBean

public ClientBean()
Method Detail

init

@PostConstruct
public void init()

selectWPS

public void selectWPS(javax.faces.event.AjaxBehaviorEvent event)
               throws javax.faces.event.AbortProcessingException
change the URL of the WPS and update the list of processes

Parameters:
event -
Throws:
javax.faces.event.AbortProcessingException

selectProcess

public void selectProcess(javax.faces.event.AjaxBehaviorEvent event)
                   throws javax.faces.event.AbortProcessingException
updates the gui, which depends on the selected process

Parameters:
event -
Throws:
javax.faces.event.AbortProcessingException

updateInfoText

public Object updateInfoText()
action methode to update the information text dependent on the given parameter

Returns:
null, to stay on the same page

setUrl

public void setUrl(String url)
Parameters:
url - the URL of the WPS

getUrl

public String getUrl()
Returns:
the URL of the WPS

setProcess

public void setProcess(CodeType process)
Parameters:
process - the process to execute

getProcess

public CodeType getProcess()
Returns:
the process to execute

getProcesses

public List<Process> getProcesses()
Returns:
a list of available processes

setInformation

public void setInformation(String information)
Parameters:
information - information text to set

getInformation

public String getInformation()
Returns:
the currently set information text

isWpsEntered

public boolean isWpsEntered()
Returns:
true if a valid wps is selected

isProcessSelected

public boolean isProcessSelected()
Returns:
true if a process is selected

getSelectedProcess

public Process getSelectedProcess()
Returns:
the currently selected process

getUrls

public List<String> getUrls()


Copyright © 2011. All Rights Reserved.