Class GroupUIEntity
- java.lang.Object
-
- org.silverpeas.core.web.util.SelectableUIEntity<Group>
-
- org.silverpeas.web.jobdomain.servlets.GroupUIEntity
-
- Direct Known Subclasses:
RemovedGroupUIEntity
public class GroupUIEntity extends SelectableUIEntity<Group>
UI item for aGroup
instance.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static <T extends GroupUIEntity,G extends Group>
voidcomputePathsWith(SilverpeasList<T> uiList, List<G> allGroups)
static <G extends Group>
SilverpeasList<GroupUIEntity>convertList(SilverpeasList<G> values, Set<String> selectedIds)
Converts the given data list into aSilverpeasList
of item wrapping theGroup
.String
getId()
Gets the unique identifier of te item into the UI list.String
getPath()
-
Methods inherited from class org.silverpeas.core.web.util.SelectableUIEntity
convert, getData, getUserByIdFromCache, isSelected, setSelected
-
-
-
-
Method Detail
-
getId
public String getId()
Description copied from class:SelectableUIEntity
Gets the unique identifier of te item into the UI list.- Specified by:
getId
in classSelectableUIEntity<Group>
- Returns:
- a unique identifier as string.
-
getPath
public String getPath()
-
computePathsWith
protected static <T extends GroupUIEntity,G extends Group> void computePathsWith(SilverpeasList<T> uiList, List<G> allGroups)
-
convertList
public static <G extends Group> SilverpeasList<GroupUIEntity> convertList(SilverpeasList<G> values, Set<String> selectedIds)
Converts the given data list into aSilverpeasList
of item wrapping theGroup
.- Parameters:
values
- the list ofGroup
.- Returns:
- the
SilverpeasList
ofGroupUIEntity
.
-
-