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 aSILVERMAILMessageinstance.- 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 aSilverpeasListof item wrapping theContribution.StringgetAttendeeLabel()Gets the attendee label according to the current view type.List<Attendee>getAttendees()Gets the list of attendees of the to do.StringgetId()Gets the unique identifier of te item into the UI list.StringgetPath()Gets the path of the to do.StringgetPercentCompletedLabel()Gets the label of the priority level.StringgetPriorityLabel()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:SelectableUIEntityGets the unique identifier of te item into the UI list.- Specified by:
getIdin 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 aSilverpeasListof item wrapping theContribution.- Parameters:
requests- the list ofToDoHeader.- Returns:
- the
SilverpeasListofToDoHeaderUIEntity.
-
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
Attendeeinstances.
-
getPercentCompletedLabel
public String getPercentCompletedLabel()
Gets the label of the priority level.- Returns:
- the label of priority level.
-
-