Пример #1
0
 public GroupForm()
 {
     this.groupService    = (IGroupService)GetObject("GroupService");
     this.ouInfoService   = (IOUInfoService)GetObject("OUInfoService");
     this.userInfoService = (IUserService)GetObject("UserService");
     this.roleService     = (IRoleService)GetObject("RoleService");
 }
Пример #2
0
 public importGroup()
 {
     ouInfoService       = (IOUInfoService)GetObject("OUInfoService");
     roleService         = (IRoleService)GetObject("RoleService");
     groupDao            = (IGroupDao)GetObject("GroupDao");
     relationShipService = (IRelationShipService)GetObject("RelationShipService");
     ouInfoList          = ouInfoService.FindAll();
     roleList            = roleService.FindAll();
 }
Пример #3
0
 public importUser()
 {
     ouInfoService       = (IOUInfoService)GetObject("OUInfoService");
     groupService        = (IGroupService)GetObject("GroupService");
     jobTitleService     = (IJobTitleService)GetObject("JobTitleService");
     userDao             = (IUserDao)GetObject("UserDao");
     relationShipService = (IRelationShipService)GetObject("RelationShipService");
     ouInfoList          = ouInfoService.FindAllByType(null, OUInfo.OT_DEPARTMENT);
     groupList           = groupService.FindAll();
     jobTitleList        = jobTitleService.FindAll();
 }
Пример #4
0
 public UnitForm()
 {
     this.ouInfoService  = (IOUInfoService)GetObject("OUInfoService");
     this.ouLevelService = (IOULevelService)GetObject("OULevelService");
 }
Пример #5
0
 /// <summary>
 /// 构造函数,初始化相关Service
 /// </summary>
 public DepartmentAction()
 {
     this.ouInfoService  = (IOUInfoService)GetObject("OUInfoService");
     this.ouLevelService = (IOULevelService)GetObject("OULevelService");
 }
Пример #6
0
 public importOUInfo()
 {
     ouInfoService  = (IOUInfoService)GetObject("OUInfoService");
     ouLevelService = (IOULevelService)GetObject("OULevelService");
     ouLevelList    = ouLevelService.FindAll();
 }
Пример #7
0
 /// <summary>
 /// 构造函数,初始化相关Service
 /// </summary>
 public OUInfoAction()
 {
     this.ouInfoService = (IOUInfoService)GetObject("OUInfoService");
 }
Пример #8
0
 public OUTreeAction()
 {
     this.ouInfoService = GetObject("OUInfoService") as IOUInfoService;
 }