Class TemporalExpressionWorker
- java.lang.Object
-
- org.apache.ofbiz.service.calendar.TemporalExpressionWorker
-
public final class TemporalExpressionWorker extends java.lang.Object
TemporalExpression persistence worker.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String[]
getExpressionTypeList()
static TemporalExpression
getTemporalExpression(Delegator delegator, java.lang.String tempExprId)
Get aTemporalExpression
from persistent storage.static TemporalExpression
makeTemporalExpression(Delegator delegator, GenericValue exprValue)
Create aTemporalExpression
instance from a TemporalExpression GenericValue.
-
-
-
Method Detail
-
getTemporalExpression
public static TemporalExpression getTemporalExpression(Delegator delegator, java.lang.String tempExprId) throws GenericEntityException
Get aTemporalExpression
from persistent storage.- Parameters:
delegator
-tempExprId
-- Returns:
- A
TemporalExpression
instance based ontempExprId
- Throws:
GenericEntityException
-
makeTemporalExpression
public static TemporalExpression makeTemporalExpression(Delegator delegator, GenericValue exprValue) throws GenericEntityException
Create aTemporalExpression
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 onexprValue
- Throws:
GenericEntityException
-
getExpressionTypeList
public static java.lang.String[] getExpressionTypeList()
-
-