Package fr.paris.lutece.plugins.crm.util
Class ListUtils
java.lang.Object
fr.paris.lutece.plugins.crm.util.ListUtils
Utility to manipulate lists and referenceLists
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPropertyList(String propertyKey) Get the property liststatic fr.paris.lutece.util.ReferenceListtoReferenceList(List<?> list, String key, String value, String firstItem) Transforms a basical list to a reference list
-
Constructor Details
-
ListUtils
public ListUtils()
-
-
Method Details
-
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
Get the property list- Parameters:
propertyKey-- Returns:
- a list of property
-