Package de.elo.ix.jscript
Class FindSordsByGuids
java.lang.Object
de.elo.ix.jscript.FindObjects
de.elo.ix.jscript.FindSordsByIds
de.elo.ix.jscript.FindSordsByGuids
This class allows to select Sord objects by their GUID when searching for objects with
FindByRegisteredFunction.
- See Also:
-
Field Summary
Fields inherited from class de.elo.ix.jscript.FindObjects
FROM_OBJ_KEYS, FROM_SORDS, WHERE_OBJ_KEY_DATA, WHERE_OBJ_KEY_DATA_LIKE, WHERE_SORD_GUID, WHERE_SORD_ID
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.elo.ix.jscript.FindSordsByIds
bindParams, getCurrentPosAsString, getFrom, next
Methods inherited from class de.elo.ix.jscript.FindObjects
close, getAlias
-
Constructor Details
-
FindSordsByGuids
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
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 classFindSordsByIds
- Returns:
- where clause
- See Also:
-