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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
The settings for the time point whengetTimePointType()
is set toETimePointType.EXPRESSION_WITH_FORMAT
.static final class
The settings for the time point whengetTimePointType()
is set toETimePointType.FIXED
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
ISO date time format that is compatible with JavaScriptDate.prototype.toString
.static final String
static final String
static final String
Key for storing the selected state UUIDs asWorkflowTriggerSearchTerm
sFields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setAllowedStates
(List<UuidEntityRef> allowedStates) void
setFireWhenInPast
(boolean fireWhenInPast) void
setTimePointExpressionWithFormat
(FcTimePointProps.TimePointExpressionWithFormat timePointExpressionWithFormat) void
setTimePointFixed
(FcTimePointProps.TimePointFixed timePointFixed) void
setTimePointType
(ETimePointType timePointType) Methods inherited from class de.xima.fc.workflow.taglib.model.BaseTriggerProps
getBeschreibung, getColor, getDescription, getIcon, getName, setColor, setDescription, setIcon, setName
-
Field Details
-
ISO_DATE_TIME_FORMAT
ISO date time format that is compatible with JavaScriptDate.prototype.toString
.- See Also:
-
ISO_INSTANT_FORMAT
- See Also:
-
ISO_OFFSET_DATE_TIME_FORMAT
- See Also:
-
SEARCH_TERM_STATE_UUID
Key for storing the selected state UUIDs asWorkflowTriggerSearchTerm
s
-
-
Constructor Details
-
FcTimePointProps
public FcTimePointProps()
-
-
Method Details
-
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
- Returns:
- The settings for the time point when
getTimePointType()
is set toETimePointType.EXPRESSION_WITH_FORMAT
.
-
getTimePointFixed
- Returns:
- The settings for the time point when
getTimePointType()
is set toETimePointType.FIXED
.
-
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. Whenfalse
, the trigger is not fired.
-
setAllowedStates
- 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
- Whentrue
and the evaluated point in time lies in the past, the trigger is fired immediately. Whenfalse
, the trigger is not fired.
-
setTimePointExpressionWithFormat
public void setTimePointExpressionWithFormat(FcTimePointProps.TimePointExpressionWithFormat timePointExpressionWithFormat) - Parameters:
timePointExpressionWithFormat
- The settings for the time point whengetTimePointType()
is set toETimePointType.EXPRESSION_WITH_FORMAT
.
-
setTimePointFixed
- Parameters:
timePointFixed
- The settings for the time point whengetTimePointType()
is set toETimePointType.FIXED
.
-
setTimePointType
- Parameters:
timePointType
- How the user wishes to specify the point in time when the trigger should fire.
-