feature_27120 #11

Merged
francesco.mangiacrapa merged 8 commits from feature_27120 into master 2024-06-28 15:51:22 +02:00
3 changed files with 26 additions and 2 deletions
Showing only changes of commit c66e08ffc9 - Show all commits

View File

@ -4,6 +4,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [v2.4.0-SNAPSHOT]
- Search Filter for profileId and projectID [#27120]
## [v2.3.0]
- Read countByPhase from configuration [#25598]

View File

@ -10,7 +10,7 @@
<groupId>org.gcube.application</groupId>
<artifactId>geoportal-data-common</artifactId>
<version>2.3.0</version>
<version>2.4.0-SNAPSHOT</version>
<description>GeoPortal Data Common is common library used by GUI components developed for GeoNA</description>
<scm>

View File

@ -90,6 +90,10 @@ public class SearchingFilter implements Serializable {
private LinkedHashMap<String, Object> projection;
private String profileID;
private String projectID;
/**
* Instantiates a new sort filter.
*/
@ -180,6 +184,19 @@ public class SearchingFilter implements Serializable {
this.orderByFields = orderByFields;
}
public void setGetForIDs(String profileID, String projectID) {
this.profileID = profileID;
this.projectID = projectID;
}
public String getProfileID() {
return profileID;
}
public String getProjectID() {
return projectID;
}
/**
* Sets the order.
*
@ -200,8 +217,11 @@ public class SearchingFilter implements Serializable {
builder.append(conditions);
builder.append(", projection=");
builder.append(projection);
builder.append(", profileID=");
builder.append(profileID);
builder.append(", projectID=");
builder.append(projectID);
builder.append("]");
return builder.toString();
}
}