Class FcTimePointProps

java.lang.Object
de.xima.fc.workflow.taglib.model.BaseTriggerProps
de.xima.fc.workflow.model.triggers.FcTimePointProps
All Implemented Interfaces:
IDescriptionProviding, INameProviding, Serializable

@NotNullIf(field="timePointFixed.fireDateTime",dependants="timePointType",target=FcTimePointProps.class,test="testIsTimePointFixed") @NotNullIf(field="timePointExpressionWithFormat.durationUnit",dependants="timePointType",target=FcTimePointProps.class,test="testIsTimePointExpressionWithFormat") @NotNullIf(field="timePointExpressionWithFormat.operation",dependants="timePointType",target=FcTimePointProps.class,test="testIsTimePointExpressionWithFormat") @NotEmptyIf(field="timePointExpressionWithFormat.dateTimeTemplate", dependants="timePointType", target=FcTimePointProps.class, test="testIsTimePointExpressionWithFormat") @DateTimeFormatterPatternIf(field="timePointExpressionWithFormat.dateTimeFormat", dependants="timePointType", target=FcTimePointProps.class, test="testIsTimePointExpressionWithFormat") public final class FcTimePointProps extends BaseTriggerProps
The properties model for workflow triggers of type EWorkflowTriggerType.FC_TIME_POINT.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Field Details

  • Constructor Details

    • FcTimePointProps

      public FcTimePointProps()
  • Method Details

    • getAllowedStates

      public List<UuidEntityRef> getAllowedStates()
      Returns:
      A list of all states allowed for this trigger. This trigger fires only when the form record is in one of these states . When this is an empty list, no restriction is applied.
    • getTimePointExpressionWithFormat

      public FcTimePointProps.TimePointExpressionWithFormat getTimePointExpressionWithFormat()
      Returns:
      The settings for the time point when getTimePointType() is set to ETimePointType.EXPRESSION_WITH_FORMAT.
    • getTimePointFixed

      public FcTimePointProps.TimePointFixed getTimePointFixed()
      Returns:
      The settings for the time point when getTimePointType() is set to ETimePointType.FIXED.
    • getTimePointType

      public ETimePointType getTimePointType()
      Returns:
      How the user wishes to specify the point in time when the trigger should fire.
    • isFireWhenInPast

      public boolean isFireWhenInPast()
      Returns:
      When true and the evaluated point in time lies in the past, the trigger is fired immediately. When false, the trigger is not fired.
    • setAllowedStates

      public void setAllowedStates(List<UuidEntityRef> allowedStates)
      Parameters:
      allowedStates - A list of all states allowed for this trigger. This trigger fires only when the form record is in one of these states . When this is an empty list, no restriction is applied.
    • setFireWhenInPast

      public void setFireWhenInPast(boolean fireWhenInPast)
      Parameters:
      fireWhenInPast - When true and the evaluated point in time lies in the past, the trigger is fired immediately. When false, the trigger is not fired.
    • setTimePointExpressionWithFormat

      public void setTimePointExpressionWithFormat(FcTimePointProps.TimePointExpressionWithFormat timePointExpressionWithFormat)
      Parameters:
      timePointExpressionWithFormat - The settings for the time point when getTimePointType() is set to ETimePointType.EXPRESSION_WITH_FORMAT.
    • setTimePointFixed

      public void setTimePointFixed(FcTimePointProps.TimePointFixed timePointFixed)
      Parameters:
      timePointFixed - The settings for the time point when getTimePointType() is set to ETimePointType.FIXED.
    • setTimePointType

      public void setTimePointType(ETimePointType timePointType)
      Parameters:
      timePointType - How the user wishes to specify the point in time when the trigger should fire.