package wenrgise.hrms.ejb.facade;

import java.sql.Timestamp;
import java.util.ArrayList;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;
import wenrgise.common.bean.BaseHeaderBean;
import wenrgise.common.exception.EnrgiseApplicationException;
import wenrgise.common.exception.EnrgiseSystemException;
import wenrgise.common.utility.RecordMetaInfo;
import wenrgise.common.utility.UserInfo;
import wenrgise.common.vo.BaseQueryVO;
import wenrgise.common.vo.LovQueryVO;
import wenrgise.common.vo.LovVO;
import wenrgise.hrms.bean.HrmPrmCriteriaHdrBean;
import wenrgise.hrms.bean.HrmPrmGenAssHdrBean;
import wenrgise.hrms.bean.HrmPrmKPARatingHdrBean;
import wenrgise.hrms.bean.HrmPrmNoticeDtlHdrBean;
import wenrgise.hrms.bean.HrmPrmOrderHdrBean;
import wenrgise.hrms.bean.HrmPrmTestScoreHdrBean;
import wenrgise.hrms.ejb.business.HrmPrmCriteriaBO;
import wenrgise.hrms.ejb.business.HrmPrmExperienceScoreBO;
import wenrgise.hrms.ejb.business.HrmPrmGenAssBO;
import wenrgise.hrms.ejb.business.HrmPrmKPARatingBO;
import wenrgise.hrms.ejb.business.HrmPrmNoticeDtlBO;
import wenrgise.hrms.ejb.business.HrmPrmOrderBO;
import wenrgise.hrms.ejb.business.HrmPrmQualCriteriaBO;
import wenrgise.hrms.ejb.business.HrmPrmTestScoreBO;
import wenrgise.hrms.ejb.business.HrmPrmViewAssBO;
import wenrgise.hrms.vo.HrmPrmCriteriaQVO;
import wenrgise.hrms.vo.HrmPrmExperienceScoreQVO;
import wenrgise.hrms.vo.HrmPrmKPARatingQVO;
import wenrgise.hrms.vo.HrmPrmNoticeDtlQVO;
import wenrgise.hrms.vo.HrmPrmOrderQVO;
import wenrgise.hrms.vo.HrmPrmQualCriteriaQVO;
import wenrgise.hrms.vo.HrmPrmTestScoreQVO;

public class HrmPromotionFacadeBean implements SessionBean {
  SessionContext ctx;
  
  public void ejbCreate() {}
  
  public void ejbActivate() {}
  
  public void ejbPassivate() {}
  
  public void ejbRemove() {}
  
  public void setSessionContext(SessionContext ctx) {
    this.ctx = ctx;
  }
  
  public RecordMetaInfo getHrmPromOrderHdrMetaInfo(HrmPrmOrderQVO oHrmPrmOrderQVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmOrderBO oHrmPrmOrderBO = new HrmPrmOrderBO();
    return oHrmPrmOrderBO.getHrmPromOrderHdrMetaInfo(oHrmPrmOrderQVO);
  }
  
  public ArrayList getHrmPromOrderHdr(HrmPrmOrderQVO oHrmPrmOrderQVO, long lStartPosition, long lLastPosition) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmOrderBO oHrmPrmOrderBO = new HrmPrmOrderBO();
    return oHrmPrmOrderBO.getHrmPromOrderHdr(oHrmPrmOrderQVO, lStartPosition, lLastPosition);
  }
  
  public String saveData(HrmPrmOrderHdrBean oHrmPrmOrderHdrBean, Timestamp oWhenPicked, String sScreenName, String sScreenMode, boolean bHeaderDataChanged, ArrayList oDetailBeanArray, boolean bDetailDataChanged, Timestamp oDetailPicked, UserInfo oUserInfo) throws EnrgiseApplicationException, EnrgiseSystemException {
    try {
      HrmPrmOrderBO oHrmPrmOrderBO = new HrmPrmOrderBO(oUserInfo);
      return oHrmPrmOrderBO.saveData((BaseHeaderBean)oHrmPrmOrderHdrBean, oWhenPicked, sScreenName, sScreenMode, bHeaderDataChanged, oDetailBeanArray, bDetailDataChanged, oDetailPicked);
    } catch (EnrgiseSystemException oSysEx) {
      this.ctx.setRollbackOnly();
      throw oSysEx;
    } catch (EnrgiseApplicationException oAppEx) {
      this.ctx.setRollbackOnly();
      throw oAppEx;
    } 
  }
  
  public LovVO getPromOrderEmpNoQLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmOrderBO oHrmPrmOrderBO = new HrmPrmOrderBO();
    return oHrmPrmOrderBO.getPromOrderEmpNoQLOVData(oLovQueryVO);
  }
  
  public LovVO getPromOrderNoQLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmOrderBO oHrmPrmOrderBO = new HrmPrmOrderBO();
    return oHrmPrmOrderBO.getPromOrderNoQLOVData(oLovQueryVO);
  }
  
  public LovVO getPromToGradeNLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmOrderBO oHrmPrmOrderBO = new HrmPrmOrderBO();
    return oHrmPrmOrderBO.getPromToGradeNLOVData(oLovQueryVO);
  }
  
  public LovVO getPromToDesignationNLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmOrderBO oHrmPrmOrderBO = new HrmPrmOrderBO();
    return oHrmPrmOrderBO.getPromToDesignationNLOVData(oLovQueryVO);
  }
  
  public LovVO getPositionCodeLOVDataQ(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmKPARatingBO oHrmPrmKPARatingBO = new HrmPrmKPARatingBO();
    return oHrmPrmKPARatingBO.getPosNoLOVdataQ(oLovQueryVO);
  }
  
  public LovVO getPositionCodeLOVDataN(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmKPARatingBO oHrmPrmKPARatingBO = new HrmPrmKPARatingBO();
    return oHrmPrmKPARatingBO.getPosNoLOVdataN(oLovQueryVO);
  }
  
  public LovVO getRatingCodeLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmKPARatingBO oHrmPrmKPARatingBO = new HrmPrmKPARatingBO();
    return oHrmPrmKPARatingBO.getRatNoLOVdata(oLovQueryVO);
  }
  
  public LovVO getKPAGrpCodeLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmKPARatingBO oHrmPrmKPARatingBO = new HrmPrmKPARatingBO();
    return oHrmPrmKPARatingBO.getKPAGrpCodeLOVdata(oLovQueryVO);
  }
  
  public LovVO getPromKPARatingGradeNLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmKPARatingBO oHrmPrmKPARatingBO = new HrmPrmKPARatingBO();
    return oHrmPrmKPARatingBO.getPromKPARatingGradeNLOVData(oLovQueryVO);
  }
  
  public LovVO getPromKPARatingDesignationNLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmKPARatingBO oHrmPrmKPARatingBO = new HrmPrmKPARatingBO();
    return oHrmPrmKPARatingBO.getPromKPARatingDesignationNLOVData(oLovQueryVO);
  }
  
  public LovVO getRatNoLOVQdata(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmKPARatingBO oHrmPrmKPARatingBO = new HrmPrmKPARatingBO();
    return oHrmPrmKPARatingBO.getRatNoLOVQdata(oLovQueryVO);
  }
  
  public RecordMetaInfo getKPARatingHeaderMetaInfo(HrmPrmKPARatingQVO oHrmPrmKPARatingQVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmKPARatingBO oHrmPrmKPARatingBO = new HrmPrmKPARatingBO();
    return oHrmPrmKPARatingBO.getPrmKPARatingHdrMetaInfo(oHrmPrmKPARatingQVO);
  }
  
  public ArrayList getKPARatingHeaderInfo(HrmPrmKPARatingQVO oHrmPrmKPARatingQVO, long lStartPosition, long lLastPosition) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmKPARatingBO oHrmPrmKPARatingBO = new HrmPrmKPARatingBO();
    return oHrmPrmKPARatingBO.getPrmKPARatingInfo(oHrmPrmKPARatingQVO, lStartPosition, lLastPosition);
  }
  
  public RecordMetaInfo getPrmKPARatingPosDetailMetaInfo(String lPrimaryKey) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmKPARatingBO oHrmPrmKPARatingBO = new HrmPrmKPARatingBO();
    return oHrmPrmKPARatingBO.getPrmKPARatingPosDtlMetaInfo(lPrimaryKey);
  }
  
  public ArrayList getPrmKPARatingPosDetailInfo(String lPrimaryKey, long lStartPosition, long lLastPosition) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmKPARatingBO oHrmPrmKPARatingBO = new HrmPrmKPARatingBO();
    return oHrmPrmKPARatingBO.getPrmKPARatingPosDtlInfo(lPrimaryKey, lStartPosition, lLastPosition);
  }
  
  public RecordMetaInfo getPrmKPARatingFinDetailMetaInfo(String lPrimaryKey) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmKPARatingBO oHrmPrmKPARatingBO = new HrmPrmKPARatingBO();
    return oHrmPrmKPARatingBO.getPrmKPARatingFinDtlMetaInfo(lPrimaryKey);
  }
  
  public ArrayList getPrmKPARatingFinDetailInfo(String lPrimaryKey, long lStartPosition, long lLastPosition) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmKPARatingBO oHrmPrmKPARatingBO = new HrmPrmKPARatingBO();
    return oHrmPrmKPARatingBO.getPrmKPARatingFinDtlInfo(lPrimaryKey, lStartPosition, lLastPosition);
  }
  
  public String saveData(HrmPrmKPARatingHdrBean oHdrBean, Timestamp oWhenPicked, String sScreenName, String sScreenMode, boolean bHeaderDataChanged, ArrayList oDetailBeanArray, boolean bDetailDataChanged, Timestamp oDetailPicked, UserInfo oUserInfo) throws EnrgiseApplicationException, EnrgiseSystemException {
    try {
      HrmPrmKPARatingBO oHrmPrmKPARatingBO = new HrmPrmKPARatingBO(oUserInfo);
      return oHrmPrmKPARatingBO.saveData((BaseHeaderBean)oHdrBean, oWhenPicked, sScreenName, sScreenMode, bHeaderDataChanged, oDetailBeanArray, bDetailDataChanged, oDetailPicked);
    } catch (EnrgiseSystemException oSysEx) {
      this.ctx.setRollbackOnly();
      throw oSysEx;
    } catch (EnrgiseApplicationException oAppEx) {
      this.ctx.setRollbackOnly();
      throw oAppEx;
    } 
  }
  
  public RecordMetaInfo getHrmPrmTCHdrMetaInfo(HrmPrmTestScoreQVO oHrmPrmTestScoreQVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmTestScoreBO oHrmPrmTestScoreBO = new HrmPrmTestScoreBO();
    return oHrmPrmTestScoreBO.getHrmPrmTCHdrMetaInfo(oHrmPrmTestScoreQVO);
  }
  
  public ArrayList getHrmPrmTCHdrInfo(HrmPrmTestScoreQVO oHrmPrmTestScoreQVO, long lStartPosition, long lLastPosition) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmTestScoreBO oHrmPrmTestScoreBO = new HrmPrmTestScoreBO();
    return oHrmPrmTestScoreBO.getHrmPrmTCHdrInfo(oHrmPrmTestScoreQVO, lStartPosition, lLastPosition);
  }
  
  public RecordMetaInfo getHrmPrmTCDtlMetaInfo(String lPrimaryKey) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmTestScoreBO oHrmPrmTestScoreBO = new HrmPrmTestScoreBO();
    return oHrmPrmTestScoreBO.getHrmPrmTCDtlMetaInfo(lPrimaryKey);
  }
  
  public ArrayList getHrmPrmTCDetailInfo(String lPrimaryKey, long lStartPosition, long lLastPosition) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmTestScoreBO oHrmPrmTestScoreBO = new HrmPrmTestScoreBO();
    return oHrmPrmTestScoreBO.getHrmPrmTCDetailInfo(lPrimaryKey, lStartPosition, lLastPosition);
  }
  
  public LovVO getPositionCodeLOVNew(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmTestScoreBO oHrmPrmTestScoreBO = new HrmPrmTestScoreBO();
    return oHrmPrmTestScoreBO.getPositionCodeLOVNew(oLovQueryVO);
  }
  
  public LovVO getPositionCodeLOVQuery(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmTestScoreBO oHrmPrmTestScoreBO = new HrmPrmTestScoreBO();
    return oHrmPrmTestScoreBO.getPositionCodeLOVQuery(oLovQueryVO);
  }
  
  public String saveData(HrmPrmTestScoreHdrBean oHrmPrmTestScoreHdrBean, Timestamp oWhenPicked, String sScreenName, String sScreenMode, boolean bHeaderDataChanged, ArrayList oDetailBeanArray, boolean bDetailDataChanged, Timestamp oDetailPicked, UserInfo oUserInfo) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmTestScoreBO oHrmPrmTestScoreBO = new HrmPrmTestScoreBO(oUserInfo);
    return oHrmPrmTestScoreBO.saveData((BaseHeaderBean)oHrmPrmTestScoreHdrBean, oWhenPicked, sScreenName, sScreenMode, bHeaderDataChanged, oDetailBeanArray, bDetailDataChanged, oDetailPicked);
  }
  
  public RecordMetaInfo getHrmPrmESDtlMetaInfo(HrmPrmExperienceScoreQVO oHrmPrmExperienceScoreQVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmExperienceScoreBO oHrmPrmExperienceScoreBO = new HrmPrmExperienceScoreBO();
    return oHrmPrmExperienceScoreBO.getHrmPrmESDtlMetaInfo(oHrmPrmExperienceScoreQVO);
  }
  
  public ArrayList getHrmPrmESDtlInfo(HrmPrmExperienceScoreQVO oHrmPrmExperienceScoreQVO, long lStartPosition, long lLastPosition) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmExperienceScoreBO oHrmPrmExperienceScoreBO = new HrmPrmExperienceScoreBO();
    return oHrmPrmExperienceScoreBO.getHrmPrmESDtlInfo(oHrmPrmExperienceScoreQVO, lStartPosition, lLastPosition);
  }
  
  public LovVO getESPositionCodeLOVQuery(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmExperienceScoreBO oHrmPrmExperienceScoreBO = new HrmPrmExperienceScoreBO();
    return oHrmPrmExperienceScoreBO.getESPositionCodeLOVQuery(oLovQueryVO);
  }
  
  public LovVO getESPositionCodeLOVNew(LovQueryVO oLovQueryVO) throws EnrgiseSystemException, EnrgiseApplicationException {
    HrmPrmExperienceScoreBO oHrmPrmExperienceScoreBO = new HrmPrmExperienceScoreBO();
    return oHrmPrmExperienceScoreBO.getESPositionCodeLOVNew(oLovQueryVO);
  }
  
  public String saveHrmPrmESData(BaseHeaderBean oBaseHeaderBean, Timestamp oWhenPicked, String sScreenName, String sScreenMode, boolean bHeaderDataChanged, ArrayList oDetailBeanArray, boolean bDetailDataChanged, Timestamp oDetailPicked, UserInfo oUserInfo) throws EnrgiseApplicationException, EnrgiseSystemException {
    try {
      HrmPrmExperienceScoreBO oHrmPrmExperienceScoreBO = new HrmPrmExperienceScoreBO(oUserInfo);
      return oHrmPrmExperienceScoreBO.saveData(oBaseHeaderBean, oWhenPicked, sScreenName, sScreenMode, bHeaderDataChanged, oDetailBeanArray, bDetailDataChanged, oDetailPicked);
    } catch (EnrgiseSystemException oSysEx) {
      this.ctx.setRollbackOnly();
      throw oSysEx;
    } catch (EnrgiseApplicationException oAppEx) {
      this.ctx.setRollbackOnly();
      throw oAppEx;
    } 
  }
  
  public RecordMetaInfo getPrmQualCriteriaDetailMetaInfo(HrmPrmQualCriteriaQVO oHrmPrmQualCriteriaQVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmQualCriteriaBO oHrmPrmQualCriteriaBO = new HrmPrmQualCriteriaBO();
    return oHrmPrmQualCriteriaBO.getPrmQualCriteriaDetailMetaInfo(oHrmPrmQualCriteriaQVO);
  }
  
  public ArrayList getPrmQualCriteriaDetail(HrmPrmQualCriteriaQVO oHrmPrmQualCriteriaQVO, long lStartPosition, long lLastPosition) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmQualCriteriaBO oHrmPrmQualCriteriaBO = new HrmPrmQualCriteriaBO();
    return oHrmPrmQualCriteriaBO.getPrmQualCriteriaDetail(oHrmPrmQualCriteriaQVO, lStartPosition, lLastPosition);
  }
  
  public String savePrmQualCriteriaDtl(BaseHeaderBean oBaseHeaderBean, Timestamp oWhenPicked, String sScreenName, String sScreenMode, boolean bHeaderDataChanged, ArrayList oDetailBeanArray, boolean bDetailDataChanged, Timestamp oDetailPicked, UserInfo oUserInfo) throws EnrgiseApplicationException, EnrgiseSystemException {
    try {
      HrmPrmQualCriteriaBO oHrmPrmQualCriteriaBO = new HrmPrmQualCriteriaBO(oUserInfo);
      return oHrmPrmQualCriteriaBO.saveData(oBaseHeaderBean, oWhenPicked, sScreenName, sScreenMode, bHeaderDataChanged, oDetailBeanArray, bDetailDataChanged, oDetailPicked);
    } catch (EnrgiseSystemException oSysEx) {
      this.ctx.setRollbackOnly();
      throw oSysEx;
    } catch (EnrgiseApplicationException oAppEx) {
      this.ctx.setRollbackOnly();
      throw oAppEx;
    } 
  }
  
  public LovVO getHrmPrmQualPositionLOVdata(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmQualCriteriaBO oHrmPrmQualCriteriaBO = new HrmPrmQualCriteriaBO();
    LovVO oLovVO = oHrmPrmQualCriteriaBO.getHrmPrmQualPositionLOVdata(oLovQueryVO);
    return oLovVO;
  }
  
  public LovVO getHrmPrmQualificationLOVdata(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmQualCriteriaBO oHrmPrmQualCriteriaBO = new HrmPrmQualCriteriaBO();
    LovVO oLovVO = oHrmPrmQualCriteriaBO.getHrmPrmQualificationLOVdata(oLovQueryVO);
    return oLovVO;
  }
  
  public LovVO getHrmPrmCriteriaPostLOV(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmCriteriaBO oBO = new HrmPrmCriteriaBO();
    return oBO.getPostLOV(oLovQueryVO);
  }
  
  public RecordMetaInfo getHrmPrmCriteriaDetailMetaInfo(HrmPrmCriteriaQVO oQVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmCriteriaBO oBO = new HrmPrmCriteriaBO();
    return oBO.getHrmPrmCriteriaDetailMetaInfo((BaseQueryVO)oQVO);
  }
  
  public ArrayList getHrmPrmCriteriaDetailInfo(HrmPrmCriteriaQVO oQVO, long lStartPosition, long lLastPosition) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmCriteriaBO oBO = new HrmPrmCriteriaBO();
    return oBO.getHrmPrmCriteriaDetailInfo((BaseQueryVO)oQVO, lStartPosition, lLastPosition);
  }
  
  public String saveData(HrmPrmCriteriaHdrBean oHdrBean, Timestamp oWhenPicked, String sScreenName, String sScreenMode, boolean bHeaderDataChanged, ArrayList oDetailBeanArray, boolean bDetailDataChanged, Timestamp oDetailPicked, UserInfo oUserInfo) throws EnrgiseApplicationException, EnrgiseSystemException {
    try {
      HrmPrmCriteriaBO oBO = new HrmPrmCriteriaBO(oUserInfo);
      return oBO.saveData((BaseHeaderBean)oHdrBean, oWhenPicked, sScreenName, sScreenMode, bHeaderDataChanged, oDetailBeanArray, bDetailDataChanged, oDetailPicked);
    } catch (EnrgiseSystemException oSysEx) {
      this.ctx.setRollbackOnly();
      throw oSysEx;
    } catch (EnrgiseApplicationException oAppEx) {
      this.ctx.setRollbackOnly();
      throw oAppEx;
    } 
  }
  
  public LovVO getPromKPARatingFromGradeNLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmCriteriaBO oBO = new HrmPrmCriteriaBO();
    return oBO.getPromKPARatingFromGradeNLOVData(oLovQueryVO);
  }
  
  public LovVO getPromKPARatingFromDesignationNLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmCriteriaBO oBO = new HrmPrmCriteriaBO();
    return oBO.getPromKPARatingFromDesignationNLOVData(oLovQueryVO);
  }
  
  public LovVO getPromKPARatingToGradeNLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmCriteriaBO oBO = new HrmPrmCriteriaBO();
    return oBO.getPromKPARatingToGradeNLOVData(oLovQueryVO);
  }
  
  public LovVO getPromKPARatingToDesignationNLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmCriteriaBO oBO = new HrmPrmCriteriaBO();
    return oBO.getPromKPARatingToDesignationNLOVData(oLovQueryVO);
  }
  
  public RecordMetaInfo getPrmViewAssDetailMetaInfo(String lPrimaryKey, UserInfo oUserInfo) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmViewAssBO oHrmPrmViewAssBO = new HrmPrmViewAssBO(oUserInfo);
    return oHrmPrmViewAssBO.getPrmViewAssDetailMetaInfo(lPrimaryKey);
  }
  
  public ArrayList getPrmViewAssDetail(String lPrimaryKey, long lStartPosition, long lLastPosition, UserInfo oUserInfo) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmViewAssBO oHrmPrmViewAssBO = new HrmPrmViewAssBO(oUserInfo);
    return oHrmPrmViewAssBO.getPrmViewAssDetail(lPrimaryKey, lStartPosition, lLastPosition);
  }
  
  public String savePrmViewAssDtl(BaseHeaderBean oBaseHeaderBean, Timestamp oWhenPicked, String sScreenName, String sScreenMode, boolean bHeaderDataChanged, ArrayList oDetailBeanArray, boolean bDetailDataChanged, Timestamp oDetailPicked, UserInfo oUserInfo) throws EnrgiseApplicationException, EnrgiseSystemException {
    try {
      HrmPrmViewAssBO oHrmPrmViewAssBO = new HrmPrmViewAssBO(oUserInfo);
      return oHrmPrmViewAssBO.saveData(oBaseHeaderBean, oWhenPicked, sScreenName, sScreenMode, bHeaderDataChanged, oDetailBeanArray, bDetailDataChanged, oDetailPicked);
    } catch (EnrgiseSystemException oSysEx) {
      this.ctx.setRollbackOnly();
      throw oSysEx;
    } catch (EnrgiseApplicationException oAppEx) {
      this.ctx.setRollbackOnly();
      throw oAppEx;
    } 
  }
  
  public LovVO getPrmViewAssSiteCodeLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmViewAssBO oHrmPrmViewAssBO = new HrmPrmViewAssBO();
    LovVO oLovVO = oHrmPrmViewAssBO.getPrmViewAssSiteCodeLOVData(oLovQueryVO);
    return oLovVO;
  }
  
  public LovVO getPrmViewAssNoticeCodeLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmViewAssBO oHrmPrmViewAssBO = new HrmPrmViewAssBO();
    LovVO oLovVO = oHrmPrmViewAssBO.getPrmViewAssNoticeCodeLOVData(oLovQueryVO);
    return oLovVO;
  }
  
  public LovVO getPrmViewAssPromotionCodeLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmViewAssBO oHrmPrmViewAssBO = new HrmPrmViewAssBO();
    LovVO oLovVO = oHrmPrmViewAssBO.getPrmViewAssPromotionCodeLOVData(oLovQueryVO);
    return oLovVO;
  }
  
  public LovVO getPrmEmployeeNoLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmViewAssBO oHrmPrmViewAssBO = new HrmPrmViewAssBO();
    LovVO oLovVO = oHrmPrmViewAssBO.getPrmEmployeeNoLOVData(oLovQueryVO);
    return oLovVO;
  }
  
  public LovVO getPrmViewAssPosCodeLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmViewAssBO oHrmPrmViewAssBO = new HrmPrmViewAssBO();
    LovVO oLovVO = oHrmPrmViewAssBO.getPrmViewAssPosCodeLOVData(oLovQueryVO);
    return oLovVO;
  }
  
  public LovVO getNoticeNoLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmNoticeDtlBO oHrmPrmNoticeDtlBO = new HrmPrmNoticeDtlBO();
    return oHrmPrmNoticeDtlBO.getNoticeNoLOVData(oLovQueryVO);
  }
  
  public LovVO getPositionNoLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmNoticeDtlBO oHrmPrmNoticeDtlBO = new HrmPrmNoticeDtlBO();
    return oHrmPrmNoticeDtlBO.getPositionNoLOVData(oLovQueryVO);
  }
  
  public RecordMetaInfo getHrmPrmNoticeDtlHdrMetaInfo(HrmPrmNoticeDtlQVO oHrmPrmNoticeDtlQVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmNoticeDtlBO oHrmPrmNoticeDtlBO = new HrmPrmNoticeDtlBO();
    return oHrmPrmNoticeDtlBO.getHrmPrmNoticeDtlMetaInfo(oHrmPrmNoticeDtlQVO);
  }
  
  public ArrayList getHrmPrmNoticeDtlHdrInfo(HrmPrmNoticeDtlQVO oHrmPrmNoticeDtlQVO, long lStartPosition, long lLastPosition) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmNoticeDtlBO oHrmPrmNoticeDtlBO = new HrmPrmNoticeDtlBO();
    return oHrmPrmNoticeDtlBO.getHrmPrmNoticeDtlHdrInfo(oHrmPrmNoticeDtlQVO, lStartPosition, lLastPosition);
  }
  
  public RecordMetaInfo getPrmNoticeDtlMetaInfo(String lPrimaryKey) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmNoticeDtlBO oHrmPrmNoticeDtlBO = new HrmPrmNoticeDtlBO();
    return oHrmPrmNoticeDtlBO.getPrmNoticeDtlMetaInfo(lPrimaryKey);
  }
  
  public ArrayList getPrmNoticeDtlInfo(String lPrimaryKey, long lStartPosition, long lLastPosition) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmNoticeDtlBO oHrmPrmNoticeDtlBO = new HrmPrmNoticeDtlBO();
    return oHrmPrmNoticeDtlBO.getPrmNoticeDtlInfo(lPrimaryKey, lStartPosition, lLastPosition);
  }
  
  public String saveData(HrmPrmNoticeDtlHdrBean oHdrBean, Timestamp oWhenPicked, String sScreenName, String sScreenMode, boolean bHeaderDataChanged, ArrayList oDetailBeanArray, boolean bDetailDataChanged, Timestamp oDetailPicked, UserInfo oUserInfo) throws EnrgiseApplicationException, EnrgiseSystemException {
    try {
      HrmPrmNoticeDtlBO oHrmPrmNoticeDtlBO = new HrmPrmNoticeDtlBO(oUserInfo);
      return oHrmPrmNoticeDtlBO.saveData((BaseHeaderBean)oHdrBean, oWhenPicked, sScreenName, sScreenMode, bHeaderDataChanged, oDetailBeanArray, bDetailDataChanged, oDetailPicked);
    } catch (EnrgiseSystemException oSysEx) {
      this.ctx.setRollbackOnly();
      throw oSysEx;
    } catch (EnrgiseApplicationException oAppEx) {
      this.ctx.setRollbackOnly();
      throw oAppEx;
    } 
  }
  
  public LovVO getPromNotGradeNLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmNoticeDtlBO oHrmPrmNoticeDtlBO = new HrmPrmNoticeDtlBO();
    return oHrmPrmNoticeDtlBO.getPromNotGradeNLOVData(oLovQueryVO);
  }
  
  public LovVO getPromNotDesignationNLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmNoticeDtlBO oHrmPrmNoticeDtlBO = new HrmPrmNoticeDtlBO();
    return oHrmPrmNoticeDtlBO.getPromNotDesignationNLOVData(oLovQueryVO);
  }
  
  public LovVO getPrmGenAssPrmNoLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmGenAssBO oBO = new HrmPrmGenAssBO();
    LovVO oLovVO = oBO.getPrmNoLOV(oLovQueryVO);
    return oLovVO;
  }
  
  public String savePrmGenAss(BaseHeaderBean oBaseHeaderBean, Timestamp oWhenPicked, String sScreenName, String sScreenMode, boolean bHeaderDataChanged, ArrayList oDetailBeanArray, boolean bDetailDataChanged, Timestamp oDetailPicked, UserInfo oUserInfo) throws EnrgiseApplicationException, EnrgiseSystemException {
    try {
      HrmPrmGenAssBO oBO = new HrmPrmGenAssBO(oUserInfo);
      return oBO.generateAssessment((HrmPrmGenAssHdrBean)oBaseHeaderBean);
    } catch (EnrgiseSystemException oSysEx) {
      this.ctx.setRollbackOnly();
      throw oSysEx;
    } catch (EnrgiseApplicationException oAppEx) {
      this.ctx.setRollbackOnly();
      throw oAppEx;
    } 
  }
  
  public LovVO getPromOrderEmpNoNLOVData(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException {
    HrmPrmOrderBO oHrmPrmOrderBO = new HrmPrmOrderBO();
    return oHrmPrmOrderBO.getPromOrderEmpNoNLOVData(oLovQueryVO);
  }
}
