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 typeEWorkflowTriggerType.FC_TIME_POINT.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classFcTimePointProps.TimePointExpressionWithFormatThe settings for the time point whengetTimePointType()is set toETimePointType.EXPRESSION_WITH_FORMAT.static classFcTimePointProps.TimePointFixedThe settings for the time point whengetTimePointType()is set toETimePointType.FIXED.
 - 
Field SummaryFields Modifier and Type Field Description static StringISO_DATE_TIME_FORMATISO date time format that is compatible with JavaScriptDate.prototype.toString.static StringISO_INSTANT_FORMATstatic StringISO_OFFSET_DATE_TIME_FORMATstatic StringSEARCH_TERM_STATE_UUIDKey for storing the selected state UUIDs asWorkflowTriggerSearchTerms- 
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProvidingATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION
 - 
Fields inherited from interface de.xima.fc.entities.interfaces.INameProvidingATTR_NAME, COL_NAME
 
- 
 - 
Constructor SummaryConstructors Constructor Description FcTimePointProps()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<UuidEntityRef>getAllowedStates()FcTimePointProps.TimePointExpressionWithFormatgetTimePointExpressionWithFormat()FcTimePointProps.TimePointFixedgetTimePointFixed()ETimePointTypegetTimePointType()booleanisFireWhenInPast()voidsetAllowedStates(List<UuidEntityRef> allowedStates)voidsetFireWhenInPast(boolean fireWhenInPast)voidsetTimePointExpressionWithFormat(FcTimePointProps.TimePointExpressionWithFormat timePointExpressionWithFormat)voidsetTimePointFixed(FcTimePointProps.TimePointFixed timePointFixed)voidsetTimePointType(ETimePointType timePointType)- 
Methods inherited from class de.xima.fc.workflow.taglib.model.BaseTriggerPropsgetBeschreibung, getColor, getDescription, getIcon, getName, setColor, setDescription, setIcon, setName
 
- 
 
- 
- 
- 
Field Detail- 
ISO_DATE_TIME_FORMATpublic static final String ISO_DATE_TIME_FORMAT ISO date time format that is compatible with JavaScriptDate.prototype.toString.- See Also:
- Constant Field Values
 
 - 
ISO_INSTANT_FORMATpublic static final String ISO_INSTANT_FORMAT - See Also:
- Constant Field Values
 
 - 
ISO_OFFSET_DATE_TIME_FORMATpublic static final String ISO_OFFSET_DATE_TIME_FORMAT - See Also:
- Constant Field Values
 
 - 
SEARCH_TERM_STATE_UUIDpublic static final String SEARCH_TERM_STATE_UUID Key for storing the selected state UUIDs asWorkflowTriggerSearchTerms
 
- 
 - 
Method Detail- 
getAllowedStatespublic 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.
 
 - 
getTimePointExpressionWithFormatpublic FcTimePointProps.TimePointExpressionWithFormat getTimePointExpressionWithFormat() - Returns:
- The settings for the time point when getTimePointType()is set toETimePointType.EXPRESSION_WITH_FORMAT.
 
 - 
getTimePointFixedpublic FcTimePointProps.TimePointFixed getTimePointFixed() - Returns:
- The settings for the time point when getTimePointType()is set toETimePointType.FIXED.
 
 - 
getTimePointTypepublic ETimePointType getTimePointType() - Returns:
- How the user wishes to specify the point in time when the trigger should fire.
 
 - 
isFireWhenInPastpublic boolean isFireWhenInPast() - Returns:
- When trueand the evaluated point in time lies in the past, the trigger is fired immediately. Whenfalse, the trigger is not fired.
 
 - 
setAllowedStatespublic 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.
 
 - 
setFireWhenInPastpublic void setFireWhenInPast(boolean fireWhenInPast) - Parameters:
- fireWhenInPast- When- trueand the evaluated point in time lies in the past, the trigger is fired immediately. When- false, the trigger is not fired.
 
 - 
setTimePointExpressionWithFormatpublic void setTimePointExpressionWithFormat(FcTimePointProps.TimePointExpressionWithFormat timePointExpressionWithFormat) - Parameters:
- timePointExpressionWithFormat- The settings for the time point when- getTimePointType()is set to- ETimePointType.EXPRESSION_WITH_FORMAT.
 
 - 
setTimePointFixedpublic void setTimePointFixed(FcTimePointProps.TimePointFixed timePointFixed) - Parameters:
- timePointFixed- The settings for the time point when- getTimePointType()is set to- ETimePointType.FIXED.
 
 - 
setTimePointTypepublic void setTimePointType(ETimePointType timePointType) - Parameters:
- timePointType- How the user wishes to specify the point in time when the trigger should fire.
 
 
- 
 
-