站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

VersionUtil - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.cms.impl.jcr.util
Class VersionUtil

java.lang.Object
  extended byorg.jboss.portal.cms.impl.jcr.util.VersionUtil

public class VersionUtil
extends java.lang.Object

Utility class for Versioning

Author:
Roy Russo, Thomas Heute

Constructor Summary
VersionUtil()
           
 
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
 

Constructor Detail

VersionUtil

public VersionUtil()
Method Detail

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 -