Beispiel #1
0
 protected override void OnSave()
 {
     if (this.IsNew)
     {
         this.Owner = EmpiriaUser.Current.AsContact();
     }
     KBItemsData.WriteNote(this);
 }
Beispiel #2
0
        static public FixedList <Note> GetList(string objectType, string objectUID,
                                               string keywords = "")
        {
            Assertion.AssertObject(objectType, "objectType");
            Assertion.AssertObject(objectUID, "objectUID");

            return(KBItemsData.GetObjectPostingsList(objectType, objectUID,
                                                     keywords));
        }
Beispiel #3
0
 static public FixedList <Faq> Search(string keywords = "")
 {
     return(KBItemsData.SearchFaq(keywords));
 }