예제 #1
0
 public EventTasks(INHibernateRepository <Event> eventRepo,
                   INHibernateRepository <Violation> violationRepo,
                   INHibernateRepository <EventRelationshipType> eventRelationshipTypeRepo,
                   INHibernateRepository <EventRelationship> eventRelationshipRepo,
                   INHibernateRepository <AdminExportedEventProfile> exportEventRepo,
                   INHibernateRepository <Tag> tagRepo,
                   INHibernateRepository <EventVerifiedStatus> eventVerifiedStatusRepo,
                   IViolationDataTablesQuery violationDataTablesQuery,
                   IEventSearchQuery eventSearchQuery,
                   IEventQueries eventQueries,
                   IMergeStoredProcQueries mergeQueries,
                   ILuceneTasks luceneTasks,
                   IWordExportEventService exportService)
 {
     this.eventRepo                 = eventRepo;
     this.violationRepo             = violationRepo;
     this.eventRelationshipTypeRepo = eventRelationshipTypeRepo;
     this.eventRelationshipRepo     = eventRelationshipRepo;
     this.exportEventRepo           = exportEventRepo;
     this.tagRepo = tagRepo;
     this.eventVerifiedStatusRepo  = eventVerifiedStatusRepo;
     this.violationDataTablesQuery = violationDataTablesQuery;
     this.eventSearchQuery         = eventSearchQuery;
     this.eventQueries             = eventQueries;
     this.mergeQueries             = mergeQueries;
     this.luceneTasks   = luceneTasks;
     this.exportService = exportService;
 }
예제 #2
0
 public SourceTasks(INHibernateRepository <Source> sourceRepository,
                    INHibernateRepository <Reliability> reliabilityRepo,
                    INHibernateRepository <Language> languageRepo,
                    INHibernateRepository <Person> personRepo,
                    INHibernateRepository <Organization> orgRepo,
                    INHibernateRepository <JhroCase> jhroCaseRepo,
                    INHibernateRepository <SourceIndexLog> sourceIndexLogRepo,
                    INHibernateRepository <SourceAuthor> sourceAuthorRepo,
                    ISourceQueries sourceQueries,
                    ISourceDataTablesQuery sourceDtQuery,
                    ISourceLogQueries sourceLogQueries,
                    IJhroCaseQueries jhroCaseQueries,
                    IEventTasks eventTasks,
                    ILuceneTasks luceneTasks,
                    ISourcePermissionTasks sourcePermissionTasks)
 {
     this.sourceRepository      = sourceRepository;
     this.reliabilityRepo       = reliabilityRepo;
     this.languageRepo          = languageRepo;
     this.personRepo            = personRepo;
     this.orgRepo               = orgRepo;
     this.jhroCaseRepo          = jhroCaseRepo;
     this.sourceIndexLogRepo    = sourceIndexLogRepo;
     this.sourceQueries         = sourceQueries;
     this.sourceDtQuery         = sourceDtQuery;
     this.sourceLogQueries      = sourceLogQueries;
     this.jhroCaseQueries       = jhroCaseQueries;
     this.eventTasks            = eventTasks;
     this.luceneTasks           = luceneTasks;
     this.sourcePermissionTasks = sourcePermissionTasks;
 }
예제 #3
0
 public CareerTasks(INHibernateRepository <Career> careerRepository, ICommandersQuery commandersQuery, ILuceneTasks luceneTasks, IPersonTasks personTasks)
 {
     this.careerRepository = careerRepository;
     this.commandersQuery  = commandersQuery;
     this.luceneTasks      = luceneTasks;
     this.personTasks      = personTasks;
 }
예제 #4
0
 public ScreeningTasks(IUserTasks userTasks,
                       INHibernateRepository <ScreeningEntity> screeningEntityRepository,
                       INHibernateRepository <ScreeningResult> screeningResultRepository,
                       INHibernateRepository <ScreeningSupportStatus> screeningSupportStatusRepository,
                       INHibernateRepository <ScreeningRequestPersonEntity> srpeRepository,
                       INHibernateRepository <ScreeningRequestPersonEntityHistory> srpehRepository,
                       INHibernateRepository <ScreeningRequestPersonRecommendation> srprRepo,
                       INHibernateRepository <ScreeningRequestPersonRecommendationHistory> srprhRepo,
                       INHibernateRepository <ScreeningRequestPersonFinalDecision> srpfdRepo,
                       INHibernateRepository <ScreeningRequestPersonFinalDecisionHistory> srpfdhRepo,
                       INHibernateRepository <ScreeningStatus> screeningStatusRepo,
                       INHibernateRepository <ScreeningRequestEntityResponse> srerRepo,
                       IScreeningEntityQueries screeningEntityQueries,
                       ILuceneTasks luceneTasks)
 {
     this.userTasks = userTasks;
     this.screeningEntityRepository        = screeningEntityRepository;
     this.screeningResultRepository        = screeningResultRepository;
     this.screeningSupportStatusRepository = screeningSupportStatusRepository;
     this.srpeRepository         = srpeRepository;
     this.srpehRepository        = srpehRepository;
     this.srprRepo               = srprRepo;
     this.srprhRepo              = srprhRepo;
     this.srpfdRepo              = srpfdRepo;
     this.srpfdhRepo             = srpfdhRepo;
     this.screeningStatusRepo    = screeningStatusRepo;
     this.srerRepo               = srerRepo;
     this.screeningEntityQueries = screeningEntityQueries;
     this.luceneTasks            = luceneTasks;
 }
예제 #5
0
 public SourceContentTasks(ISourceTasks sourceTasks, IAsposeService asposeService, INHibernateRepository <SourceLog> sourceLogRepo, ISourceLogQueries sourceLogQueries)
 {
     this.sourceTasks      = sourceTasks;
     this.asposeService    = asposeService;
     this.sourceLogRepo    = sourceLogRepo;
     this.sourceLogQueries = sourceLogQueries;
 }
예제 #6
0
 public UserTasks(INHibernateRepository <AdminUser> userRepository,
                  INHibernateRepository <AdminRole> roleRepository,
                  INHibernateRepository <AdminPermission> permissionRepository,
                  IAdminUserQueries adminUserQueries)
 {
     this.userRepository       = userRepository;
     this.roleRepository       = roleRepository;
     this.permissionRepository = permissionRepository;
     this.adminUserQueries     = adminUserQueries;
 }
예제 #7
0
 public ActionTakenTasks(INHibernateRepository <ActionTakenType> actionTakenTypeRepo,
                         INHibernateRepository <ActionTaken> actionTakenRepo,
                         IActionTakenWantedQuery wantedQuery,
                         IPersonTasks personTasks)
 {
     this.actionTakenTypeRepo = actionTakenTypeRepo;
     this.actionTakenRepo     = actionTakenRepo;
     this.wantedQuery         = wantedQuery;
     this.personTasks         = personTasks;
 }
예제 #8
0
 public SourcePermissionTasks(INHibernateRepository <SourceAuthor> sourceAuthorRepo,
                              INHibernateRepository <SourceOwningEntity> sourceOwningEntityRepo,
                              ISourceAuthorSearchQuery sourceAuthorSearchQuery,
                              ISourceQueries sourceQueries)
 {
     this.sourceAuthorRepo        = sourceAuthorRepo;
     this.sourceOwningEntityRepo  = sourceOwningEntityRepo;
     this.sourceAuthorSearchQuery = sourceAuthorSearchQuery;
     this.sourceQueries           = sourceQueries;
 }
예제 #9
0
 public PhotoTasks(INHibernateRepository <Photo> photoRepo,
                   INHibernateRepository <FileType> fileTypeRepo,
                   INHibernateRepository <PersonPhoto> personPhotoRepo,
                   IPersonTasks personTasks)
 {
     this.photoRepo       = photoRepo;
     this.fileTypeRepo    = fileTypeRepo;
     this.personPhotoRepo = personPhotoRepo;
     this.personTasks     = personTasks;
 }
예제 #10
0
 public FeedingSourceTasks(INHibernateRepository <FeedingSource> feedingSourceRepo,
                           IFeedingSourceQuery feedingSourceQuery,
                           ISourceContentTasks sourceContentTasks,
                           ISourceTasks sourceTasks)
 {
     this.feedingSourceRepo  = feedingSourceRepo;
     this.feedingSourceQuery = feedingSourceQuery;
     this.sourceContentTasks = sourceContentTasks;
     this.sourceTasks        = sourceTasks;
 }
예제 #11
0
 public ScreeningStatisticTasks(IScreeningCountsQuery screeningCountsQuery,
                                INHibernateRepository <ScreeningRequestPersonFinalDecision> srpfdRepo,
                                IScreeningTasks screeningTasks,
                                IRequestPersonTasks requestPersonTasks)
 {
     this.screeningCountsQuery = screeningCountsQuery;
     this.srpfdRepo            = srpfdRepo;
     this.screeningTasks       = screeningTasks;
     this.requestPersonTasks   = requestPersonTasks;
 }
예제 #12
0
 public ResponsibilityTasks(INHibernateRepository <PersonResponsibility> personResponsibilityRepo,
                            INHibernateRepository <PersonResponsibilityType> personResponsibilityTypeRepo,
                            INHibernateRepository <OrganizationResponsibility> orgResponsibilityRepo,
                            INHibernateRepository <OrganizationResponsibilityType> orgResponsibilityTypeRepo,
                            IPersonTasks personTasks)
 {
     this.personResponsibilityRepo     = personResponsibilityRepo;
     this.personResponsibilityTypeRepo = personResponsibilityTypeRepo;
     this.orgResponsibilityRepo        = orgResponsibilityRepo;
     this.orgResponsibilityTypeRepo    = orgResponsibilityTypeRepo;
     this.personTasks = personTasks;
 }
예제 #13
0
 public LocationTasks(INHibernateRepository <Location> locationRepo,
                      INHibernateRepository <Region> regionRepo,
                      INHibernateRepository <Province> provinceRepo,
                      ILocationSearchQuery locationSearchQuery,
                      ILuceneTasks luceneTasks,
                      ILocationMergeQuery mergeQuery)
 {
     this.locationRepo        = locationRepo;
     this.regionRepo          = regionRepo;
     this.provinceRepo        = provinceRepo;
     this.locationSearchQuery = locationSearchQuery;
     this.luceneTasks         = luceneTasks;
     this.mergeQuery          = mergeQuery;
 }
예제 #14
0
 public RequestAttachmentTasks(IUserTasks userTasks,
                               INHibernateRepository <Request> requestRepository,
                               INHibernateRepository <RequestEntity> requestEntityRepository,
                               INHibernateRepository <RequestType> requestTypeRepository,
                               INHibernateRepository <RequestStatus> requestStatusRepository,
                               INHibernateRepository <RequestHistory> requestHistoryRepository,
                               INHibernateRepository <RequestAttachmentStatus> requestAttachmentStatusRepository,
                               INHibernateRepository <RequestAttachment> requestAttachmentRepository,
                               INHibernateRepository <RequestAttachmentHistory> requestAttachmentHistoryRepository,
                               INHibernateRepository <Attachment> attachmentRepository)
 {
     this.userTasks         = userTasks;
     this.requestRepository = requestRepository;
     this.requestAttachmentStatusRepository  = requestAttachmentStatusRepository;
     this.requestAttachmentRepository        = requestAttachmentRepository;
     this.requestAttachmentHistoryRepository = requestAttachmentHistoryRepository;
     this.attachmentRepository = attachmentRepository;
 }
예제 #15
0
 public RequestTasks(IUserTasks userTasks,
                     INHibernateRepository <Request> requestRepository,
                     INHibernateRepository <RequestEntity> requestEntityRepository,
                     INHibernateRepository <RequestType> requestTypeRepository,
                     INHibernateRepository <RequestStatus> requestStatusRepository,
                     INHibernateRepository <RequestHistory> requestHistoryRepository,
                     INHibernateRepository <RequestPerson> requestPersonRepository,
                     INHibernateRepository <RequestPersonStatus> requestPersonStatusRepository,
                     IRequestQueries requestQueries,
                     ILuceneTasks luceneTasks)
 {
     this.userTasks                = userTasks;
     this.requestRepository        = requestRepository;
     this.requestEntityRepository  = requestEntityRepository;
     this.requestTypeRepository    = requestTypeRepository;
     this.requestStatusRepository  = requestStatusRepository;
     this.requestHistoryRepository = requestHistoryRepository;
     this.requestQueries           = requestQueries;
     this.luceneTasks              = luceneTasks;
 }
예제 #16
0
 public RequestPersonTasks(INHibernateRepository <RequestPerson> requestPersonRepository,
                           INHibernateRepository <RequestPersonStatus> requestPersonStatusRepository,
                           INHibernateRepository <RequestPersonHistory> requestPersonHistoryRepository,
                           INHibernateRepository <RequestProposedPerson> proposedRepo,
                           INHibernateRepository <RequestProposedPersonStatus> proposedStatusRepo,
                           INHibernateRepository <RequestProposedPersonHistory> proposedHistoryRepo,
                           INHibernateRepository <RequestUnit> requestUnitRepository,
                           IRequestPersonsQuery requestPersonsQuery,
                           IAuditTasks auditTasks)
 {
     this.requestPersonRepository        = requestPersonRepository;
     this.requestPersonStatusRepository  = requestPersonStatusRepository;
     this.requestPersonHistoryRepository = requestPersonHistoryRepository;
     this.proposedRepo          = proposedRepo;
     this.proposedStatusRepo    = proposedStatusRepo;
     this.proposedHistoryRepo   = proposedHistoryRepo;
     this.requestUnitRepository = requestUnitRepository;
     this.requestPersonsQuery   = requestPersonsQuery;
     this.auditTasks            = auditTasks;
 }
예제 #17
0
 public OrganizationTasks(INHibernateRepository <Organization> orgRepo,
                          INHibernateRepository <Unit> unitRepo,
                          INHibernateRepository <Rank> rankRepo,
                          INHibernateRepository <Role> roleRepo,
                          INHibernateRepository <AdminUnitImport> adminUnitImportRepo,
                          INHibernateRepository <UnitHierarchy> unitHierarchyRepo,
                          INHibernateRepository <UnitHierarchyType> unitHierarchyTypeRepo,
                          INHibernateRepository <UnitLocation> unitLocationRepo,
                          INHibernateRepository <UnitAlias> unitAliasRepo,
                          INHibernateRepository <UnitOperation> unitOperationRepo,
                          INHibernateRepository <Operation> operationRepo,
                          INHibernateRepository <OperationAlias> operationAliasRepo,
                          IOrganizationSearchQuery orgSearchQuery,
                          IUnitQueries unitQueries,
                          IUnitSearchQuery unitSearchQuery,
                          IRankSearchQuery rankSearchQuery,
                          IRoleSearchQuery roleSearchQuery,
                          ILuceneTasks luceneTasks,
                          IMergeStoredProcQueries mergeQueries)
 {
     this.orgRepo               = orgRepo;
     this.unitRepo              = unitRepo;
     this.rankRepo              = rankRepo;
     this.roleRepo              = roleRepo;
     this.adminUnitImportRepo   = adminUnitImportRepo;
     this.unitHierarchyRepo     = unitHierarchyRepo;
     this.unitHierarchyTypeRepo = unitHierarchyTypeRepo;
     this.unitLocationRepo      = unitLocationRepo;
     this.unitAliasRepo         = unitAliasRepo;
     this.unitOperationRepo     = unitOperationRepo;
     this.operationRepo         = operationRepo;
     this.operationAliasRepo    = operationAliasRepo;
     this.orgSearchQuery        = orgSearchQuery;
     this.unitQueries           = unitQueries;
     this.unitSearchQuery       = unitSearchQuery;
     this.rankSearchQuery       = rankSearchQuery;
     this.roleSearchQuery       = roleSearchQuery;
     this.luceneTasks           = luceneTasks;
     this.mergeQueries          = mergeQueries;
 }
예제 #18
0
 public SourceAttachmentTasks(INHibernateRepository <PersonSource> personSourceRepo,
                              INHibernateRepository <EventSource> eventSourceRepo,
                              INHibernateRepository <OrganizationSource> orgSourceRepo,
                              INHibernateRepository <UnitSource> unitSourceRepo,
                              INHibernateRepository <OperationSource> operationSourceRepo,
                              INHibernateRepository <AdminSourceSearch> adminSourceSearchRepository,
                              INHibernateRepository <AdminReviewedSource> adminReviewedSourceRepository,
                              ISourceCollectionsQuery sourceCollectionsQuery,
                              IAdminSourceSearchQuery adminSourceSearchQuery,
                              ISourceTasks sourceTasks,
                              IPersonTasks personTasks)
 {
     this.personSourceRepo              = personSourceRepo;
     this.eventSourceRepo               = eventSourceRepo;
     this.orgSourceRepo                 = orgSourceRepo;
     this.unitSourceRepo                = unitSourceRepo;
     this.operationSourceRepo           = operationSourceRepo;
     this.adminSourceSearchRepository   = adminSourceSearchRepository;
     this.adminReviewedSourceRepository = adminReviewedSourceRepository;
     this.sourceCollectionsQuery        = sourceCollectionsQuery;
     this.adminSourceSearchQuery        = adminSourceSearchQuery;
     this.sourceTasks = sourceTasks;
     this.personTasks = personTasks;
 }
예제 #19
0
 public SuggestionTasks(INHibernateRepository <Event> eventRepo,
                        INHibernateRepository <AdminSuggestionFeaturePersonResponsibility> asfprRepo,
                        INHibernateRepository <AdminSuggestionPersonResponsibility> asprRepo,
                        ISuggestionEventForPersonQuery suggestionQuery,
                        IPersonRelationshipSuggestionsQuery personRelationshipSuggestionsQuery,
                        IEventRelationshipSuggestionsQuery eventRelationshipSuggestionsQuery,
                        IPersonNameSuggestionsQuery personNameSuggestionsQuery,
                        ISourceSuggestionsQuery sourceSuggestionsQuery,
                        ICareerLocationSuggestionsQuery careerLocationSuggestionsQuery,
                        IOrganizationResponsibilitySuggestionsQuery organizationResponsibleSuggestionsQuery,
                        IEventInSameLocationSuggestionsQuery eventInSameLocationSuggestionsQuery)
 {
     this.eventRepo       = eventRepo;
     this.asfprRepo       = asfprRepo;
     this.asprRepo        = asprRepo;
     this.suggestionQuery = suggestionQuery;
     this.personRelationshipSuggestionsQuery      = personRelationshipSuggestionsQuery;
     this.eventRelationshipSuggestionsQuery       = eventRelationshipSuggestionsQuery;
     this.personNameSuggestionsQuery              = personNameSuggestionsQuery;
     this.sourceSuggestionsQuery                  = sourceSuggestionsQuery;
     this.careerLocationSuggestionsQuery          = careerLocationSuggestionsQuery;
     this.organizationResponsibleSuggestionsQuery = organizationResponsibleSuggestionsQuery;
     this.eventInSameLocationSuggestionsQuery     = eventInSameLocationSuggestionsQuery;
 }
예제 #20
0
 public PersonTasks(INHibernateRepository <Person> personRepo,
                    INHibernateRepository <ProfileStatus> profileStatusRepo,
                    INHibernateRepository <Ethnicity> ethnicityRepo,
                    INHibernateRepository <PersonAlias> personAliasRepo,
                    INHibernateRepository <PersonRelationship> personRelationshipRepo,
                    INHibernateRepository <PersonRelationshipType> personRelationshipTypeRepo,
                    INHibernateRepository <ActiveScreening> activeScreeningRepo,
                    INHibernateRepository <PersonRestrictedNote> restrictedNoteRepo,
                    INHibernateRepository <AdminExportedPersonProfile> exportPersonRepo,
                    IPersonRelationshipTypeNameQuery personRelationshipTypeNameQuery,
                    IPersonDataTablesQuery personDataTablesQuery,
                    IPersonQueries personQueries,
                    IOrganizationTasks orgTasks,
                    IMergeStoredProcQueries mergeQueries,
                    ILuceneTasks luceneTasks,
                    IAttachedSourceQueries attachedSourceQueries,
                    IWordExportPersonService exportService)
 {
     this.personRepo                      = personRepo;
     this.profileStatusRepo               = profileStatusRepo;
     this.ethnicityRepo                   = ethnicityRepo;
     this.personAliasRepo                 = personAliasRepo;
     this.personRelationshipRepo          = personRelationshipRepo;
     this.personRelationshipTypeRepo      = personRelationshipTypeRepo;
     this.activeScreeningRepo             = activeScreeningRepo;
     this.restrictedNoteRepo              = restrictedNoteRepo;
     this.exportPersonRepo                = exportPersonRepo;
     this.personRelationshipTypeNameQuery = personRelationshipTypeNameQuery;
     this.personDataTablesQuery           = personDataTablesQuery;
     this.personQueries                   = personQueries;
     this.orgTasks              = orgTasks;
     this.mergeQueries          = mergeQueries;
     this.luceneTasks           = luceneTasks;
     this.attachedSourceQueries = attachedSourceQueries;
     this.exportService         = exportService;
 }
 public ProductTasks(INHibernateRepository<Product> productRepository, IProductsForSaleQuery productsForSaleQuery)
 {
     this.productRepository = productRepository;
     this.productsForSaleQuery = productsForSaleQuery;
 }
예제 #22
0
 public BlogsController(INHibernateRepository <Blog> blogRepository)
 {
     this.blogRepository = blogRepository;
 }
예제 #23
0
 public CategoryTasks(INHibernateRepository<Category> categoryRepository)
 {
     _categoryRepository = categoryRepository;
 }
예제 #24
0
 protected virtual void InitializeData()
 {
     this.testEntityRepository = new NHibernateRepository <TestEntity>();
 }
 protected virtual void InitializeData()
 {
     this.testEntityRepository = new NHibernateRepository<TestEntity>();
 }
 public CustomerController(ICommandProcessor commandProcessor, INHibernateRepository<Address> customerAddressRepository)
 {
     this.commandProcessor = commandProcessor;
     this.customerAddressRepository = customerAddressRepository;
 }
 public CharityInfoController(INHibernateRepository<CharityInfo> cir)
 {
     charityInfoRepository = cir;
 }
예제 #28
0
 public BlogsController(INHibernateRepository<Blog > blogRepository)
 {
     this.blogRepository = blogRepository;
 }
예제 #29
0
 public ProductTasks(INHibernateRepository<Product> productRepository)
 {
     this.productRepository = productRepository;
 }
예제 #30
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="authenticatorRepository"></param>
 public AuthenticatorsController(INHibernateRepository<Authenticator> authenticatorRepository)
 {
     this.authenticatorRepository = authenticatorRepository;
 }
예제 #31
0
 public HomeController(INHibernateRepository <FactValueType> valueTypeRepository)
 {
     this.valueTypeRepository = valueTypeRepository;
 }
예제 #32
0
 public DocumentationFileTasks(INHibernateRepository <DocumentationFile> fileRepo,
                               INHibernateRepository <DocumentationFileTag> tagRepo)
 {
     this.fileRepo = fileRepo;
     this.tagRepo  = tagRepo;
 }
예제 #33
0
 public HomeController(INHibernateRepository<Product> repo)
 {
     _repo = repo;
 }
 public ChangeCrawlerSessionHandler(INHibernateRepository <CrawlerSession> crawlerSessionRepository)
 {
     this._crawlerSessionRepository = crawlerSessionRepository;
 }
예제 #35
0
 public UserController(INHibernateRepository<User> userRepository)
 {
     this.userRepository = userRepository;
 }
 public CategoryController(INHibernateRepository<Category> repo)
 {
     _repo = repo;
 }
 public BlogPostController(INHibernateRepository<BlogPost> blogPostRepository)
 {
     this.blogPostRepository = blogPostRepository;
 }
예제 #38
0
 public void Setup()
 {
     _repository = MockRepository.GenerateMock<INHibernateRepository<Category>>();
     _tasks = new CategoryTasks(_repository);
 }
 public ProductModelTasks(INHibernateRepository<ProductModel> productModelRepository)
 {
     this.productModelRepository = productModelRepository;
 }
 public CustomerController(ICommandProcessor commandProcessor, INHibernateRepository <Address> customerAddressRepository)
 {
     this.commandProcessor          = commandProcessor;
     this.customerAddressRepository = customerAddressRepository;
 }
예제 #41
0
 public void Setup()
 {
     _repository = MockRepository.GenerateMock<INHibernateRepository<Product>>();
     _tasks = new ProductTasks(_repository);
 }