com.sapportals.wcm.control.util

Class RendererResourceLink

java.lang.Object
  extended by com.sapportals.wcm.control.util.RendererResourceLink

Deprecated. As of NetWeaver 7.1

public class RendererResourceLink
extends Object

The PropertyRendererUser is used to render property "user"

Copyright 2004 SAP AG


Field Summary
static String BROKEN_LINK_PAGE
          Deprecated.  
 
Constructor Summary
RendererResourceLink()
          Deprecated. As of NetWeaver 7.1
 
Method Summary
static com.sapportals.htmlb.Link getDetailsLink(IResource res)
          Deprecated. As of NetWeaver 7.1
static String getResourceLink(IResource res)
          Deprecated. As of NetWeaver 7.1
static String getResourceLink(IResource res, boolean useUriAsStartUri)
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.Link getResourceLink(String id, String text, String target, IResource res, com.sapportals.htmlb.Component comp)
          Deprecated. As of NetWeaver 7.1
static String getResourcePropertiesLink(IResource res)
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.Link getXMLFormsLink(String label, IResource res, String formid, String projectroot)
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.Component renderLinkRes(IResource res)
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.Component renderLinkRes(IResource res, int MaxLength)
          Deprecated. As of NetWeaver 7.1
static String renderPathString(IResource res)
          Deprecated. As of NetWeaver 7.1
static String renderPathString(IResource res, int MaxLength)
          Deprecated. As of NetWeaver 7.1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BROKEN_LINK_PAGE

public static final String BROKEN_LINK_PAGE
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

RendererResourceLink

public RendererResourceLink()
Deprecated. As of NetWeaver 7.1

Method Detail

getResourceLink

public static String getResourceLink(IResource res,
                                     boolean useUriAsStartUri)
Deprecated. As of NetWeaver 7.1

creates the complete URL needed to open the given resource in a seperate browser-windows. It uses the IURLGenerator. If the given resource is not a collection or the parameter is set to false, the method will internally call getResourceLink(IResource res). Otherwise it will check, if there is a valid IObjectTypeHandler defined for the resource. If so, and if this handler defines an IAction of type VIEW, that URL will be used.
If not, the method will create a URL that opens a new browser window and uses the RID of the resource also as parameter for the StartUri to prevent navigation from the resource down to the virtual root repository.

Parameters:
res -
useUriAsStartUri -
Returns:
resource link

getResourceLink

public static String getResourceLink(IResource res)
Deprecated. As of NetWeaver 7.1


getResourcePropertiesLink

public static String getResourcePropertiesLink(IResource res)
Deprecated. As of NetWeaver 7.1


getDetailsLink

public static com.sapportals.htmlb.Link getDetailsLink(IResource res)
Deprecated. As of NetWeaver 7.1


getResourceLink

public static com.sapportals.htmlb.Link getResourceLink(String id,
                                                        String text,
                                                        String target,
                                                        IResource res,
                                                        com.sapportals.htmlb.Component comp)
Deprecated. As of NetWeaver 7.1


getXMLFormsLink

public static com.sapportals.htmlb.Link getXMLFormsLink(String label,
                                                        IResource res,
                                                        String formid,
                                                        String projectroot)
Deprecated. As of NetWeaver 7.1

XML Forms processing link for given resource added: 2002-08-07 / m.hans@sap.com

Parameters:
res - resource to process
formid - XML form id
label - Description of the param
Returns:
Link to the xml forms processing object

renderPathString

public static String renderPathString(IResource res,
                                      int MaxLength)
Deprecated. As of NetWeaver 7.1


renderPathString

public static String renderPathString(IResource res)
Deprecated. As of NetWeaver 7.1


renderLinkRes

public static com.sapportals.htmlb.Component renderLinkRes(IResource res,
                                                           int MaxLength)
Deprecated. As of NetWeaver 7.1


renderLinkRes

public static com.sapportals.htmlb.Component renderLinkRes(IResource res)
Deprecated. As of NetWeaver 7.1

Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice