Revision 4966
Added by daigle over 14 years ago
searchWorkflow.js | ||
---|---|---|
14 | 14 |
queryString += "<pathquery version='1.2'>"; |
15 | 15 |
queryString += "<returndoctype>entity</returndoctype>"; |
16 | 16 |
queryString += "<returndoctype>-//UC Berkeley//DTD MoML 1//EN</returndoctype>"; |
17 |
queryString += "<returnfield>entity/@name</returnfield>"; |
|
17 |
queryString += "<returnfield>/entity/@name</returnfield>";
|
|
18 | 18 |
queryString += "<returnfield>property[@name=\'KeplerDocumentation\']/property[@name=\'author\']/configure</returnfield>"; |
19 | 19 |
queryString += "<returnfield>property[@name=\'KeplerDocumentation\']/property[@name=\'description\']/configure</returnfield>"; |
20 | 20 |
queryString += "<returnfield>property[@name=\'KeplerDocumentation\']/property[@name=\'createDate\']/configure</returnfield>"; |
... | ... | |
23 | 23 |
queryString += "<returnfield>property[@name=\'KeplerDocumentation\']/property[@name=\'runDate\']/configure</returnfield>"; |
24 | 24 |
queryString += "<returnfield>property[@name=\'KeplerDocumentation\']/property[@name=\'pdfReport\']/configure</returnfield>"; |
25 | 25 |
queryString += "<returnfield>property[@name=\'KeplerDocumentation\']/property[@name=\'htmlReport\']/configure</returnfield>"; |
26 |
queryString += "<returnfield>property[@name=\'KeplerDocumentation\']/property[@name=\'archiveName\']/configure</returnfield>";
|
|
27 |
queryString += "<returnfield>property[@name=\'entityId\']/@value</returnfield>"; |
|
26 |
queryString += "<returnfield>/entity/property[@name=\'karLSID\']/@value</returnfield>";
|
|
27 |
queryString += "<returnfield>/entity/property[@name=\'entityId\']/@value</returnfield>";
|
|
28 | 28 |
|
29 | 29 |
queryString += "<querygroup operator='INTERSECT'>"; |
30 | 30 |
|
... | ... | |
90 | 90 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
91 | 91 |
pathExpr += "<pathexpr>property/property/configure</pathexpr>"; |
92 | 92 |
pathExpr += "</queryterm>"; |
93 |
} else if (sfElement.name == 'workflow-lsid') { |
|
94 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
|
95 |
pathExpr += "<value>workflowLSID</value>"; |
|
96 |
pathExpr += "<pathexpr>property/property/@name</pathexpr>"; |
|
97 |
pathExpr += "</queryterm>"; |
|
98 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
|
99 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
|
100 |
pathExpr += "<pathexpr>property/property/@value</pathexpr>"; |
|
101 |
pathExpr += "</queryterm>"; |
|
93 | 102 |
} else if (sfElement.name == 'workflow-run-id') { |
94 | 103 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
95 | 104 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
Also available in: Unified diff
Updates primarily for final workflow and run xml metadata design