Class GcubeISOMetadata

java.lang.Object
org.gcube.spatial.data.geonetwork.iso.GcubeISOMetadata

@Deprecated public class GcubeISOMetadata extends Object
Deprecated.
  • Constructor Details

    • GcubeISOMetadata

      @Deprecated public GcubeISOMetadata() throws Exception
      Deprecated.
      This constructor is deprecated.
      Constructs a new GcubeISOMetadata with default configuration.
      Throws:
      Exception - if configuration cannot be loaded
  • Method Details

    • checkConstraints

      protected void checkConstraints() throws MissingInformationException
      Deprecated.
      Checks that all required constraints are satisfied.
      Throws:
      MissingInformationException - if required information is missing
    • getMetadataFile

      public File getMetadataFile() throws Exception
      Deprecated.
      Gets the metadata as a file.
      Returns:
      the metadata file
      Throws:
      Exception - if metadata generation fails
    • setGeoServerDistributionInfo

      public void setGeoServerDistributionInfo(String geoServerUrl, String layerName, String workspace, String style, String CRS) throws org.gcube.portlets.user.uriresolvermanager.exception.UriResolverMapException, org.gcube.portlets.user.uriresolvermanager.exception.IllegalArgumentException
      Deprecated.
      Sets the GeoServer distribution information for this metadata.
      Parameters:
      geoServerUrl - the GeoServer base URL
      layerName - the layer name
      workspace - the workspace name
      style - the style name
      CRS - the coordinate reference system
      Throws:
      org.gcube.portlets.user.uriresolvermanager.exception.UriResolverMapException - if URI resolution fails
      org.gcube.portlets.user.uriresolvermanager.exception.IllegalArgumentException - if arguments are invalid
    • getMetadata

      @Deprecated public org.opengis.metadata.Metadata getMetadata() throws Exception
      Deprecated.
      This method is deprecated.
      Gets the metadata object.
      Returns:
      the metadata object
      Throws:
      Exception - if metadata generation fails
    • getCredits

      public ArrayList<String> getCredits()
      Deprecated.
      Returns:
      the credits
    • addCredits

      public void addCredits(String toAddCredits)
      Deprecated.
      Adds credits to the metadata.
      Parameters:
      toAddCredits - the credits to add
    • getDescriptiveKeywords

      public HashMap<Thesaurus,HashSet<String>> getDescriptiveKeywords()
      Deprecated.
      Returns:
      the descriptiveKeywords
    • addKeyword

      public void addKeyword(String keyword, Thesaurus thesaurus)
      Deprecated.
      Adds descriptive keywords to the metadata.
      Parameters:
      keyword - the keyword to add
      thesaurus - the thesaurus for the keyword
    • getTopicCategories

      public ArrayList<org.opengis.metadata.identification.TopicCategory> getTopicCategories()
      Deprecated.
      Returns:
      the topicCategories
    • addTopicCategory

      public void addTopicCategory(org.opengis.metadata.identification.TopicCategory toAdd)
      Deprecated.
      Adds a topic category to the metadata.
      Parameters:
      toAdd - the topic category to add
    • getGraphicOverviewsURI

      public ArrayList<String> getGraphicOverviewsURI()
      Deprecated.
      Returns:
      the graphicOverviewsURI
    • addGraphicOverview

      public void addGraphicOverview(String uri)
      Deprecated.
      Adds a graphic overview URI to the metadata.
      Parameters:
      uri - the graphic overview URI to add