|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.hyperlink.HyperLinkConfig
@StableMinor(version="6.2", sinceVersion="4.0") public class HyperLinkConfig
Value class for HyperLink data.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 Lumis Portal 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 Lumis Portal itself did not use this property. Kept only for backward compatibility. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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 Map<String,String[]> getParameterMap()
public void setParameterMap(Map<String,String[]> parameterMap)
public String getTargetId()
public void setTargetId(String targetId)
public int getTargetType()
public void setTargetType(int targetType)
public HyperLinkConfig clone()
clone
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |