Example #1
0
 public ResourceMapService(IRepository <User> users, IRepository <Resource> resources, IRepository <ResourceMap> maps, HandleOne2ManyService <ResourceModel, ResourceMap> manyService)
 {
     this.users       = users;
     this.resources   = resources;
     this.maps        = maps;
     this.manyService = manyService;
 }
Example #2
0
 public RolePermissionService(
     IRepository <RolePermission> rolePermissions,
     HandleOne2ManyService <string, RolePermission> handlePermissionService)
 {
     this.rolePermissions         = rolePermissions;
     this.handlePermissionService = handlePermissionService;
 }
Example #3
0
 public FlowNodeFieldService(HandleOne2ManyService <string, FlowNodeField> manyService,
                             IQueryRepository <FlowNode> flowNodes,
                             IQueryRepository <FlowNodeField> flowNodeFields)
 {
     this.manyService    = manyService;
     this.flowNodes      = flowNodes;
     this.flowNodeFields = flowNodeFields;
 }
Example #4
0
 public FlowLineCondService(
     HandleOne2ManyService <FlowLineCond, FlowLineCond> manyService,
     IQueryRepository <FlowLine> flowLines,
     IQueryRepository <FlowLineCond> flowLineConds)
 {
     this.manyService   = manyService;
     this.flowLines     = flowLines;
     this.flowLineConds = flowLineConds;
 }
Example #5
0
 public FlowNodeRoleService(HandleOne2ManyService <RoleViewModel, FlowNodeRole> manyService,
                            IRepository <FlowNodeRole> flowNodeRoles,
                            IRepository <FlowNode> flowNodes,
                            IRepository <Role> roles)
 {
     this.manyService   = manyService;
     this.flowNodeRoles = flowNodeRoles;
     this.flowNodes     = flowNodes;
     this.roles         = roles;
 }
Example #6
0
 public FlowNodeUserService(HandleOne2ManyService <UserViewModel, FlowNodeUser> manyService,
                            IRepository <FlowNode> flowNodes,
                            IRepository <FlowNodeUser> flowNodeUsers,
                            IRepository <User> users)
 {
     this.manyService   = manyService;
     this.flowNodes     = flowNodes;
     this.flowNodeUsers = flowNodeUsers;
     this.users         = users;
 }
Example #7
0
 public RoleMemberService(
     IRepository <RoleMember> roleMembers,
     IRepository <User> users,
     IRepository <Role> roles,
     IRepository <FlowStepUser> flowStepUsers,
     IRepository <FlowInstance> flowInstances,
     HandleOne2ManyService <UserViewModel, RoleMember> handleRoleMemberService,
     HandleOne2ManyService <RoleViewModel, RoleMember> handleUserRoleService)
 {
     this.roleMembers             = roleMembers;
     this.users                   = users;
     this.roles                   = roles;
     this.flowStepUsers           = flowStepUsers;
     this.flowInstances           = flowInstances;
     this.handleRoleMemberService = handleRoleMemberService;
     this.handleUserRoleService   = handleUserRoleService;
 }
Example #8
0
 public FlowNodeService(HandleOne2ManyService <FlowNodeDto, FlowNode> manyService, IQueryRepository <FlowNode> flowNodes, IEventBus eventBus)
 {
     this.manyService = manyService;
     this.flowNodes   = flowNodes;
     this.eventBus    = eventBus;
 }