if (object == null) {
throw new CmisRuntimeException("New relationship is null!");
}
// return object
JSONObject jsonObject = JSONConverter.convert(object, typeCache, false);
setStatus(request, response, HttpServletResponse.SC_CREATED);
setCookie(request, response, repositoryId, transaction,
createCookieValue(HttpServletResponse.SC_CREATED, object.getId(), null, null));