org.gcube.contentmanagement.timeseriesservice.stubs.calls.codelist
Class CodelistImportCall

java.lang.Object
  extended by org.gcube.contentmanagement.timeseriesservice.stubs.calls.codelist.CodeListCall
      extended by org.gcube.contentmanagement.timeseriesservice.stubs.calls.codelist.CodelistImportCall

public class CodelistImportCall
extends CodeListCall


Constructor Summary
CodelistImportCall(java.lang.String user, java.lang.String id, org.gcube.common.core.scope.GCUBEScope scope, org.gcube.common.core.security.GCUBESecurityManager... securityManager)
           
 
Method Summary
 java.util.List<CodelistColumnDefinition> getColumnsDefinition()
           
 java.lang.String getDataAsJson(Limit limit)
           
static CLImportedItem getItem(java.lang.String id, java.lang.String user, org.gcube.common.core.scope.GCUBEScope scope, org.gcube.common.core.security.GCUBESecurityManager... securityManager)
           
static java.util.List<CLImportedItem> getItems(java.lang.String user, org.gcube.common.core.scope.GCUBEScope scope, org.gcube.common.core.security.GCUBESecurityManager... securityManager)
           
 ImportStatusResponse getStatus()
           
static java.lang.String importFromCsv(java.lang.String user, java.lang.String name, java.lang.String description, java.lang.String delimiter, java.lang.String encoding, boolean hasHeader, java.lang.String rsLocator, org.gcube.common.core.scope.GCUBEScope scope, org.gcube.common.core.security.GCUBESecurityManager... securityManager)
           
static java.lang.String importFromSdmxFile(java.lang.String user, java.lang.String rsLocatorURI, org.gcube.common.core.scope.GCUBEScope scope, org.gcube.common.core.security.GCUBESecurityManager... securityManager)
           
static java.lang.String importFromSdmxUri(java.lang.String user, java.lang.String sdmxURI, org.gcube.common.core.scope.GCUBEScope scope, org.gcube.common.core.security.GCUBESecurityManager... securityManager)
           
 void remove()
           
static void setPT(org.gcube.common.core.scope.GCUBEScope scope, org.apache.axis.message.addressing.EndpointReferenceType epr)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodelistImportCall

public CodelistImportCall(java.lang.String user,
                          java.lang.String id,
                          org.gcube.common.core.scope.GCUBEScope scope,
                          org.gcube.common.core.security.GCUBESecurityManager... securityManager)
                   throws NoServiceFoundException,
                          java.lang.Exception
Throws:
NoServiceFoundException
java.lang.Exception
Method Detail

setPT

public static void setPT(org.gcube.common.core.scope.GCUBEScope scope,
                         org.apache.axis.message.addressing.EndpointReferenceType epr)
                  throws NoServiceFoundException,
                         java.lang.Exception
Throws:
NoServiceFoundException
java.lang.Exception

importFromCsv

public static java.lang.String importFromCsv(java.lang.String user,
                                             java.lang.String name,
                                             java.lang.String description,
                                             java.lang.String delimiter,
                                             java.lang.String encoding,
                                             boolean hasHeader,
                                             java.lang.String rsLocator,
                                             org.gcube.common.core.scope.GCUBEScope scope,
                                             org.gcube.common.core.security.GCUBESecurityManager... securityManager)
                                      throws NoServiceFoundException,
                                             java.lang.Exception
Throws:
NoServiceFoundException
java.lang.Exception

importFromSdmxUri

public static java.lang.String importFromSdmxUri(java.lang.String user,
                                                 java.lang.String sdmxURI,
                                                 org.gcube.common.core.scope.GCUBEScope scope,
                                                 org.gcube.common.core.security.GCUBESecurityManager... securityManager)
                                          throws NoServiceFoundException,
                                                 java.lang.Exception
Throws:
NoServiceFoundException
java.lang.Exception

importFromSdmxFile

public static java.lang.String importFromSdmxFile(java.lang.String user,
                                                  java.lang.String rsLocatorURI,
                                                  org.gcube.common.core.scope.GCUBEScope scope,
                                                  org.gcube.common.core.security.GCUBESecurityManager... securityManager)
                                           throws NoServiceFoundException,
                                                  java.lang.Exception
Throws:
NoServiceFoundException
java.lang.Exception

getItems

public static java.util.List<CLImportedItem> getItems(java.lang.String user,
                                                      org.gcube.common.core.scope.GCUBEScope scope,
                                                      org.gcube.common.core.security.GCUBESecurityManager... securityManager)
                                               throws NoServiceFoundException,
                                                      java.lang.Exception
Throws:
NoServiceFoundException
java.lang.Exception

getItem

public static CLImportedItem getItem(java.lang.String id,
                                     java.lang.String user,
                                     org.gcube.common.core.scope.GCUBEScope scope,
                                     org.gcube.common.core.security.GCUBESecurityManager... securityManager)
                              throws NoServiceFoundException,
                                     java.lang.Exception
Throws:
NoServiceFoundException
java.lang.Exception

getStatus

public ImportStatusResponse getStatus()
                               throws java.lang.Exception
Throws:
java.lang.Exception

getDataAsJson

public java.lang.String getDataAsJson(Limit limit)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getColumnsDefinition

public java.util.List<CodelistColumnDefinition> getColumnsDefinition()
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

remove

public void remove()
            throws java.lang.Exception
Throws:
java.lang.Exception