org.molgenis
Class ExcelEntityExporter

java.lang.Object
  extended by org.molgenis.ExcelEntityExporter

public class ExcelEntityExporter
extends Object


Constructor Summary
ExcelEntityExporter()
           
 
Method Summary
 void exportAll(File excelFile, Database db)
          Default export all using a target file and a database to export
 void exportAll(File excelFile, Database db, boolean skipAutoId)
          Export all where a boolean skipAutoId forces an ignore of the auto id field ("id")
 void exportAll(File excelFile, Database db, boolean skipAutoId, QueryRule... rules)
          Export all with both a boolean skipAutoId and a set of QueryRules to specify both the skipping of auto id, and applying of a filter
 void exportAll(File excelFile, Database db, QueryRule... rules)
          Export all using a set of QueryRules used for all entities if applicable to that entity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcelEntityExporter

public ExcelEntityExporter()
Method Detail

exportAll

public void exportAll(File excelFile,
                      Database db)
               throws Exception
Default export all using a target file and a database to export

Parameters:
directory -
db -
Throws:
Exception

exportAll

public void exportAll(File excelFile,
                      Database db,
                      QueryRule... rules)
               throws Exception
Export all using a set of QueryRules used for all entities if applicable to that entity

Parameters:
directory -
db -
rules -
Throws:
Exception

exportAll

public void exportAll(File excelFile,
                      Database db,
                      boolean skipAutoId)
               throws Exception
Export all where a boolean skipAutoId forces an ignore of the auto id field ("id")

Parameters:
directory -
db -
skipAutoId -
Throws:
Exception

exportAll

public void exportAll(File excelFile,
                      Database db,
                      boolean skipAutoId,
                      QueryRule... rules)
               throws Exception
Export all with both a boolean skipAutoId and a set of QueryRules to specify both the skipping of auto id, and applying of a filter

Parameters:
directory -
db -
skipAutoId -
rules -
Throws:
Exception


Copyright © 2013. All Rights Reserved.