
public class BrmoFramework extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BERICHT_TABLE |
static String |
BR_BAG |
static String |
BR_BGTLIGHT |
static String |
BR_BRK |
static String |
BR_NHR |
static String |
BRMO_METADATA_TABEL |
static String |
JOB_TABLE |
static String |
LAADPROCES_TABEL |
static String |
XSL_BAG |
static String |
XSL_BRK |
static String |
XSL_NHR |
| Constructor and Description |
|---|
BrmoFramework(DataSource dataSourceStaging,
DataSource dataSourceRsgb) |
BrmoFramework(DataSource dataSourceStaging,
DataSource dataSourceRsgb,
DataSource dataSourceRsgbBgt) |
public static final String BR_BAG
public static final String BR_BRK
public static final String BR_NHR
public static final String BR_BGTLIGHT
public static final String XSL_BRK
public static final String XSL_BAG
public static final String XSL_NHR
public static final String LAADPROCES_TABEL
public static final String BERICHT_TABLE
public static final String JOB_TABLE
public static final String BRMO_METADATA_TABEL
public BrmoFramework(DataSource dataSourceStaging, DataSource dataSourceRsgb) throws BrmoException
BrmoExceptionpublic BrmoFramework(DataSource dataSourceStaging, DataSource dataSourceRsgb, DataSource dataSourceRsgbBgt) throws BrmoException
BrmoExceptionpublic void setDataSourceRsgbBgt(DataSource dataSourceRsgbBgt)
public String getStagingVersion()
public String getRsgbVersion()
public String getRsgbBgtVersion()
public void setEnablePipeline(boolean enablePipeline)
public void setTransformPipelineCapacity(int pipelineCapacity)
public void setBatchCapacity(int batchCapacity)
public void setLimitStandBerichtenToTransform(Integer limitStandBerichtenToTransform)
public void setOrderBerichten(boolean orderBerichten)
orderBerichten - false voor stand, true voor mutatiespublic void setErrorState(String errorState)
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 - voortgangs listenerBrmoException - if anypublic 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 - basis registratie typefileName - bestandBrmoException - als er een fout optreed tijdens verwerkingloadFromFile(java.lang.String, java.lang.String,
nl.b3p.brmo.loader.ProgressUpdateListener)public void loadFromFile(String type, String fileName, ProgressUpdateListener listener) throws BrmoException
closeBrmoFramework()type - basis registratie typefileName - bestandlistener - voortgangsmonitorBrmoException - als er een fout optreed tijdens verwerkingpublic void loadFromStream(String type, InputStream stream, String fileName) throws BrmoException
BrmoExceptionpublic void loadFromStream(String type, InputStream stream, String fileName, ProgressUpdateListener listener) throws BrmoException, BrmoDuplicaatLaadprocesException, BrmoLeegBestandException
type - type registratie, bijv. stream - datastreamfileName - te gebruiken bestandsnaam om laadproces te identificerenlistener - mag null zijnBrmoException - als er een algemene fout optreedBrmoDuplicaatLaadprocesException - als het "bestand"
fileName al geladen isBrmoLeegBestandException - als het "bestand" fileName leeg
ispublic void emptyStagingDb()
throws BrmoException
BrmoExceptionpublic Long getLaadProcesIdByFileName(String name) throws BrmoException
BrmoExceptionpublic Bericht getBerichtById(long id) throws BrmoException
BrmoExceptionpublic LaadProces getLaadProcesById(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[] getLaadProcessenIds(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
BrmoExceptionpublic long getCountJob()
throws BrmoException
BrmoExceptionCopyright © 2014–2017 B3Partners B.V.. All rights reserved.