query.bindValue(":published",tempNotebook.isPublished());
query.bindValue(":linked", linked);
query.bindValue(":readOnly", readOnly);
if (tempNotebook.isPublished() && tempNotebook.getPublishing() != null) {
Publishing p = tempNotebook.getPublishing();
query.bindValue(":publishingUri", p.getUri());
query.bindValue(":publishingOrder", p.getOrder().getValue());
query.bindValue(":publishingAscending", p.isAscending());
query.bindValue(":publishingPublicDescription", p.getPublicDescription());
} else {
query.bindValue(":publishingUri", "");
query.bindValue(":publishingOrder", 1);
query.bindValue(":publishingAscending", 1);
query.bindValue(":publishingPublicDescription", "");