Example #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;
 }
Example #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;
 }
Example #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;
 }
Example #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;
 }
Example #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;
 }
Example #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;
 }
Example #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;
 }
 public SourcePermissionTasks(INHibernateRepository <SourceAuthor> sourceAuthorRepo,
                              INHibernateRepository <SourceOwningEntity> sourceOwningEntityRepo,
                              ISourceAuthorSearchQuery sourceAuthorSearchQuery,
                              ISourceQueries sourceQueries)
 {
     this.sourceAuthorRepo        = sourceAuthorRepo;
     this.sourceOwningEntityRepo  = sourceOwningEntityRepo;
     this.sourceAuthorSearchQuery = sourceAuthorSearchQuery;
     this.sourceQueries           = sourceQueries;
 }
Example #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;
 }
Example #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;
 }
 public ScreeningStatisticTasks(IScreeningCountsQuery screeningCountsQuery,
                                INHibernateRepository <ScreeningRequestPersonFinalDecision> srpfdRepo,
                                IScreeningTasks screeningTasks,
                                IRequestPersonTasks requestPersonTasks)
 {
     this.screeningCountsQuery = screeningCountsQuery;
     this.srpfdRepo            = srpfdRepo;
     this.screeningTasks       = screeningTasks;
     this.requestPersonTasks   = requestPersonTasks;
 }
Example #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;
 }
Example #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;
 }
Example #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;
 }
Example #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;
 }
Example #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;
 }
Example #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;
 }
 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;
 }
Example #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;
 }
Example #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;
 }
Example #22
0
 public BlogsController(INHibernateRepository <Blog> blogRepository)
 {
     this.blogRepository = blogRepository;
 }
 public CategoryTasks(INHibernateRepository<Category> categoryRepository)
 {
     _categoryRepository = categoryRepository;
 }
Example #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;
 }
Example #28
0
 public BlogsController(INHibernateRepository<Blog > blogRepository)
 {
     this.blogRepository = blogRepository;
 }
Example #29
0
 public ProductTasks(INHibernateRepository<Product> productRepository)
 {
     this.productRepository = productRepository;
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="authenticatorRepository"></param>
 public AuthenticatorsController(INHibernateRepository<Authenticator> authenticatorRepository)
 {
     this.authenticatorRepository = authenticatorRepository;
 }
Example #31
0
 public HomeController(INHibernateRepository <FactValueType> valueTypeRepository)
 {
     this.valueTypeRepository = valueTypeRepository;
 }
 public DocumentationFileTasks(INHibernateRepository <DocumentationFile> fileRepo,
                               INHibernateRepository <DocumentationFileTag> tagRepo)
 {
     this.fileRepo = fileRepo;
     this.tagRepo  = tagRepo;
 }
 public HomeController(INHibernateRepository<Product> repo)
 {
     _repo = repo;
 }
 public ChangeCrawlerSessionHandler(INHibernateRepository <CrawlerSession> crawlerSessionRepository)
 {
     this._crawlerSessionRepository = crawlerSessionRepository;
 }
Example #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;
 }
 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;
 }
 public void Setup()
 {
     _repository = MockRepository.GenerateMock<INHibernateRepository<Product>>();
     _tasks = new ProductTasks(_repository);
 }