com.sapportals.wcm.repository
Class ExtendedLockInfo
java.lang.Object
com.sapportals.wcm.repository.LockInfo
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
|
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 |
ExtendedLockInfo
public ExtendedLockInfo(LockType type,
LockScope scope,
LockDepth depth,
String owner,
int timeout,
String lockToken,
Date created,
XMLMarkup ownerInfoFromClient,
RID requestRID)
- Parameters:
type - lock typescope - lock scopedepth - lock depthowner - lock ownertimeout - timeout in secondslockToken - 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 timeownerInfoFromClient - 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
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)
Copyright 2006 SAP AG Complete Copyright Notice