org.gcube.datapublishing.sdmx.impl.publisher
Class GCubeSDMXPublisherImpl

java.lang.Object
  extended by org.gcube.datapublishing.sdmx.impl.publisher.GCubeSDMXPublisherImpl
All Implemented Interfaces:
GCubeSDMXPublisher

public class GCubeSDMXPublisherImpl
extends Object
implements GCubeSDMXPublisher


Constructor Summary
GCubeSDMXPublisherImpl(org.gcube.datapublishing.sdmx.api.registry.SDMXRegistryClient registryClient, org.gcube.datapublishing.sdmx.api.datasource.GCubeSDMXDatasourceClient datasourceClient, org.gcube.datapublishing.sdmx.api.model.GCubeSDMXDatasourceDescriptor datasourceDescriptor)
           
 
Method Summary
 void createAgency(String agencyId, List<LocalizedText> names)
          Creates an Agency definition in the root Agency Scheme and submits it to the registry
 void publish(org.sdmxsource.sdmx.api.model.beans.codelist.CodelistBean codelist)
           
 void publish(org.sdmxsource.sdmx.api.model.beans.conceptscheme.ConceptSchemeBean conceptscheme)
           
 void publish(org.sdmxsource.sdmx.api.model.beans.datastructure.DataflowBean dataflow)
           
 void publish(org.sdmxsource.sdmx.api.model.beans.base.DataProviderSchemeBean dataproviderscheme)
           
 void publish(org.sdmxsource.sdmx.api.model.beans.datastructure.DataStructureBean datastructure)
           
 void publish(org.sdmxsource.sdmx.api.model.beans.registry.ProvisionAgreementBean provisionagreement)
           
 void publish(org.sdmxsource.sdmx.api.model.mutable.registry.RegistrationMutableBean registration, String timeseriesId, String timeseriesServiceScope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GCubeSDMXPublisherImpl

@Autowired
public GCubeSDMXPublisherImpl(org.gcube.datapublishing.sdmx.api.registry.SDMXRegistryClient registryClient,
                                        org.gcube.datapublishing.sdmx.api.datasource.GCubeSDMXDatasourceClient datasourceClient,
                                        org.gcube.datapublishing.sdmx.api.model.GCubeSDMXDatasourceDescriptor datasourceDescriptor)
Method Detail

createAgency

public void createAgency(String agencyId,
                         List<LocalizedText> names)
                  throws PublisherException
Description copied from interface: GCubeSDMXPublisher
Creates an Agency definition in the root Agency Scheme and submits it to the registry

Specified by:
createAgency in interface GCubeSDMXPublisher
Parameters:
agencyId - The AgencyId to be registered
names - A list of localized names for the Agency
Throws:
PublisherException

publish

public void publish(org.sdmxsource.sdmx.api.model.beans.codelist.CodelistBean codelist)
             throws PublisherException
Specified by:
publish in interface GCubeSDMXPublisher
Throws:
PublisherException

publish

public void publish(org.sdmxsource.sdmx.api.model.beans.conceptscheme.ConceptSchemeBean conceptscheme)
             throws PublisherException
Specified by:
publish in interface GCubeSDMXPublisher
Throws:
PublisherException

publish

public void publish(org.sdmxsource.sdmx.api.model.beans.datastructure.DataStructureBean datastructure)
             throws PublisherException
Specified by:
publish in interface GCubeSDMXPublisher
Throws:
PublisherException

publish

public void publish(org.sdmxsource.sdmx.api.model.beans.datastructure.DataflowBean dataflow)
             throws PublisherException
Specified by:
publish in interface GCubeSDMXPublisher
Throws:
PublisherException

publish

public void publish(org.sdmxsource.sdmx.api.model.beans.base.DataProviderSchemeBean dataproviderscheme)
             throws PublisherException
Specified by:
publish in interface GCubeSDMXPublisher
Throws:
PublisherException

publish

public void publish(org.sdmxsource.sdmx.api.model.beans.registry.ProvisionAgreementBean provisionagreement)
             throws PublisherException
Specified by:
publish in interface GCubeSDMXPublisher
Throws:
PublisherException

publish

public void publish(org.sdmxsource.sdmx.api.model.mutable.registry.RegistrationMutableBean registration,
                    String timeseriesId,
                    String timeseriesServiceScope)
             throws PublisherException
Specified by:
publish in interface GCubeSDMXPublisher
Throws:
PublisherException


Copyright © 2013. All Rights Reserved.