Package de.xima.fc.gui.bean.statistics
Class StatisticsDataBean
- java.lang.Object
-
- de.xima.fc.gui.bean.statistics.StatisticsDataBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class StatisticsDataBean extends Object implements Serializable
Managed helper bean that provides Mandant and project DTOs and some common functionality.- Since:
- 8.5.5
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StatisticsDataBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NamedEntityDto>getMandantList()StringgetProjectDisplayName(BasicProjectDto project)List<BasicProjectDto>getProjectList()
-
-
-
Method Detail
-
getMandantList
public List<NamedEntityDto> getMandantList()
- Returns:
- an immutable list of DTOs for all Mandants.
-
getProjectList
public List<BasicProjectDto> getProjectList()
- Returns:
- an immutable list of DTOs for all projects that belong to the current Mandant.
-
getProjectDisplayName
public String getProjectDisplayName(BasicProjectDto project)
- Returns:
- a string to be used as the label for the provided project DTO
-
-