org.gcube.portlets.user.codelistinterface.codelist
Interface CodeListServiceInterface


public interface CodeListServiceInterface

Author:
"Federico De Faveri defaveri@isti.cnr.it"

Method Summary
 java.io.File exportDataAsCSV(boolean includeHeader)
           
 java.util.List<CodeListColumn> getColumns()
          Get the columns definitions for this Curation.
 CodeListCreationState getCreationState()
           
 java.lang.String getDataAsJson(int offset, int length, java.lang.String sortColumnId, Order order)
          Gets the curation data in JSON format.
 java.lang.String getId()
           
 

Method Detail

getId

java.lang.String getId()

getCreationState

CodeListCreationState getCreationState()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getColumns

java.util.List<CodeListColumn> getColumns()
                                          throws java.lang.Exception
Get the columns definitions for this Curation.

Returns:
Throws:
java.lang.Exception

getDataAsJson

java.lang.String getDataAsJson(int offset,
                               int length,
                               java.lang.String sortColumnId,
                               Order order)
                               throws java.lang.Exception
Gets the curation data in JSON format.

Parameters:
offset -
length -
sortColumnId -
order -
showOnlyErrors -
Returns:
Throws:
java.lang.Exception

exportDataAsCSV

java.io.File exportDataAsCSV(boolean includeHeader)
                             throws java.lang.Exception
Throws:
java.lang.Exception