com.sapportals.wcm.repository

Class ExtendedLockInfo

java.lang.Object
  extended by com.sapportals.wcm.repository.LockInfo
      extended by com.sapportals.wcm.repository.ExtendedLockInfo
All Implemented Interfaces:
IExtendedLockInfo, ILockInfo

public class ExtendedLockInfo
extends LockInfo
implements ILockInfo, IExtendedLockInfo

This object represents an active deep lock on a resource.

Copyright (c) SAP AG 2002


Field Summary
 
Fields inherited from class com.sapportals.wcm.repository.LockInfo
clientSuppliedOwner, created, depth, expiration, LOCK_TIMEOUT_INFINITE, lockToken, owner, scope, timeout, type
 
Constructor Summary
ExtendedLockInfo(LockType type, LockScope scope, LockDepth depth, String owner, int timeout, String lockToken, Date created, XMLMarkup ownerInfoFromClient, RID requestRID)
           
 
Method Summary
 RID getRequestRID()
          Returns the RID of the resource on which the lock was created
 
Methods inherited from class com.sapportals.wcm.repository.LockInfo
equals, getClientSuppliedOwner, getCreated, getDepth, getExpiration, getLockToken, getOwner, getScope, getTimeout, getType, hashCode, timeRemaining
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sapportals.wcm.repository.ILockInfo
getClientSuppliedOwner, getCreated, getDepth, getExpiration, getLockToken, getOwner, getScope, getTimeout, getType, timeRemaining
 

Constructor Detail

ExtendedLockInfo

public ExtendedLockInfo(LockType type,
                        LockScope scope,
                        LockDepth depth,
                        String owner,
                        int timeout,
                        String lockToken,
                        Date created,
                        XMLMarkup ownerInfoFromClient,
                        RID requestRID)
Parameters:
type - lock type
scope - lock scope
depth - lock depth
owner - lock owner
timeout - timeout in seconds
lockToken - The lock token must be either an absolute URI (as defined in RFC2396 or a relative URI reference (in which case the opaquelocktoken URI scheme is assumed).
created - creation time
ownerInfoFromClient - A client can submit his own owner information that SHOULD be returned upon lock discovery. If present, the format MUST be the XML serialization of a DAV:owner element.
requestRID - RID of resource on which the lock was created
Method Detail

getRequestRID

public RID getRequestRID()
Description copied from interface: IExtendedLockInfo
Returns the RID of the resource on which the lock was created

Specified by:
getRequestRID in interface IExtendedLockInfo
Returns:
the RID of the resource on which the lock was created (or null when unknown)
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