package wenrgise.workflow.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.LovQueryVO; import wenrgise.common.vo.LovVO; import wenrgise.workflow.ejb.business.WflDOPGrpBO; import wenrgise.workflow.vo.WflDOPGrpQVO; public class WflDOPGrpFacadeBean implements SessionBean { SessionContext ctx; public void ejbCreate() {} public void ejbActivate() {} public void ejbPassivate() {} public void ejbRemove() {} public void setSessionContext(SessionContext ctx) {} public RecordMetaInfo getWflDOPGrpHdrMetaInfo(WflDOPGrpQVO oWflDOPGrpQVO, UserInfo oUserInfo) throws EnrgiseApplicationException, EnrgiseSystemException { WflDOPGrpBO oWflDOPGrpBO = new WflDOPGrpBO(oUserInfo); return oWflDOPGrpBO.getWflDOPGrpHdrMetaInfo(oWflDOPGrpQVO); } public ArrayList getWflDOPGrpHdrInfo(WflDOPGrpQVO oWflDOPGrpQVO, long lStartPosition, long lLastPosition, UserInfo oUserInfo) throws EnrgiseApplicationException, EnrgiseSystemException { WflDOPGrpBO oWflDOPGrpBO = new WflDOPGrpBO(oUserInfo); return oWflDOPGrpBO.getWflDOPGrpHdrInfo(oWflDOPGrpQVO, lStartPosition, lLastPosition); } public String saveWflDOPGrp(BaseHeaderBean oBaseHeaderBean, Timestamp oWhenPicked, String sScreenName, String sScreenMode, boolean bHeaderDataChanged, ArrayList oDetailBeanArray, boolean bDetailDataChanged, Timestamp oDetailPicked, UserInfo oUserInfo) throws EnrgiseApplicationException, EnrgiseSystemException { WflDOPGrpBO oWflDOPGrpBO = new WflDOPGrpBO(oUserInfo); return oWflDOPGrpBO.saveData(oBaseHeaderBean, oWhenPicked, sScreenName, sScreenMode, bHeaderDataChanged, oDetailBeanArray, bDetailDataChanged, oDetailPicked); } public LovVO getWflDOPGrpCodeQLOV(LovQueryVO oLovQueryVO) throws EnrgiseApplicationException, EnrgiseSystemException { WflDOPGrpBO oWflDOPGrpBO = new WflDOPGrpBO(); LovVO oLovVO = oWflDOPGrpBO.getWflDOPGrpCodeQLOV(oLovQueryVO); return oLovVO; } public RecordMetaInfo getWflDOPGrpDtlMetaInfo(String lPrimaryKey, UserInfo oUserInfo) throws EnrgiseApplicationException, EnrgiseSystemException { WflDOPGrpBO oWflDOPGrpBO = new WflDOPGrpBO(oUserInfo); return oWflDOPGrpBO.getWflDOPGrpDtlMetaInfo(lPrimaryKey); } public ArrayList getWflDOPGrpDtlInfo(String lPrimaryKey, long lStartPosition, long lLastPosition, UserInfo oUserInfo) throws EnrgiseApplicationException, EnrgiseSystemException { WflDOPGrpBO oWflDOPGrpBO = new WflDOPGrpBO(oUserInfo); return oWflDOPGrpBO.getWflDOPGrpDtlInfo(lPrimaryKey, lStartPosition, lLastPosition); } }