Beispiel #1
0
 public FISNode FetchNodeDetails(FIS2GoCommonParameter p)
 {
     try
     {
         FISNode retval = FISNodeRepository.GetNode(p.SuperPath); // .GetArea(SiteID, AREA_SAKEY);
         FISLogging.Log("[200-OK] " + p.ToParameterLogString());
         return(retval);
     }
     catch (Exception ex)
     {
         FISLogging.Log("[E] Exception Encountered: " + ex.Message);
         FISLogging.Log("[E-P] " + p.ToParameterLogString());
         FISLogging.Log("[E-ST] " + ex.StackTrace);
         HttpContext.Current.Response.StatusCode = 500;
         throw ex;
     }
 }
Beispiel #2
0
 public List <String> FetchGroupChildNodeID(string SiteID, string AREA_SAKEY, string GroupID)
 {
     try
     {
         List <String> retval = FISNodeRepository.GetNodeIDChildren(AreaRepository.GetODBServer(SiteID), AREA_SAKEY, GroupID);
         FISLogging.Log("[200-OK] Params: SiteID = " + SiteID + ", AREASAKEY = " + AREA_SAKEY + ", GroupID = " + GroupID);
         return(retval);
     }
     catch (Exception ex)
     {
         FISLogging.Log("[E] Exception Encountered: " + ex.Message);
         FISLogging.Log("[E-P] Params: SiteID = " + SiteID + ", AREASAKEY = " + AREA_SAKEY + ", GroupID = " + GroupID);
         FISLogging.Log("[E-ST] " + ex.StackTrace);
         HttpContext.Current.Response.StatusCode = 500;
         throw ex;
     }
 }