fr.paris.lutece.plugins.crm.util
Class ListUtils

java.lang.Object
  extended by fr.paris.lutece.plugins.crm.util.ListUtils

public class ListUtils
extends Object

Utility to manipulate lists and referenceLists


Constructor Summary
ListUtils()
           
 
Method Summary
static List<String> getPropertyList(String propertyKey)
          Get the property list
static fr.paris.lutece.util.ReferenceList toReferenceList(List<?> list, String key, String value, String firstItem)
          Transforms a basical list to a reference list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListUtils

public ListUtils()
Method Detail

toReferenceList

public static fr.paris.lutece.util.ReferenceList toReferenceList(List<?> list,
                                                                 String key,
                                                                 String value,
                                                                 String firstItem)
Transforms a basical list to a reference list

Parameters:
list -
key -
value -
firstItem -
Returns:
a reference list

getPropertyList

public static List<String> getPropertyList(String propertyKey)
Get the property list

Parameters:
propertyKey -
Returns:
a list of property


Copyright © 2013 Mairie de Paris. All Rights Reserved.