public void SetDeleteReturnVal(FolderTrack.Delete.DeleteRules.DeleteReturn deleterule) { pDeleteReturn = deleterule; foreach (GuiMessage guim in GuiCallList) { guim.SetDeleteReturnVal(pDeleteReturn); } SetNewDataAndCurrent(); }
public void GetVersionInfoFromMonitor(FolderTrack.Delete.DeleteRules.DeleteReturn delret, Util.MonGroRet retCall) { int passed; passed = dataReceiver.getMonitorGroupVersionsOf(m_currentMonitorGroup, delret); MonGroCallFromPass[passed] = retCall; }
public int getMonitorGroupVersionsOf(string MonitorGroup, FolderTrack.Delete.DeleteRules.DeleteReturn delret) { return pFolderTrack.GetFullMonitorGroupVerUD(MonitorGroup, delret); }
public DataManager GetDataManagerFromName(string MonitorGroupName, FolderTrack.Delete.DeleteRules.DeleteReturn delret) { DataManager returnDataManager; Util.DBug2("DataReceiver", "Enter GetDataManagerFromName"); bool correctDeleRetu = false; FolderTrack.Delete.DeleteRules.DeleteReturn outDelR; if (DelereReturnFromName.TryGetValue(MonitorGroupName, out outDelR)) { if (outDelR == delret) { correctDeleRetu = true; } } if (DataManagerFromName.TryGetValue(MonitorGroupName, out returnDataManager) && correctDeleRetu) { Util.DBug2("DataReceiver", "Enter Manager found"); pSendToAll = DONT_KEEP; SendDataV(new List<VersionInfo>(returnDataManager.VersionList.Values), MonitorGroupName, pSendToAll, true); return returnDataManager; } else { DataManagerFromName[MonitorGroupName] = new DataManager(); DelereReturnFromName[MonitorGroupName] = delret; Util.DBug2("DataReceiver", "Call getMonitorGroupVersionsOf"); pSendToAll = getMonitorGroupVersionsOf(MonitorGroupName, delret); Util.DBug2("DataReceiver", "getMonitorGroupVersionsOf returned"); return DataManagerFromName[MonitorGroupName]; } }
public void SetDeleteReturnVal(FolderTrack.Delete.DeleteRules.DeleteReturn del) { if (del == FolderTrack.Delete.DeleteRules.DeleteReturn.ALL) { includeRemove = true; } else if(del == FolderTrack.Delete.DeleteRules.DeleteReturn.NOT_REMOVED) { includeRemove = false; } //when all data is received call perform search CallPerformS = true; HoldAllDisplay = true; }
public void SetDeleteReturnVal(FolderTrack.Delete.DeleteRules.DeleteReturn delret ) { this.ListAllVersionPanelList.ClearAllDataH(); HoldAllDisplay = true; }