Added interface RequestInfo
This commit is contained in:
parent
3596058992
commit
6d08991dc3
|
@ -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);
|
||||||
|
|
||||||
|
}
|
|
@ -27,6 +27,6 @@ public class InstancePath {
|
||||||
* It must be used in conjunction with {@link #INCLUDE_META_QUERY_PARAMETER}
|
* It must be used in conjunction with {@link #INCLUDE_META_QUERY_PARAMETER}
|
||||||
* If {@link #INCLUDE_META_QUERY_PARAMETER} is false it has no meaning
|
* 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";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue