Skip to content
Snippets Groups Projects
Commit b68f3847 authored by pkupczyk's avatar pkupczyk
Browse files

SSDM-2362 : V3 AS API - global search - fix openbis_api tests

SVN: 35543
parent 20fd594e
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,7 @@ import ch.ethz.sis.openbis.generic.asapi.v3.dto.experiment.id.ExperimentPermId;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.externaldms.ExternalDms;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.externaldms.fetchoptions.ExternalDmsFetchOptions;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.global.fetchoptions.GlobalSearchObjectFetchOptions;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.global.search.GlobalSearchObjectKind;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.history.HistoryEntry;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.history.fetchoptions.HistoryEntryFetchOptions;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.material.Material;
......@@ -76,7 +77,6 @@ import ch.ethz.sis.openbis.generic.asapi.v3.dto.tag.id.TagPermId;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.vocabulary.Vocabulary;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.vocabulary.fetchoptions.VocabularyFetchOptions;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.vocabulary.fetchoptions.VocabularyTermFetchOptions;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.EntityKind;
public class Generator extends AbstractGenerator
{
......@@ -582,7 +582,7 @@ public class Generator extends AbstractGenerator
{
DtoGenerator gen = new DtoGenerator("global", "GlobalSearchObject", GlobalSearchObjectFetchOptions.class);
gen.addSimpleField(EntityKind.class, "entityKind");
gen.addSimpleField(GlobalSearchObjectKind.class, "entityKind");
gen.addSimpleField(EntityTypePermId.class, "entityTypeId");
gen.addSimpleField(IObjectId.class, "objectId");
gen.addStringField("registratorEmail");
......
......@@ -20,13 +20,13 @@ import ch.ethz.sis.openbis.generic.asapi.v3.dto.dataset.DataSet;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.entitytype.id.EntityTypePermId;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.experiment.Experiment;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.global.fetchoptions.GlobalSearchObjectFetchOptions;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.global.search.GlobalSearchObjectKind;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.material.Material;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.project.Project;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.sample.Sample;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.space.Space;
import ch.ethz.sis.openbis.generic.asapi.v3.exceptions.NotFetchedException;
import ch.systemsx.cisd.base.annotation.JsonObject;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.EntityKind;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
......@@ -43,7 +43,7 @@ public class GlobalSearchObject implements Serializable
private GlobalSearchObjectFetchOptions fetchOptions;
@JsonProperty
private EntityKind entityKind;
private GlobalSearchObjectKind entityKind;
@JsonProperty
private EntityTypePermId entityTypeId;
......@@ -93,13 +93,13 @@ public class GlobalSearchObject implements Serializable
// Method automatically generated with DtoGenerator
@JsonIgnore
public EntityKind getEntityKind()
public GlobalSearchObjectKind getEntityKind()
{
return entityKind;
}
// Method automatically generated with DtoGenerator
public void setEntityKind(EntityKind entityKind)
public void setEntityKind(GlobalSearchObjectKind entityKind)
{
this.entityKind = entityKind;
}
......
......@@ -960,4 +960,34 @@ SCRIPT
UPDATE
VOCABULARY
VOCABULARY_TERM
getDataSet
getEntityKind
getEntityTypeId
getMatchingField
getMatchingText
getMaterial
getRegistratorEmail
GlobalSearchCriteria
GlobalSearchObject
GlobalSearchObjectFetchOptions
GlobalSearchObjectKind
GlobalSearchObjectKindCriteria
GlobalSearchObjectSortOptions
GlobalSearchTextCriteria
hasDataSet
hasMaterial
in
searchGlobally
setDataSet
setEntityKind
setEntityTypeId
setMatchingField
setMatchingText
setMaterial
setObjectId
setRegistratorEmail
withDataSetUsing
withMaterial
withMaterialUsing
withObjectKind
withText
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment