public class ExpressionUiHelper extends Object
Constructor and Description |
---|
ExpressionUiHelper() |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
getCandidateIncludeIds(Delegator delegator,
String tempExprId)
Returns a List of candidate inclusion tempExprId Strings.
|
static List<Map<String,Object>> |
getDayValueList(Locale locale)
Returns a List of Maps containing day of the week values.
|
static List<Map<String,Object>> |
getExpressionTypeList(Map<String,Object> uiLabelMap)
Returns a List of Maps containing valid temporal expression types.
|
static int |
getFirstDayOfWeek(Locale locale)
Returns the first day of the week for the specified locale.
|
static List<Map<String,Object>> |
getFrequencyValueList(Map<String,Object> uiLabelMap)
Returns a List of Maps containing valid Frequency values.
|
static int |
getLastDayOfWeek(Locale locale)
Returns the last day of the week for the specified locale.
|
static List<Map<String,Object>> |
getMonthValueList(Locale locale)
Returns a List of Maps containing month values.
|
static List<?> |
getOccurrenceList()
Returns a List of valid DayInMonth occurrence int values.
|
public static List<?> getOccurrenceList()
public static List<Map<String,Object>> getDayValueList(Locale locale)
locale
- description
entry and a value
entry.public static int getFirstDayOfWeek(Locale locale)
locale
- public static int getLastDayOfWeek(Locale locale)
locale
- public static List<Map<String,Object>> getMonthValueList(Locale locale)
locale
- description
entry and a value
entry.public static List<Map<String,Object>> getFrequencyValueList(Map<String,Object> uiLabelMap)
uiLabelMap
- CommonUiLabels label Mapdescription
entry and a value
entry.public static List<Map<String,Object>> getExpressionTypeList(Map<String,Object> uiLabelMap)
uiLabelMap
- TemporalExpressionUiLabels label Mapdescription
entry and a value
entry.public static Set<String> getCandidateIncludeIds(Delegator delegator, String tempExprId) throws GenericEntityException
delegator
- tempExprId
- The ID of the temporal expression needing candidates
for inclusionGenericEntityException