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 final it.geosolutions.geonetwork.util.GNVersion
     

    Fields inherited from class it.geosolutions.geonetwork.GNAbstractClient

    connection, gnServiceURL
  • Constructor Summary

    Constructors
    Constructor
    Description
    GN26Extension(String serviceURL)
     
    GN26Extension(String serviceURL, String username, String password)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteMetadata(long arg0)
     
    org.jdom.Element
    get(Long arg0)
     
    org.jdom.Element
    get(String arg0)
     
    it.geosolutions.geonetwork.util.HTTPUtils
     
    it.geosolutions.geonetwork.op.gn3.GN3MetadataGetInfo.MetadataInfo
    getInfo(Long arg0)
     
    it.geosolutions.geonetwork.op.gn2x.custom.GNMetadataGetInfo.MetadataInfo
    getInfo(Long arg0, boolean arg1)
    Deprecated.
    it.geosolutions.geonetwork.op.gn3.GN3MetadataGetInfo.MetadataInfo
     
    it.geosolutions.geonetwork.op.gn2x.custom.GNMetadataGetInfo.MetadataInfo
    getInfo(String arg0, boolean arg1)
    Deprecated.
    long
    insertMetadata(it.geosolutions.geonetwork.util.GNInsertConfiguration arg0, File arg1)
     
    long
     
    boolean
     
    it.geosolutions.geonetwork.util.GNSearchResponse
    search(it.geosolutions.geonetwork.util.GNSearchRequest arg0)
     
    it.geosolutions.geonetwork.util.GNSearchResponse
    search(File arg0)
     
    void
    setPrivileges(long arg0, it.geosolutions.geonetwork.util.GNPrivConfiguration arg1)
     
    void
    updateMetadata(long arg0, int arg1, File arg2)
     
    void
    updateMetadata(long arg0, int arg1, File arg2, String arg3)
     
    void
    updateMetadata(long arg0, File arg1)
     
    void
    updateMetadata(long arg0, File arg1, String arg2)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • version

      protected final it.geosolutions.geonetwork.util.GNVersion version
  • Constructor Details

    • GN26Extension

      public GN26Extension(String serviceURL)
    • GN26Extension

      public GN26Extension(String serviceURL, String username, String password)
  • Method Details

    • getConnection

      public it.geosolutions.geonetwork.util.HTTPUtils getConnection() throws it.geosolutions.geonetwork.exception.GNLibException
      Specified by:
      getConnection in interface it.geosolutions.geonetwork.GNClient
      Overrides:
      getConnection in class it.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.GNLibException
      it.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.GNLibException
      it.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.GNLibException
      it.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.GNLibException
      it.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.GNLibException
      it.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.GNLibException
      it.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.GNLibException
      it.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.GNLibException
      it.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.GNLibException
      it.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.GNLibException
      it.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.GNLibException
      it.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.GNLibException
      it.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.GNLibException
      it.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.GNLibException
      it.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.GNLibException
      it.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.GNLibException
      it.geosolutions.geonetwork.exception.GNServerException