fr.paris.lutece.plugins.crm.util
Class ListUtils
java.lang.Object
fr.paris.lutece.plugins.crm.util.ListUtils
public class ListUtils
- extends Object
Utility to manipulate lists and referenceLists
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListUtils
public ListUtils()
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 © 2014 Mairie de Paris. All Rights Reserved.