Class GN26Extension
java.lang.Object
it.geosolutions.geonetwork.GNAbstractClient
it.geosolutions.geonetwork.GN26Client
org.gcube.spatial.data.geonetwork.extension.GN26Extension
- All Implemented Interfaces:
it.geosolutions.geonetwork.GNClient
public class GN26Extension
extends it.geosolutions.geonetwork.GN26Client
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final it.geosolutions.geonetwork.util.GNVersionFields inherited from class it.geosolutions.geonetwork.GNAbstractClient
connection, gnServiceURL -
Constructor Summary
ConstructorsConstructorDescriptionGN26Extension(String serviceURL) GN26Extension(String serviceURL, String username, String password) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteMetadata(long arg0) org.jdom.Elementorg.jdom.Elementit.geosolutions.geonetwork.util.HTTPUtilsit.geosolutions.geonetwork.op.gn3.GN3MetadataGetInfo.MetadataInfoit.geosolutions.geonetwork.op.gn2x.custom.GNMetadataGetInfo.MetadataInfoDeprecated.it.geosolutions.geonetwork.op.gn3.GN3MetadataGetInfo.MetadataInfoit.geosolutions.geonetwork.op.gn2x.custom.GNMetadataGetInfo.MetadataInfoDeprecated.longinsertMetadata(it.geosolutions.geonetwork.util.GNInsertConfiguration arg0, File arg1) longinsertRequest(File arg0) booleanping()it.geosolutions.geonetwork.util.GNSearchResponsesearch(it.geosolutions.geonetwork.util.GNSearchRequest arg0) it.geosolutions.geonetwork.util.GNSearchResponsevoidsetPrivileges(long arg0, it.geosolutions.geonetwork.util.GNPrivConfiguration arg1) voidupdateMetadata(long arg0, int arg1, File arg2) voidupdateMetadata(long arg0, int arg1, File arg2, String arg3) voidupdateMetadata(long arg0, File arg1) voidupdateMetadata(long arg0, File arg1, String arg2)
-
Field Details
-
version
protected final it.geosolutions.geonetwork.util.GNVersion version
-
-
Constructor Details
-
GN26Extension
-
GN26Extension
-
-
Method Details
-
getConnection
public it.geosolutions.geonetwork.util.HTTPUtils getConnection() throws it.geosolutions.geonetwork.exception.GNLibException- Specified by:
getConnectionin interfaceit.geosolutions.geonetwork.GNClient- Overrides:
getConnectionin classit.geosolutions.geonetwork.GNAbstractClient- Throws:
it.geosolutions.geonetwork.exception.GNLibException
-
ping
public boolean ping() -
insertMetadata
public long insertMetadata(it.geosolutions.geonetwork.util.GNInsertConfiguration arg0, File arg1) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerException
-
insertRequest
public long insertRequest(File arg0) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerException
-
setPrivileges
public void setPrivileges(long arg0, it.geosolutions.geonetwork.util.GNPrivConfiguration arg1) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerException
-
search
public it.geosolutions.geonetwork.util.GNSearchResponse search(it.geosolutions.geonetwork.util.GNSearchRequest arg0) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerException
-
search
public it.geosolutions.geonetwork.util.GNSearchResponse search(File arg0) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerException
-
get
public org.jdom.Element get(Long arg0) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerException
-
get
public org.jdom.Element get(String arg0) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerException
-
deleteMetadata
public void deleteMetadata(long arg0) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerException
-
updateMetadata
public void updateMetadata(long arg0, File arg1) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerException
-
updateMetadata
public void updateMetadata(long arg0, File arg1, String arg2) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerException
-
getInfo
public it.geosolutions.geonetwork.op.gn3.GN3MetadataGetInfo.MetadataInfo getInfo(Long arg0) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerException
-
getInfo
public it.geosolutions.geonetwork.op.gn3.GN3MetadataGetInfo.MetadataInfo getInfo(String arg0) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerException
-
updateMetadata
public void updateMetadata(long arg0, int arg1, File arg2) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerException
-
updateMetadata
public void updateMetadata(long arg0, int arg1, File arg2, String arg3) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerException
-
getInfo
@Deprecated public it.geosolutions.geonetwork.op.gn2x.custom.GNMetadataGetInfo.MetadataInfo getInfo(Long arg0, boolean arg1) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException Deprecated.- Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerException
-
getInfo
@Deprecated public it.geosolutions.geonetwork.op.gn2x.custom.GNMetadataGetInfo.MetadataInfo getInfo(String arg0, boolean arg1) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException Deprecated.- Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerException
-