Beispiel #1
0
 public Dictionary <string, string> cms_Contents_GetAllWithSectionName(int applicationId, Components.Contracts.CMS.CMSSectionType sectionType, byte contentStatus)
 {
     throw new NotImplementedException();
 }
Beispiel #2
0
 public IEnumerable <Components.Entities.CMS.CMSThread> cms_Threads_Get(Components.Contracts.CMS.CMSSectionType sectionType)
 {
     throw new NotImplementedException();
 }
Beispiel #3
0
 public IEnumerable <Components.Entities.CMS.CMSContent> cms_Contents_Get(int applicationId, Components.Contracts.CMS.CMSSectionType sectionType)
 {
     throw new NotImplementedException();
 }
Beispiel #4
0
 public Components.Entities.CMS.CMSThread cms_Threads_Get(Components.Contracts.CMS.CMSSectionType sectionType, string name)
 {
     return(_Threads.Find(c => c.CMSName.ToLowerInvariant() == name.ToLowerInvariant()));
 }
Beispiel #5
0
 public Components.Entities.CMS.CMSThread cms_Threads_Get(Components.Contracts.CMS.CMSSectionType sectionType, int threadId)
 {
     throw new NotImplementedException();
 }
Beispiel #6
0
 public Components.Entities.CMS.CMSSection cms_Sections_Get(Components.Contracts.CMS.CMSSectionType sectionType, int sectionId)
 {
     throw new NotImplementedException();
 }
Beispiel #7
0
 public int cms_Sections_Update(int sectionId, int?parentSectionId, int?groupId, string name, string description, Components.Contracts.CMS.CMSSectionType sectionType, bool isActive, bool isModerated)
 {
     throw new NotImplementedException();
 }
Beispiel #8
0
        public int cms_Sections_Insert(int applicationId, int?parentSectionId, int?groupId, string name, string description, Components.Contracts.CMS.CMSSectionType sectionType, bool isActive, bool isModerated)
        {
            CMSSection record = new CMSSection(
                applicationId
                , _Sections.Count == 0 ? 1000 : _Sections.Last().CMSSectionId + 1
                , parentSectionId
                , groupId
                , name
                , description
                , sectionType
                , isActive
                , isModerated
                , 0
                , 0);

            _Sections.Add(record);

            return(record.CMSSectionId);
        }