info.magnolia.module.admininterface
Class VersionUtil

java.lang.Object
  extended by info.magnolia.module.admininterface.VersionUtil

public class VersionUtil
extends Object


Constructor Summary
VersionUtil()
           
 
Method Summary
static Set<javax.jcr.version.Version> getSortedNotDeletedVersions(Content content)
           
static Set<javax.jcr.version.Version> getSortedNotDeletedVersionsBefore(Content content, String versionName)
           
 
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

getSortedNotDeletedVersions

public static Set<javax.jcr.version.Version> getSortedNotDeletedVersions(Content content)
                                                                  throws javax.jcr.RepositoryException,
                                                                         javax.jcr.PathNotFoundException,
                                                                         AccessDeniedException
Throws:
javax.jcr.RepositoryException
javax.jcr.PathNotFoundException
AccessDeniedException

getSortedNotDeletedVersionsBefore

public static Set<javax.jcr.version.Version> getSortedNotDeletedVersionsBefore(Content content,
                                                                               String versionName)
                                                                        throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.