com.sibvisions.rad.ui.gwt.shared.event
Class ServiceResult

java.lang.Object
  extended by com.sibvisions.rad.ui.gwt.shared.event.ServiceResult
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ErrorResult, TableResult

public class ServiceResult
extends Object

The ServiceResult contains the response of a dispached event.

See Also:
Serialized Form

Constructor Summary
ServiceResult()
          Creates a new instance of ServiceResult.
ServiceResult(String pClientId)
          Creates a new instance of ServiceResult for a specific client.
 
Method Summary
 String getClientId()
          Gets the id of the client.
 String getParameter(String pName)
          Gets the value for a user defined parameter.
 List<List> getUI()
          Gets the current user interface configuration.
 String setParameter(String pName, String pValue)
          Sets a user defined event parameter.
 void setUI(List<List> pUI)
          Sets the current user interface configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceResult

public ServiceResult()
Creates a new instance of ServiceResult. Only for serialization.


ServiceResult

public ServiceResult(String pClientId)
Creates a new instance of ServiceResult for a specific client.

Parameters:
pClientId - the id of the client
Method Detail

setUI

public void setUI(List<List> pUI)
Sets the current user interface configuration.

Parameters:
pUI - the current configuration

getUI

public List<List> getUI()
Gets the current user interface configuration.

Returns:
the current configuration

getClientId

public String getClientId()
Gets the id of the client.

Returns:
the id

setParameter

public String setParameter(String pName,
                           String pValue)
Sets a user defined event parameter.

Parameters:
pName - the parameter name
pValue - the value or null to remove the property with the specified name
Returns:
the previous value or null if the property was not set

getParameter

public String getParameter(String pName)
Gets the value for a user defined parameter.

Parameters:
pName - the parameter name
Returns:
the value of the parameter or null if the parameter was not set


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.