com.sapportals.wcm.repository

Class LockInfoInterpreter

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

public class LockInfoInterpreter
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
LockInfoInterpreter()
           
 
Method Summary
static LockDepth getDepth(ILockInfo instance)
           
static LockScope getScope(ILockInfo instance)
           
static LockType getType(ILockInfo instance)
           
static LockInfo newInstance_LockInfo(LockType type, LockScope scope, LockDepth depth, String owner, int timeout, String lockToken)
           
static LockInfo newInstance_LockInfo(LockType type, LockScope scope, LockDepth depth, String owner, int timeout, String lockToken, Date created)
           
static LockInfo newInstance_LockInfo(LockType type, LockScope scope, LockDepth depth, String owner, int timeout, String lockToken, Date created, XMLMarkup ownerInfoFromClient)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockInfoInterpreter

public LockInfoInterpreter()
Method Detail

getDepth

public static LockDepth getDepth(ILockInfo instance)

getScope

public static LockScope getScope(ILockInfo instance)

getType

public static LockType getType(ILockInfo instance)

newInstance_LockInfo

public static LockInfo newInstance_LockInfo(LockType type,
                                            LockScope scope,
                                            LockDepth depth,
                                            String owner,
                                            int timeout,
                                            String lockToken,
                                            Date created,
                                            XMLMarkup ownerInfoFromClient)

newInstance_LockInfo

public static LockInfo newInstance_LockInfo(LockType type,
                                            LockScope scope,
                                            LockDepth depth,
                                            String owner,
                                            int timeout,
                                            String lockToken,
                                            Date created)

newInstance_LockInfo

public static LockInfo newInstance_LockInfo(LockType type,
                                            LockScope scope,
                                            LockDepth depth,
                                            String owner,
                                            int timeout,
                                            String lockToken)
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