예제 #1
0
 public string[] GetDownloaderPromoEventServerUrlHistory(string sContentUniqueId)
 {
     return(ContentGenJob.GetHistoryList(
                ContentRecipesPropHistory.PromoEventServerUrl,
                sContentUniqueId,
                AppConfig.ContentGenJob.PromoEventServerUrlDefaultValue).ToArray());
 }
예제 #2
0
 public string[] GetDownloaderGAProfileIdHistory(string sContentUniqueId)
 {
     return(ContentGenJob.GetHistoryList(
                ContentRecipesPropHistory.GAProfileId,
                sContentUniqueId,
                AppConfig.ContentGenJob.GAProfileIdDefaultValue).ToArray());
 }
예제 #3
0
 public string[] GetDownloaderHomeUrlHistory(string sContentUniqueId)
 {
     return(ContentGenJob.GetHistoryList(
                ContentRecipesPropHistory.DownloaderHomeUrl,
                sContentUniqueId,
                "http://").ToArray());
 }
예제 #4
0
 public string[] GetDownloaderDisplayNameHistory(string sContentUniqueId)
 {
     return(ContentGenJob.GetHistoryList(
                ContentRecipesPropHistory.DownloaderDisplayName,
                sContentUniqueId,
                sContentUniqueId).ToArray());
 }
예제 #5
0
        public string GetContentGenRecipesJson(string sContentUniqueId, string sContentHashCode)
        {
            JobDetail oJob = quartzScheduler.GetJobDetail(sContentUniqueId, ContentMonitorConstants.ContentMonitorGroupName);

            if (oJob != null)
            {
                try
                {
                    return(ContentGenJob.ReadContentRecipesJson(sContentUniqueId, sContentHashCode));
                }
                catch (Exception oEx)
                {
                    throw new ApplicationException(string.Format(AppResource.ContentRecipesReadFailed, oEx.Message), oEx);
                }
            }
            return("");
        }
예제 #6
0
 public string[] GetDisclaimerFileList()
 {
     return(ContentGenJob.GetDisclaimerFileList().ToArray());
 }
예제 #7
0
 public string[] GetIconFileList()
 {
     return(ContentGenJob.GetIconFileList().ToArray());
 }