diff --git a/openbis/resource/eclipse/Screening openBIS GWT prepare.launch b/openbis/resource/eclipse/Screening openBIS GWT prepare.launch new file mode 100644 index 0000000000000000000000000000000000000000..25330608f7c7ea7ee55c2e3e6359caab3a422b44 --- /dev/null +++ b/openbis/resource/eclipse/Screening openBIS GWT prepare.launch @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<launchConfiguration type="org.eclipse.ant.AntLaunchConfigurationType"> +<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/> +<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> +<listEntry value="/screening/build/build.xml"/> +</listAttribute> +<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> +<listEntry value="1"/> +</listAttribute> +<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups"> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/> +</listAttribute> +<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/> +<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="screening"/> +<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_TARGETS" value="prepare-gwt,"/> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/screening/build/build.xml}"/> +<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/> +</launchConfiguration> diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/EntityPropertiesEnricher.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/EntityPropertiesEnricher.java index 0859635bdd40ea72b35178e164b5247371963a1f..9c5fada9dda44f94f3fe6cc8072018dc8f806b4d 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/EntityPropertiesEnricher.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/EntityPropertiesEnricher.java @@ -148,6 +148,7 @@ public final class EntityPropertiesEnricher implements IEntityPropertiesEnricher vocabularyTerm = new VocabularyTerm(); vocabularyTerm.setCode(val.code); vocabularyTerm.setLabel(val.label); + vocabularyTerm.setDescription(val.description); final String template = vocabularyURLMap.get(val.covo_id); if (template != null) { diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/VocabularyTermRecord.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/VocabularyTermRecord.java index e29d488aff2f6b18a3ce1fd58783d341d6a98820..d71b9fea1f566cd74d50e1bc064aa7def3689ae1 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/VocabularyTermRecord.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/VocabularyTermRecord.java @@ -13,5 +13,7 @@ public class VocabularyTermRecord extends BaseEntityPropertyRecord public String label; + public String description; + public long term_ordinal; } diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/datasetlister/IDatasetListingQuery.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/datasetlister/IDatasetListingQuery.java index c8f9a64d32bb36a4d80c9c003e26f1cc2e40a560..09de0bf13804ebc70b748f9d9cdf556f5c0b20d5 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/datasetlister/IDatasetListingQuery.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/datasetlister/IDatasetListingQuery.java @@ -276,7 +276,7 @@ public interface IDatasetListingQuery extends TransactionQuery, IPropertyListing * * @param entityIds The set of sample ids to get the property values for. */ - @Select(sql = "SELECT pr.ds_id as entity_id, etpt.prty_id, etpt.script_id, cvte.id, cvte.covo_id, cvte.code, cvte.label, cvte.ordinal, cvte.is_official" + @Select(sql = "SELECT pr.ds_id as entity_id, etpt.prty_id, etpt.script_id, cvte.id, cvte.covo_id, cvte.code, cvte.label, cvte.ordinal, cvte.is_official, cvte.description" + " FROM data_set_properties pr" + " JOIN data_set_type_property_types etpt ON pr.dstpt_id=etpt.id" + " JOIN controlled_vocabulary_terms cvte ON pr.cvte_id=cvte.id" diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/materiallister/IMaterialListingQuery.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/materiallister/IMaterialListingQuery.java index f19fc7affe4578a20fb6134b069f7962f77ab754..5121be9e8c73bf586137b545aad3b43bca9df77c 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/materiallister/IMaterialListingQuery.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/materiallister/IMaterialListingQuery.java @@ -95,7 +95,7 @@ public interface IMaterialListingQuery extends TransactionQuery, IPropertyListin * * @param entityIds The set of material ids to get the property values for. */ - @Select(sql = "SELECT pr.mate_id as entity_id, etpt.prty_id, etpt.script_id, cvte.id, cvte.covo_id, cvte.code, cvte.label, cvte.ordinal, cvte.is_official" + @Select(sql = "SELECT pr.mate_id as entity_id, etpt.prty_id, etpt.script_id, cvte.id, cvte.covo_id, cvte.code, cvte.label, cvte.ordinal, cvte.is_official, cvte.description" + " FROM material_properties pr" + " JOIN material_type_property_types etpt ON pr.mtpt_id=etpt.id" + " JOIN controlled_vocabulary_terms cvte ON pr.cvte_id=cvte.id" diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/samplelister/ISampleListingQuery.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/samplelister/ISampleListingQuery.java index 0f56e2d9fd2925fa13761bd0d004b62f1c354892..ea12ff8059ac128a01984f22e57297b7fd94b4e9 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/samplelister/ISampleListingQuery.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/samplelister/ISampleListingQuery.java @@ -404,7 +404,7 @@ public interface ISampleListingQuery extends TransactionQuery, IPropertyListingQ * @param sampleIds The set of sample ids to get the property values for. */ @Select(sql = "SELECT sp.samp_id as entity_id, stpt.prty_id, stpt.script_id, stpt.ordinal, " - + " cvte.id, cvte.covo_id, cvte.code, cvte.label, cvte.ordinal as term_ordinal, cvte.is_official" + + " cvte.id, cvte.covo_id, cvte.code, cvte.label, cvte.ordinal as term_ordinal, cvte.is_official, cvte.description" + " FROM sample_properties sp" + " JOIN sample_type_property_types stpt ON sp.stpt_id=stpt.id" + " JOIN controlled_vocabulary_terms cvte ON sp.cvte_id=cvte.id"