This commit is contained in:
@@ -21,10 +21,28 @@ namespace AyaNova.Biz
|
||||
//ProcessKeywords into database
|
||||
|
||||
#region ProcessKeywords into Database
|
||||
|
||||
public static void ProcessNewObjectKeywords(AyContext ct, long localeId, long objectID, AyaType objectType, string name, params string[] text)
|
||||
{
|
||||
ProcessKeywords(ct, localeId, objectID, objectType, true, name, text);
|
||||
}
|
||||
|
||||
public static void ProcessUpdatedObjectKeywords(AyContext ct, long localeId, long objectID, AyaType objectType, string name, params string[] text)
|
||||
{
|
||||
ProcessKeywords(ct, localeId, objectID, objectType, false, name, text);
|
||||
}
|
||||
|
||||
public static void ProcessDeletedObjectKeywords(AyContext ct, long objectID, AyaType objectType)
|
||||
{
|
||||
throw new System.NotImplementedException("Search::ProcessDeletedObjectKeywords NOT CODED YET");
|
||||
//ProcessKeywords(ct, localeId, objectID, objectType, false, name, text);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Process the keywords into the dictionary
|
||||
/// </summary>
|
||||
public static void ProcessKeywords(AyContext ct, long localeId, long objectID, AyaType objectType, bool newRecord, string keyWords, string name)
|
||||
private static void ProcessKeywords(AyContext ct, long localeId, long objectID, AyaType objectType, bool newRecord, string name, params string[] text)
|
||||
{
|
||||
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace AyaNova.Biz
|
||||
//do stuff with widget
|
||||
Widget outObj = inObj;
|
||||
outObj.OwnerId = userId;
|
||||
//SearchHelper(break down text fields, save to db)
|
||||
|
||||
//TagHelper(collection of tags??)
|
||||
await ct.Widget.AddAsync(outObj);
|
||||
return outObj;
|
||||
|
||||
Reference in New Issue
Block a user