Class GcubeISOMetadata
- java.lang.Object
-
- org.gcube.spatial.data.geonetwork.iso.GcubeISOMetadata
-
@Deprecated public class GcubeISOMetadata extends Object
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description GcubeISOMetadata()Deprecated.This constructor is deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddCredits(String toAddCredits)Deprecated.Adds credits to the metadata.voidaddGraphicOverview(String uri)Deprecated.Adds a graphic overview URI to the metadata.voidaddKeyword(String keyword, Thesaurus thesaurus)Deprecated.Adds descriptive keywords to the metadata.voidaddTopicCategory(org.opengis.metadata.identification.TopicCategory toAdd)Deprecated.Adds a topic category to the metadata.protected voidcheckConstraints()Deprecated.Checks that all required constraints are satisfied.ArrayList<String>getCredits()Deprecated.HashMap<Thesaurus,HashSet<String>>getDescriptiveKeywords()Deprecated.ArrayList<String>getGraphicOverviewsURI()Deprecated.org.opengis.metadata.MetadatagetMetadata()Deprecated.This method is deprecated.FilegetMetadataFile()Deprecated.Gets the metadata as a file.ArrayList<org.opengis.metadata.identification.TopicCategory>getTopicCategories()Deprecated.voidsetGeoServerDistributionInfo(String geoServerUrl, String layerName, String workspace, String style, String CRS)Deprecated.Sets the GeoServer distribution information for this metadata.
-
-
-
Constructor Detail
-
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 Detail
-
checkConstraints
protected void checkConstraints() throws MissingInformationExceptionDeprecated.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 URLlayerName- the layer nameworkspace- the workspace namestyle- the style nameCRS- the coordinate reference system- Throws:
org.gcube.portlets.user.uriresolvermanager.exception.UriResolverMapException- if URI resolution failsorg.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
-
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 addthesaurus- 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
-
-