org.ofbiz.service.calendar
Class TemporalExpressionWorker
java.lang.Object
org.ofbiz.service.calendar.TemporalExpressionWorker
public class TemporalExpressionWorker
- extends java.lang.Object
TemporalExpression persistence worker.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateRange
public static final java.lang.String DateRange
- See Also:
- Constant Field Values
DayInMonth
public static final java.lang.String DayInMonth
- See Also:
- Constant Field Values
DayOfMonthRange
public static final java.lang.String DayOfMonthRange
- See Also:
- Constant Field Values
DayOfWeekRange
public static final java.lang.String DayOfWeekRange
- See Also:
- Constant Field Values
Difference
public static final java.lang.String Difference
- See Also:
- Constant Field Values
Frequency
public static final java.lang.String Frequency
- See Also:
- Constant Field Values
Intersection
public static final java.lang.String Intersection
- See Also:
- Constant Field Values
MonthRange
public static final java.lang.String MonthRange
- See Also:
- Constant Field Values
TimeOfDayRange
public static final java.lang.String TimeOfDayRange
- See Also:
- Constant Field Values
Union
public static final java.lang.String Union
- See Also:
- Constant Field Values
ExpressionTypeList
public static final java.lang.String[] ExpressionTypeList
TemporalExpressionWorker
public TemporalExpressionWorker()
getTemporalExpression
public static TemporalExpression getTemporalExpression(GenericDelegator delegator,
java.lang.String tempExprId)
throws GenericEntityException
- Get a
TemporalExpression
from persistent storage.
- Parameters:
delegator
- tempExprId
-
- Returns:
- A
TemporalExpression
instance based on tempExprId
- Throws:
GenericEntityException
makeTemporalExpression
public static TemporalExpression makeTemporalExpression(GenericDelegator delegator,
GenericValue exprValue)
throws GenericEntityException
- Create a
TemporalExpression
instance from a TemporalExpression
GenericValue.This method makes recursive calls, so care must be taken to
avoid endless loops.
- Parameters:
delegator
- exprValue
-
- Returns:
- A
TemporalExpression
instance based on exprValue
- Throws:
GenericEntityException
getChildExpressions
protected static java.util.Set<TemporalExpression> getChildExpressions(GenericDelegator delegator,
java.lang.String tempExprId)
throws GenericEntityException
- Throws:
GenericEntityException