Class UnitSelectionService


  • public final class UnitSelectionService
    extends java.lang.Object

    This class is a service for unit selection

    Designed as a singleton

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      fr.paris.lutece.plugins.unittree.service.selection.IUnitSelection find​(java.lang.String strId)
      Finds a unit selection with the specified id
      static UnitSelectionService getInstance()
      Gives the instance of the singleton
      java.util.List<fr.paris.lutece.plugins.unittree.service.selection.IUnitSelection> getUnitSelections()
      Gives all unit selections
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInstance

        public static UnitSelectionService getInstance()
        Gives the instance of the singleton
        Returns:
        the instance
      • getUnitSelections

        public java.util.List<fr.paris.lutece.plugins.unittree.service.selection.IUnitSelection> getUnitSelections()
        Gives all unit selections
        Returns:
        the unit selections
      • find

        public fr.paris.lutece.plugins.unittree.service.selection.IUnitSelection find​(java.lang.String strId)
        Finds a unit selection with the specified id
        Parameters:
        strId - the unit selection id
        Returns:
        the unit selection