public final class Dashboard extends Object implements Localizable<Dashboard>
Dashboard class which acts as a DTO for the DashboardName enum.| Modifier and Type | Method and Description |
|---|---|
static Dashboard |
create(String id,
com.edorasware.commons.core.util.string.I18NString name,
Set<com.edorasware.commons.core.entity.Type> workItemTypes,
boolean virtual)
Creates a new dashboard instance by
DashboardName and specified view properties. |
String |
getId() |
String |
getName() |
Set<String> |
getWorkItemTypes() |
boolean |
isVirtual() |
Dashboard |
localize(org.springframework.context.MessageSource messageSource,
Locale locale)
Localizes the current instance and returns a localized version of the implementing class with respect to the specified
Locale. |
String |
toString() |
public static Dashboard create(String id, com.edorasware.commons.core.util.string.I18NString name, Set<com.edorasware.commons.core.entity.Type> workItemTypes, boolean virtual)
DashboardName and specified view properties.id - the id of the dashboardname - the i18n name of the dashboardworkItemTypes - the work item types for the specified dashboardvirtual - true if this is a virtual dashboard which is not shown in the front endpublic String getId()
public String getName()
public boolean isVirtual()
public Dashboard localize(org.springframework.context.MessageSource messageSource, Locale locale)
LocalizableLocale.localize in interface Localizable<Dashboard>messageSource - the message source which translates the i18n codes for the localizationlocale - the specified locale in which the i18n codes are translatedCopyright © 2010 - 2017 edorasware ag. All Rights Reserved.