public class BrmoFramework extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BERICHT_TABLE |
static String |
BR_BAG |
static String |
BR_BRK |
static String |
LAADPROCES_TABEL |
static String |
XSL_BAG |
static String |
XSL_BRK |
| Constructor and Description |
|---|
BrmoFramework(DataSource dataSourceStaging,
DataSource dataSourceRsgb) |
public static final String BR_BAG
public static final String BR_BRK
public static final String XSL_BRK
public static final String XSL_BAG
public static final String LAADPROCES_TABEL
public static final String BERICHT_TABLE
public BrmoFramework(DataSource dataSourceStaging, DataSource dataSourceRsgb) throws BrmoException
BrmoExceptionpublic void setEnablePipeline(boolean enablePipeline)
public void setTransformPipelineCapacity(int pipelineCapacity)
public void setOrderBerichten(boolean orderBerichten)
public void closeBrmoFramework()
public Thread toRsgb() throws BrmoException
BrmoExceptionpublic Thread toRsgb(ProgressUpdateListener listener) throws BrmoException
BrmoExceptionpublic Thread toRsgb(Bericht.STATUS status, ProgressUpdateListener listener) throws BrmoException
BrmoExceptionpublic Thread toRsgb(RsgbProxy.BerichtSelectMode mode, long[] ids, ProgressUpdateListener listener) throws BrmoException
mode - geeft aan wat ids zijn (laadprocessen of berichten)ids - array van idslistener - BrmoExceptionpublic Thread toRsgb(UpdateProcess updateProcess, ProgressUpdateListener listener) throws BrmoException
BrmoExceptionpublic void delete(Long id) throws BrmoException
BrmoExceptionpublic List<LaadProces> listLaadProcessen() throws BrmoException
BrmoExceptionpublic List<Bericht> listBerichten() throws BrmoException
BrmoExceptionpublic void loadFromFile(String type, String fileName) throws BrmoException
type - fileName - BrmoExceptionloadFromFile(java.lang.String, java.lang.String,
nl.b3p.brmo.loader.ProgressUpdateListener)public void loadFromFile(String type, String fileName, ProgressUpdateListener listener) throws BrmoException
closeBrmoFramework()type - fileName - listener - BrmoExceptionpublic void loadFromStream(String type, InputStream stream, String fileName) throws BrmoException
BrmoExceptionpublic void loadFromStream(String type, InputStream stream, String fileName, ProgressUpdateListener listener) throws BrmoException
BrmoExceptionpublic void emptyStagingDb()
throws BrmoException
BrmoExceptionpublic Long getLaadProcesIdByFileName(String name) throws BrmoException
BrmoExceptionpublic Bericht getBerichtById(long id) throws BrmoException
BrmoExceptionpublic List<Bericht> getBerichten(int page, int start, int limit, String sort, String dir, String filterSoort, String filterStatus) throws BrmoException
BrmoExceptionpublic List<LaadProces> getLaadprocessen(int page, int start, int limit, String sort, String dir, String filterSoort, String filterStatus) throws BrmoException
BrmoExceptionpublic long getCountBerichten(String sort, String dir, String filterSoort, String filterStatus) throws BrmoException
BrmoExceptionpublic long getCountLaadProcessen(String sort, String dir, String filterSoort, String filterStatus) throws BrmoException
BrmoExceptionCopyright © 2014–2016 B3Partners B.V.. All rights reserved.