Class TemporalExpressionWorker
java.lang.Object
org.apache.ofbiz.service.calendar.TemporalExpressionWorker
TemporalExpression persistence worker.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
static TemporalExpression
getTemporalExpression
(Delegator delegator, String tempExprId) Get aTemporalExpression
from persistent storage.static TemporalExpression
makeTemporalExpression
(Delegator delegator, GenericValue exprValue) Create aTemporalExpression
instance from a TemporalExpression GenericValue.
-
Method Details
-
getTemporalExpression
public static TemporalExpression getTemporalExpression(Delegator delegator, 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
-