public ExampleRunnableTaskEntityUi() : base() { UiAttributes.Add("class", "runnableTask"); TransitionDescriptions.Add("done", "Done"); }
public PublishDocumentsWorkflowTaskEntityUi() : base() { UiAttributes.Add("class", "publishDocumentsTask"); TransitionDescriptions.Add("done", TheGlobalisationService.GetString("published")); }
public AnyoneDecisionWorkflowTaskEntityUi() : base() { UiAttributes.Add("class", "userDecisionTask"); TransitionDescriptions.Add("approve", TheGlobalisationService.GetString("approve")); TransitionDescriptions.Add("reject", TheGlobalisationService.GetString("reject")); }
public DecisionTaskEntityUi() : base() { UiAttributes.Add("class", "decisionTask"); TransitionDescriptions.Add("yes", "Yes"); TransitionDescriptions.Add("no", "No"); }
public UrlInstantiatorRestartWorkflowTaskEntityUi() : base() { UiAttributes.Add("class", "userDecisionTask"); UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(UrlPropertyUi))); TransitionDescriptions.Add("restart_workflow", TheGlobalisationService.GetString("restart_workflow")); }
public WaitUntilTimeWorkflowTaskEntityUi() : base() { UiAttributes.Add("class", "delayTask"); TransitionDescriptions.Add("done", TheGlobalisationService.GetString("delay_finished")); UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(HourPropertyUi))); UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(MinutePropertyUi))); }
public UserDecisionWorkflowTaskEntityUi() : base() { UiAttributes.Add("class", "userDecisionTask"); UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(UserPropertyUi))); TransitionDescriptions.Add("approve", TheGlobalisationService.GetString("approve")); TransitionDescriptions.Add("reject", TheGlobalisationService.GetString("reject")); }
public FilterDocumentsWorkflowTaskEntityUi() : base() { UiAttributes.Add("class", "filterDocumentsTask"); UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(DocumentTypePropertyUi))); TransitionDescriptions.Add("contains_docs", TheGlobalisationService.GetString("contains_docs")); TransitionDescriptions.Add("does_not_contain_docs", TheGlobalisationService.GetString("does_not_contain_docs")); }
public DelayWorkflowTaskEntityUi() : base() { UiAttributes.Add("class", "delayTask"); TransitionDescriptions.Add("done", TheGlobalisationService.GetString("delay_finished")); UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(DelayTaskUnitPropertyUi))); UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(DelayTaskIntervalPropertyUi))); }
public InstantiatorEmailWorkflowTaskEntityUi() : base() { UiAttributes.Add("class", "basicEmailTask"); UiProperties = new List <IWorkflowUiProperty> { (IWorkflowUiProperty)CreateGlobalisedObject(typeof(SubjectPropertyUi)), (IWorkflowUiProperty)CreateGlobalisedObject(typeof(FromPropertyUi)), (IWorkflowUiProperty)CreateGlobalisedObject(typeof(BodyPropertyUi)) }; TransitionDescriptions.Add("done", TheGlobalisationService.GetString("email_sent")); }
public BitLyUrlShorteningTaskEntityUi() : base() { // Describe the workflow transition TransitionDescriptions.Add("done", "URL Was shortened"); // Decorate your task with a custom CSS class in the designer. // The workflow designer scans ~/umbraco/plugins/fmworkflow/css for custom CSS files and includes all of them. UiAttributes.Add("class", "bitlyTask"); // These properties explain how to present a Ui to get values for the public properties of the workflow task. UiProperties.Add(new BitLyApiKeyPropertyUi()); UiProperties.Add(new BitLyLoginPropertyUi()); UiProperties.Add(new DocumentTypePropertyUi()); }
protected BaseEmailWorkflowTaskEntityUi() : base() { UiAttributes.Add("class", "basicEmailTask"); UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(SubjectPropertyUi))); UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(MailInstantiatorPropertyUi))); UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(MailOwnersPropertyUi))); UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(UserPropertyUi))); UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(UserTypePropertyUi))); UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(FromPropertyUi))); TransitionDescriptions.Add("done", TheGlobalisationService.GetString("email_sent")); }
public TweetWorkflowTaskEntityUi() : base() { // Describe the workflow transition TransitionDescriptions.Add("done", "Task was tweeted"); // Decorate your task with a custom CSS class in the designer. // The workflow designer scans ~/umbraco/plugins/fmworkflow/css for custom CSS files and includes all of them. UiAttributes.Add("class", "tweetTask"); // These properties explain how to present a Ui to get values for the public properties of the workflow task. UiProperties.Add(new AccessTokenPropertyUi()); UiProperties.Add(new AccessTokenSecretPropertyUi()); UiProperties.Add(new ConsumerKeyPropertyUi()); UiProperties.Add(new ConsumerSecretPropertyUi()); UiProperties.Add(new ShortUrlPropertyUi()); UiProperties.Add(new TweetTextPropertyUi()); }
public TweetWorkflowTaskEntityUi() : base() { // Describe the workflow transition TransitionDescriptions.Add("done", TheGlobalisationService.GetString("task_was_tweeted")); // Decorate your task with a custom CSS class in the designer. // The workflow designer scans ~/umbraco/plugins/fmworkflow/css for custom CSS files and includes all of them. UiAttributes.Add("class", "tweetTask"); // These properties explain how to present a Ui to get values for the public properties of the workflow task. // You can create globalised objects using: (IWorkflowUiProperty)CreateGlobalisedObject(typeof(FromPropertyUi)) UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(AccessTokenPropertyUi))); UiProperties.Add(new AccessTokenSecretPropertyUi()); UiProperties.Add(new ConsumerKeyPropertyUi()); UiProperties.Add(new ConsumerSecretPropertyUi()); UiProperties.Add(new ShortUrlPropertyUi()); UiProperties.Add(new TweetTextPropertyUi()); }
public EndWorkflowTaskEntityUi() : base() { UiAttributes.Add("class", "endTask"); UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(TaskNamePropertyUi))); UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(TaskDescriptionPropertyUi))); }
public MyDelayWorkflowTaskEntityUi() : base() { UiAttributes.Add("class", "delayTask"); TransitionDescriptions.Add("done", "Delay Finished"); }