Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
b4dfff07
Commit
b4dfff07
authored
13 years ago
by
kaloyane
Browse files
Options
Downloads
Patches
Plain Diff
[LMS-2138] forgotten commit
SVN: 22181
parent
37db04d0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/dataaccess/IScreeningQuery.java
+16
-11
16 additions, 11 deletions
...s/plugin/screening/server/dataaccess/IScreeningQuery.java
with
16 additions
and
11 deletions
screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/dataaccess/IScreeningQuery.java
+
16
−
11
View file @
b4dfff07
...
@@ -307,18 +307,23 @@ public interface IScreeningQuery extends BaseQuery
...
@@ -307,18 +307,23 @@ public interface IScreeningQuery extends BaseQuery
final
static
String
ANALYSIS_PROCEDURE_SELECT
=
"select distinct "
final
static
String
ANALYSIS_PROCEDURE_SELECT
=
"select distinct "
+
" ds_props.value as value"
+
" ds_props.value as value"
+
" from experiments exp "
+
" from experiments exp "
+
" join data ds on ds.expe_id = exp.id "
+
" join data ds on ds.expe_id = exp.id "
+
" join data_set_types ds_type on ds.dsty_id = ds_type.id "
+
" join projects proj on proj.id = exp.proj_id "
+
" join data_set_type_property_types dst_pt on dst_pt.dsty_id = ds_type.id "
+
" join data_set_types ds_type on ds.dsty_id = ds_type.id "
+
" left outer join data_set_properties ds_props on ds_props.ds_id = ds.id "
+
" join data_set_type_property_types dst_pt on dst_pt.dsty_id = ds_type.id "
+
" where "
+
" left outer join data_set_properties ds_props on ds_props.ds_id = ds.id "
+
" dst_pt.prty_id = (select id from property_types where code='ANALYSIS_PROCEDURE' and is_internal_namespace=true)"
;
+
" where "
+
" dst_pt.prty_id = (select id from property_types where code='ANALYSIS_PROCEDURE' and is_internal_namespace=true)"
;
@Select
(
sql
=
ANALYSIS_PROCEDURE_SELECT
+
" and exp.id = ?{1} "
)
public
List
<
String
>
listAnalysisProcedures
(
long
experimentId
);
@Select
(
sql
=
ANALYSIS_PROCEDURE_SELECT
)
@Select
(
sql
=
ANALYSIS_PROCEDURE_SELECT
)
public
List
<
String
>
listAllAnalysisProcedures
();
public
List
<
String
>
listAllAnalysisProcedures
();
@Select
(
sql
=
ANALYSIS_PROCEDURE_SELECT
+
" and exp.id = ?{1} "
)
public
List
<
String
>
listAnalysisProceduresForExperiment
(
long
experimentId
);
@Select
(
sql
=
ANALYSIS_PROCEDURE_SELECT
+
" and proj.id = ?{1} "
)
public
List
<
String
>
listAnalysisProceduresForProject
(
long
projectId
);
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment