com.sap.netweaver.bc.serialize

Class ContextMap

java.lang.Object
  extended by com.sap.netweaver.bc.serialize.ContextMap

public final class ContextMap
extends Object


Nested Class Summary
static class ContextMap.Creator
           
 
Method Summary
 IPropertyMap getContext(RID rid)
          retrieves the propertymap for the repository defined by the given rid.
static ContextMap getDefault()
           
 boolean isSensitive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContext

public IPropertyMap getContext(RID rid)
retrieves the propertymap for the repository defined by the given rid.

Parameters:
rid - the resource's rid to retrieve the context for. Must not be null
Returns:
the defined variant context (a.k.a the propertymap) for this resource. If none is defined, null will be returned. If the instance is unsensitive, null will be returned.

isSensitive

public boolean isSensitive()
Returns:
flag telling, if there is a variant context defined for at least one repository. Will return true, if so.

getDefault

public static ContextMap getDefault()
Returns:
an instance of an unsensitive ContextMap
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk 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