|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ofbiz.service.calendar.ExpressionUiHelper
public class ExpressionUiHelper
TemporalExpression UI artifacts worker.
Field Summary | |
---|---|
static int[] |
Occurrence
An array of valid DayInMonth occurrence values. |
Constructor Summary | |
---|---|
ExpressionUiHelper()
|
Method Summary | |
---|---|
static java.util.Set<java.lang.String> |
getCandidateIncludeIds(GenericDelegator delegator,
java.lang.String tempExprId)
Returns a List of candidate inclusion tempExprId Strings. |
static java.util.List<java.util.Map> |
getDayValueList(java.util.Locale locale)
Returns a List of Maps containing day of the week values. |
static java.util.List<java.util.Map> |
getExpressionTypeList(java.util.Map<java.lang.String,java.lang.Object> uiLabelMap)
Returns a List of Maps containing valid temporal expression types. |
static int |
getFirstDayOfWeek(java.util.Locale locale)
Returns the first day of the week for the specified locale. |
static java.util.List<java.util.Map> |
getFrequencyValueList(java.util.Map<java.lang.String,java.lang.Object> uiLabelMap)
Returns a List of Maps containing valid Frequency values. |
static int |
getLastDayOfWeek(java.util.Locale locale)
Returns the last day of the week for the specified locale. |
static java.util.List<java.util.Map> |
getMonthValueList(java.util.Locale locale)
Returns a List of Maps containing month values. |
static java.util.List |
getOccurrenceList()
Returns a List of valid DayInMonth occurrence int values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int[] Occurrence
Constructor Detail |
---|
public ExpressionUiHelper()
Method Detail |
---|
public static java.util.List getOccurrenceList()
public static java.util.List<java.util.Map> getDayValueList(java.util.Locale locale)
locale
-
description
entry and a value
entry.public static int getFirstDayOfWeek(java.util.Locale locale)
locale
-
public static int getLastDayOfWeek(java.util.Locale locale)
locale
-
public static java.util.List<java.util.Map> getMonthValueList(java.util.Locale locale)
locale
-
description
entry and a value
entry.public static java.util.List<java.util.Map> getFrequencyValueList(java.util.Map<java.lang.String,java.lang.Object> uiLabelMap)
uiLabelMap
- CommonUiLabels label Map
description
entry and a value
entry.public static java.util.List<java.util.Map> getExpressionTypeList(java.util.Map<java.lang.String,java.lang.Object> uiLabelMap)
uiLabelMap
- TemporalExpressionUiLabels label Map
description
entry and a value
entry.public static java.util.Set<java.lang.String> getCandidateIncludeIds(GenericDelegator delegator, java.lang.String tempExprId) throws GenericEntityException
delegator
- tempExprId
- The ID of the temporal expression needing candidates
for inclusion
GenericEntityException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |