Package io.dialob.executor.command
Class CommandFactory
- java.lang.Object
-
- io.dialob.executor.command.CommandFactory
-
public final class CommandFactory extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommandFactory.ItemStatePredicates
-
Method Summary
-
-
-
Method Detail
-
nextPage
public static NextPage nextPage()
-
prevPage
public static PrevPage prevPage()
-
complete
public static Complete complete()
-
setVariableValue
public static SetVariableValue setVariableValue(@Nonnull ItemId id, Object value)
-
setVariableFailed
public static SetVariableFailed setVariableFailed(@Nonnull ItemId id)
-
deleteRow
public static ItemUpdateCommand deleteRow(@Nonnull ItemId toBeRemoved)
-
initRowGroupItemsCommand
public static InitRowGroupItemsCommand initRowGroupItemsCommand(@Nonnull ItemId targetId)
-
activityUpdate
public static UpdateActivityCommand activityUpdate(ItemId targetId, Expression expression)
-
requiredUpdate
public static UpdateRequiredCommand requiredUpdate(ItemId targetId, Expression expression)
-
updateClassNames
public static UpdateClassNames updateClassNames(ItemId targetId, Expression expression)
-
labelUpdate
public static UpdateLabelCommand labelUpdate(ItemId targetId, Expression expression)
-
descriptionUpdate
public static UpdateDescriptionCommand descriptionUpdate(ItemId targetId, Expression expression)
-
allowedActionsUpdate
public static UpdateAllowedActionsCommand allowedActionsUpdate(ItemId targetId, Expression expression)
-
updateIsInvalidAnswers
public static UpdateIsInvalidAnswersCommand updateIsInvalidAnswers(ItemId targetId, Expression expression)
-
availableItemsUpdate
public static UpdateAvailableItemsCommand availableItemsUpdate(ItemId targetId, Expression expression)
-
updateDisabled
public static UpdateDisabledCommand updateDisabled(ItemId targetId, Expression expression)
-
updateGroupItems
public static ItemUpdateCommand updateGroupItems(ItemId targetId, Expression expression)
-
validationDisabledUpdate
public static ValidationDisabledUpdateCommand validationDisabledUpdate(ErrorId errorId, Expression expression)
-
updateValidationCommand
public static UpdateValidationCommand updateValidationCommand(ErrorId errorId, Expression expression)
-
errorLabelUpdateCommand
public static ErrorLabelUpdateCommand errorLabelUpdateCommand(ErrorId errorId, Expression expression)
-
variableUpdateCommand
public static VariableUpdateCommand variableUpdateCommand(ItemId targetId, Expression expression)
-
updateValueSet
public static UpdateValueSetCommand updateValueSet(ValueSetId targetId, List<Value<ValueSet.Entry>> entries)
-
createRowGroupFromPrototypeCommand
public static SessionUpdateCommand createRowGroupFromPrototypeCommand(ItemId rowProtoTypeId)
-
createRowGroupItemsFromPrototypeCommand
public static SessionUpdateCommand createRowGroupItemsFromPrototypeCommand(ItemId rowProtoTypeId, List<ItemId> itemPrototypeIds)
-
-