예제 #1
0
 /// <summary>
 /// Deletes rows from the cy_RssFeedEntries table. Returns true if row deleted.
 /// </summary>
 /// <param name="moduleGuid"> moduleGuid </param>
 /// <returns>bool</returns>
 public static bool DeleteUnPublishedEntriesByModule(Guid moduleGuid)
 {
     return(DBRssFeed.DeleteUnPublishedEntriesByModule(moduleGuid));
 }
예제 #2
0
 /// <summary>
 /// Deletes rows from the cy_RssFeedEntries table. Returns true if row deleted.
 /// </summary>
 /// <param name="feedId"> feedId </param>
 /// <returns>bool</returns>
 public static bool DeleteUnPublishedEntriesByFeed(int feedId)
 {
     return(DBRssFeed.DeleteUnPublishedEntriesByFeed(feedId));
 }
예제 #3
0
 public static bool DeleteFeed(int itemId)
 {
     return(DBRssFeed.DeleteRssFeed(itemId));
 }
예제 #4
0
 /// <summary>
 /// Deletes rows from the cy_RssFeedEntries table. Returns true if row deleted.
 /// </summary>
 /// <param name="moduleGuid"> moduleGuid </param>
 /// <returns>bool</returns>
 public static bool DeleteExpiredEntriesByModule(Guid moduleGuid, DateTime expiredDate)
 {
     return(DBRssFeed.DeleteExpiredEntriesByModule(moduleGuid, expiredDate));
 }
예제 #5
0
 /// <summary>
 /// Gets the most recent cache time for the module
 /// </summary>
 public static DateTime GetLastCacheTime(Guid moduleGuid)
 {
     return(DBRssFeed.GetLastCacheTime(moduleGuid));
 }
예제 #6
0
 /// <summary>
 /// Gets a count of rows in the mp_RssFeedEntries table.
 /// </summary>
 public static bool EntryExists(Guid moduleGuid, int entryHash)
 {
     return(DBRssFeed.EntryExists(moduleGuid, entryHash));
 }
예제 #7
0
 public static bool DeleteBySite(int siteId)
 {
     return(DBRssFeed.DeleteBySite(siteId));
 }
예제 #8
0
 public static bool DeleteByModule(int moduleId)
 {
     return(DBRssFeed.DeleteByModule(moduleId));
 }
예제 #9
0
 public static DataSet GetFeeds(int moduleId)
 {
     return(DBRssFeed.GetFeeds(moduleId));
 }