Modifier and Type | Field and Description |
---|---|
static String |
COMMENT |
static String |
NAME |
Constructor and Description |
---|
Versionable() |
Modifier and Type | Method and Description |
---|---|
static String |
getComment(javax.jcr.Node node)
Returns the comment set when then node was last versioned or null if no comment has been set.
|
static void |
set(javax.jcr.Node node,
String comment)
Set the versioning comment on the node.
|
public static final String NAME
public static final String COMMENT
public static String getComment(javax.jcr.Node node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public static void set(javax.jcr.Node node, String comment) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.