Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit ecff853d authored by Sebastian-Ion TINCU's avatar Sebastian-Ion TINCU
Browse files

EDELIVERY-12848 Implement additional search filters in the search page

Add missing Angular resources.
parent e79806f6
No related branches found
No related tags found
No related merge requests found
Pipeline #164403 passed with warnings
export interface ResourceMetadataRo {
availableDomains: string[];
availableDocumentTypes: string[];
}
package eu.europa.ec.edelivery.smp.data.ui;
import java.io.Serializable;
import java.util.*;
/**
* @since 5.1
* @author Sebastian-Ion TINCU
*/
public class ResourceMetadataResult implements Serializable {
private static final long serialVersionUID = 6677275164291128366L;
// The set of all the available domain codes
private Set<String> availableDomains = new LinkedHashSet<>();
// The set of all the available document types
private Set<String> availableDocumentTypes = new LinkedHashSet<>();
public ResourceMetadataResult(List<String> domainCodes, List<String> documentTypes) {
this.availableDomains.addAll(new TreeSet<>(domainCodes));
this.availableDocumentTypes.addAll(new TreeSet<>(documentTypes));
}
public Set<String> getAvailableDomains() {
return availableDomains;
}
public Set<String> getAvailableDocumentTypes() {
return availableDocumentTypes;
}
}
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