com.sapportals.portal.prt.resource

Interface IResourceInformation

All Known Subinterfaces:
IRemoteResourceInformation

public interface IResourceInformation

The ResourceInformation holds informations related to resources. This class is provided by the ResourceManager when it calls the IResourse.init method. A component can access the resource informations by calling the IResource.getResourceInformation() method.

See Also:
IResource, IResource.getResourceInformation(), IPropertiesResource, IPortalComponentRequest.getResource(String, String, String), IPortalComponentResponse.addResource(IResource)

Method Summary
 String getComponent()
          Returns the name of the component the resource belongs to.
 String getSource()
          Returns the absolute path of this resource.
 String getType()
          Returns the resource type.
 String getURL(IPortalComponentRequest request)
          Returns the URL referring to this resource.
 

Method Detail

getComponent

String getComponent()
Returns the name of the component the resource belongs to.

Returns:
The name of the component the resource belongs to.

getType

String getType()
Returns the resource type. The IResource interface defines constants for standard resource types.

See Also:
IResource

getSource

String getSource()
Returns the absolute path of this resource.


getURL

String getURL(IPortalComponentRequest request)
Returns the URL referring to this resource.

Parameters:
request -
Returns:
The URL referring to this resource.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] epbc.prtapi._apideprecated default EP-PIN-PRT
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice