public OperationsController(IOrganizationTasks orgTasks, IAuditTasks auditTasks, IUserTasks userTasks, IScreeningTasks screeningTasks) { this.orgTasks = orgTasks; this.auditTasks = auditTasks; this.userTasks = userTasks; this.screeningTasks = screeningTasks; }
public LocationsController(ILocationTasks locationTasks, IEventTasks eventTasks, ICareerTasks careerTasks, IOrganizationTasks orgTasks) { this.locationTasks = locationTasks; this.eventTasks = eventTasks; this.careerTasks = careerTasks; this.orgTasks = orgTasks; }
public OrgResponsibilitiesController(IEventTasks eventTasks, IResponsibilityTasks responsibilityTasks, IOrganizationTasks organizationTasks) { this.eventTasks = eventTasks; this.responsibilityTasks = responsibilityTasks; this.organizationTasks = organizationTasks; }
public HomeController(IScreeningTasks screeningTasks, IRequestTasks requestTasks, IScreeningStatisticTasks screeningStatisticTasks, IOrganizationTasks orgTasks) { this.screeningTasks = screeningTasks; this.requestTasks = requestTasks; this.screeningStatisticTasks = screeningStatisticTasks; this.orgTasks = orgTasks; }
public CareersController(IPersonTasks personTasks, ICareerTasks careerTasks, IOrganizationTasks organizationTasks, ILocationTasks locationTasks) { this.personTasks = personTasks; this.careerTasks = careerTasks; this.organizationTasks = organizationTasks; this.locationTasks = locationTasks; }
public UnitsController(IOrganizationTasks orgTasks, IScreeningTasks screeningTasks, ILuceneTasks luceneTasks, IUserTasks userTasks, ISourceTasks sourceTasks, IAuditTasks auditTasks) { this.orgTasks = orgTasks; this.screeningTasks = screeningTasks; this.luceneTasks = luceneTasks; this.userTasks = userTasks; this.sourceTasks = sourceTasks; this.auditTasks = auditTasks; }
public EventsController(ISourceTasks sourceTasks, IEventTasks eventTasks, IPersonTasks personTasks, IResponsibilityTasks responsibilityTasks, IOrganizationTasks orgTasks, ILocationTasks locationTasks) { this.sourceTasks = sourceTasks; this.eventTasks = eventTasks; this.personTasks = personTasks; this.responsibilityTasks = responsibilityTasks; this.orgTasks = orgTasks; this.locationTasks = locationTasks; }
public EventMatchingTasks(IEventTasks eventTasks, ILuceneTasks luceneTasks, ISourceAttachmentTasks sourceAttachmentTasks, ILocationTasks locationTasks, IJhroCaseQueries jhroCaseQueries, IPersonTasks personTasks, IOrganizationTasks orgTasks) { this.eventTasks = eventTasks; this.luceneTasks = luceneTasks; this.sourceAttachmentTasks = sourceAttachmentTasks; this.locationTasks = locationTasks; this.jhroCaseQueries = jhroCaseQueries; this.personTasks = personTasks; this.orgTasks = orgTasks; }
public InitiateController(IRequestTasks requestTasks, IUserTasks userTasks, IPersonTasks personTasks, IRequestPersonTasks requestPersonTasks, IEmailTasks emailTasks, ILuceneTasks luceneTasks, IOrganizationTasks orgTasks) { this.requestTasks = requestTasks; this.userTasks = userTasks; this.personTasks = personTasks; this.requestPersonTasks = requestPersonTasks; this.emailTasks = emailTasks; this.luceneTasks = luceneTasks; this.orgTasks = orgTasks; }
public BackgroundTasks(ILuceneTasks luceneTasks, IOrganizationTasks orgTasks, IPersonTasks personTasks, IEventTasks eventTasks, IRequestTasks requestTasks, IScreeningTasks screeningTasks, ISourceTasks sourceTasks) { this.luceneTasks = luceneTasks; this.orgTasks = orgTasks; this.personTasks = personTasks; this.eventTasks = eventTasks; this.requestTasks = requestTasks; this.screeningTasks = screeningTasks; this.sourceTasks = sourceTasks; }
public SourceManagementTasks(IObjectSourceDuplicatesQuery objectSourceDuplicatesQuery, ISourceTasks sourceTasks, ISourceAttachmentTasks sourceAttachmentTasks, IPersonTasks personTasks, IEventTasks eventTasks, IOrganizationTasks orgTasks, ISourceQueries sourceQueries, ILuceneTasks luceneTasks) { this.objectSourceDuplicatesQuery = objectSourceDuplicatesQuery; this.sourceTasks = sourceTasks; this.sourceAttachmentTasks = sourceAttachmentTasks; this.personTasks = personTasks; this.eventTasks = eventTasks; this.orgTasks = orgTasks; this.sourceQueries = sourceQueries; this.luceneTasks = luceneTasks; }
public AuditTasks(IPersonTasks personTasks, IEventTasks eventTasks, IOrganizationTasks orgTasks, IPersonChangeActivityQuery personChangeActivityQuery, IPersonAuditable <Person> auditPersonQuery, IPersonAuditable <Career> auditCareerQuery, IPersonAuditable <PersonAlias> auditPersonAliasQuery, IPersonAuditable <PersonSource> auditPersonSourceQuery, IPersonAuditable <PersonPhoto> auditPersonPhotoQuery, IPersonAuditable <PersonRelationship> auditPersonRelationshipQuery, IPersonAuditable <ActionTaken> auditActionTakenQuery, IPersonAuditable <PersonResponsibility> auditPersonResponsibilityQuery, IPersonAuditable <PersonRestrictedNote> auditPersonRestrictedNoteQuery, IDeletedProfilesStoredProcQuery oldDeletedProfilesQuery, IAuditedEntityQuery auditedEntityQuery, IModifiedProfilesStoredProcQuery oldModifiedProfilesQuery, IAdminAuditQuery adminAuditQuery, IEventRevisionsQuery eventRevisionsQuery, IUnitRevisionsQuery unitRevisionsQuery, IOperationRevisionsQuery operationRevisionsQuery) { this.personTasks = personTasks; this.eventTasks = eventTasks; this.orgTasks = orgTasks; this.personChangeActivityQuery = personChangeActivityQuery; this.auditPersonQuery = auditPersonQuery; this.auditCareerQuery = auditCareerQuery; this.auditPersonAliasQuery = auditPersonAliasQuery; this.auditPersonSourceQuery = auditPersonSourceQuery; this.auditPersonPhotoQuery = auditPersonPhotoQuery; this.auditPersonRelationshipQuery = auditPersonRelationshipQuery; this.auditActionTakenQuery = auditActionTakenQuery; this.auditPersonResponsibilityQuery = auditPersonResponsibilityQuery; this.auditPersonRestrictedNoteQuery = auditPersonRestrictedNoteQuery; this.oldDeletedProfilesQuery = oldDeletedProfilesQuery; this.auditedEntityQuery = auditedEntityQuery; this.oldModifiedProfilesQuery = oldModifiedProfilesQuery; this.adminAuditQuery = adminAuditQuery; this.eventRevisionsQuery = eventRevisionsQuery; this.unitRevisionsQuery = unitRevisionsQuery; this.operationRevisionsQuery = operationRevisionsQuery; }
protected override ValidationResult IsValid(object value, ValidationContext validationContext) { UnitViewModel vm = (UnitViewModel)validationContext.ObjectInstance; IOrganizationTasks orgTasks = ServiceLocator.Current.GetInstance <IOrganizationTasks>(); Unit existing = orgTasks.GetUnit(vm.UnitName); if (vm.Id > 0) // editing a unit { Unit thisUnit = orgTasks.GetUnit(vm.Id); if (thisUnit != null && existing != null && thisUnit.Id != existing.Id) { return(CheckDates(vm, existing)); } } else // creating a new unit { return(CheckDates(vm, existing)); } return(ValidationResult.Success); }
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 HierarchiesController(IOrganizationTasks orgTasks) { this.orgTasks = orgTasks; }
public UnitSourcesController(IOrganizationTasks orgTasks, ISourceTasks sourceTasks, ISourceAttachmentTasks sourceAttachmentTasks) { this.orgTasks = orgTasks; this.sourceTasks = sourceTasks; this.sourceAttachmentTasks = sourceAttachmentTasks; }
public UnitsController(IOrganizationTasks orgTasks, ILuceneTasks luceneTasks) { this.orgTasks = orgTasks; this.luceneTasks = luceneTasks; }
public OperationAliasesController(IOrganizationTasks orgTasks) { this.orgTasks = orgTasks; }
public UnitOperationsController(IOrganizationTasks orgTasks) { this.orgTasks = orgTasks; }
public RanksController(IOrganizationTasks orgTasks) { this.orgTasks = orgTasks; }
public UnitLocationsController(IOrganizationTasks orgTasks, ILocationTasks locationTasks) { this.orgTasks = orgTasks; this.locationTasks = locationTasks; }