it.eng.spago.cms.util
Class RepositoryNodeUtils

java.lang.Object
  extended by it.eng.spago.cms.util.RepositoryNodeUtils

public class RepositoryNodeUtils
extends java.lang.Object

Utility class that implements methods to perform checks and extract information on the content repository and his nodes.


Constructor Summary
RepositoryNodeUtils()
           
 
Method Summary
static boolean versionNameExist(Node node, java.lang.String version)
          Checks if the node has a version with the input name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryNodeUtils

public RepositoryNodeUtils()
Method Detail

versionNameExist

public static boolean versionNameExist(Node node,
                                       java.lang.String version)
Checks if the node has a version with the input name.

Parameters:
node - Node to control
version - Name version to search inside the node
Returns:
boolean, true if the version exists false otherwise