docs.rocket-cds.org
  • All
  • AppThemes
  • Integration
  • RazorTokens
  • RocketContent
  • RocketDirectory
  • RocketForms
  • SimplisityJS
  • Development
  • All
  • AppThemes
  • Integration
  • RazorTokens
  • RocketContent
  • RocketDirectory
  • RocketForms
  • SimplisityJS
  • Development
arrow_back  Back

RocketContent Article

# ArticleLimpet ``` public class ArticleLimpet ``` ``` public const string _tableName = "RocketContentAPI"; ``` ``` public const string _entityTypeCode = "ART"; ``` ``` public ArticleLimpet(int portalId, string dataRef, string langRequired, int moduleid) ``` ``` public bool LangRecordRowExists(string cultureCode, string rowKey) ``` ``` public void Delete() ``` ``` public void ClearCache() ``` ``` public int Update() ``` ``` public void RebuildLangIndex() ``` ``` public int ValidateAndUpdate() ``` ``` public void AddListItem(string listname) ``` ``` public void Validate() ``` ### rows ``` public void UpdateRow(string rowKey, SimplisityInfo postInfo, bool secureSave = true) ``` ``` public string AddRow() ``` ``` public void RemoveRow(string rowKey) ``` ``` public ArticleRowLimpet GetRow(string rowKey) ``` ``` public ArticleRowLimpet GetRow(int idx) ``` ``` public List<SimplisityInfo> GetRowList() ``` ``` public List<ArticleRowLimpet> GetRows() ``` ``` public List<List<ArticleRowLimpet>> GetArticleRows(int columns) ``` ### recycle bin ``` public SimplisityRecord GetNewestRecycleBinEntry(SimplisityInfo recyleInfo) ``` ``` public void PurgeRecycleBin(int maxcount = 20) ``` ``` public List<SimplisityInfo> GetRecycleBin() ``` ``` public void RestoreArticle(string recycleref) ``` ``` public void EmptyRecycleBin() ``` ### properties ``` public string Get(string xpath, string defaultvalue = "") ``` ``` public int GetInt(string xpath, int defaultvalue = 0) ``` ``` public DateTime GetDate(string xpath) ``` ``` public DateTime GetDate(string xpath, DateTime defaultvalue) ``` ``` public bool GetBool(string xpath) ``` ``` public string CultureCode ``` ``` public bool SecureSave ``` ``` public string EntityTypeCode ``` ``` public SimplisityInfo Info ``` ``` public int ModuleId ``` ``` public int XrefItemId ``` ``` public int ParentItemId ``` ``` public int ArticleId ``` ``` public string DataRef ``` ``` public string GUIDKey ``` ``` public int SortOrder ``` ``` public bool DebugMode ``` ``` public int PortalId ``` ``` public bool Exists ``` ``` public string LinkListName ``` ``` public string DocumentListName ``` ``` public string ImageListName ```
arrow_back  Back
Copyright 2025 by Nevoweb   |   Mentions Légales   |   Login