Class FindSordsByGuids


public class FindSordsByGuids extends FindSordsByIds
This class allows to select Sord objects by their GUID when searching for objects with FindByRegisteredFunction.
See Also:
  • Constructor Details

    • FindSordsByGuids

      public FindSordsByGuids(Object jsGuids)
      Constructor. The parameter jsGuids can be one GUID, an array of GUIDs or a table of values whereby the first column contains the GUIDs. Examples:
       
       // one GUID
       var jsGuids = "(5438E821-C6D2-11E0-3D86-11C04FD62025)";
       
       // array of GUIDs
       var jsGuids = ["(5438E821-C6D2-11E0-3D86-11C04FD62025)", "(99E609E1-B259-11CF-BFC7-444553540000)"];
       
       // table of GUIDs
       var jsGuids = [["(5438E821-C6D2-11E0-3D86-11C04FD62025)", "ignored"], ["(99E609E1-B259-11CF-BFC7-444553540000)", "ignored"]];
       
       // table of GUIDs
       var db = Packages.de.elo.ix.jscript.DBConnection("jdbc/MyDB");
       var jsGuids = db.query("select guid from ...");
       
       
       
      Parameters:
      jsGuids - GUID or GUIDs
  • Method Details

    • getWhere

      public String getWhere()
      Description copied from class: FindObjects
      Where clause. This function is only called for the first object. Use PreparedStatement placeholders for the Sord ID and other parameters (if there are any).
      If an alias for the Sords table should be used, the alias must prefix the column names. E.g. getAlias()="o", getFormat()="objekte o, dochistory d", getWhere()="o.objid=d.objectid and ..."
      Overrides:
      getWhere in class FindSordsByIds
      Returns:
      where clause
      See Also: