コード例 #1
0
ファイル: FTObjects.cs プロジェクト: LucindaInc/FolderTrack
 public void SetDeleteReturnVal(FolderTrack.Delete.DeleteRules.DeleteReturn deleterule)
 {
     pDeleteReturn = deleterule;
     foreach (GuiMessage guim in GuiCallList)
     {
         guim.SetDeleteReturnVal(pDeleteReturn);
     }
     SetNewDataAndCurrent();
 }
コード例 #2
0
ファイル: FTObjects.cs プロジェクト: LucindaInc/FolderTrack
 public void GetVersionInfoFromMonitor(FolderTrack.Delete.DeleteRules.DeleteReturn delret, Util.MonGroRet retCall)
 {
     int passed;
     passed = dataReceiver.getMonitorGroupVersionsOf(m_currentMonitorGroup, delret);
     MonGroCallFromPass[passed] = retCall;
 }
コード例 #3
0
 public int getMonitorGroupVersionsOf(string MonitorGroup, FolderTrack.Delete.DeleteRules.DeleteReturn delret)
 {
     return pFolderTrack.GetFullMonitorGroupVerUD(MonitorGroup, delret);
 }
コード例 #4
0
        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];
            }
        }
コード例 #5
0
        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;
        }
コード例 #6
0
 public void SetDeleteReturnVal(FolderTrack.Delete.DeleteRules.DeleteReturn delret )
 {
     this.ListAllVersionPanelList.ClearAllDataH();
     HoldAllDisplay = true;
 }