use of com.thinkbiganalytics.metadata.modeshape.template.JcrChangeComment in project kylo by Teradata.
the class FeedSummary method setVersionComment.
public void setVersionComment(String comment) {
// First remove any existing comment so the timestamp and user gets correctly set.
JcrUtil.removeNode(getNode(), VERSION_COMMENT);
Node chgNode = JcrUtil.getOrCreateNode(getNode(), VERSION_COMMENT, JcrChangeComment.NODE_TYPE);
new JcrChangeComment(chgNode, comment != null ? comment : "");
}
Aggregations