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(info.magnolia.cms.core.Content content)
           
static Set<javax.jcr.version.Version> getSortedNotDeletedVersionsBefore(info.magnolia.cms.core.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(info.magnolia.cms.core.Content content)
                                                                  throws javax.jcr.RepositoryException,
                                                                         javax.jcr.PathNotFoundException,
                                                                         info.magnolia.cms.security.AccessDeniedException
Throws:
javax.jcr.RepositoryException
javax.jcr.PathNotFoundException
info.magnolia.cms.security.AccessDeniedException

getSortedNotDeletedVersionsBefore

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


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