Class UnitSelectionService
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.unittree.service.task.selection.UnitSelectionService
-
public final class UnitSelectionService extends java.lang.ObjectThis 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.IUnitSelectionfind(java.lang.String strId)Finds a unit selection with the specified idstatic UnitSelectionServicegetInstance()Gives the instance of the singletonjava.util.List<fr.paris.lutece.plugins.unittree.service.selection.IUnitSelection>getUnitSelections()Gives all unit selections
-
-
-
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
-
-