Example #1
0
 public IList<Article> ReadInPath(ArticleHandler handler, string path, int start, int size, out int total)
 {
     return ReadInPath(handler, path, UserStore.Instance.Guest.Id, PublishingStage.Published, start, size, out total);
 }
Example #2
0
        public IList<Article> ReadInPath(ArticleHandler handler, string path, long ownerId, PublishingStage stage, int start, int size, out int total)
        {
            #region argument

            if (handler == null)
            {
                throw new ArgumentNullException("handler");
            }

            #endregion

            return ArticleDbInteractor.Instance.GetArticlesInPath(path, ownerId, (int)stage, Article.ArticleTagKey, handler.Id, start, size, out total);
        }
Example #3
0
 public IList<Article> Read(ArticleHandler handler, string query, long ownerId, int start, int size, out int total)
 {
     return Read(handler, query, ownerId, PublishingStage.Published, start, size, out total);
 }