Class GeoportalResolverQueryStringBuilder
- java.lang.Object
-
- org.gcube.portlets.user.uriresolvermanager.resolvers.query.GeoportalResolverQueryStringBuilder
-
public final class GeoportalResolverQueryStringBuilder extends Object
The Class GeoportalResolverQueryStringBuilder.- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Mar 27, 2023
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeoportalResolverQueryStringBuilder.RESOLVE_ASThe Enum RESOLVE_AS_PARAMETER.
-
Field Summary
Fields Modifier and Type Field Description static StringGCUBE_SCOPE_PARAMETERstatic StringITEM_ID_PARAMETERstatic StringITEM_TYPE_PARAMETERstatic org.slf4j.LoggerLOGstatic StringRESOLVE_AS_PARAMETER
-
Constructor Summary
Constructors Constructor Description GeoportalResolverQueryStringBuilder(String itemType, String itemId)Instantiates a new geoportal resolver query string builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>buildQueryParameters()Builds the query parameters.StringgetGcubeScope()Gets the gcube scope.StringgetItemId()Gets the item id.StringgetItemType()Gets the item type.GeoportalResolverQueryStringBuilder.RESOLVE_ASgetResolveAs()GeoportalResolverQueryStringBuilderresolverAs(GeoportalResolverQueryStringBuilder.RESOLVE_AS resolveAs)Resolver as.GeoportalResolverQueryStringBuilderscope(String gcubeScope)Scope.
-
-
-
Field Detail
-
LOG
public static final org.slf4j.Logger LOG
-
ITEM_TYPE_PARAMETER
public static final String ITEM_TYPE_PARAMETER
- See Also:
- Constant Field Values
-
ITEM_ID_PARAMETER
public static final String ITEM_ID_PARAMETER
- See Also:
- Constant Field Values
-
GCUBE_SCOPE_PARAMETER
public static final String GCUBE_SCOPE_PARAMETER
- See Also:
- Constant Field Values
-
RESOLVE_AS_PARAMETER
public static final String RESOLVE_AS_PARAMETER
- See Also:
- Constant Field Values
-
-
Method Detail
-
scope
public GeoportalResolverQueryStringBuilder scope(String gcubeScope)
Scope.- Parameters:
gcubeScope- the gcube scope- Returns:
- the geoportal resolver query string builder
-
resolverAs
public GeoportalResolverQueryStringBuilder resolverAs(GeoportalResolverQueryStringBuilder.RESOLVE_AS resolveAs)
Resolver as.- Parameters:
resolveAs- the resolve as- Returns:
- the geoportal resolver query string builder
-
getItemType
public String getItemType()
Gets the item type.- Returns:
- the item type
-
getItemId
public String getItemId()
Gets the item id.- Returns:
- the item id
-
getGcubeScope
public String getGcubeScope()
Gets the gcube scope.- Returns:
- the gcube scope
-
getResolveAs
public GeoportalResolverQueryStringBuilder.RESOLVE_AS getResolveAs()
-
-