feature_27120 #11
|
@ -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]
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue