Added interface RequestInfo

This commit is contained in:
Luca Frosini 2023-05-02 17:23:49 +02:00
parent 3596058992
commit 6d08991dc3
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,24 @@
package org.gcube.informationsystem.resourceregistry.api.request;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface RequestInfo {
public boolean includeMeta();
public void setIncludeMeta(boolean includeMeta);
public boolean allMeta();
public void setAllMeta(boolean allMeta);
public boolean isHierarchicalMode();
public void setHierarchicalMode(boolean hierarchicalMode);
public boolean includeContexts();
public void setIncludeContexts(boolean includeContexts);
}

View File

@ -27,6 +27,6 @@ public class InstancePath {
* It must be used in conjunction with {@link #INCLUDE_META_QUERY_PARAMETER}
* If {@link #INCLUDE_META_QUERY_PARAMETER} is false it has no meaning
*/
public static final String INCLUDE_META_IN_ALL_INSTANCES_QUERY_PARAMETER = "includeMetaInAllInstances";
public static final String INCLUDE_META_IN_ALL_INSTANCES_QUERY_PARAMETER = "allMeta";
}