lumis.portal.webservice
Class WebServiceUtil

Package class diagram package WebServiceUtil
java.lang.Object
  extended by lumis.portal.webservice.WebServiceUtil

public abstract class WebServiceUtil
extends Object

Utility class for Web Services implementations.

Since:
4.0.9

Constructor Summary
WebServiceUtil()
           
 
Method Summary
static SessionConfig getSessionConfig(String sessionId, ITransaction transaction)
          Get a SessionConfig object for a sessionId.
static String zeroLengthToNull(String value)
          Converts zero-length strings to null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceUtil

public WebServiceUtil()
Method Detail

getSessionConfig

public static SessionConfig getSessionConfig(String sessionId,
                                             ITransaction transaction)
                                      throws PortalException
Get a SessionConfig object for a sessionId.

Parameters:
sessionId -
transaction -
Returns:
SessionConfig object for the specified sessionId.
Throws:
PortalException

zeroLengthToNull

public static String zeroLengthToNull(String value)
Converts zero-length strings to null. Used by code that reads web service response objects, that come with null string values as zero-length strings.

Parameters:
value - string value to be converted
Returns:
value converted


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.