@StableMinor(version="12.3", sinceVersion="4.0") public class HyperLinkConfig extends Object implements Cloneable
Constructor and Description |
---|
HyperLinkConfig()
Creates a new
HyperLinkConfig . |
HyperLinkConfig(IServiceInterfaceRequest request,
IServiceInterfaceResponse response)
Creates a new
HyperLinkConfig , with some properties
initialized based on a service interface's request/response. |
Modifier and Type | Method and Description |
---|---|
HyperLinkConfig |
clone()
Creates a clone of this hyperlink.
|
String |
getDestServiceId() |
String |
getDestServiceInstanceId() |
String |
getDestServiceInterfaceId() |
String |
getDestServiceInterfaceInstanceId() |
String |
getEntityId() |
Map<String,String[]> |
getParameterMap() |
String |
getSourcePageId() |
String |
getTargetId() |
int |
getTargetType() |
IURLFactory |
getURLFactory()
Returns the URL factory to be used for creating the HyperLink URL.
|
String |
getWebsite()
Deprecated.
Since 6.2.0, due to the inclusion of websites
feature. The LumisXP itself did not use this property.
Kept only for backward compatibility.
|
void |
setDestServiceId(String destServiceId) |
void |
setDestServiceInstanceId(String destServiceInstanceId) |
void |
setDestServiceInterfaceId(String destServiceInterfaceId) |
void |
setDestServiceInterfaceInstanceId(String destServiceInterfaceInstanceId) |
void |
setEntityId(String itemId) |
void |
setParameterMap(Map<String,String[]> parameterMap) |
void |
setSourcePageId(String sourcePageId) |
void |
setTargetId(String targetId) |
void |
setTargetType(int targetType) |
void |
setURLFactory(IURLFactory urlFactory)
Sets the URL factory to be used to generate the HyperLink URL.
|
void |
setWebsite(String website)
Deprecated.
Since 6.2.0, due to the inclusion of websites
feature. The LumisXP itself did not use this property.
Kept only for backward compatibility.
|
public HyperLinkConfig()
HyperLinkConfig
. If currently responding to
a service interface request, consider using
HyperLinkConfig(IServiceInterfaceRequest, IServiceInterfaceResponse)
instead.public HyperLinkConfig(IServiceInterfaceRequest request, IServiceInterfaceResponse response)
HyperLinkConfig
, with some properties
initialized based on a service interface's request/response.
The following properties are currently being initialized by this constructor:
setSourcePageId(String)
: corresponding to the requested page.setURLFactory(IURLFactory)
: the response object is set as the URL factory.request
- the request.response
- the response.public IURLFactory getURLFactory()
null
).public void setURLFactory(IURLFactory urlFactory)
urlFactory
- the URL factory.IllegalArgumentException
- if urlFactory
is
null
.public String getDestServiceId()
public void setDestServiceId(String destServiceId)
destServiceId
- The destServiceId to set.public String getDestServiceInstanceId()
public void setDestServiceInstanceId(String destServiceInstanceId)
destServiceInstanceId
- The destServiceInstanceId to set.public String getDestServiceInterfaceId()
public void setDestServiceInterfaceId(String destServiceInterfaceId)
destServiceInterfaceId
- The destServiceInterfaceId to set.public String getDestServiceInterfaceInstanceId()
public void setDestServiceInterfaceInstanceId(String destServiceInterfaceInstanceId)
destServiceInterfaceInstanceId
- The destServiceInterfaceInstanceId to set.public String getEntityId()
public void setEntityId(String itemId)
entityId
- The entityId to set.public String getSourcePageId()
public void setSourcePageId(String sourcePageId)
sourcePageId
- The sourcePageId to set.@Deprecated public String getWebsite()
@Deprecated public void setWebsite(String website)
website
- The website to set.public String getTargetId()
public void setTargetId(String targetId)
public int getTargetType()
public void setTargetType(int targetType)
public HyperLinkConfig clone()
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.