/// <summary>
 ///     Begins the work.
 /// </summary>
 protected override void BeginWork()
 {
     BootParameters.ShouldNotBe(null);
     base.BeginWork();
     _jobParameter =
         (CategorizeInfo)XmlUtility.DeserializeObject(BootParameters, typeof(CategorizeInfo));
     _batchSize =
         Convert.ToInt32(ApplicationConfigurationManager.GetValue("UpdateFieldsBatchSize", "AnalyticsProject"));
     _projectInfo = AnalyticsProject.Get(_jobParameter.MatterId.ToString(CultureInfo.InvariantCulture),
                                         _jobParameter.DatasetId.ToString(CultureInfo.InvariantCulture), _jobParameter.ProjectId.ToString(CultureInfo.InvariantCulture));
 }
Exemple #2
0
        protected override void BeginWork()
        {
            BootParameters.ShouldNotBe(null);
            base.BeginWork();
            _jobParameter =
                (CategorizeInfo)XmlUtility.DeserializeObject(BootParameters, typeof(CategorizeInfo));

            _dataset     = DataSetBO.GetDataSetDetailForDataSetId(_jobParameter.DatasetId);
            _projectInfo = AnalyticsProject.Get(_jobParameter.MatterId.ToString(CultureInfo.InvariantCulture),
                                                _jobParameter.DatasetId.ToString(CultureInfo.InvariantCulture),
                                                _jobParameter.ProjectId.ToString(CultureInfo.InvariantCulture));
            SetCommiyIndexStatusToInitialized(_jobParameter.MatterId);
        }