Adde INCLUDE_META_ and INCLUDE_META_IN_ALL_INSTANCES QUERY_PARAMETERs
This commit is contained in:
parent
71a9acae34
commit
a26b4fcba5
|
@ -19,6 +19,8 @@ public class AccessPath {
|
|||
|
||||
public static final String HIERARCHICAL_MODE_QUERY_PARAMETER = InstancePath.HIERARCHICAL_MODE_QUERY_PARAMETER;
|
||||
public static final String INCLUDE_CONTEXTS_QUERY_PARAMETER = InstancePath.INCLUDE_CONTEXTS_QUERY_PARAMETER;
|
||||
public static final String INCLUDE_META_QUERY_PARAMETER = InstancePath.INCLUDE_META_QUERY_PARAMETER;
|
||||
public static final String INCLUDE_META_IN_ALL_INSTANCES_QUERY_PARAMETER = InstancePath.INCLUDE_META_IN_ALL_INSTANCES_QUERY_PARAMETER;
|
||||
|
||||
/**
|
||||
* Used only in getRelated() function
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
package org.gcube.informationsystem.resourceregistry.api.rest;
|
||||
|
||||
import org.gcube.informationsystem.base.reference.IdentifiableElement;
|
||||
import org.gcube.informationsystem.model.reference.properties.Metadata;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
*/
|
||||
|
@ -13,4 +16,17 @@ public class InstancePath {
|
|||
|
||||
public static final String INCLUDE_CONTEXTS_QUERY_PARAMETER = "includeContexts";
|
||||
|
||||
/**
|
||||
* Request to include {@link Metadata} in {@link IdentifiableElement} root instance
|
||||
*/
|
||||
public static final String INCLUDE_META_QUERY_PARAMETER = "includeMeta";
|
||||
|
||||
/**
|
||||
* Request to include {@link Metadata} in all {@link IdentifiableElement}
|
||||
* instance.
|
||||
* 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 = "includeAllMeta";
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue