public final class ContentLinkUtil extends Object
Link that triggers either
a navigation into an ICollection or displays the
content of an IResource inplace or out-of-place. IResource instance does not support the
SupportedOption
SupportedOption.GET_CONTENT,
no link will be rendered, except one is defined in OTH or by the
"rnd:contentlink" property.| Constructor and Description |
|---|
ContentLinkUtil()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getContentLinkUrl(IResource resource,
IProxyProvider proxy,
IParameters params)
Deprecated.
As of NetWeaver 7.1
|
static String |
getResourceLinkUrl(IResource resource,
IProxyProvider proxy,
IParameters params)
Deprecated.
As of NetWeaver 7.1
|
static String |
getRIDUrl(String navigationLink,
IResource res)
Deprecated.
As of NetWeaver 7.1
|
static String |
jsNavigationCode(String targetUrl,
List parameters)
Deprecated.
As of NetWeaver 7.1
|
static com.sapportals.htmlb.Component |
renderResourceLink(IResource resource,
com.sapportals.htmlb.Component comp,
IProxyProvider proxy,
IParameters params,
com.sapportals.portal.prt.component.IPortalComponentRequest pcr)
Deprecated.
As of NetWeaver 7.1
|
public static com.sapportals.htmlb.Component renderResourceLink(IResource resource, com.sapportals.htmlb.Component comp, IProxyProvider proxy, IParameters params, com.sapportals.portal.prt.component.IPortalComponentRequest pcr)
resource - the resource to render the link forcomp - to be added to the created link. In case the link could not be
created, this component will be returned by this class.proxy - is needed as navigation target and for a faster property lookupparams - the parameters defining, what target the link will call. This
class reads out
IResourceRendererParameterNameConst.OPENTARGETTYPE
and either opens a new window, if the value is
IResourceRendererParameterNameConst.OPENTARGETTYPE_NEW
or displays the navigation target in the same window. IResourceRendererParameterNameConst.OPENTARGETTYPE_LINK_LIST
and the resource is an internal link, a new window will open as
well. IResource will be rendered in
place or in a new window. All parameters must not be
nullpcr - portal component requestpublic static String getResourceLinkUrl(IResource resource, IProxyProvider proxy, IParameters params)
resource - the resource to render the link forproxy - is needed as navigation target and for a faster property lookupparams - the parameters defining, what target the link will call. This
class reads out
IResourceRendererParameterNameConst.OPENTARGETTYPE
and either opens a new window, if the value is
IResourceRendererParameterNameConst.OPENTARGETTYPE_NEW
or displays the navigation target in the same window. IResourceRendererParameterNameConst.OPENTARGETTYPE_LINK_LIST
and the resource is an internal link, a new window will open as
well. IResource will be rendered in
place or in a new window. All parameters must not be
nullpublic static String getContentLinkUrl(IResource resource, IProxyProvider proxy, IParameters params)
resource - the resource to render the link forproxy - is needed as navigation target and for a faster property lookupparams - the parameters defining, what target the link will call. This
class reads out
IResourceRendererParameterNameConst.OPENTARGETTYPE
and either opens a new window, if the value is
IResourceRendererParameterNameConst.OPENTARGETTYPE_NEW
or displays the navigation target in the same window. IResourceRendererParameterNameConst.OPENTARGETTYPE_LINK_LIST
and the resource is an internal link, a new window will open as
well. IResource will be rendered in
place or in a new window. All parameters must not be
nullpublic static String getRIDUrl(String navigationLink, IResource res)
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice