Interface GeoNetworkPublisher
-
- All Superinterfaces:
GeoNetworkReader
- All Known Subinterfaces:
GeoNetworkAdministration
- All Known Implementing Classes:
GeoNetwork
public interface GeoNetworkPublisher extends GeoNetworkReader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteMetadata(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 Detail
-
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, JAXBException, MissingServiceEndpointException, MissingConfigurationException, InvalidInsertConfigurationException, AuthorizationException- Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionIOExceptionJAXBExceptionMissingServiceEndpointExceptionMissingConfigurationExceptionInvalidInsertConfigurationExceptionAuthorizationException
-
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, JAXBException, MissingServiceEndpointException, MissingConfigurationException- Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionIOExceptionJAXBExceptionMissingServiceEndpointExceptionMissingConfigurationException
-
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, JAXBException, MissingServiceEndpointException, MissingConfigurationException, InvalidInsertConfigurationException, AuthorizationException- Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionIOExceptionJAXBExceptionMissingServiceEndpointExceptionMissingConfigurationExceptionInvalidInsertConfigurationExceptionAuthorizationException
-
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, JAXBException, MissingServiceEndpointException, MissingConfigurationException- Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionIOExceptionJAXBExceptionMissingServiceEndpointExceptionMissingConfigurationException
-
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, JAXBException, MissingServiceEndpointException- Throws:
it.geosolutions.geonetwork.exception.GNLibExceptionit.geosolutions.geonetwork.exception.GNServerExceptionIOExceptionJAXBExceptionMissingServiceEndpointException
-
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
void registerXMLAdapter(XMLAdapter adapter)
-
getCurrentUserConfiguration
it.geosolutions.geonetwork.util.GNInsertConfiguration getCurrentUserConfiguration(String category, String styleSheet) throws AuthorizationException, MissingConfigurationException, MissingServiceEndpointException, GeoNetworkException
-
-