Ejemplo n.º 1
0
		public bool ProcessDefaultFillingTriggeredByMe(DefaultFilling defaultFilling)
			{
				if (defaultFilling.TriggeredByFullDataDependencyId == DataDependencyId)
					{
					foreach (InformationAddOn TriggerEntry in Information.InformationenAddOnsOrdered)
						{
						if (TriggerEntry.DataDependencyId == defaultFilling.FullDataDependencyId)
							TriggerEntry.ProcessSingleEntryFilling(defaultFilling, Information, this);
						}
					}
			return true;
			}
Ejemplo n.º 2
0
		public void DeleteDefaultFilling(DefaultFilling entryToDelete)
			{
			entryToDelete.Delete();
			DbDataContext.AltErlaaInfo.SaveKatabolic();
			DbDataContext.AltErlaaInfo.AcceptChanges();
			}
Ejemplo n.º 3
0
		public bool ProcessMyDefaultFilling(DefaultFilling defaultFilling)
			{
			if (defaultFilling.FullDataDependencyId == DataDependencyId)
				{
				return ProcessSingleEntryFilling(defaultFilling, Information, null);
				}
			return true;
			}
Ejemplo n.º 4
0
		private bool ProcessSingleEntryFilling(DefaultFilling Filling, Information info,
						InformationAddOn sourceInfoAddOn)
			{
			switch (Filling.ContentTypProperty)
				{
				case DefaultFilling.ContentTyp.BannerConnector:
					DoConnectorDefaults("Banner", "BannerData", "WPMediaAddOnDataConnectionString");
					break;
				case DefaultFilling.ContentTyp.StandBildConnector:
					DoConnectorDefaults("StandBild", "WohnParkInfo", "WPMediaAddOnDataConnectionString");
					break;
				case DefaultFilling.ContentTyp.BerichtConnector:
					DoConnectorDefaults("StandBild", "LiesingInfo", "WPMediaAddOnDataConnectionString");
					break;
				case DefaultFilling.ContentTyp.BeitragConnector:
					DoConnectorDefaults("Beitrag", "Beitrag", "WPMediaConnectionString");
					break;
				case DefaultFilling.ContentTyp.FillConnectedTiming:
					DoConnectedTimingsDefaults();
					break;
				case DefaultFilling.ContentTyp.AdjustChapterStructures:
					DoAdjustChapterStructures();
					break;
				case DefaultFilling.ContentTyp.BannerTiming:
					DoTimingsDefault("BannerVonBis", -3, sourceInfoAddOn);
					break;
				case DefaultFilling.ContentTyp.StandBildTiming:
					DoTimingsDefault("AnzVonBis", -14, sourceInfoAddOn);
					break;
				case DefaultFilling.ContentTyp.BeitragTiming:
					DoTimingsDefault("AnzVonBis", -14, sourceInfoAddOn);
					break;

				case DefaultFilling.ContentTyp.EventTimings:
					DoEventTimingsDefault("EventVonBis", 0);
					break;
				case DefaultFilling.ContentTyp.BerichtTimings:
					DoBerichtTimingsDefault("AktivVonBis", 14);
					break;
				}
			return true;
			}