当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
VersionUtil - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.cms.impl.jcr.util
Class VersionUtil
java.lang.Object
org.jboss.portal.cms.impl.jcr.util.VersionUtil
- public class VersionUtil
- extends java.lang.Object
Utility class for Versioning
- Author:
- Roy Russo, Thomas Heute
Method Summary |
static void |
createContentVersion(Node node,
boolean isLive)
|
static void |
createFileVersion(Node node,
boolean isLive)
|
static void |
createFolderVersion(Node node,
boolean isLive)
|
static void |
createVersion(Node node,
boolean isLive)
Creates a new node, with a new node label and checks it in. |
static void |
print(Node node)
Prints to std out, version node and properties information. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionUtil
public VersionUtil()
createVersion
public static void createVersion(Node node,
boolean isLive)
throws CMSException
- Creates a new node, with a new node label and checks it in.
- Parameters:
node
-
- Throws:
CMSException
createContentVersion
public static void createContentVersion(Node node,
boolean isLive)
throws CMSException
- Throws:
CMSException
createFileVersion
public static void createFileVersion(Node node,
boolean isLive)
throws CMSException
- Throws:
CMSException
createFolderVersion
public static void createFolderVersion(Node node,
boolean isLive)
throws CMSException
- Throws:
CMSException
print
public static void print(Node node)
- Prints to std out, version node and properties information.
- Parameters:
node
-