Class TemporalExpressionWorker

java.lang.Object
org.apache.ofbiz.service.calendar.TemporalExpressionWorker

public final class TemporalExpressionWorker extends Object
TemporalExpression persistence worker.
  • Method Details

    • getTemporalExpression

      public static TemporalExpression getTemporalExpression(Delegator delegator, 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(Delegator 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
    • getExpressionTypeList

      public static String[] getExpressionTypeList()