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
|
Constructor Summary |
LockedException(LockInPlaceException newEx,
String userID,
RID indirectlyLockedBy,
String indirectLockToken)
This constructor is used by the framework to use this exception as a
wrapper for a new exception class of the repository manager API. |
LockedException(String msg,
RID rid,
String userID)
|
LockedException(String msg,
RID rid,
String userID,
RID indirectlyLockedBy,
String indirectLockToken)
|
LockedException(String msg,
URI resourceID,
String userID)
Deprecated. as of NW04. |
| 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)
LockedException
public LockedException(LockInPlaceException newEx,
String userID,
RID indirectlyLockedBy,
String indirectLockToken)
- This constructor is used by the framework to use this exception as a
wrapper for a new exception class of the repository manager API.
- Parameters:
newEx - The new exception.
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)
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