com.sapportals.wcm.repository
Class LockedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sapportals.wcm.WcmException
com.sapportals.wcm.util.content.ContentException
com.sapportals.wcm.repository.ResourceException
com.sapportals.wcm.repository.LockedException
- All Implemented Interfaces:
- Serializable
- public class LockedException
- extends ResourceException
The resource was locked by another user.
Copyright (c) 2001-2004 SAP AG
- See Also:
- Serialized Form
| Methods inherited from class com.sapportals.wcm.repository.ResourceException |
fillInStackTrace, getLocalizedMessage, getMessage, getNextResourceException, getResourceID, getRID, printStackTrace, printStackTrace, printStackTrace, setNextResourceException, toString |
LockedException
public LockedException(String msg,
URI resourceID,
String userID)
- Deprecated. as of NW04.
LockedException
public LockedException(String msg,
RID rid,
String userID)
- Parameters:
msg - Messagerid - RID of resource with conflicting locksuserID - user who holds the conflicting lock
LockedException
public LockedException(String msg,
RID rid,
String userID,
RID indirectlyLockedBy,
String indirectLockToken)
- Parameters:
msg - Messagerid - RID of resource with conflicting locksuserID - user who holds the conflicting lockindirectlyLockedBy - if the resource is indirectly locked by means of
a deep lock on a parent, the RID of the resource holding that lock should be specified here
(otherwise null)indirectLockToken - lock token identifying the indirect lock with which this request collided (otherwise null)
getUserID
public String getUserID()
- Returns:
- user who holds the conflicting lock (or
null when unknown)
getIndirectlyLockedRid
public RID getIndirectlyLockedRid()
- Returns:
- if the resource is indirecly locked by means of a deep lock on a parent, the
RID
of that parent resource (or null when unknown or not applicable)
getIndirectLockToken
public String getIndirectLockToken()
- Returns:
- if the resource is indirecly locked by means of a deep lock on a parent, the lock token
for that lock (or
null when unknown or not applicable)
Copyright 2006 SAP AG Complete Copyright Notice