Esempio n. 1
0
 @Bean
 protected Store<TaskRuntime> taskRuntimeStore() {
   return DataViewStore.<TaskRuntime>newInstance() //
       .withDataView(data.systemDataView()) //
       .withStorableConverter(taskRuntimeConverter()) //
       .build();
 }
Esempio n. 2
0
 @Bean
 protected Store<TaskParameter> taskParameterStore() {
   return DataViewStore.<TaskParameter>newInstance() //
       .withDataView(data.systemDataView()) //
       .withStorableConverter(taskParameterConverter()) //
       .build();
 }
Esempio n. 3
0
 @Bean
 protected Store<TaskDefinition> taskDefinitionStore() {
   return DataViewStore.<TaskDefinition>newInstance() //
       .withDataView(data.systemDataView()) //
       .withStorableConverter(taskDefinitionConverter()) //
       .build();
 }
Esempio n. 4
0
 @Bean
 protected ConnectorTaskJobFactory connectorTaskJobFactory() {
   return new ConnectorTaskJobFactory( //
       data.systemDataView(), //
       other.dataSourceHelper(), //
       defaultAttributeValueAdapter(), //
       email.emailAccountFacade(), //
       email.emailTemplateLogic(), //
       emailTemplateSenderFactory() //
       );
 }
Esempio n. 5
0
 @Bean
 protected AsynchronousEventTaskJobFactory asynchronousEventTaskJobFactory() {
   return new AsynchronousEventTaskJobFactory( //
       data.systemDataView(), //
       email.emailAccountFacade(), //
       email.emailTemplateLogic(), //
       taskStore(), //
       defaultLogicAndStoreConverter(), //
       emailTemplateSenderFactory() //
       );
 }
Esempio n. 6
0
 @Bean
 protected ReadEmailTaskJobFactory readEmailTaskJobFactory() {
   return new ReadEmailTaskJobFactory( //
       email.emailAccountFacade(), //
       email.emailServiceFactory(), //
       email.subjectHandler(), //
       email.emailStore(), //
       workflow
           .systemWorkflowLogicBuilder() //
           .build(), //
       dms.defaultDmsLogic(), //
       data.systemDataView(), //
       email.emailTemplateLogic(), //
       template.databaseTemplateEngine(), //
       emailTemplateSenderFactory() //
       );
 }
Esempio n. 7
0
  @Bean
  protected ObserverFactory observerFactory() {
    return new DefaultObserverFactory( //
        userStore, //
        api.systemFluentApi(), //
        workflow.systemWorkflowLogicBuilder().build(), //
        email.emailAccountFacade(), //
        email.emailTemplateLogic(), //
        data.systemDataView(), //
        new Supplier<CMDataView>() {

          @Override
          public CMDataView get() {
            return user.userDataView();
          }
        }, //
        emailTemplateSenderFactory() //
        );
  }
Esempio n. 8
0
 @Bean
 protected DefaultAttributeValueAdapter defaultAttributeValueAdapter() {
   return new DefaultAttributeValueAdapter(data.systemDataView(), data.lookupStore());
 }