public class WebclientProvider
extends java.lang.Object
WebclientProvider
provides support for handling the Nuclos webclientConstructor and Description |
---|
WebclientProvider() |
Modifier and Type | Method and Description |
---|---|
static <PK,T extends BusinessObject<PK>> |
buildBusinessObjectUrl(java.lang.Class<T> boClass) |
static <PK,T extends BusinessObject<PK>> |
buildBusinessObjectUrl(java.lang.Class<T> boClass,
PK boId) |
static <T extends BusinessObject> |
buildBusinessObjectUrl(T bo) |
static java.net.URL |
buildUrl(WebclientUrl webclientUrl) |
void |
setWebclientService(WebclientService service) |
public void setWebclientService(WebclientService service)
public static <T extends BusinessObject> java.net.URL buildBusinessObjectUrl(T bo) throws BusinessException
bo
- BusinessException
- if the Webclient URL could not be determined.
In this case, set an absolut value in the system parameter WEBCLIENT_BASEURL.public static <PK,T extends BusinessObject<PK>> java.net.URL buildBusinessObjectUrl(java.lang.Class<T> boClass) throws BusinessException
boClass
- BusinessException
- if the Webclient URL could not be determined.
In this case, set an absolut value in the system parameter WEBCLIENT_BASEURL.public static <PK,T extends BusinessObject<PK>> java.net.URL buildBusinessObjectUrl(java.lang.Class<T> boClass, PK boId) throws BusinessException
boClass
- boId
- BusinessException
- if the Webclient URL could not be determined.
In this case, set an absolut value in the system parameter WEBCLIENT_BASEURL.public static java.net.URL buildUrl(WebclientUrl webclientUrl) throws BusinessException
webclientUrl
- BusinessException
- if the Webclient URL could not be determined.
In this case, set an absolut value in the system parameter WEBCLIENT_BASEURL.Copyright © 2024. All rights reserved.