user
. This method will throw an IllegalStateException
if the resource is already locked by a different user and pass the result on to the operation once the process succeeds or fails.
@param uri the resource uri
@param user the user locking the resource
@return the locked resource
@throws IllegalStateException if the resource is already locked by a different user
@throws IOException if locking fails due to a database error
@throws ContentRepositoryException if the resource can't be accessed
|
|