Package lumis.portal.webservice
Class WebServiceUtil
- java.lang.Object
-
- lumis.portal.webservice.WebServiceUtil
-
public abstract class WebServiceUtil extends java.lang.Object
Utility class for Web Services implementations.- Since:
- 4.0.9
- Version:
- $Revision: 5769 $ $Date: 2007-02-01 12:00:07 -0200 (Thu, 01 Feb 2007) $
-
-
Constructor Summary
Constructors Constructor Description WebServiceUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SessionConfig
getSessionConfig(java.lang.String sessionId, ITransaction transaction)
Get aSessionConfig
object for a sessionId.static java.lang.String
zeroLengthToNull(java.lang.String value)
Converts zero-length strings to null.
-
-
-
Method Detail
-
getSessionConfig
public static SessionConfig getSessionConfig(java.lang.String sessionId, ITransaction transaction) throws PortalException
Get aSessionConfig
object for a sessionId.- Parameters:
sessionId
-transaction
-- Returns:
SessionConfig
object for the specified sessionId.- Throws:
PortalException
-
zeroLengthToNull
public static java.lang.String zeroLengthToNull(java.lang.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
-
-