Interface GeoNetworkPublisher
- All Superinterfaces:
GeoNetworkReader
- All Known Subinterfaces:
GeoNetworkAdministration
- All Known Implementing Classes:
GeoNetwork
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteMetadata(long id) it.geosolutions.geonetwork.util.GNInsertConfigurationgetCurrentUserConfiguration(String category, String styleSheet) longinsertAndPromoteMetadata(it.geosolutions.geonetwork.util.GNInsertConfiguration configuration, File metadataFile) longinsertAndPromoteMetadata(it.geosolutions.geonetwork.util.GNInsertConfiguration configuration, org.opengis.metadata.Metadata meta) longinsertAndPromoteMetadata(File requestFile) longinsertAndPromoteMetadata(org.opengis.metadata.Metadata meta) longinsertMetadata(it.geosolutions.geonetwork.util.GNInsertConfiguration configuration, File metadataFile) longinsertMetadata(it.geosolutions.geonetwork.util.GNInsertConfiguration configuration, org.opengis.metadata.Metadata meta) longinsertMetadata(File requestFile) longinsertMetadata(org.opengis.metadata.Metadata meta) voidregisterXMLAdapter(XMLAdapter adapter) voidsetPrivileges(long metadataId, it.geosolutions.geonetwork.util.GNPrivConfiguration cfg) voidupdateMetadata(long id, File metadataFile) voidupdateMetadata(long id, org.opengis.metadata.Metadata meta) Methods inherited from interface org.gcube.spatial.data.geonetwork.GeoNetworkReader
getById, getById, getByIdAsRawString, getConfiguration, getInfo, getInfo, login, logout, query, query
-
Method Details
-
setPrivileges
void setPrivileges(long metadataId, it.geosolutions.geonetwork.util.GNPrivConfiguration cfg) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException, MissingServiceEndpointException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionMissingServiceEndpointException
-
insertMetadata
long insertMetadata(it.geosolutions.geonetwork.util.GNInsertConfiguration configuration, File metadataFile) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException, MissingServiceEndpointException, MissingConfigurationException, InvalidInsertConfigurationException, AuthorizationException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionMissingServiceEndpointExceptionMissingConfigurationExceptionInvalidInsertConfigurationExceptionAuthorizationException
-
insertMetadata
long insertMetadata(it.geosolutions.geonetwork.util.GNInsertConfiguration configuration, org.opengis.metadata.Metadata meta) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException, IOException, javax.xml.bind.JAXBException, MissingServiceEndpointException, MissingConfigurationException, InvalidInsertConfigurationException, AuthorizationException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionIOExceptionjavax.xml.bind.JAXBExceptionMissingServiceEndpointExceptionMissingConfigurationExceptionInvalidInsertConfigurationExceptionAuthorizationException
-
insertMetadata
long insertMetadata(File requestFile) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException, MissingServiceEndpointException, MissingConfigurationException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionMissingServiceEndpointExceptionMissingConfigurationException
-
insertMetadata
long insertMetadata(org.opengis.metadata.Metadata meta) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException, IOException, javax.xml.bind.JAXBException, MissingServiceEndpointException, MissingConfigurationException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionIOExceptionjavax.xml.bind.JAXBExceptionMissingServiceEndpointExceptionMissingConfigurationException
-
insertAndPromoteMetadata
long insertAndPromoteMetadata(it.geosolutions.geonetwork.util.GNInsertConfiguration configuration, File metadataFile) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException, MissingServiceEndpointException, MissingConfigurationException, InvalidInsertConfigurationException, AuthorizationException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionMissingServiceEndpointExceptionMissingConfigurationExceptionInvalidInsertConfigurationExceptionAuthorizationException
-
insertAndPromoteMetadata
long insertAndPromoteMetadata(it.geosolutions.geonetwork.util.GNInsertConfiguration configuration, org.opengis.metadata.Metadata meta) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException, IOException, javax.xml.bind.JAXBException, MissingServiceEndpointException, MissingConfigurationException, InvalidInsertConfigurationException, AuthorizationException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionIOExceptionjavax.xml.bind.JAXBExceptionMissingServiceEndpointExceptionMissingConfigurationExceptionInvalidInsertConfigurationExceptionAuthorizationException
-
insertAndPromoteMetadata
long insertAndPromoteMetadata(File requestFile) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException, MissingServiceEndpointException, MissingConfigurationException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionMissingServiceEndpointExceptionMissingConfigurationException
-
insertAndPromoteMetadata
long insertAndPromoteMetadata(org.opengis.metadata.Metadata meta) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException, IOException, javax.xml.bind.JAXBException, MissingServiceEndpointException, MissingConfigurationException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionIOExceptionjavax.xml.bind.JAXBExceptionMissingServiceEndpointExceptionMissingConfigurationException
-
updateMetadata
void updateMetadata(long id, File metadataFile) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException, MissingServiceEndpointException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionMissingServiceEndpointException
-
updateMetadata
void updateMetadata(long id, org.opengis.metadata.Metadata meta) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException, IOException, javax.xml.bind.JAXBException, MissingServiceEndpointException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionIOExceptionjavax.xml.bind.JAXBExceptionMissingServiceEndpointException
-
deleteMetadata
void deleteMetadata(long id) throws it.geosolutions.geonetwork.exception.GNLibException, it.geosolutions.geonetwork.exception.GNServerException, MissingServiceEndpointException - Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionMissingServiceEndpointException
-
registerXMLAdapter
-
getCurrentUserConfiguration
it.geosolutions.geonetwork.util.GNInsertConfiguration getCurrentUserConfiguration(String category, String styleSheet) throws AuthorizationException, MissingConfigurationException, MissingServiceEndpointException, GeoNetworkException
-