/**
* @see RepositoryService#checkin(SessionInfo, NodeId)
*/
public NodeId checkin(SessionInfo sessionInfo, NodeId nodeId) throws VersionException, UnsupportedRepositoryOperationException, InvalidItemStateException, LockException, RepositoryException {
String uri = getItemUri(nodeId, sessionInfo);
CheckinMethod method = new CheckinMethod(uri);
execute(method, sessionInfo);
Header rh = method.getResponseHeader(DeltaVConstants.HEADER_LOCATION);
return uriResolver.getNodeId(resolve(uri, rh.getValue()), sessionInfo);
}