public void uncheckout( NodeRevisionDescriptors rNrds, NodeRevisionDescriptor rNrd)
throws SlideException, JDOMException, IOException, PreconditionViolationException {
Iterator i;
String rUri = getUri( rNrds, rNrd );
ResourceKind rRk = AbstractResourceKind.determineResourceKind( nsaToken, rNrds, rNrd );
// check precondition C_MUST_BE_CHECKED_OUT_VERSION_CONTROLLED_RESOURCE
if ( ! (rRk instanceof CheckedOutVersionControlled) ) {
throw new PreconditionViolationException(new ViolatedPrecondition(C_MUST_BE_CHECKED_OUT_VERSION_CONTROLLED_RESOURCE,
WebdavStatus.SC_CONFLICT),
rNrds.getUri());
}
if( !rRk.isSupportedMethod(req.getMethod()) ) {
throw new MethodNotAllowedException( rRk );
}
// get checked-out VR
NodeProperty coutProp = rNrd.getProperty( P_CHECKED_OUT );