
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_BRP |
static String |
BR_GBAV |
static String |
BR_NHR |
static String |
BR_TOPNL |
static String |
BRMO_METADATA_TABEL |
static String |
JOB_TABLE |
static String |
LAADPROCES_TABEL |
static String |
XSL_BAG |
static String |
XSL_BRK |
static String |
XSL_BRP |
static String |
XSL_GBAV |
static String |
XSL_NHR |
| Constructor and Description |
|---|
BrmoFramework(DataSource dataSourceStaging,
DataSource dataSourceRsgb) |
BrmoFramework(DataSource dataSourceStaging,
DataSource dataSourceRsgb,
DataSource dataSourceRsgbBgt) |
BrmoFramework(DataSource dataSourceStaging,
DataSource dataSourceRsgb,
DataSource dataSourceRsgbBgt,
DataSource dataSourceTopNL) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeBrmoFramework() |
void |
delete(Long id) |
void |
emptyStagingDb() |
Bericht |
getBerichtById(long id) |
List<Bericht> |
getBerichten(int page,
int start,
int limit,
String sort,
String dir,
String filterSoort,
String filterStatus) |
long |
getCountBerichten(String sort,
String dir,
String filterSoort,
String filterStatus) |
long |
getCountJob() |
long |
getCountLaadProcessen(String sort,
String dir,
String filterSoort,
String filterStatus) |
LaadProces |
getLaadProcesById(long id) |
Long |
getLaadProcesIdByFileName(String name) |
List<LaadProces> |
getLaadprocessen(int page,
int start,
int limit,
String sort,
String dir,
String filterSoort,
String filterStatus) |
Long[] |
getLaadProcessenIds(String sort,
String dir,
String filterSoort,
String filterStatus) |
String |
getRsgbBgtVersion() |
String |
getRsgbVersion() |
String |
getStagingVersion() |
List<Bericht> |
listBerichten() |
List<LaadProces> |
listLaadProcessen() |
void |
loadFromFile(String type,
String fileName)
Deprecated.
gebruik van de variant met automatischProces ID heeft de
voorkeur
|
void |
loadFromFile(String type,
String fileName,
Long automatischProces) |
void |
loadFromFile(String type,
String fileName,
ProgressUpdateListener listener,
Long automatischProces)
laden van BR data uit een bestand.
|
void |
loadFromStream(String type,
InputStream stream,
String fileName)
Deprecated.
probeer de variant met automatischProces argument te
gebruiken
|
void |
loadFromStream(String type,
InputStream stream,
String fileName,
Date d)
Deprecated.
|
void |
loadFromStream(String type,
InputStream stream,
String fileName,
Date d,
Long automatischProces)
laden van BR data uit een stream.
|
void |
loadFromStream(String type,
InputStream stream,
String fileName,
Long automatischProces)
laden van BR data uit een stream.
|
void |
loadFromStream(String type,
InputStream stream,
String fileName,
ProgressUpdateListener listener,
Long automatischProces)
laden van BR data uit een stream.
|
void |
setBatchCapacity(int batchCapacity) |
void |
setDataSourceRsgbBgt(DataSource dataSourceRsgbBgt) |
void |
setDataSourceTopNL(DataSource dataSourceTopNL) |
void |
setEnablePipeline(boolean enablePipeline) |
void |
setErrorState(String errorState) |
void |
setLimitStandBerichtenToTransform(Integer limitStandBerichtenToTransform) |
void |
setOrderBerichten(boolean orderBerichten)
stel bericht sortering van berichten in.
|
void |
setRenewConnectionAfterCommit(boolean renewConnectionAfterCommit) |
void |
setTransformPipelineCapacity(int pipelineCapacity) |
Thread |
toRsgb() |
Thread |
toRsgb(Bericht.STATUS status,
ProgressUpdateListener listener) |
Thread |
toRsgb(ProgressUpdateListener listener) |
Thread |
toRsgb(RsgbProxy.BerichtSelectMode mode,
long[] ids,
ProgressUpdateListener listener) |
Thread |
toRsgb(UpdateProcess updateProcess,
ProgressUpdateListener listener) |
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 BR_TOPNL
public static final String BR_BRP
public static final String BR_GBAV
public static final String XSL_BRK
public static final String XSL_BAG
public static final String XSL_NHR
public static final String XSL_BRP
public static final String XSL_GBAV
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 BrmoFramework(DataSource dataSourceStaging, DataSource dataSourceRsgb, DataSource dataSourceRsgbBgt, DataSource dataSourceTopNL) throws BrmoException
BrmoExceptionpublic void setDataSourceRsgbBgt(DataSource dataSourceRsgbBgt)
public void setDataSourceTopNL(DataSource dataSourceTopNL)
public String getStagingVersion()
public String getRsgbVersion()
public String getRsgbBgtVersion()
public void setEnablePipeline(boolean enablePipeline)
public void setRenewConnectionAfterCommit(boolean renewConnectionAfterCommit)
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
BrmoException@Deprecated public 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, java.lang.Long)public void loadFromFile(String type, String fileName, Long automatischProces) throws BrmoException
type - basis registratie typefileName - bestandautomatischProces - id van automatisch proces dat deze functie
aanroeptBrmoException - als er een fout optreed tijdens verwerkingloadFromFile(java.lang.String, java.lang.String,
nl.b3p.brmo.loader.ProgressUpdateListener, Long)public void loadFromFile(String type, String fileName, ProgressUpdateListener listener, Long automatischProces) throws BrmoException
closeBrmoFramework().type - basis registratie typefileName - bestandlistener - voortgangsmonitorautomatischProces - id van automatisch proces dat deze functie aanroeptBrmoException - als er een fout optreed tijdens verwerking@Deprecated public void loadFromStream(String type, InputStream stream, String fileName) throws BrmoException, BrmoDuplicaatLaadprocesException, BrmoLeegBestandException
type - type registratie, bijv. stream - datastreamfileName - te gebruiken bestandsnaam om laadproces te identificerenBrmoException - als er een algemene fout optreedBrmoDuplicaatLaadprocesException - als het "bestand"
fileName al geladen isBrmoLeegBestandException - als het "bestand" fileName leeg
isloadFromStream(String, InputStream, String, Long)public void loadFromStream(String type, InputStream stream, String fileName, Long automatischProces) throws BrmoException, BrmoDuplicaatLaadprocesException, BrmoLeegBestandException
type - type registratie, bijv. stream - datastreamfileName - te gebruiken bestandsnaam om laadproces te identificerenautomatischProces - id van automatisch proces dat deze functie
aanroeptBrmoException - als er een algemene fout optreedBrmoDuplicaatLaadprocesException - als het "bestand"
fileName al geladen isBrmoLeegBestandException - als het "bestand" fileName leeg
is@Deprecated public void loadFromStream(String type, InputStream stream, String fileName, Date d) throws BrmoException, BrmoDuplicaatLaadprocesException, BrmoLeegBestandException
loadFromStream(String, InputStream, String, Date, Long)type - type registratie, bijv. stream - datastreamfileName - te gebruiken bestandsnaam om laadproces te identificerend - bestandsdatumBrmoException - als er een algemene fout optreedBrmoDuplicaatLaadprocesException - als het "bestand"
fileName al geladen isBrmoLeegBestandException - als het "bestand" fileName leeg
ispublic void loadFromStream(String type, InputStream stream, String fileName, Date d, Long automatischProces) throws BrmoException, BrmoDuplicaatLaadprocesException, BrmoLeegBestandException
type - type registratie, bijv. stream - datastreamfileName - te gebruiken bestandsnaam om laadproces te identificerend - bestandsdatumautomatischProces - id van automatisch proces dat deze functie
aanroeptBrmoException - als er een algemene fout optreedBrmoDuplicaatLaadprocesException - als het "bestand"
fileName al geladen isBrmoLeegBestandException - als het "bestand" fileName leeg
ispublic void loadFromStream(String type, InputStream stream, String fileName, ProgressUpdateListener listener, Long automatischProces) throws BrmoException, BrmoDuplicaatLaadprocesException, BrmoLeegBestandException
type - type registratie, bijv. stream - datastreamfileName - te gebruiken bestandsnaam om laadproces te identificerenlistener - mag null zijnautomatischProces - id van automatisch proces dat deze functie
aanroeptBrmoException - 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–2019 B3Partners B.V.. All rights reserved.