com.sapportals.wcm.repository

Class LockPropertiesInterpreter

java.lang.Object
  extended by com.sapportals.wcm.repository.LockPropertiesInterpreter

public class LockPropertiesInterpreter
extends Object

This is a very simple interpreter class that allows one to write JDK 1.5 compliant code. Use this class to call methods using the old deprecated enum objects. For each method in class X (X.doExample(oldEnumType)), you'll find a corresponding method of the form doExample(instanceOfX,newEnumType) in this class.

Since:
NW 7.1

Constructor Summary
LockPropertiesInterpreter()
           
 
Method Summary
static LockDepth getDepth(ILockProperties instance)
           
static LockScope getScope(ILockProperties instance)
           
static LockType getType(ILockProperties instance)
           
static LockProperties newInstance_LockProperties(LockType type, LockScope scope, LockDepth depth, int timeout)
           
static LockProperties newInstance_LockProperties(LockType type, LockScope scope, LockDepth depth, int timeout, XMLMarkup clientSuppliedOwner)
           
static void setDepth(ILockProperties instance, LockDepth depth)
           
static void setScope(ILockProperties instance, LockScope scope)
           
static void setType(ILockProperties instance, LockType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockPropertiesInterpreter

public LockPropertiesInterpreter()
Method Detail

getType

public static LockType getType(ILockProperties instance)

getScope

public static LockScope getScope(ILockProperties instance)

getDepth

public static LockDepth getDepth(ILockProperties instance)

setType

public static void setType(ILockProperties instance,
                           LockType type)

setScope

public static void setScope(ILockProperties instance,
                            LockScope scope)

setDepth

public static void setDepth(ILockProperties instance,
                            LockDepth depth)

newInstance_LockProperties

public static LockProperties newInstance_LockProperties(LockType type,
                                                        LockScope scope,
                                                        LockDepth depth,
                                                        int timeout)

newInstance_LockProperties

public static LockProperties newInstance_LockProperties(LockType type,
                                                        LockScope scope,
                                                        LockDepth depth,
                                                        int timeout,
                                                        XMLMarkup clientSuppliedOwner)
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