public override void UpdateArticle(int artId, string articleName, string articleDescription, DateTime dateOfPublish, int userId, int mediaManagerId, int articleStatusId, int articleStateId, int articleCommentId, IArticleState articleState) { articleState.SubmitUpdatedArticle(artId, articleName, articleDescription, dateOfPublish, userId, mediaManagerId, articleStatusId, articleStateId, articleCommentId); }
private void InitStates() { this._articleLoadedState = new ArticleLoadedState(this); this._articleEditState = new ArticleEditState(this); this._currentState = this.GetLoadedState(); }
public override void ReviewArticleByReviewer(int artId, string articleName, string articleDescription, DateTime dateOfPublish, int userId, int mediaManagerId, int articleStatusId, int articleStateId, int articleCommentId, string commentContent, IArticleState articleState) { articleState.AcceptOrRejectArticleByR(artId, articleName, articleDescription, dateOfPublish, userId, mediaManagerId, articleStatusId, articleStateId, commentContent, articleCommentId); }
public Article CreateTextArticleWithoutId(string articleName, string articleDescription, DateTime dateOfPublish, int userId, int mediaManagerId, int articleStatusId, int articleStateId, int articleCommentId, IArticleState articleState) { Article newArticle = new TextArticle(articleName, articleDescription, dateOfPublish, userId, mediaManagerId, articleStatusId, articleStateId, articleCommentId, articleState); return newArticle; }
public TextArticle(IArticleState state, string articleTitle, string articleContent, string articleComment, DateTime articlePublishDate, int userId, int mediaManagerId, int articleStatusId, int articleStateId) { this.state = state; this.articleTitle = articleTitle; this.articleContent = articleContent; this.articleComment = articleComment; this.articlePublishDate = articlePublishDate; this.userId = userId; this.mediaManagerId = mediaManagerId; this.articleStatusId = articleStatusId; this.articleStateId = articleStateId; }
public override Articles CreateTextArticlewitId(IArticleState state, string articleTitle, string articleContent, string articleComment, DateTime articlePublishDate, int userId, int mediaManagerId, int articleStatusId, int articleStateId,int articleId) { return new TextArticle(state, articleTitle, articleContent, articleComment, articlePublishDate, userId, mediaManagerId, articleStatusId, articleStateId,articleId); }
public Article CreateTextArticleV4(int artId, IArticleState articleState) { Article newArticle = new TextArticle(artId, articleState); return newArticle; }
public override void UpdateArticle(int artId, string articleName, string articleDescription, DateTime dateOfPublish, int userId, int mediaManagerId, int articleStatusId, int articleStateId, int articleCommentId, IArticleState article) { //base.UpdateArticle(); }
public override void ReviewArticleByReviewer(int artId, string articleName, string articleDescription, DateTime dateOfPublish, int userId, int mediaManagerId, int articleStatusId, int articleStateId, int articleCommentId, string commentContent, IArticleState articleState) { //base.ReviewArticleByReviewer(); }
public override void DeleteArticle(int artId, IArticleState articleState) { base.DeleteArticle(artId, articleState); }
public virtual Articles CreateTextArticlewitId(IArticleState state, string articleTitle, string articleContent, string articleComment, DateTime articlePublishDate, int userId, int mediaManagerId, int articleStatusId, int articleStateId, int articleId) { return null; }
public TextArticle(int artId, IArticleState articleState) : base(artId, articleState) { }
public override void DeleteArticle(int articleId, IArticleState articleState) { articleState.DeleteConfirmed(articleId); }
public TextArticle(string articleName, DateTime dateOfPublish, int userId, int mediaManagerId, int articleStatusId, int articleStateId, int articleCommentId, int artId, string commentContent, IArticleState articleState, string articleDescription) : base(articleName, dateOfPublish, userId, mediaManagerId, articleStatusId, articleStateId, articleCommentId, artId, commentContent, articleState) { this.articleDescription = articleDescription; }
public TextArticle(IArticleState state,int articleId) { this.state = state; this.articleId = articleId; }
public TextArticle(IArticleState state) { this.state = state; }
public override Articles CreateTextArticlewitIdandState(IArticleState state, int articleId) { return new TextArticle(state, articleId); }
public VideoArticlecs(string articleName, DateTime dateOfPublish, int userId, int mediaManagerId, int articleStatusId, int articleStateId, int articleCommentId, int artId, string commentContent, IArticleState articleState) : base(articleName, dateOfPublish, userId, mediaManagerId, articleStatusId, articleStateId, articleCommentId, artId, commentContent, articleState) { }
public Article(IArticleState articleState) { ArticleState = articleState; }
public virtual Articles CreateTextArticlewitIdandState(IArticleState state, int articleId) { return null; }