public WorkFlowHandlerFinder(IAppContext appContext , IDataFinder dataFinder) { _appContext = appContext; _currentUser = _appContext.GetFeature <ICurrentUser>(); _dataFinder = dataFinder; }
public AggFinder( IAppContext appContext , IDataFinder dataFinder , ISystemFormFinder systemFormFinder , IEntityFinder entityFinder , IRelationShipFinder relationShipFinder , IQueryViewFinder queryViewFinder , IFetchDataService fetchDataService , IRoleObjectAccessEntityPermissionService roleObjectAccessEntityPermissionService , IPrincipalObjectAccessService principalObjectAccessService , IEventPublisher eventPublisher , IBusinessUnitService businessUnitService , IOrganizationDataRetriever organizationDataRetriever ) : base(appContext, entityFinder, roleObjectAccessEntityPermissionService, principalObjectAccessService, eventPublisher, businessUnitService) { _organizationDataRetriever = organizationDataRetriever; _systemFormFinder = systemFormFinder; _relationShipFinder = relationShipFinder; _queryViewFinder = queryViewFinder; _fetchService = fetchDataService; _dataFinder = dataFinder; User = _appContext.GetFeature <ICurrentUser>(); _aggregateRoot = new AggregateRoot(); }
public DataMapper( IAppContext appContext , IEntityFinder entityFinder , IRoleObjectAccessEntityPermissionService roleObjectAccessEntityPermissionService , IPrincipalObjectAccessService principalObjectAccessService , IEventPublisher eventPublisher , IBusinessUnitService businessUnitService , IOrganizationDataProvider organizationDataProvider , IEntityMapFinder entityMapFinder , IAttributeMapFinder attributeMapFinder , IRelationShipFinder relationShipFinder , IEntityPluginExecutor entityPluginExecutor , IAttributeFinder attributeFinder , IDataFinder dataFinder , IDataCreater dataCreater) : base(appContext, entityFinder, roleObjectAccessEntityPermissionService, principalObjectAccessService, eventPublisher, businessUnitService) { _organizationDataProvider = organizationDataProvider; _entityMapFinder = entityMapFinder; _attributeMapFinder = attributeMapFinder; _relationShipFinder = relationShipFinder; _entityPluginExecutor = entityPluginExecutor; _attributeFinder = attributeFinder; _dataFinder = dataFinder; _dataCreater = dataCreater; }
//private readonly IDataUpdater _dataUpdater; public DataMerger( IAppContext appContext , IEntityFinder entityFinder , IRoleObjectAccessEntityPermissionService roleObjectAccessEntityPermissionService , IPrincipalObjectAccessService principalObjectAccessService , IEventPublisher eventPublisher , IBusinessUnitService businessUnitService , IOrganizationDataProvider organizationDataProvider , IEntityPluginExecutor entityPluginExecutor , IAttributeFinder attributeFinder , IRelationShipFinder relationShipFinder , IDataFinder dataFinder //, IDataUpdater dataUpdater , IQueryResolverFactory queryResolverFactory ) : base(appContext, entityFinder, roleObjectAccessEntityPermissionService, principalObjectAccessService, eventPublisher, businessUnitService) { _organizationDataProvider = organizationDataProvider; _entityPluginExecutor = entityPluginExecutor; _attributeFinder = attributeFinder; _relationShipFinder = relationShipFinder; _dataFinder = dataFinder; //_dataUpdater = dataUpdater; _queryResolverFactory = queryResolverFactory; }
public FormController(IWebAppContext appContext , IEntityFinder entityFinder , IAttributeFinder attributeFinder , ISystemFormFinder systemFormFinder , IRibbonButtonFinder ribbonbuttonFinder , IRibbonButtonStatusSetter ribbonButtonStatusSetter , IWorkFlowProcessFinder workFlowProcessFinder , IWorkFlowInstanceService workFlowInstanceService , ISystemFormStatusSetter systemFormStatusSetter , IRoleObjectAccessEntityPermissionService roleObjectAccessEntityPermissionService , ISystemUserPermissionService systemUserPermissionService , ISerialNumberRuleFinder serialNumberRuleFinder , IFormService formService , IDataFinder dataFinder ) : base(appContext) { _entityFinder = entityFinder; _attributeFinder = attributeFinder; _systemFormFinder = systemFormFinder; _ribbonbuttonFinder = ribbonbuttonFinder; _ribbonButtonStatusSetter = ribbonButtonStatusSetter; _workFlowProcessFinder = workFlowProcessFinder; _workFlowInstanceService = workFlowInstanceService; _systemFormStatusSetter = systemFormStatusSetter; _roleObjectAccessEntityPermissionService = roleObjectAccessEntityPermissionService; _systemUserPermissionService = systemUserPermissionService; _serialNumberRuleFinder = serialNumberRuleFinder; _formService = formService; _dataFinder = dataFinder; }
public DataImporter(IEntityFinder entityFinder , IAttributeFinder attributeFinder , IOptionSetDetailFinder optionSetDetailFinder , IStringMapFinder stringMapFinder , IWebHelper webHelper , IDataCreater dataCreater , IDataUpdater dataUpdater , IDataFinder dataFinder , IAggregateService aggregateService , IImportFileService importFileService , IImportDataService importDataService , IImportMapService importMapService) { _entityFinder = entityFinder; _attributeFinder = attributeFinder; _optionSetDetailServiceFinder = optionSetDetailFinder; _stringMapFinder = stringMapFinder; _webHelper = webHelper; _dataCreater = dataCreater; _dataUpdater = dataUpdater; _dataFinder = dataFinder; _aggregateService = aggregateService; _importFileService = importFileService; _importDataService = importDataService; _importMapService = importMapService; }
public EntityTreeController(IWebAppContext appContext , IEntityFinder entityService , IDataFinder dataFinder) : base(appContext) { _entityFinder = entityService; _dataFinder = dataFinder; }
public NoticeController(IWebAppContext appContext , IDataFinder dataFinder , IDataUpdater dataUpdater) : base(appContext) { _dataFinder = dataFinder; _dataUpdater = dataUpdater; }
public static Entity RetrieveById(this IDataFinder finder, string entityName, Guid id, string primarykey = "", bool ignorePermissions = false) { var q = new QueryExpression(entityName, LanguageCode.CHS); q.ColumnSet.AllColumns = true; q.Criteria.AddCondition(primarykey.IfEmpty(entityName + "ID"), ConditionOperator.Equal, id); return(finder.Retrieve(q, ignorePermissions)); }
public WorkflowExecutedNotify(IAppContext appContext , IDataFinder dataFinder , IEnumerable <INotify> notifies) { _appContext = appContext; _loc = _appContext.GetFeature <ILocalizedTextProvider>(); _dataFinder = dataFinder; _notifies = notifies; }
public DataFinderController(IWebAppContext appContext , IEntityFinder entityFinder , IAttributeFinder attributeFinder , IDataFinder dataFinder) : base(appContext) { _entityFinder = entityFinder; _attributeFinder = attributeFinder; _dataFinder = dataFinder; }
public WorkflowStarterController(IWebAppContext appContext , IEntityFinder entityFinder , IWorkFlowFinder workFlowFinder , IDataFinder dataFinder) : base(appContext) { _entityFinder = entityFinder; _workFlowFinder = workFlowFinder; _dataFinder = dataFinder; }
public TeamController(IWebAppContext appContext , IDataFinder dataFinder , IDataCreater dataCreater , IDataDeleter dataDeleter) : base(appContext) { _dataFinder = dataFinder; _dataCreater = dataCreater; _dataDeleter = dataDeleter; }
public AttachmentDeleter(IAppContext appContext , IDataFinder dataFinder , IDataDeleter dataDeleter , IWebHelper webHelper) : base(appContext) { _appContext = appContext; _dataFinder = dataFinder; _dataDeleter = dataDeleter; _webHelper = webHelper; }
public DuplicateRuleExecutor(IAppContext appContext , IDuplicateRuleFinder duplicateRuleFinder , IDuplicateRuleConditionService duplicateRuleConditionService , IDataFinder dataFinder) { _appContext = appContext; _loc = _appContext.GetFeature <ILocalizedTextProvider>(); _duplicateRuleFinder = duplicateRuleFinder; _duplicateRuleConditionService = duplicateRuleConditionService; _dataFinder = dataFinder; }
public BusinessProcessFlowInstanceUpdater(IBusinessProcessFlowInstanceRepository businessProcessFlowInstanceRepository , IEntityFinder entityFinder , IProcessStageService processStageService , IDataFinder dataFinder , IDataUpdater dataUpdater) { _businessProcessFlowInstanceRepository = businessProcessFlowInstanceRepository; _entityFinder = entityFinder; _processStageService = processStageService; _dataFinder = dataFinder; _dataUpdater = dataUpdater; }
public UserSettingsController(IWebAppContext appContext , ILanguageService languageService , IEntityFinder entityFinder , IAttributeFinder attributeFinder , IDataFinder dataFinder , IDataUpdater dataUpdater) : base(appContext) { _languageService = languageService; _entityFinder = entityFinder; _attributeFinder = attributeFinder; _dataFinder = dataFinder; _dataUpdater = dataUpdater; }
public OrgController(IWebAppContext appContext , IEntityFinder entityFinder , IAttributeFinder attributeFinder , IOrganizationService organizationService , ILanguageService languageService , IDataFinder dataFinder) : base(appContext) { _entityFinder = entityFinder; _attributeFinder = attributeFinder; _organizationService = organizationService; _languageService = languageService; _dataFinder = dataFinder; }
public WorkFlowExecuterController(IWebAppContext appContext , IEntityFinder entityFinder , IWorkFlowProcessService workFlowProcessService , IWorkFlowProcessFinder workFlowProcessFinder , IWorkFlowInstanceService workFlowInstanceService , IWorkFlowExecuter workFlowExecuter , IDataFinder dataFinder) : base(appContext) { _entityFinder = entityFinder; _workFlowProcessService = workFlowProcessService; _workFlowProcessFinder = workFlowProcessFinder; _workFlowInstanceService = workFlowInstanceService; _workFlowExecuter = workFlowExecuter; _dataFinder = dataFinder; }
public BusinessProcessController(IWebAppContext appContext , IEntityFinder entityFinder , IAttributeFinder attributeFinder , IRelationShipFinder relationShipFinder , IWorkFlowFinder workFlowFinder , IBusinessProcessFlowInstanceService businessProcessFlowInstanceService , IProcessStageService processStageService , IDataFinder dataFinder) : base(appContext) { _entityFinder = entityFinder; _attributeFinder = attributeFinder; _relationShipFinder = relationShipFinder; _workFlowFinder = workFlowFinder; _businessProcessFlowInstanceService = businessProcessFlowInstanceService; _processStageService = processStageService; _dataFinder = dataFinder; }
public FlowController(IWebAppContext appContext , IEntityFinder entityFinder , IWorkFlowFinder workFlowFinder , IWorkFlowProcessFinder workFlowProcessFinder , IWorkFlowInstanceService workFlowInstanceService , IWorkFlowProcessLogService workFlowProcessLogService , IDataFinder dataFinder , IWorkFlowStepService workFlowStepService) : base(appContext) { _entityFinder = entityFinder; _workFlowFinder = workFlowFinder; _workFlowInstanceService = workFlowInstanceService; _workFlowProcessFinder = workFlowProcessFinder; _workFlowProcessLogService = workFlowProcessLogService; _dataFinder = dataFinder; _workFlowStepService = workFlowStepService; }
public RoleController(IWebAppContext appContext , IRoleService roleService , IEntityPermissionService entityPermissionService , IRoleObjectAccessService roleObjectAccessService , ISystemUserRolesService systemUserRolesService , IEntityFinder entityFinder , IResourceOwnerService resourceOwnerService , IDataFinder dataFinder) : base(appContext) { _roleService = roleService; _entityPermissionService = entityPermissionService; _roleObjectAccessService = roleObjectAccessService; _systemUserRolesService = systemUserRolesService; _entityFinder = entityFinder; _resourceOwnerService = resourceOwnerService; _dataFinder = dataFinder; }
public static Entity RetrieveByAttribute(this IDataFinder finder, string entityName, Dictionary <string, object> key_value, List <string> columns = null, bool ignorePermissions = false) { var q = new QueryExpression(entityName, LanguageCode.CHS); if (columns.IsEmpty()) { q.ColumnSet.AllColumns = true; } else { q.ColumnSet.AddColumns(columns.ToArray()); } foreach (var item in key_value) { q.Criteria.AddCondition(item.Key, ConditionOperator.Equal, item.Value); } return(finder.Retrieve(q, ignorePermissions)); }
public static List <Entity> RetrieveAll(this IDataFinder finder, string entityName, List <string> columns = null, OrderExpression order = null, bool ignorePermissions = false) { var q = new QueryExpression(entityName, LanguageCode.CHS); if (columns.NotEmpty()) { q.ColumnSet.AddColumns(columns.ToArray()); } else { q.ColumnSet.AllColumns = true; } if (order != null) { q.AddOrder(order.AttributeName, order.OrderType); } return(finder.RetrieveAll(q, ignorePermissions)); }
public SecurityController(IWebAppContext appContext , ISystemUserService userService , ISystemUserRolesService systemUserRolesService , IRoleService roleService , IRoleObjectAccessService roleObjectAccessService , IDataCreater dataCreater , IDataFinder dataFinder , IDataDeleter dataDeleter , IResourceOwnerService resourceOwnerService) : base(appContext) { _roleService = roleService; _userService = userService; _systemUserRolesService = systemUserRolesService; _roleObjectAccessService = roleObjectAccessService; _dataCreater = dataCreater; _dataFinder = dataFinder; _dataDeleter = dataDeleter; _resourceOwnerService = resourceOwnerService; }
public BusinessFlowController(IWebAppContext appContext , IEntityFinder entityFinder , IEntityMapFinder entityMapFinder , IWorkFlowFinder workFlowFinder , IBusinessProcessFlowInstanceService businessProcessFlowInstanceService , IBusinessProcessFlowInstanceUpdater businessProcessFlowInstanceUpdater , IProcessStageService processStageService , IDataFinder dataFinder , IDataUpdater dataUpdater , IDataMapper dataMapper) : base(appContext) { _entityFinder = entityFinder; _entityMapFinder = entityMapFinder; _workFlowFinder = workFlowFinder; _businessProcessFlowInstanceService = businessProcessFlowInstanceService; _businessProcessFlowInstanceUpdater = businessProcessFlowInstanceUpdater; _processStageService = processStageService; _dataFinder = dataFinder; _dataUpdater = dataUpdater; _dataMapper = dataMapper; }
public AttachmentFinder(IAppContext appContext , IDataFinder dataFinder) : base(appContext) { _appContext = appContext; _dataFinder = dataFinder; }
/// <summary> /// Computes the expression and returns a result. /// </summary> /// <param name="dataFinder">The data finder for the arguments with which to invoke execution of the expression.</param> /// <returns>The computed result, or, if the expression is not recognized correctly, the expression as a <see cref="string"/>.</returns> public object Compute(IDataFinder dataFinder) => Compute( null, dataFinder);
public WorkflowAttachmentController(IWebAppContext appContext , IDataFinder dataFinder) : base(appContext) { _dataFinder = dataFinder; }