diff --git a/process/IndexSearch_lib/process.js b/process/IndexSearch_lib/process.js index da1f2bc16e6e47c2e024c8f562cf60ea0a4a81a7..17652ebfbf69889563f7e7112f1cd0bf31fe2c07 100644 --- a/process/IndexSearch_lib/process.js +++ b/process/IndexSearch_lib/process.js @@ -1,12 +1,23 @@ +import("system.neon"); +import("system.text"); + /** -* provides static methods for special handling of entities in JDito-Processes -* do not create an instance of this -* -* @class -*/ + * provides static methods for special handling of entities in JDito-Processes + * do not create an instance of this + * + * @class + */ function IndexsearchUtils() {} -//todo: comment +/** + * TODO: Comment everything! + * + * @param {} fieldname + * @param {} affectedInfoContainer + * @param {} updateFn + * + * @return {} + */ IndexsearchUtils.getAffectedIdValues = function(fieldname, affectedInfoContainer, updateFn) { var affectedIds; switch (affectedInfoContainer.action){ @@ -23,7 +34,18 @@ IndexsearchUtils.getAffectedIdValues = function(fieldname, affectedInfoContainer return affectedIds || []; } -//todo: comment +/** + * TODO: Comment everything! + * + * @param {} changedIdValue + * @param {} changedTable + * @param {} action + * @param {} columnsFn + * @param {} oldValueFn + * @param {} newValueFn + * + * @return {} + */ IndexsearchUtils.createAffectedInfoContainer = function(changedIdValue, changedTable, action, columnsFn, oldValueFn, newValueFn) { var res, internalStorage; internalStorage = {};