info.magnolia.module.admininterface
Class VersionUtil

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

public class VersionUtil
extends java.lang.Object


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


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