public WorkflowInstantiationCriteriaEntityUi()
 {
     UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(NamePropertyUi)));
     UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(EventsPropertyUi)));
     UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(CancelEventPropertyUi)));
     UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(ActivePropertyUi)));
     UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(WorkflowConfigurationPropertyUi)));
 }
Example #2
0
        public UrlInstantiatorRestartWorkflowTaskEntityUi()
            : base()
        {
            UiAttributes.Add("class", "userDecisionTask");
            UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(UrlPropertyUi)));

            TransitionDescriptions.Add("restart_workflow", TheGlobalisationService.GetString("restart_workflow"));
        }
Example #3
0
        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)));
        }
Example #4
0
        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)));
        }
Example #7
0
        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());
        }
Example #8
0
        public UmbracoWorkflowInstantiationCriteriaEntityUi()
        {
            UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(NamePropertyUi)));
            UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(ActivePropertyUi)));

            UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(AllowManualInstantiationPropertyUi)));

            UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(WorkflowConfigurationPropertyUi)));


            UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(EventsPropertyUi)));
            UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(CancelEventPropertyUi)));

            UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(CriteriaOperandEntityUi)));

            UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(UserTypePropertyUi)));
            UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(UserPropertyUi)));
        }
Example #9
0
        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());
        }
Example #11
0
        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)));
 }
Example #13
0
 public BasicEmailWorkflowTaskEntityUi()
     : base()
 {
     UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(BodyPropertyUi)));
 }
Example #14
0
 public TemplateEmailWorkflowTaskEntityUi()
     : base()
 {
     UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(TemplatePropertyUi)));
 }
Example #15
0
 protected BaseWorkflowTaskEntityUi()
 {
     UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(IsStartTaskPropertyUi)));
     UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(TaskNamePropertyUi)));
 }
Example #16
0
 public WorkflowConfigurationEntityUi()
 {
     UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(NamePropertyUi)));
     UiProperties.Add((IWorkflowUiProperty)CreateGlobalisedObject(typeof(IsConfigurationActivePropertyUi)));
     // UiProperties.Add((IWorkflowUiProperty) CreateGlobalisedObject(typeof(FlagPropertyUi)));
 }