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

insertMetadata

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

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

insertMetadata

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

insertMetadata

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

updateMetadata

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

updateMetadata

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

deleteMetadata

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


Copyright © 2013. All Rights Reserved.