org.exoplatform.services.deployment
Class Utils
java.lang.Object
org.exoplatform.services.deployment.Utils
public class Utils
- extends Object
- Author:
- benjaminmestrallet
|
Constructor Summary |
Utils()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAPPING_FILE
public static final String MAPPING_FILE
- See Also:
- Constant Field Values
Utils
public Utils()
makePath
public static javax.jcr.Node makePath(javax.jcr.Node rootNode,
String path,
String nodetype)
throws javax.jcr.PathNotFoundException,
javax.jcr.RepositoryException
- Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
makePath
public static javax.jcr.Node makePath(javax.jcr.Node rootNode,
String path,
String nodetype,
Map permissions)
throws javax.jcr.PathNotFoundException,
javax.jcr.RepositoryException
- Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
processImportHistory
public static void processImportHistory(javax.jcr.Node currentNode,
InputStream versionHistorySourceStream,
Map<String,String> mapHistoryValue)
throws Exception
- this function used to process import version history for a node
- Parameters:
currentNode - versionHistorySourceStream - mapHistoryValue -
- Throws:
Exception
getMapImportHistory
public static Map<String,String> getMapImportHistory(InputStream importHistorySourceStream)
throws Exception
- get data from the version history file
- Parameters:
importHistorySourceStream -
- Returns:
-
- Throws:
Exception
Copyright © 2013 eXo Platform SAS. All Rights Reserved.