Class ListUtils

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

public class ListUtils extends Object
Utility to manipulate lists and referenceLists
  • 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

      public static List<String> getPropertyList(String propertyKey)
      Get the property list
      Parameters:
      propertyKey -
      Returns:
      a list of property