public class GeonetworkAccessParameter extends Object implements GeonetworkServiceInterface
| Modifier and Type | Class and Description |
|---|---|
static class |
GeonetworkAccessParameter.AccountType
The Enum AccountType.
|
static class |
GeonetworkAccessParameter.GeonetworkLoginLevel
The Enum GeonetworkLoginLevel.
|
| Modifier and Type | Field and Description |
|---|---|
protected GeonetworkInstance |
geonetworkInstance |
protected static org.slf4j.Logger |
logger |
protected String |
scope |
| Constructor and Description |
|---|
GeonetworkAccessParameter(String scope)
Instantiates a new geonetwork access parameter.
|
| Modifier and Type | Method and Description |
|---|---|
GeonetworkInstance |
getGeonetworkInstance(boolean authenticate,
GeonetworkAccessParameter.GeonetworkLoginLevel loginLevel,
GeonetworkAccessParameter.AccountType accType)
Gets the geonetwork instance.
|
String |
getScope()
Gets the scope.
|
static org.gcube.spatial.data.geonetwork.LoginLevel |
toLoginLevel(GeonetworkAccessParameter.GeonetworkLoginLevel loginLevel)
To login level.
|
protected static org.slf4j.Logger logger
protected GeonetworkInstance geonetworkInstance
protected String scope
public GeonetworkAccessParameter(String scope)
scope - the scopepublic GeonetworkInstance getGeonetworkInstance(boolean authenticate, GeonetworkAccessParameter.GeonetworkLoginLevel loginLevel, GeonetworkAccessParameter.AccountType accType) throws GeonetworkInstanceException
GeonetworkServiceInterfacegetGeonetworkInstance in interface GeonetworkServiceInterfaceauthenticate - the authenticateloginLevel - the login levelaccType - the acc typeGeonetworkInstanceExceptionpublic String getScope()
GeonetworkServiceInterfacegetScope in interface GeonetworkServiceInterfacepublic static final org.gcube.spatial.data.geonetwork.LoginLevel toLoginLevel(GeonetworkAccessParameter.GeonetworkLoginLevel loginLevel)
loginLevel - the login levelCopyright © 2022. All Rights Reserved.