Class GcubeISOMetadata
java.lang.Object
org.gcube.spatial.data.geonetwork.iso.GcubeISOMetadata
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCredits(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 voidDeprecated.Checks that all required constraints are satisfied.Deprecated.Deprecated.Deprecated.org.opengis.metadata.MetadataDeprecated.This method is deprecated.Deprecated.Gets the metadata as a file.ArrayList<org.opengis.metadata.identification.TopicCategory>Deprecated.voidsetGeoServerDistributionInfo(String geoServerUrl, String layerName, String workspace, String style, String CRS) Deprecated.Sets the GeoServer distribution information for this metadata.
-
Constructor Details
-
GcubeISOMetadata
Deprecated.This constructor is deprecated.Constructs a new GcubeISOMetadata with default configuration.- Throws:
Exception- if configuration cannot be loaded
-
-
Method Details
-
checkConstraints
Deprecated.Checks that all required constraints are satisfied.- Throws:
MissingInformationException- if required information is missing
-
getMetadataFile
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.This method is deprecated.Gets the metadata object.- Returns:
- the metadata object
- Throws:
Exception- if metadata generation fails
-
getCredits
Deprecated.- Returns:
- the credits
-
addCredits
Deprecated.Adds credits to the metadata.- Parameters:
toAddCredits- the credits to add
-
getDescriptiveKeywords
Deprecated.- Returns:
- the descriptiveKeywords
-
addKeyword
Deprecated.Adds descriptive keywords to the metadata.- Parameters:
keyword- the keyword to addthesaurus- the thesaurus for the keyword
-
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
Deprecated.- Returns:
- the graphicOverviewsURI
-
addGraphicOverview
Deprecated.Adds a graphic overview URI to the metadata.- Parameters:
uri- the graphic overview URI to add
-