com.sapportals.wcm.repository

Class LockProperties

java.lang.Object
  extended by com.sapportals.wcm.repository.LockProperties
All Implemented Interfaces:
ILockProperties

public class LockProperties
extends Object
implements ILockProperties

A container for the properties of a lock.

Copyright 2004 SAP AG


Field Summary
protected  XMLMarkup m_clientSuppliedOwner
           
protected  LockDepth m_depth
           
protected  LockScope m_scope
           
protected  int m_timeout
           
protected  LockType m_type
           
 
Constructor Summary
LockProperties(LockType type, LockScope scope, LockDepth depth, int timeout)
           
LockProperties(LockType type, LockScope scope, LockDepth depth, int timeout, XMLMarkup clientSuppliedOwner)
           
 
Method Summary
 XMLMarkup getClientSuppliedOwner()
           
 LockDepth getDepth()
           
 LockScope getScope()
           
 int getTimeout()
           
 LockType getType()
           
 void setClientSuppliedOwner(XMLMarkup clientSuppliedOwner)
           
 void setDepth(LockDepth depth)
           
 void setScope(LockScope scope)
           
 void setTimeout(int timeout)
           
 void setType(LockType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_type

protected LockType m_type

m_scope

protected LockScope m_scope

m_depth

protected LockDepth m_depth

m_timeout

protected int m_timeout

m_clientSuppliedOwner

protected XMLMarkup m_clientSuppliedOwner
Constructor Detail

LockProperties

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

LockProperties

public LockProperties(LockType type,
                      LockScope scope,
                      LockDepth depth,
                      int timeout,
                      XMLMarkup clientSuppliedOwner)
Method Detail

getType

public LockType getType()
Specified by:
getType in interface ILockProperties

getScope

public LockScope getScope()
Specified by:
getScope in interface ILockProperties

getDepth

public LockDepth getDepth()
Specified by:
getDepth in interface ILockProperties

getTimeout

public int getTimeout()
Specified by:
getTimeout in interface ILockProperties

getClientSuppliedOwner

public XMLMarkup getClientSuppliedOwner()
Specified by:
getClientSuppliedOwner in interface ILockProperties

setType

public void setType(LockType type)
Specified by:
setType in interface ILockProperties

setScope

public void setScope(LockScope scope)
Specified by:
setScope in interface ILockProperties

setDepth

public void setDepth(LockDepth depth)
Specified by:
setDepth in interface ILockProperties

setTimeout

public void setTimeout(int timeout)
Specified by:
setTimeout in interface ILockProperties

setClientSuppliedOwner

public void setClientSuppliedOwner(XMLMarkup clientSuppliedOwner)
Specified by:
setClientSuppliedOwner in interface ILockProperties
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