Package org.silverpeas.web.todo.control
Class ToDoHeaderUIEntity
- java.lang.Object
-
- org.silverpeas.core.web.util.SelectableUIEntity<ToDoHeader>
-
- org.silverpeas.web.todo.control.ToDoHeaderUIEntity
-
public class ToDoHeaderUIEntity extends SelectableUIEntity<ToDoHeader>
UI item for aSILVERMAILMessage
instance.- Author:
- Yohann Chastagnier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SilverpeasList<ToDoHeaderUIEntity>
convertList(ToDoSessionController controller, SilverpeasList<ToDoHeader> requests, Set<String> selectedIds)
Converts the given data list into aSilverpeasList
of item wrapping theContribution
.String
getAttendeeLabel()
Gets the attendee label according to the current view type.List<Attendee>
getAttendees()
Gets the list of attendees of the to do.String
getId()
Gets the unique identifier of te item into the UI list.String
getPath()
Gets the path of the to do.String
getPercentCompletedLabel()
Gets the label of the priority level.String
getPriorityLabel()
Gets the label of the priority level.-
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<ToDoHeader>
- Returns:
- a unique identifier as string.
-
convertList
public static SilverpeasList<ToDoHeaderUIEntity> convertList(ToDoSessionController controller, SilverpeasList<ToDoHeader> requests, Set<String> selectedIds)
Converts the given data list into aSilverpeasList
of item wrapping theContribution
.- Parameters:
requests
- the list ofToDoHeader
.- Returns:
- the
SilverpeasList
ofToDoHeaderUIEntity
.
-
getPath
public String getPath()
Gets the path of the to do.- Returns:
- a functional path.
-
getPriorityLabel
public String getPriorityLabel()
Gets the label of the priority level.- Returns:
- the label of priority level.
-
getAttendeeLabel
public String getAttendeeLabel()
Gets the attendee label according to the current view type.- Returns:
- the attendee label.
-
getAttendees
public List<Attendee> getAttendees()
Gets the list of attendees of the to do.- Returns:
- a list of
Attendee
instances.
-
getPercentCompletedLabel
public String getPercentCompletedLabel()
Gets the label of the priority level.- Returns:
- the label of priority level.
-
-