
org.beigesoft.acc.fct.FcEnPrAc Maven / Gradle / Ivy
Show all versions of beige-acc Show documentation
/*
BSD 2-Clause License
Copyright (c) 2019, Beigesoft™
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.beigesoft.acc.fct;
import java.util.Map;
import java.util.HashMap;
import org.beigesoft.fct.IFctPrcEnt;
import org.beigesoft.fct.FctBlc;
import org.beigesoft.fct.FctOrId;
import org.beigesoft.fct.FctEnPrc;
import org.beigesoft.prc.IPrcEnt;
import org.beigesoft.prc.PrcEntRt;
import org.beigesoft.rdb.IRdb;
import org.beigesoft.srv.ICsvRdr;
import org.beigesoft.srv.ISrvDt;
import org.beigesoft.acc.mdlb.IDoci;
import org.beigesoft.acc.mdlb.IDcDri;
import org.beigesoft.acc.mdlp.SalInv;
import org.beigesoft.acc.mdlp.SaInGdLn;
import org.beigesoft.acc.mdlp.SaInSrLn;
import org.beigesoft.acc.mdlp.SaInSrTxLn;
import org.beigesoft.acc.mdlp.SaInTxLn;
import org.beigesoft.acc.mdlp.SaInGdTxLn;
import org.beigesoft.acc.mdlp.SalRet;
import org.beigesoft.acc.mdlp.SaRtLn;
import org.beigesoft.acc.mdlp.SaRtTxLn;
import org.beigesoft.acc.mdlp.SaRtLtl;
import org.beigesoft.acc.mdlp.PurRet;
import org.beigesoft.acc.mdlp.PuRtLn;
import org.beigesoft.acc.mdlp.PuRtTxLn;
import org.beigesoft.acc.mdlp.PuRtLtl;
import org.beigesoft.acc.mdlp.PurInv;
import org.beigesoft.acc.mdlp.PuInGdLn;
import org.beigesoft.acc.mdlp.PuInSrLn;
import org.beigesoft.acc.mdlp.PuInSrTxLn;
import org.beigesoft.acc.mdlp.PuInTxLn;
import org.beigesoft.acc.mdlp.PuInGdTxLn;
import org.beigesoft.acc.mdlp.Itm;
import org.beigesoft.acc.mdlp.ItTxDl;
import org.beigesoft.acc.mdlp.PaymFr;
import org.beigesoft.acc.mdlp.PaymTo;
import org.beigesoft.acc.mdlp.MovItm;
import org.beigesoft.acc.prc.SacntSv;
import org.beigesoft.acc.prc.SacntCr;
import org.beigesoft.acc.prc.EntrCr;
import org.beigesoft.acc.prc.EnrSrcChu;
import org.beigesoft.acc.prc.EntrChd;
import org.beigesoft.acc.prc.EntrCpr;
import org.beigesoft.acc.prc.BnStLnGfe;
import org.beigesoft.acc.prc.EntrRt;
import org.beigesoft.acc.prc.EntrSrcCr;
import org.beigesoft.acc.prc.IsacntSv;
import org.beigesoft.acc.prc.AcntDl;
import org.beigesoft.acc.prc.IsacntDl;
import org.beigesoft.acc.prc.AcntSv;
import org.beigesoft.acc.prc.TxCtLnSv;
import org.beigesoft.acc.prc.TxCtLnDl;
import org.beigesoft.acc.prc.EntrSv;
import org.beigesoft.acc.prc.InEntrSv;
import org.beigesoft.acc.prc.InEntrDl;
import org.beigesoft.acc.prc.AcStgRt;
import org.beigesoft.acc.prc.AcStgSv;
import org.beigesoft.acc.prc.InEntrRt;
import org.beigesoft.acc.prc.DocDl;
import org.beigesoft.acc.prc.DocPr;
import org.beigesoft.acc.prc.ItAdLnRv;
import org.beigesoft.acc.prc.ItAdLnSv;
import org.beigesoft.acc.prc.ItmAddSv;
import org.beigesoft.acc.prc.MnpMcsRv;
import org.beigesoft.acc.prc.MnpAcsSv;
import org.beigesoft.acc.prc.MnpMcsSv;
import org.beigesoft.acc.prc.MnfctSv;
import org.beigesoft.acc.prc.MnfPrcSv;
import org.beigesoft.acc.prc.BnkStmSv;
import org.beigesoft.acc.prc.ItUbLnRv;
import org.beigesoft.acc.prc.BnStLnSv;
import org.beigesoft.acc.prc.ItUbLnSv;
import org.beigesoft.acc.prc.ItmUlbSv;
import org.beigesoft.acc.prc.MoItLnSv;
import org.beigesoft.acc.prc.MovItmPr;
import org.beigesoft.acc.prc.DcDriPr;
import org.beigesoft.acc.prc.DocWhPr;
import org.beigesoft.acc.prc.PaymSv;
import org.beigesoft.acc.prc.PrepSv;
import org.beigesoft.acc.prc.InvLnSv;
import org.beigesoft.acc.prc.InSrLnDl;
import org.beigesoft.acc.prc.RetSv;
import org.beigesoft.acc.prc.RetLnSv;
import org.beigesoft.acc.prc.InvSv;
import org.beigesoft.acc.prc.MoItLnRv;
import org.beigesoft.acc.prc.RetLnRv;
import org.beigesoft.acc.prc.InvLnCpr;
import org.beigesoft.acc.prc.DocCpr;
import org.beigesoft.acc.prc.DociCpr;
import org.beigesoft.acc.prc.PrepCpr;
import org.beigesoft.acc.prc.WageSv;
import org.beigesoft.acc.prc.WgLnSv;
import org.beigesoft.acc.prc.WgLnDl;
import org.beigesoft.acc.prc.WgTxlSv;
import org.beigesoft.acc.prc.WgTxlDl;
import org.beigesoft.acc.prc.InTxLnSv;
import org.beigesoft.acc.srv.ISrAcStg;
import org.beigesoft.acc.srv.ISrBlnc;
import org.beigesoft.acc.srv.ISrToPa;
import org.beigesoft.acc.srv.ISrEntr;
import org.beigesoft.acc.srv.ISrWrhEnr;
import org.beigesoft.acc.srv.ISrDrItEnr;
import org.beigesoft.acc.srv.UtlBas;
import org.beigesoft.acc.srv.SrPaymSv;
import org.beigesoft.acc.srv.SrInvSv;
import org.beigesoft.acc.srv.SrRetSv;
import org.beigesoft.acc.srv.SrRtLnSv;
import org.beigesoft.acc.srv.SrInLnSv;
import org.beigesoft.acc.srv.SrSaGdLn;
import org.beigesoft.acc.srv.SrSaSrLn;
import org.beigesoft.acc.srv.RvSaGdLn;
import org.beigesoft.acc.srv.RvSaSrLn;
import org.beigesoft.acc.srv.SrPuGdLn;
import org.beigesoft.acc.srv.SrSaRtLn;
import org.beigesoft.acc.srv.SrPuRtLn;
import org.beigesoft.acc.srv.SrPuSrLn;
import org.beigesoft.acc.srv.RvPuGdLn;
import org.beigesoft.acc.srv.RvPuRtLn;
import org.beigesoft.acc.srv.RvSaRtLn;
import org.beigesoft.acc.srv.RvPuSrLn;
import org.beigesoft.acc.srv.UtInLnTxTo;
import org.beigesoft.acc.srv.UtInLnTxToBs;
import org.beigesoft.acc.srv.InvTxMeth;
/**
* Accounting additional factory of entity processors.
*
* @param platform dependent record set type
* @author Yury Demidenko
*/
public class FcEnPrAc implements IFctPrcEnt {
/**
* Sales invoice good line service name.
**/
public static final String SALINVGDLNSV = "SalInvGdLnSv";
/**
* Sales invoice service line service name.
**/
public static final String SALINVSRLNSV = "SalInvSrLnSv";
/**
* Sales invoice line service name.
**/
public static final String SALINVSV = "SalInvSv";
/**
* Purchase invoice good line service name.
**/
public static final String PURINVGDLNSV = "PurInvGdLnSv";
/**
* Purchase invoice service line delete name.
**/
public static final String PUINSRLNDL = "PuInSrLnDl";
/**
* Sales invoice service line delete name.
**/
public static final String SAINSRLNDL = "SaInSrLnDl";
/**
* Purchase invoice service line service name.
**/
public static final String PURINVSRLNSV = "PurInvSrLnSv";
/**
* Purchase invoice line service name.
**/
public static final String PURINVSV = "PurInvSv";
/**
* Payment from save service name.
**/
public static final String PAYFRSV = "PayFrSv";
/**
* Payment to save service name.
**/
public static final String PAYTOSV = "PayToSv";
/**
* Purchase return saving service name.
**/
public static final String PURETSV = "PrRtSv";
/**
* Purchase return line saving service name.
**/
public static final String PURTLNSV = "PrRtLnSv";
/**
* Sales return saving service name.
**/
public static final String SARETSV = "SaRtSv";
/**
* Sales return line saving service name.
**/
public static final String SARTLNSV = "SaRtLnSv";
/**
* Sales invoice tax line saving service name.
**/
public static final String SAINTXLNSV = "SaInTxLnSv";
/**
* Main factory.
**/
private FctBlc fctBlc;
//requested data:
/**
* Processors map.
**/
private final Map> procs =
new HashMap>();
/**
* Get processor in lazy mode (if bean is null then initialize it).
* @param pRvs request scoped vars
* @param pPrNm - filler name
* @return requested processor or NULL
* @throws Exception - an exception
*/
public final IPrcEnt, ?> laz(final Map pRvs,
final String pPrNm) throws Exception {
IPrcEnt, ?> rz = this.procs.get(pPrNm);
if (rz == null) {
synchronized (this) {
rz = this.procs.get(pPrNm);
if (rz == null) {
if (EntrCr.class.getSimpleName().equals(pPrNm)) {
rz = crPuEntrCr(pRvs);
} else if (BnStLnGfe.class.getSimpleName().equals(pPrNm)) {
rz = crPuBnStLnGfe(pRvs);
} else if (EntrRt.class.getSimpleName().equals(pPrNm)) {
rz = crPuEntrRt(pRvs);
} else if (EnrSrcChu.class.getSimpleName().equals(pPrNm)) {
rz = crPuEnrSrcChu(pRvs);
} else if (EntrChd.class.getSimpleName().equals(pPrNm)) {
rz = crPuEntrChd(pRvs);
} else if (EntrCpr.class.getSimpleName().equals(pPrNm)) {
rz = crPuEntrCpr(pRvs);
} else if (SacntSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuSacntSv(pRvs);
} else if (SacntCr.class.getSimpleName().equals(pPrNm)) {
rz = crPuSacntCr(pRvs);
} else if (EntrSrcCr.class.getSimpleName().equals(pPrNm)) {
rz = crPuEntrSrcCr(pRvs);
} else if (WageSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuWageSv(pRvs);
} else if (WgLnDl.class.getSimpleName().equals(pPrNm)) {
rz = crPuWgLnDl(pRvs);
} else if (WgLnSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuWgLnSv(pRvs);
} else if (WgTxlDl.class.getSimpleName().equals(pPrNm)) {
rz = crPuWgTxlDl(pRvs);
} else if (WgTxlSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuWgTxlSv(pRvs);
} else if (InEntrSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuInEntrSv(pRvs);
} else if (AcStgRt.class.getSimpleName().equals(pPrNm)) {
rz = crPuAcStgRt(pRvs);
} else if (AcStgSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuAcStgSv(pRvs);
} else if (InEntrRt.class.getSimpleName().equals(pPrNm)) {
rz = crPuInEntrRt(pRvs);
} else if (InEntrDl.class.getSimpleName().equals(pPrNm)) {
rz = crPuInEntrDl(pRvs);
} else if (AcntDl.class.getSimpleName().equals(pPrNm)) {
rz = crPuAcntDl(pRvs);
} else if (IsacntDl.class.getSimpleName().equals(pPrNm)) {
rz = crPuIsacntDl(pRvs);
} else if (IsacntSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuIsacntSv(pRvs);
} else if (AcntSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuAcntSv(pRvs);
} else if (TxCtLnDl.class.getSimpleName().equals(pPrNm)) {
rz = crPuTxCtLnDl(pRvs);
} else if (TxCtLnSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuTxCtLnSv(pRvs);
} else if (ItAdLnRv.class.getSimpleName().equals(pPrNm)) {
rz = crPuItAdLnRv(pRvs);
} else if (MnpMcsRv.class.getSimpleName().equals(pPrNm)) {
rz = crPuMnpMcsRv(pRvs);
} else if (ItUbLnRv.class.getSimpleName().equals(pPrNm)) {
rz = crPuItUbLnRv(pRvs);
} else if (MoItLnRv.class.getSimpleName().equals(pPrNm)) {
rz = crPuMoItLnRv(pRvs);
} else if (RetLnRv.class.getSimpleName().equals(pPrNm)) {
rz = crPuRetLnRv(pRvs);
} else if (InvLnCpr.class.getSimpleName().equals(pPrNm)) {
rz = crPuInvLnCpr(pRvs);
} else if (DociCpr.class.getSimpleName().equals(pPrNm)) {
rz = crPuDociCpr(pRvs);
} else if (DocCpr.class.getSimpleName().equals(pPrNm)) {
rz = crPuDocCpr(pRvs);
} else if (PrepCpr.class.getSimpleName().equals(pPrNm)) {
rz = crPuPrepCpr(pRvs);
} else if (MovItmPr.class.getSimpleName().equals(pPrNm)) {
rz = crPuMovItmPr(pRvs);
} else if (ItmAddSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuItmAddSv(pRvs);
} else if (ItAdLnSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuItAdLnSv(pRvs);
} else if (MnfctSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuMnfctSv(pRvs);
} else if (BnkStmSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuBnkStmSv(pRvs);
} else if (MnfPrcSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuMnfPrcSv(pRvs);
} else if (ItmUlbSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuItmUlbSv(pRvs);
} else if (MnpAcsSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuMnpAcsSv(pRvs);
} else if (MnpMcsSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuMnpMcsSv(pRvs);
} else if (BnStLnSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuBnStLnSv(pRvs);
} else if (ItUbLnSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuItUbLnSv(pRvs);
} else if (MoItLnSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuMoItLnSv(pRvs);
} else if (DcDriPr.class.getSimpleName().equals(pPrNm)) {
rz = crPuDcDriPr(pRvs);
} else if (DocWhPr.class.getSimpleName().equals(pPrNm)) {
rz = crPuDocWhPr(pRvs);
} else if (DocDl.class.getSimpleName().equals(pPrNm)) {
rz = crPuDocDl(pRvs);
} else if (DocPr.class.getSimpleName().equals(pPrNm)) {
rz = crPuDocPr(pRvs);
} else if (SAINTXLNSV.equals(pPrNm)) {
rz = crPuSaInTxLnSv(pRvs);
} else if (SALINVSRLNSV.equals(pPrNm)) {
rz = crPuSalInvSrLnSv(pRvs);
} else if (SARTLNSV.equals(pPrNm)) {
rz = crPuSaRtLnSv(pRvs);
} else if (PURTLNSV.equals(pPrNm)) {
rz = crPuPuRtLnSv(pRvs);
} else if (SALINVGDLNSV.equals(pPrNm)) {
rz = crPuSalInvGdLnSv(pRvs);
} else if (SALINVSV.equals(pPrNm)) {
rz = crPuSalInvSv(pRvs);
} else if (SAINSRLNDL.equals(pPrNm)) {
rz = crPuSaInSrLnDl(pRvs);
} else if (PUINSRLNDL.equals(pPrNm)) {
rz = crPuPuInSrLnDl(pRvs);
} else if (PURINVSRLNSV.equals(pPrNm)) {
rz = crPuPurInvSrLnSv(pRvs);
} else if (PURINVGDLNSV.equals(pPrNm)) {
rz = crPuPurInvGdLnSv(pRvs);
} else if (PURINVSV.equals(pPrNm)) {
rz = crPuPurInvSv(pRvs);
} else if (SARETSV.equals(pPrNm)) {
rz = crPuSalRetSv(pRvs);
} else if (PURETSV.equals(pPrNm)) {
rz = crPuPurRetSv(pRvs);
} else if (PAYFRSV.equals(pPrNm)) {
rz = crPuPaymFrSv(pRvs);
} else if (PAYTOSV.equals(pPrNm)) {
rz = crPuPaymToSv(pRvs);
} else if (PrepSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuPrepSv(pRvs);
} else if (EntrSv.class.getSimpleName().equals(pPrNm)) {
rz = crPuEntrSv(pRvs);
}
}
}
}
return rz;
}
/**
* Create and put into the Map AcStgSv.
* @param pRvs request scoped vars
* @return AcStgSv
* @throws Exception - an exception
*/
private AcStgSv crPuAcStgSv(
final Map pRvs) throws Exception {
AcStgSv rz = new AcStgSv();
ISrAcStg srAcStg = (ISrAcStg) this.fctBlc
.laz(pRvs, ISrAcStg.class.getSimpleName());
rz.setSrAcStg(srAcStg);
this.procs.put(AcStgSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), AcStgSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map AcStgRt.
* @param pRvs request scoped vars
* @return AcStgRt
* @throws Exception - an exception
*/
private AcStgRt crPuAcStgRt(
final Map pRvs) throws Exception {
AcStgRt rz = new AcStgRt();
ISrAcStg srAcStg = (ISrAcStg) this.fctBlc
.laz(pRvs, ISrAcStg.class.getSimpleName());
rz.setSrAcStg(srAcStg);
this.procs.put(AcStgRt.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), AcStgRt.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map InEntrRt.
* @param pRvs request scoped vars
* @return InEntrRt
* @throws Exception - an exception
*/
private InEntrRt crPuInEntrRt(
final Map pRvs) throws Exception {
InEntrRt rz = new InEntrRt();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
this.procs.put(InEntrRt.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), InEntrRt.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map WageSv.
* @param pRvs request scoped vars
* @return WageSv
* @throws Exception - an exception
*/
private WageSv crPuWageSv(
final Map pRvs) throws Exception {
WageSv rz = new WageSv();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
rz.setI18n(this.fctBlc.lazI18n(pRvs));
@SuppressWarnings("unchecked")
IRdb rdb = (IRdb) this.fctBlc.laz(pRvs, IRdb.class.getSimpleName());
rz.setRdb(rdb);
ISrEntr srEntr = (ISrEntr) this.fctBlc
.laz(pRvs, ISrEntr.class.getSimpleName());
rz.setSrEntr(srEntr);
UtlBas utlBas = (UtlBas) this.fctBlc
.laz(pRvs, UtlBas.class.getSimpleName());
rz.setUtlBas(utlBas); this.procs.put(WageSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), WageSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map WgLnDl.
* @param pRvs request scoped vars
* @return WgLnDl
* @throws Exception - an exception
*/
private WgLnDl crPuWgLnDl(
final Map pRvs) throws Exception {
WgLnDl rz = new WgLnDl();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
@SuppressWarnings("unchecked")
IRdb rdb = (IRdb) this.fctBlc.laz(pRvs, IRdb.class.getSimpleName());
rz.setRdb(rdb);
this.procs.put(WgLnDl.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), WgLnDl.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map WgLnSv.
* @param pRvs request scoped vars
* @return WgLnSv
* @throws Exception - an exception
*/
private WgLnSv crPuWgLnSv(
final Map pRvs) throws Exception {
WgLnSv rz = new WgLnSv();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
@SuppressWarnings("unchecked")
IRdb rdb = (IRdb) this.fctBlc.laz(pRvs, IRdb.class.getSimpleName());
rz.setRdb(rdb);
this.procs.put(WgLnSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), WgLnSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map WgTxlDl.
* @param pRvs request scoped vars
* @return WgTxlDl
* @throws Exception - an exception
*/
private WgTxlDl crPuWgTxlDl(
final Map pRvs) throws Exception {
WgTxlDl rz = new WgTxlDl();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
this.procs.put(WgTxlDl.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), WgTxlDl.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map WgTxlSv.
* @param pRvs request scoped vars
* @return WgTxlSv
* @throws Exception - an exception
*/
private WgTxlSv crPuWgTxlSv(
final Map pRvs) throws Exception {
WgTxlSv rz = new WgTxlSv();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
this.procs.put(WgTxlSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), WgTxlSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map InEntrSv.
* @param pRvs request scoped vars
* @return InEntrSv
* @throws Exception - an exception
*/
private InEntrSv crPuInEntrSv(
final Map pRvs) throws Exception {
InEntrSv rz = new InEntrSv();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
this.procs.put(InEntrSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), InEntrSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map InEntrDl.
* @param pRvs request scoped vars
* @return InEntrDl
* @throws Exception - an exception
*/
private InEntrDl crPuInEntrDl(
final Map pRvs) throws Exception {
InEntrDl rz = new InEntrDl();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
@SuppressWarnings("unchecked")
IRdb rdb = (IRdb) this.fctBlc.laz(pRvs, IRdb.class.getSimpleName());
rz.setRdb(rdb);
this.procs.put(InEntrDl.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), InEntrDl.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map AcntDl.
* @param pRvs request scoped vars
* @return AcntDl
* @throws Exception - an exception
*/
private AcntDl crPuAcntDl(
final Map pRvs) throws Exception {
AcntDl rz = new AcntDl();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
rz.setLog(this.fctBlc.lazLogStd(pRvs));
@SuppressWarnings("unchecked")
IRdb rdb = (IRdb) this.fctBlc.laz(pRvs, IRdb.class.getSimpleName());
rz.setRdb(rdb);
this.procs.put(AcntDl.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), AcntDl.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map IsacntDl.
* @param pRvs request scoped vars
* @return IsacntDl
* @throws Exception - an exception
*/
private IsacntDl crPuIsacntDl(
final Map pRvs) throws Exception {
IsacntDl rz = new IsacntDl();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
rz.setLog(this.fctBlc.lazLogStd(pRvs));
@SuppressWarnings("unchecked")
IRdb rdb = (IRdb) this.fctBlc.laz(pRvs, IRdb.class.getSimpleName());
rz.setRdb(rdb);
this.procs.put(IsacntDl.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), IsacntDl.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map IsacntSv.
* @param pRvs request scoped vars
* @return IsacntSv
* @throws Exception - an exception
*/
private IsacntSv crPuIsacntSv(
final Map pRvs) throws Exception {
IsacntSv rz = new IsacntSv();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
rz.setLog(this.fctBlc.lazLogStd(pRvs));
ISrBlnc srBlnc = (ISrBlnc) this.fctBlc
.laz(pRvs, ISrBlnc.class.getSimpleName());
rz.setSrBlnc(srBlnc);
this.procs.put(IsacntSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), IsacntSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map AcntSv.
* @param pRvs request scoped vars
* @return AcntSv
* @throws Exception - an exception
*/
private AcntSv crPuAcntSv(
final Map pRvs) throws Exception {
AcntSv rz = new AcntSv();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
@SuppressWarnings("unchecked")
IRdb rdb = (IRdb) this.fctBlc.laz(pRvs, IRdb.class.getSimpleName());
rz.setRdb(rdb);
this.procs.put(AcntSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), AcntSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map TxCtLnDl.
* @param pRvs request scoped vars
* @return TxCtLnDl
* @throws Exception - an exception
*/
private TxCtLnDl crPuTxCtLnDl(
final Map pRvs) throws Exception {
TxCtLnDl rz = new TxCtLnDl();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
@SuppressWarnings("unchecked")
IRdb rdb = (IRdb) this.fctBlc.laz(pRvs, IRdb.class.getSimpleName());
rz.setRdb(rdb);
this.procs.put(TxCtLnDl.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), TxCtLnDl.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map TxCtLnSv.
* @param pRvs request scoped vars
* @return TxCtLnSv
* @throws Exception - an exception
*/
private TxCtLnSv crPuTxCtLnSv(
final Map pRvs) throws Exception {
TxCtLnSv rz = new TxCtLnSv();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
@SuppressWarnings("unchecked")
IRdb rdb = (IRdb) this.fctBlc.laz(pRvs, IRdb.class.getSimpleName());
rz.setRdb(rdb);
this.procs.put(TxCtLnSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), TxCtLnSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map ItAdLnRv.
* @param pRvs request scoped vars
* @return ItAdLnRv
* @throws Exception - an exception
*/
private ItAdLnRv crPuItAdLnRv(
final Map pRvs) throws Exception {
ItAdLnRv rz = new ItAdLnRv();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
this.procs.put(ItAdLnRv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), ItAdLnRv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map MnpMcsRv.
* @param pRvs request scoped vars
* @return MnpMcsRv
* @throws Exception - an exception
*/
private MnpMcsRv crPuMnpMcsRv(
final Map pRvs) throws Exception {
MnpMcsRv rz = new MnpMcsRv();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
this.procs.put(MnpMcsRv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), MnpMcsRv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map ItUbLnRv.
* @param pRvs request scoped vars
* @return ItUbLnRv
* @throws Exception - an exception
*/
private ItUbLnRv crPuItUbLnRv(
final Map pRvs) throws Exception {
ItUbLnRv rz = new ItUbLnRv();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
this.procs.put(ItUbLnRv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), ItUbLnRv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map MoItLnRv.
* @param pRvs request scoped vars
* @return MoItLnRv
* @throws Exception - an exception
*/
private MoItLnRv crPuMoItLnRv(
final Map pRvs) throws Exception {
MoItLnRv rz = new MoItLnRv();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
this.procs.put(MoItLnRv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), MoItLnRv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map RetLnRv.
* @param pRvs request scoped vars
* @return RetLnRv
* @throws Exception - an exception
*/
private RetLnRv crPuRetLnRv(
final Map pRvs) throws Exception {
RetLnRv rz = new RetLnRv();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
this.procs.put(RetLnRv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), RetLnRv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map InvLnCpr.
* @param pRvs request scoped vars
* @return InvLnCpr
* @throws Exception - an exception
*/
private InvLnCpr crPuInvLnCpr(
final Map pRvs) throws Exception {
InvLnCpr rz = new InvLnCpr();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
this.procs.put(InvLnCpr.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), InvLnCpr.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map DociCpr.
* @param pRvs request scoped vars
* @return DociCpr
* @throws Exception - an exception
*/
private DociCpr crPuDociCpr(
final Map pRvs) throws Exception {
DociCpr rz = new DociCpr();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
this.procs.put(DociCpr.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), DociCpr.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map DocCpr.
* @param pRvs request scoped vars
* @return DocCpr
* @throws Exception - an exception
*/
private DocCpr crPuDocCpr(
final Map pRvs) throws Exception {
DocCpr rz = new DocCpr();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
this.procs.put(DocCpr.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), DocCpr.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map PrepCpr.
* @param pRvs request scoped vars
* @return PrepCpr
* @throws Exception - an exception
*/
private PrepCpr crPuPrepCpr(
final Map pRvs) throws Exception {
PrepCpr rz = new PrepCpr();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
this.procs.put(PrepCpr.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), PrepCpr.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map ItmAddSv.
* @param pRvs request scoped vars
* @return ItmAddSv
* @throws Exception - an exception
*/
private ItmAddSv crPuItmAddSv(
final Map pRvs) throws Exception {
ItmAddSv rz = new ItmAddSv();
rz.setI18n(this.fctBlc.lazI18n(pRvs));
rz.setOrm(this.fctBlc.lazOrm(pRvs));
ISrEntr srEntr = (ISrEntr) this.fctBlc
.laz(pRvs, ISrEntr.class.getSimpleName());
rz.setSrEntr(srEntr);
ISrWrhEnr srWrhEnr = (ISrWrhEnr) this.fctBlc
.laz(pRvs, ISrWrhEnr.class.getSimpleName());
rz.setSrWrhEnr(srWrhEnr);
UtlBas utlBas = (UtlBas) this.fctBlc
.laz(pRvs, UtlBas.class.getSimpleName());
rz.setUtlBas(utlBas);
this.procs.put(ItmAddSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), ItmAddSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map ItAdLnSv.
* @param pRvs request scoped vars
* @return ItAdLnSv
* @throws Exception - an exception
*/
private ItAdLnSv crPuItAdLnSv(
final Map pRvs) throws Exception {
ItAdLnSv rz = new ItAdLnSv();
rz.setI18n(this.fctBlc.lazI18n(pRvs));
rz.setOrm(this.fctBlc.lazOrm(pRvs));
@SuppressWarnings("unchecked")
IRdb rdb = (IRdb) this.fctBlc.laz(pRvs, IRdb.class.getSimpleName());
rz.setRdb(rdb);
ISrWrhEnr srWrhEnr = (ISrWrhEnr) this.fctBlc
.laz(pRvs, ISrWrhEnr.class.getSimpleName());
rz.setSrWrhEnr(srWrhEnr);
this.procs.put(ItAdLnSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), ItAdLnSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map MnfctSv.
* @param pRvs request scoped vars
* @return MnfctSv
* @throws Exception - an exception
*/
private MnfctSv crPuMnfctSv(
final Map pRvs) throws Exception {
MnfctSv rz = new MnfctSv();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
ISrDrItEnr srDrItEnr = (ISrDrItEnr) this.fctBlc
.laz(pRvs, ISrDrItEnr.class.getSimpleName());
rz.setSrDrItEnr(srDrItEnr);
ISrEntr srEntr = (ISrEntr) this.fctBlc
.laz(pRvs, ISrEntr.class.getSimpleName());
rz.setSrEntr(srEntr);
ISrWrhEnr srWrhEnr = (ISrWrhEnr) this.fctBlc
.laz(pRvs, ISrWrhEnr.class.getSimpleName());
rz.setSrWrhEnr(srWrhEnr);
UtlBas utlBas = (UtlBas) this.fctBlc
.laz(pRvs, UtlBas.class.getSimpleName());
rz.setUtlBas(utlBas);
this.procs.put(MnfctSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), MnfctSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map BnkStmSv.
* @param pRvs request scoped vars
* @return BnkStmSv
* @throws Exception - an exception
*/
private BnkStmSv crPuBnkStmSv(
final Map pRvs) throws Exception {
BnkStmSv rz = new BnkStmSv();
rz.setI18n(this.fctBlc.lazI18n(pRvs));
rz.setOrm(this.fctBlc.lazOrm(pRvs));
ICsvRdr csvRdr = (ICsvRdr) this.fctBlc
.laz(pRvs, ICsvRdr.class.getSimpleName());
rz.setCsvRdr(csvRdr);
UtlBas utlBas = (UtlBas) this.fctBlc
.laz(pRvs, UtlBas.class.getSimpleName());
rz.setUtlBas(utlBas);
this.procs.put(BnkStmSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), BnkStmSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map MnfPrcSv.
* @param pRvs request scoped vars
* @return MnfPrcSv
* @throws Exception - an exception
*/
private MnfPrcSv crPuMnfPrcSv(
final Map pRvs) throws Exception {
MnfPrcSv rz = new MnfPrcSv();
rz.setI18n(this.fctBlc.lazI18n(pRvs));
rz.setOrm(this.fctBlc.lazOrm(pRvs));
ISrDrItEnr srDrItEnr = (ISrDrItEnr) this.fctBlc
.laz(pRvs, ISrDrItEnr.class.getSimpleName());
rz.setSrDrItEnr(srDrItEnr);
ISrEntr srEntr = (ISrEntr) this.fctBlc
.laz(pRvs, ISrEntr.class.getSimpleName());
rz.setSrEntr(srEntr);
ISrWrhEnr srWrhEnr = (ISrWrhEnr) this.fctBlc
.laz(pRvs, ISrWrhEnr.class.getSimpleName());
rz.setSrWrhEnr(srWrhEnr);
UtlBas utlBas = (UtlBas) this.fctBlc
.laz(pRvs, UtlBas.class.getSimpleName());
rz.setUtlBas(utlBas);
this.procs.put(MnfPrcSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), MnfPrcSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map ItmUlbSv.
* @param pRvs request scoped vars
* @return ItmUlbSv
* @throws Exception - an exception
*/
private ItmUlbSv crPuItmUlbSv(
final Map pRvs) throws Exception {
ItmUlbSv rz = new ItmUlbSv();
rz.setI18n(this.fctBlc.lazI18n(pRvs));
rz.setOrm(this.fctBlc.lazOrm(pRvs));
ISrDrItEnr srDrItEnr = (ISrDrItEnr) this.fctBlc
.laz(pRvs, ISrDrItEnr.class.getSimpleName());
rz.setSrDrItEnr(srDrItEnr);
ISrEntr srEntr = (ISrEntr) this.fctBlc
.laz(pRvs, ISrEntr.class.getSimpleName());
rz.setSrEntr(srEntr);
ISrWrhEnr srWrhEnr = (ISrWrhEnr) this.fctBlc
.laz(pRvs, ISrWrhEnr.class.getSimpleName());
rz.setSrWrhEnr(srWrhEnr);
UtlBas utlBas = (UtlBas) this.fctBlc
.laz(pRvs, UtlBas.class.getSimpleName());
rz.setUtlBas(utlBas);
this.procs.put(ItmUlbSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), ItmUlbSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map MnpAcsSv.
* @param pRvs request scoped vars
* @return MnpAcsSv
* @throws Exception - an exception
*/
private MnpAcsSv crPuMnpAcsSv(
final Map pRvs) throws Exception {
MnpAcsSv rz = new MnpAcsSv();
rz.setI18n(this.fctBlc.lazI18n(pRvs));
rz.setOrm(this.fctBlc.lazOrm(pRvs));
@SuppressWarnings("unchecked")
IRdb rdb = (IRdb) this.fctBlc.laz(pRvs, IRdb.class.getSimpleName());
rz.setRdb(rdb);
this.procs.put(MnpAcsSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), MnpAcsSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map MnpMcsSv.
* @param pRvs request scoped vars
* @return MnpMcsSv
* @throws Exception - an exception
*/
private MnpMcsSv crPuMnpMcsSv(
final Map pRvs) throws Exception {
MnpMcsSv rz = new MnpMcsSv();
rz.setI18n(this.fctBlc.lazI18n(pRvs));
rz.setOrm(this.fctBlc.lazOrm(pRvs));
@SuppressWarnings("unchecked")
IRdb rdb = (IRdb) this.fctBlc.laz(pRvs, IRdb.class.getSimpleName());
rz.setRdb(rdb);
ISrDrItEnr srDrItEnr = (ISrDrItEnr) this.fctBlc
.laz(pRvs, ISrDrItEnr.class.getSimpleName());
rz.setSrDrItEnr(srDrItEnr);
ISrWrhEnr srWrhEnr = (ISrWrhEnr) this.fctBlc
.laz(pRvs, ISrWrhEnr.class.getSimpleName());
rz.setSrWrhEnr(srWrhEnr);
this.procs.put(MnpMcsSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), MnpMcsSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map BnStLnSv.
* @param pRvs request scoped vars
* @return BnStLnSv
* @throws Exception - an exception
*/
private BnStLnSv crPuBnStLnSv(
final Map pRvs) throws Exception {
BnStLnSv rz = new BnStLnSv();
rz.setI18n(this.fctBlc.lazI18n(pRvs));
rz.setOrm(this.fctBlc.lazOrm(pRvs));
ISrToPa srToPa = (ISrToPa) this.fctBlc
.laz(pRvs, ISrToPa.class.getSimpleName());
rz.setSrToPa(srToPa);
ISrvDt srvDt = (ISrvDt) this.fctBlc
.laz(pRvs, ISrvDt.class.getSimpleName());
rz.setSrvDt(srvDt);
ISrEntr srEntr = (ISrEntr) this.fctBlc
.laz(pRvs, ISrEntr.class.getSimpleName());
rz.setSrEntr(srEntr);
@SuppressWarnings("unchecked")
RvPuGdLn rvpl = (RvPuGdLn)
this.fctBlc.laz(pRvs, RvPuGdLn.class.getSimpleName());
rz.setRvPuLn(rvpl);
@SuppressWarnings("unchecked")
RvSaGdLn rvsl = (RvSaGdLn)
this.fctBlc.laz(pRvs, RvSaGdLn.class.getSimpleName());
rz.setRvSaLn(rvsl);
this.procs.put(BnStLnSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), BnStLnSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map ItUbLnSv.
* @param pRvs request scoped vars
* @return ItUbLnSv
* @throws Exception - an exception
*/
private ItUbLnSv crPuItUbLnSv(
final Map pRvs) throws Exception {
ItUbLnSv rz = new ItUbLnSv();
rz.setI18n(this.fctBlc.lazI18n(pRvs));
rz.setOrm(this.fctBlc.lazOrm(pRvs));
@SuppressWarnings("unchecked")
IRdb rdb = (IRdb) this.fctBlc.laz(pRvs, IRdb.class.getSimpleName());
rz.setRdb(rdb);
ISrDrItEnr srDrItEnr = (ISrDrItEnr) this.fctBlc
.laz(pRvs, ISrDrItEnr.class.getSimpleName());
rz.setSrDrItEnr(srDrItEnr);
ISrWrhEnr srWrhEnr = (ISrWrhEnr) this.fctBlc
.laz(pRvs, ISrWrhEnr.class.getSimpleName());
rz.setSrWrhEnr(srWrhEnr);
this.procs.put(ItUbLnSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), ItUbLnSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map MoItLnSv.
* @param pRvs request scoped vars
* @return MoItLnSv
* @throws Exception - an exception
*/
private MoItLnSv crPuMoItLnSv(
final Map pRvs) throws Exception {
MoItLnSv rz = new MoItLnSv();
rz.setI18n(this.fctBlc.lazI18n(pRvs));
rz.setOrm(this.fctBlc.lazOrm(pRvs));
ISrWrhEnr srWrhEnr = (ISrWrhEnr) this.fctBlc
.laz(pRvs, ISrWrhEnr.class.getSimpleName());
rz.setSrWrhEnr(srWrhEnr);
this.procs.put(MoItLnSv.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), MoItLnSv.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map MovItmPr.
* @param pRvs request scoped vars
* @return MovItmPr
* @throws Exception - an exception
*/
private MovItmPr crPuMovItmPr(
final Map pRvs) throws Exception {
MovItmPr rz = new MovItmPr();
@SuppressWarnings("unchecked")
FctEnPrc fctEnPrc = (FctEnPrc) this.fctBlc
.laz(pRvs, FctEnPrc.class.getSimpleName());
@SuppressWarnings("unchecked")
PrcEntRt rtr = (PrcEntRt) fctEnPrc
.lazPart(pRvs, PrcEntRt.class.getSimpleName());
rz.setRetrv(rtr);
ISrWrhEnr srWrhEnr = (ISrWrhEnr) this.fctBlc
.laz(pRvs, ISrWrhEnr.class.getSimpleName());
rz.setSrWrhEnr(srWrhEnr);
this.procs.put(MovItmPr.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), MovItmPr.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map DcDriPr.
* @param pRvs request scoped vars
* @return DcDriPr
* @throws Exception - an exception
*/
private DcDriPr crPuDcDriPr(final Map pRvs) throws Exception {
DcDriPr rz = new DcDriPr();
@SuppressWarnings("unchecked")
FctEnPrc fctEnPrc = (FctEnPrc) this.fctBlc
.laz(pRvs, FctEnPrc.class.getSimpleName());
@SuppressWarnings("unchecked")
PrcEntRt rtr = (PrcEntRt) fctEnPrc
.lazPart(pRvs, PrcEntRt.class.getSimpleName());
rz.setRetrv(rtr);
ISrEntr srEntr = (ISrEntr) this.fctBlc
.laz(pRvs, ISrEntr.class.getSimpleName());
rz.setSrEntr(srEntr);
ISrDrItEnr srDrItEnr = (ISrDrItEnr) this.fctBlc
.laz(pRvs, ISrDrItEnr.class.getSimpleName());
rz.setSrDrItEnr(srDrItEnr);
ISrWrhEnr srWrhEnr = (ISrWrhEnr) this.fctBlc
.laz(pRvs, ISrWrhEnr.class.getSimpleName());
rz.setSrWrhEnr(srWrhEnr);
this.procs.put(DcDriPr.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), DcDriPr.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map DocWhPr.
* @param pRvs request scoped vars
* @return DocWhPr
* @throws Exception - an exception
*/
private DocWhPr crPuDocWhPr(final Map pRvs) throws Exception {
DocWhPr rz = new DocWhPr();
@SuppressWarnings("unchecked")
FctEnPrc fctEnPrc = (FctEnPrc) this.fctBlc
.laz(pRvs, FctEnPrc.class.getSimpleName());
@SuppressWarnings("unchecked")
PrcEntRt rtr = (PrcEntRt) fctEnPrc
.lazPart(pRvs, PrcEntRt.class.getSimpleName());
rz.setRetrv(rtr);
ISrEntr srEntr = (ISrEntr) this.fctBlc
.laz(pRvs, ISrEntr.class.getSimpleName());
rz.setSrEntr(srEntr);
ISrWrhEnr srWrhEnr = (ISrWrhEnr) this.fctBlc
.laz(pRvs, ISrWrhEnr.class.getSimpleName());
rz.setSrWrhEnr(srWrhEnr);
this.procs.put(DocWhPr.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), DocWhPr.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map DocDl.
* @param pRvs request scoped vars
* @return DocDl
* @throws Exception - an exception
*/
private DocDl crPuDocDl(final Map pRvs) throws Exception {
DocDl rz = new DocDl();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
this.procs.put(DocDl.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), DocDl.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map DocPr.
* @param pRvs request scoped vars
* @return DocPr
* @throws Exception - an exception
*/
private DocPr crPuDocPr(final Map pRvs) throws Exception {
DocPr rz = new DocPr();
@SuppressWarnings("unchecked")
FctEnPrc fctEnPrc = (FctEnPrc) this.fctBlc
.laz(pRvs, FctEnPrc.class.getSimpleName());
@SuppressWarnings("unchecked")
PrcEntRt rtr = (PrcEntRt) fctEnPrc
.lazPart(pRvs, PrcEntRt.class.getSimpleName());
rz.setRetrv(rtr);
ISrEntr srEntr = (ISrEntr) this.fctBlc
.laz(pRvs, ISrEntr.class.getSimpleName());
rz.setSrEntr(srEntr);
this.procs.put(DocPr.class.getSimpleName(), rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(), DocPr.class
.getSimpleName() + " has been created.");
return rz;
}
/**
* Create and put into the Map SalGdRetLnSv.
* @param pRvs request scoped vars
* @return RetLnSv purchase good
* @throws Exception - an exception
*/
private RetLnSv crPuSaRtLnSv(
final Map pRvs) throws Exception {
RetLnSv rz =
new RetLnSv();
SrRtLnSv srRtLnSv = (SrRtLnSv) this.fctBlc
.laz(pRvs, SrRtLnSv.class.getSimpleName());
rz.setSrRtLnSv(srRtLnSv);
SrSaRtLn sritln = new SrSaRtLn();
rz.setSrInItLn(sritln);
sritln.setOrm(this.fctBlc.lazOrm(pRvs));
ISrWrhEnr srWrhEnr = (ISrWrhEnr) this.fctBlc
.laz(pRvs, ISrWrhEnr.class.getSimpleName());
sritln.setSrWrhEnr(srWrhEnr);
@SuppressWarnings("unchecked")
RvSaRtLn rvgl = (RvSaRtLn)
this.fctBlc.laz(pRvs, RvSaRtLn.class.getSimpleName());
sritln.setRvInvLn(rvgl);
UtInLnTxTo utInTxTo =
new UtInLnTxTo();
rz.setUtInTxTo(utInTxTo);
@SuppressWarnings("unchecked")
UtInLnTxToBs utInTxToBs = (UtInLnTxToBs) this.fctBlc
.laz(pRvs, UtInLnTxToBs.class.getSimpleName());
utInTxTo.setUtlInv(utInTxToBs);
@SuppressWarnings("unchecked")
InvTxMeth invTxMeth = (InvTxMeth)
this.fctBlc.laz(pRvs, FctAcc.SARTTXMT);
utInTxTo.setInvTxMeth(invTxMeth);
FctOrId fcpigtl = new FctOrId();
utInTxTo.setFctLineTxLn(fcpigtl);
fcpigtl.setCls(SaRtLtl.class);
fcpigtl.setDbOr(sritln.getOrm().getDbId());
utInTxTo.setLtlCl(SaRtLtl.class);
utInTxTo.setDstTxItLnCl(ItTxDl.class);
utInTxTo.setInvLnCl(SaRtLn.class);
utInTxTo.setItmCl(Itm.class);
utInTxTo.setIsMutable(false);
utInTxTo.setNeedMkTxCat(false);
utInTxTo.setIsPurch(false);
this.procs.put(SARTLNSV, rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(),
SARTLNSV + " has been created.");
return rz;
}
/**
* Create and put into the Map SalGdRetLnSv.
* @param pRvs request scoped vars
* @return RetLnSv purchase good
* @throws Exception - an exception
*/
private RetLnSv crPuPuRtLnSv(
final Map pRvs) throws Exception {
RetLnSv rz =
new RetLnSv();
SrRtLnSv srRtLnSv = (SrRtLnSv) this.fctBlc
.laz(pRvs, SrRtLnSv.class.getSimpleName());
rz.setSrRtLnSv(srRtLnSv);
SrPuRtLn sritln = new SrPuRtLn();
rz.setSrInItLn(sritln);
sritln.setOrm(this.fctBlc.lazOrm(pRvs));
ISrDrItEnr srDrItEnr = (ISrDrItEnr) this.fctBlc
.laz(pRvs, ISrDrItEnr.class.getSimpleName());
sritln.setSrDrItEnr(srDrItEnr);
@SuppressWarnings("unchecked")
RvPuRtLn rvgl = (RvPuRtLn)
this.fctBlc.laz(pRvs, RvPuRtLn.class.getSimpleName());
sritln.setRvInvLn(rvgl);
UtInLnTxTo utInTxTo =
new UtInLnTxTo();
rz.setUtInTxTo(utInTxTo);
@SuppressWarnings("unchecked")
UtInLnTxToBs utInTxToBs = (UtInLnTxToBs) this.fctBlc
.laz(pRvs, UtInLnTxToBs.class.getSimpleName());
utInTxTo.setUtlInv(utInTxToBs);
@SuppressWarnings("unchecked")
InvTxMeth invTxMeth = (InvTxMeth)
this.fctBlc.laz(pRvs, FctAcc.PURTTXMT);
utInTxTo.setInvTxMeth(invTxMeth);
FctOrId fcpigtl = new FctOrId();
utInTxTo.setFctLineTxLn(fcpigtl);
fcpigtl.setCls(PuRtLtl.class);
fcpigtl.setDbOr(sritln.getOrm().getDbId());
utInTxTo.setLtlCl(PuRtLtl.class);
utInTxTo.setDstTxItLnCl(ItTxDl.class);
utInTxTo.setInvLnCl(PuRtLn.class);
utInTxTo.setItmCl(Itm.class);
utInTxTo.setIsMutable(false);
utInTxTo.setNeedMkTxCat(false);
utInTxTo.setIsPurch(true);
this.procs.put(PURTLNSV, rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(),
PURTLNSV + " has been created.");
return rz;
}
/**
* Create and put into the Map SalSrInTxLnSv.
* @param pRvs request scoped vars
* @return InTxLnSv purchase service
* @throws Exception - an exception
*/
private InTxLnSv crPuSaInTxLnSv(
final Map pRvs) throws Exception {
InTxLnSv rz =
new InTxLnSv();
rz.setOrm(this.fctBlc.lazOrm(pRvs));
@SuppressWarnings("unchecked")
UtInLnTxTo utInTxTo =
(UtInLnTxTo) this.fctBlc
.laz(pRvs, FctAcc.UTSAINSRTX);
rz.setUtInTxTo(utInTxTo);
this.procs.put(SAINTXLNSV, rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(),
SAINTXLNSV + " has been created.");
return rz;
}
/**
* Create and put into the Map SalSrInvLnSv.
* @param pRvs request scoped vars
* @return InvLnSv purchase service
* @throws Exception - an exception
*/
private InvLnSv crPuSalInvSrLnSv(
final Map pRvs) throws Exception {
InvLnSv rz =
new InvLnSv();
SrInLnSv srInLnSv = (SrInLnSv) this.fctBlc
.laz(pRvs, SrInLnSv.class.getSimpleName());
rz.setSrInLnSv(srInLnSv);
SrSaSrLn sritln = new SrSaSrLn();
rz.setSrInItLn(sritln);
sritln.setOrm(this.fctBlc.lazOrm(pRvs));
@SuppressWarnings("unchecked")
RvSaSrLn rvgl = (RvSaSrLn)
this.fctBlc.laz(pRvs, RvSaSrLn.class.getSimpleName());
sritln.setRvInvLn(rvgl);
@SuppressWarnings("unchecked")
UtInLnTxTo utInTxTo =
(UtInLnTxTo) this.fctBlc
.laz(pRvs, FctAcc.UTSAINSRTX);
rz.setUtInTxTo(utInTxTo);
this.procs.put(SALINVSRLNSV, rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(),
SALINVSRLNSV + " has been created.");
return rz;
}
/**
* Create and put into the Map SalGdInvLnSv.
* @param pRvs request scoped vars
* @return InvLnSv purchase good
* @throws Exception - an exception
*/
private InvLnSv crPuSalInvGdLnSv(
final Map pRvs) throws Exception {
InvLnSv rz =
new InvLnSv();
SrInLnSv srInLnSv = (SrInLnSv) this.fctBlc
.laz(pRvs, SrInLnSv.class.getSimpleName());
rz.setSrInLnSv(srInLnSv);
SrSaGdLn sritln = new SrSaGdLn();
rz.setSrInItLn(sritln);
sritln.setOrm(this.fctBlc.lazOrm(pRvs));
ISrDrItEnr srDrItEnr = (ISrDrItEnr) this.fctBlc
.laz(pRvs, ISrDrItEnr.class.getSimpleName());
sritln.setSrDrItEnr(srDrItEnr);
@SuppressWarnings("unchecked")
RvSaGdLn rvgl = (RvSaGdLn)
this.fctBlc.laz(pRvs, RvSaGdLn.class.getSimpleName());
sritln.setRvInvLn(rvgl);
UtInLnTxTo utInTxTo =
new UtInLnTxTo();
rz.setUtInTxTo(utInTxTo);
@SuppressWarnings("unchecked")
UtInLnTxToBs utInTxToBs = (UtInLnTxToBs) this.fctBlc
.laz(pRvs, UtInLnTxToBs.class.getSimpleName());
utInTxTo.setUtlInv(utInTxToBs);
@SuppressWarnings("unchecked")
InvTxMeth invTxMeth = (InvTxMeth)
this.fctBlc.laz(pRvs, FctAcc.SALINVTXMETH);
utInTxTo.setInvTxMeth(invTxMeth);
FctOrId fcpigtl = new FctOrId();
utInTxTo.setFctLineTxLn(fcpigtl);
fcpigtl.setCls(SaInGdTxLn.class);
fcpigtl.setDbOr(sritln.getOrm().getDbId());
utInTxTo.setLtlCl(SaInGdTxLn.class);
utInTxTo.setDstTxItLnCl(ItTxDl.class);
utInTxTo.setInvLnCl(SaInGdLn.class);
utInTxTo.setItmCl(Itm.class);
utInTxTo.setIsMutable(false);
utInTxTo.setNeedMkTxCat(true);
utInTxTo.setIsPurch(false);
this.procs.put(SALINVGDLNSV, rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(),
SALINVGDLNSV + " has been created.");
return rz;
}
/**
* Create and put into the Map InvSv.
* @param pRvs request scoped vars
* @return InvSv
* @throws Exception - an exception
*/
private InvSv crPuSalInvSv(
final Map pRvs) throws Exception {
InvSv rz =
new InvSv();
SrInvSv srInvSv = (SrInvSv) this.fctBlc
.laz(pRvs, SrInvSv.class.getSimpleName());
rz.setSrInvSv(srInvSv);
@SuppressWarnings("unchecked")
RvSaSrLn rvsl = (RvSaSrLn)
this.fctBlc.laz(pRvs, RvSaSrLn.class.getSimpleName());
rz.setRvInSrLn(rvsl);
@SuppressWarnings("unchecked")
RvSaGdLn rvgl = (RvSaGdLn)
this.fctBlc.laz(pRvs, RvSaGdLn.class.getSimpleName());
rz.setRvInGdLn(rvgl);
this.procs.put(SALINVSV, rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(),
SALINVSV + " has been created.");
return rz;
}
/**
* Create and put into the Map PurSrInSrLnDl.
* @param pRvs request scoped vars
* @return InSrLnDl purchase service
* @throws Exception - an exception
*/
private InSrLnDl crPuSaInSrLnDl(
final Map pRvs) throws Exception {
InSrLnDl rz =
new InSrLnDl();
@SuppressWarnings("unchecked")
IRdb rdb = (IRdb) this.fctBlc.laz(pRvs, IRdb.class.getSimpleName());
rz.setRdb(rdb);
rz.setOrm(this.fctBlc.lazOrm(pRvs));
@SuppressWarnings("unchecked")
UtInLnTxTo utInTxTo =
(UtInLnTxTo) this.fctBlc
.laz(pRvs, FctAcc.UTSAINSRTX);
rz.setUtInTxTo(utInTxTo);
this.procs.put(SAINSRLNDL, rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(),
SAINSRLNDL + " has been created.");
return rz;
}
/**
* Create and put into the Map PurSrInSrLnDl.
* @param pRvs request scoped vars
* @return InSrLnDl purchase service
* @throws Exception - an exception
*/
private InSrLnDl crPuPuInSrLnDl(
final Map pRvs) throws Exception {
InSrLnDl rz =
new InSrLnDl();
@SuppressWarnings("unchecked")
IRdb rdb = (IRdb) this.fctBlc.laz(pRvs, IRdb.class.getSimpleName());
rz.setRdb(rdb);
rz.setOrm(this.fctBlc.lazOrm(pRvs));
@SuppressWarnings("unchecked")
UtInLnTxTo utInTxTo =
(UtInLnTxTo) this.fctBlc
.laz(pRvs, FctAcc.UTPUINSRTX);
rz.setUtInTxTo(utInTxTo);
this.procs.put(PUINSRLNDL, rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(),
PUINSRLNDL + " has been created.");
return rz;
}
/**
* Create and put into the Map PurSrInvLnSv.
* @param pRvs request scoped vars
* @return InvLnSv purchase service
* @throws Exception - an exception
*/
private InvLnSv crPuPurInvSrLnSv(
final Map pRvs) throws Exception {
InvLnSv rz =
new InvLnSv();
SrInLnSv srInLnSv = (SrInLnSv) this.fctBlc
.laz(pRvs, SrInLnSv.class.getSimpleName());
rz.setSrInLnSv(srInLnSv);
SrPuSrLn sritln = new SrPuSrLn();
rz.setSrInItLn(sritln);
sritln.setOrm(this.fctBlc.lazOrm(pRvs));
@SuppressWarnings("unchecked")
RvPuSrLn rvgl = (RvPuSrLn)
this.fctBlc.laz(pRvs, RvPuSrLn.class.getSimpleName());
sritln.setRvInvLn(rvgl);
@SuppressWarnings("unchecked")
UtInLnTxTo utInTxTo =
(UtInLnTxTo) this.fctBlc
.laz(pRvs, FctAcc.UTPUINSRTX);
rz.setUtInTxTo(utInTxTo);
this.procs.put(PURINVSRLNSV, rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(),
PURINVSRLNSV + " has been created.");
return rz;
}
/**
* Create and put into the Map PurGdInvLnSv.
* @param pRvs request scoped vars
* @return InvLnSv purchase good
* @throws Exception - an exception
*/
private InvLnSv crPuPurInvGdLnSv(
final Map pRvs) throws Exception {
InvLnSv rz =
new InvLnSv();
SrInLnSv srInLnSv = (SrInLnSv) this.fctBlc
.laz(pRvs, SrInLnSv.class.getSimpleName());
rz.setSrInLnSv(srInLnSv);
SrPuGdLn sritln = new SrPuGdLn();
rz.setSrInItLn(sritln);
sritln.setOrm(this.fctBlc.lazOrm(pRvs));
ISrWrhEnr srWrhEnr = (ISrWrhEnr) this.fctBlc
.laz(pRvs, ISrWrhEnr.class.getSimpleName());
sritln.setSrWrhEnr(srWrhEnr);
@SuppressWarnings("unchecked")
RvPuGdLn rvgl = (RvPuGdLn)
this.fctBlc.laz(pRvs, RvPuGdLn.class.getSimpleName());
sritln.setRvInvLn(rvgl);
UtInLnTxTo utInTxTo =
new UtInLnTxTo();
rz.setUtInTxTo(utInTxTo);
@SuppressWarnings("unchecked")
UtInLnTxToBs utInTxToBs = (UtInLnTxToBs) this.fctBlc
.laz(pRvs, UtInLnTxToBs.class.getSimpleName());
utInTxTo.setUtlInv(utInTxToBs);
@SuppressWarnings("unchecked")
InvTxMeth invTxMeth = (InvTxMeth)
this.fctBlc.laz(pRvs, FctAcc.PURINVTXMETH);
utInTxTo.setInvTxMeth(invTxMeth);
FctOrId fcpigtl = new FctOrId();
utInTxTo.setFctLineTxLn(fcpigtl);
fcpigtl.setCls(PuInGdTxLn.class);
fcpigtl.setDbOr(sritln.getOrm().getDbId());
utInTxTo.setLtlCl(PuInGdTxLn.class);
utInTxTo.setDstTxItLnCl(ItTxDl.class);
utInTxTo.setInvLnCl(PuInGdLn.class);
utInTxTo.setItmCl(Itm.class);
utInTxTo.setIsMutable(false);
utInTxTo.setNeedMkTxCat(true);
utInTxTo.setIsPurch(true);
this.procs.put(PURINVGDLNSV, rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(),
PURINVGDLNSV + " has been created.");
return rz;
}
/**
* Create and put into the Map InvSv.
* @param pRvs request scoped vars
* @return InvSv
* @throws Exception - an exception
*/
private InvSv crPuPurInvSv(
final Map pRvs) throws Exception {
InvSv rz =
new InvSv();
SrInvSv srInvSv = (SrInvSv) this.fctBlc
.laz(pRvs, SrInvSv.class.getSimpleName());
rz.setSrInvSv(srInvSv);
@SuppressWarnings("unchecked")
RvPuSrLn rvsl = (RvPuSrLn)
this.fctBlc.laz(pRvs, RvPuSrLn.class.getSimpleName());
rz.setRvInSrLn(rvsl);
@SuppressWarnings("unchecked")
RvPuGdLn rvgl = (RvPuGdLn)
this.fctBlc.laz(pRvs, RvPuGdLn.class.getSimpleName());
rz.setRvInGdLn(rvgl);
this.procs.put(PURINVSV, rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(),
PURINVSV + " has been created.");
return rz;
}
/**
* Create and put into the Map RetSv.
* @param pRvs request scoped vars
* @return RetSv
* @throws Exception - an exception
*/
private RetSv crPuSalRetSv(
final Map pRvs) throws Exception {
RetSv rz =
new RetSv();
SrRetSv srRetSv = (SrRetSv) this.fctBlc
.laz(pRvs, SrRetSv.class.getSimpleName());
rz.setSrRetSv(srRetSv);
@SuppressWarnings("unchecked")
RvSaRtLn rvgl = (RvSaRtLn)
this.fctBlc.laz(pRvs, RvSaRtLn.class.getSimpleName());
rz.setRvLn(rvgl);
this.procs.put(SARETSV, rz);
this.fctBlc.lazLogStd(pRvs).info(pRvs, getClass(),
SARETSV + " has been created.");
return rz;
}
/**
* Create and put into the Map RetSv.
* @param pRvs request scoped vars
* @return RetSv
* @throws Exception - an exception
*/
private RetSv crPuPurRetSv(
final Map pRvs) throws Exception {
RetSv