com.sapportals.portal.prt.component

Class CachingLevel

java.lang.Object
  extended by com.sapportals.portal.prt.component.CachingLevel
All Implemented Interfaces:
Serializable

public class CachingLevel
extends Object
implements Serializable

Represents the level of caching needed by a PortalComponent. 3 levels are provided.

See Also:
Copyright (c) SAP Portals Europe GmbH 2001, Serialized Form

Field Summary
static CachingLevel COMPONENT
          Deprecated.  
static CachingLevel CONTEXT
          Deprecated.  
static CachingLevel NONE
          The CachingLevel.NONE will not cache the content of the Component.
static CachingLevel SESSION
          Using the CachingLevel.SESSION will associate the cached content with the servlet session.
static CachingLevel SHARED
          Means that the cache is shared by all the users
static CachingLevel USER
          Means that the cache is proper to the user
 
Constructor Summary
CachingLevel(String string)
           
 
Method Summary
static CachingLevel parse(String name)
          parse a caching level string into a caching level The argument string consist of a level name
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COMPONENT

public static final CachingLevel COMPONENT
Deprecated. 
Using the CachingLevel.COMPONENT will associate the cached content with the components instance. I.e. the cached content should not depend on the particular user, nor on the particular client. This is the least flexible and least expensive way of content caching.


CONTEXT

public static final CachingLevel CONTEXT
Deprecated. 
Using the CachingLevel.CONTEXT will associate the cached content with the user's context of the Portal Component. I.e. the cached content should not depend on the particular client.


USER

public static final CachingLevel USER
Means that the cache is proper to the user


SHARED

public static final CachingLevel SHARED
Means that the cache is shared by all the users


SESSION

public static final CachingLevel SESSION
Using the CachingLevel.SESSION will associate the cached content with the servlet session. This is the most flexible but also the most expensive way of content caching


NONE

public static final CachingLevel NONE
The CachingLevel.NONE will not cache the content of the Component.

Constructor Detail

CachingLevel

public CachingLevel(String string)
Parameters:
string -
Method Detail

parse

public static CachingLevel parse(String name)
parse a caching level string into a caching level The argument string consist of a level name

Parameters:
name - string to be parsed
Returns:
parsed value

toString

public String toString()
Overrides:
toString in class Object
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
[sap.com] EP-RUNTIME [sap.com] tc/ep/semantics/api api EP-PIN
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2015 SAP AG Complete Copyright Notice