com.liferay.faces.util.config.internal
Class OrderingUtil

java.lang.Object
  extended by com.liferay.faces.util.config.internal.OrderingUtil

public class OrderingUtil
extends Object

Author:
Vernon Singleton

Constructor Summary
OrderingUtil()
           
 
Method Summary
static Map<String,FacesConfigDescriptor> getConfigMap(List<FacesConfigDescriptor> facesConfigDescriptors)
           
static List<FacesConfigDescriptor> getOrder(List<FacesConfigDescriptor> configList)
          This method returns an ordered version of the specified list of faces-config.xml descriptors and assumes that there is no absolute ordering.
static List<FacesConfigDescriptor> getOrder(List<FacesConfigDescriptor> configs, List<String> absoluteOrder)
          This method returns an ordered version of the specified list of faces-config.xml descriptors, taking the specified absolute ordering into account.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderingUtil

public OrderingUtil()
Method Detail

getConfigMap

public static Map<String,FacesConfigDescriptor> getConfigMap(List<FacesConfigDescriptor> facesConfigDescriptors)

getOrder

public static List<FacesConfigDescriptor> getOrder(List<FacesConfigDescriptor> configList)
                                            throws OrderingBeforeAndAfterException,
                                                   OrderingCircularDependencyException,
                                                   OrderingMaxAttemptsException
This method returns an ordered version of the specified list of faces-config.xml descriptors and assumes that there is no absolute ordering.

Throws:
OrderingBeforeAndAfterException
OrderingCircularDependencyException
OrderingMaxAttemptsException

getOrder

public static List<FacesConfigDescriptor> getOrder(List<FacesConfigDescriptor> configs,
                                                   List<String> absoluteOrder)
This method returns an ordered version of the specified list of faces-config.xml descriptors, taking the specified absolute ordering into account.



Copyright © 2015 Liferay, Inc.. All rights reserved.