org.gcube.spatial.data.geonetwork
Interface GeoNetworkPublisher

All Superinterfaces:
GeoNetworkReader
All Known Implementing Classes:
GeoNetwork

public interface GeoNetworkPublisher
extends GeoNetworkReader


Method Summary
 void deleteMetadata(long id)
           
 long insertMetadata(File requestFile)
           
 long insertMetadata(it.geosolutions.geonetwork.util.GNInsertConfiguration configuration, File metadataFile)
           
 long insertMetadata(it.geosolutions.geonetwork.util.GNInsertConfiguration configuration, org.opengis.metadata.Metadata meta)
           
 long insertMetadata(org.opengis.metadata.Metadata meta)
           
 void setPrivileges(long metadataId, it.geosolutions.geonetwork.util.GNPrivConfiguration cfg)
           
 void updateMetadata(long id, File metadataFile)
           
 void updateMetadata(long id, org.opengis.metadata.Metadata meta)
           
 
Methods inherited from interface org.gcube.spatial.data.geonetwork.GeoNetworkReader
getById, getById, getByIdAsRawString, getConfiguration, login, 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,
                          AuthorizationException
Throws:
it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerException
AuthorizationException

insertMetadata

long insertMetadata(it.geosolutions.geonetwork.util.GNInsertConfiguration configuration,
                    File metadataFile)
                    throws it.geosolutions.geonetwork.exception.GNLibException,
                           it.geosolutions.geonetwork.exception.GNServerException,
                           AuthorizationException
Throws:
it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerException
AuthorizationException

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,
                           AuthorizationException,
                           IOException,
                           JAXBException
Throws:
it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerException
AuthorizationException
IOException
JAXBException

insertMetadata

long insertMetadata(File requestFile)
                    throws it.geosolutions.geonetwork.exception.GNLibException,
                           it.geosolutions.geonetwork.exception.GNServerException,
                           AuthorizationException
Throws:
it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerException
AuthorizationException

insertMetadata

long insertMetadata(org.opengis.metadata.Metadata meta)
                    throws it.geosolutions.geonetwork.exception.GNLibException,
                           it.geosolutions.geonetwork.exception.GNServerException,
                           AuthorizationException,
                           IOException,
                           JAXBException
Throws:
it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerException
AuthorizationException
IOException
JAXBException

updateMetadata

void updateMetadata(long id,
                    File metadataFile)
                    throws it.geosolutions.geonetwork.exception.GNLibException,
                           it.geosolutions.geonetwork.exception.GNServerException,
                           AuthorizationException
Throws:
it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerException
AuthorizationException

updateMetadata

void updateMetadata(long id,
                    org.opengis.metadata.Metadata meta)
                    throws it.geosolutions.geonetwork.exception.GNLibException,
                           it.geosolutions.geonetwork.exception.GNServerException,
                           AuthorizationException,
                           IOException,
                           JAXBException
Throws:
it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerException
AuthorizationException
IOException
JAXBException

deleteMetadata

void deleteMetadata(long id)
                    throws it.geosolutions.geonetwork.exception.GNLibException,
                           it.geosolutions.geonetwork.exception.GNServerException,
                           AuthorizationException
Throws:
it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNServerException
AuthorizationException


Copyright © 2013. All Rights Reserved.