|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sap.tc.webdynpro.services.sal.url.api.WDWebResource
The class WDWebResource is used to access instances
of type IWDWebResource.
A web resource belongs to a deployable object part. With an IWDWebResource,
it is possible to generate the URL to this object.
IWDWebResource,
WDWebResourceType| Constructor Summary | |
WDWebResource()
|
|
| Method Summary | |
static IWDCachedWebResource |
getCachedWebResource(java.lang.Object key,
WDScopeType scopetype)
Returns the cached web resource with a supplied key as identification and the scopetype for defining the scope in which the resource is searched. |
static IWDCachedWebResource |
getPublicCachedWebResource(byte[] webResource,
WDWebResourceType resourceType,
WDScopeType scopeType,
WDDeployableObjectPart deployableObjectpart,
java.lang.String key)
returns a IWDCachedWebResource, which is saved directly to the WDDeployableObject directory. |
static IWDCachedWebResource |
getPublicCachedWebResource(java.io.InputStream webResource,
WDWebResourceType resourceType,
WDScopeType scopeType,
WDDeployableObjectPart deployableObjectpart,
java.lang.String key)
returns a IWDCachedWebResource, which is saved directly to the WDDeployableObject directory. |
static IWDCachedWebResource |
getWebResource(byte[] webResource,
WDWebResourceType resourceType)
Returns an IWDWebResource for a given web resource. |
static IWDCachedWebResource |
getWebResource(java.io.InputStream input,
WDWebResourceType resourceType)
Returns an IWDWebResource for a given web resource. |
static IWDWebResource |
getWebResource(WDDeployableObjectPart deployableObjectPart)
Return is the IWDWebResource object that represents a
Web Dynpro application, i.e. |
static IWDWebResource |
getWebResource(WDDeployableObjectPart deployableObjectPart,
WDWebResourceType resourceType,
java.lang.String resourceName)
Return is the IWDWebResource object that represents the
specified web resource. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WDWebResource()
| Method Detail |
public static IWDWebResource getWebResource(WDDeployableObjectPart deployableObjectPart)
IWDWebResource object that represents a
Web Dynpro application, i.e. the URL of this Web resource points to the
associated application.deployableObjectPart - a deployable object part
public static IWDWebResource getWebResource(WDDeployableObjectPart deployableObjectPart,
WDWebResourceType resourceType,
java.lang.String resourceName)
IWDWebResource object that represents the
specified web resource. The resource is specified by its type and name.deployableObjectPart - a deployable object partresourceType - the type of the resource as defined by WDWebResourceTyperesourceName - the name of the web resource
public static IWDCachedWebResource getWebResource(byte[] webResource,
WDWebResourceType resourceType)
IWDWebResource for a given web resource. If the
supplied input parameter makePersistent is set to true,
the web resource is made persistent.webResource - the web resource as byte arrayresourceType - the MIME typenull is returned
public static IWDCachedWebResource getWebResource(java.io.InputStream input,
WDWebResourceType resourceType)
IWDWebResource for a given web resource.webResource - the web resource as byte arrayresourceType - the MIME typenull is returned
public static IWDCachedWebResource getPublicCachedWebResource(byte[] webResource,
WDWebResourceType resourceType,
WDScopeType scopeType,
WDDeployableObjectPart deployableObjectpart,
java.lang.String key)
IWDCachedWebResource, which is saved directly to the WDDeployableObject directory.
Its lifetime is defined over WDScopeType. It is cached and saved with the given key. The developer has to be sure,
that it is identifiable over the defined scope
This resource gets an public web resource: it is available on the server as public web resource, like an imagewebResource - - the stream/bytearrayresourceType - - the content type of the bytearrayscopeType - - the lifetime scopetypedeployableObjectPart - - the deployableobject, in which directory the cached source is savedkey - - the name/key of the resource
public static IWDCachedWebResource getPublicCachedWebResource(java.io.InputStream webResource,
WDWebResourceType resourceType,
WDScopeType scopeType,
WDDeployableObjectPart deployableObjectpart,
java.lang.String key)
IWDCachedWebResource, which is saved directly to the WDDeployableObject directory.
Its lifetime is defined over WDScopeType. It is cached and saved with the given key. The developer has to be sure,
that it is identifiable over the defined scope
This resource gets an public web resource: it is available on the server as public web resource, like an imagewebResource - - the stream/bytearrayresourceType - - the content type of the bytearrayscopeType - - the lifetime scopetypedeployableObjectPart - - the deployableobject, in which directory the cached source is savedkey - - the name/key of the resource
public static IWDCachedWebResource getCachedWebResource(java.lang.Object key,
WDScopeType scopetype)
throws WDResourceNotFoundException
key, - the key to find the cached web resourcescopetype, - defines the scope in which the resource is searchedIWDCachedWebResource if existing; otherwise null is returned
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||