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
Fields Modifier and Type Field Description protected it.geosolutions.geonetwork.util.GNVersionversion
-
Constructor Summary
Constructors Constructor Description GN26Extension(String serviceURL)GN26Extension(String serviceURL, String username, String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddeleteMetadata(long arg0)org.jdom.Elementget(Long arg0)org.jdom.Elementget(String arg0)it.geosolutions.geonetwork.util.HTTPUtilsgetConnection()it.geosolutions.geonetwork.op.gn3.GN3MetadataGetInfo.MetadataInfogetInfo(Long arg0)it.geosolutions.geonetwork.op.gn2x.custom.GNMetadataGetInfo.MetadataInfogetInfo(Long arg0, boolean arg1)Deprecated.it.geosolutions.geonetwork.op.gn3.GN3MetadataGetInfo.MetadataInfogetInfo(String arg0)it.geosolutions.geonetwork.op.gn2x.custom.GNMetadataGetInfo.MetadataInfogetInfo(String arg0, boolean arg1)Deprecated.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.GNSearchResponsesearch(File arg0)voidsetPrivileges(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)
-
-
-
Method Detail
-
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
-
-