Examples of DocumentTypeVO


Examples of org.jallinone.documents.java.DocumentTypeVO

      // set document types in doc.type column...
      res = ClientUtils.getData("loadDocumentTypes",new GridParams());
      d = new Domain("DOC_TYPES_DOC16");
      if (!res.isError()) {
        DocumentTypeVO vo = null;
        java.util.List list = ((VOListResponse)res).getRows();
        for(int i=0;i<list.size();i++) {
          vo = (DocumentTypeVO)list.get(i);
          d.addDomainPair(vo.getProgressiveHie02DOC16(),vo.getDescriptionSYS10());
        }
      }
      colDocType.setDomain(d);

View Full Code Here

Examples of org.jallinone.documents.java.DocumentTypeVO

      // set document types in doc.type column...
      Response res = ClientUtils.getData("loadDocumentTypes",new GridParams());
      Domain d = new Domain("DOC_TYPES_DOC16");
      if (!res.isError()) {
        DocumentTypeVO vo = null;
        java.util.List list = ((VOListResponse)res).getRows();
        for(int i=0;i<list.size();i++) {
          vo = (DocumentTypeVO)list.get(i);
          d.addDomainPair(vo.getProgressiveHie02DOC16(),vo.getDescriptionSYS10());
        }
      }
      colDocType.setDomain(d);
    }
    catch(Exception e) {
View Full Code Here

Examples of org.jallinone.documents.java.DocumentTypeVO

      // set document types in doc.type column...
      Response res = ClientUtils.getData("loadDocumentTypes",new GridParams());
      Domain d = new Domain("DOC_TYPES_DOC16");
      if (!res.isError()) {
        DocumentTypeVO vo = null;
        java.util.List list = ((VOListResponse)res).getRows();
        for(int i=0;i<list.size();i++) {
          vo = (DocumentTypeVO)list.get(i);
          d.addDomainPair(vo.getProgressiveHie02DOC16(),vo.getDescriptionSYS10());
        }
      }
      colDocType.setDomain(d);
    }
    catch(Exception e) {
View Full Code Here

Examples of org.jallinone.documents.java.DocumentTypeVO

      UserSessionParameters userSessionPars,
      HttpServletRequest request,
      HttpServletResponse response,
      HttpSession userSession,
      ServletContext context) {
    DocumentTypeVO vo = (DocumentTypeVO)inputPar;
    try {
      CustomizedWindows cust = ((JAIOUserSessionParameters)userSessionPars).getCustomizedWindows();
      ArrayList customizedFields = cust.getCustomizedFields(new BigDecimal(272));

      DocumentTypes bean = (DocumentTypes)JAIOBeanFactory.getInstance().getBean(DocumentTypes.class);
View Full Code Here

Examples of org.jallinone.documents.java.DocumentTypeVO

  public VOListResponse updateDocumentTypes(ArrayList oldVOs,ArrayList newVOs,String serverLanguageId,String username,ArrayList customizedFields) throws Throwable {

    Connection conn = null;
    try {
      if (this.conn==null) conn = getConn(); else conn = this.conn;
      DocumentTypeVO oldVO = null;
      DocumentTypeVO newVO = null;

      for(int i=0;i<oldVOs.size();i++) {
        oldVO = (DocumentTypeVO)oldVOs.get(i);
        newVO = (DocumentTypeVO)newVOs.get(i);

        // update root description...
        CompanyTranslationUtils.updateTranslation(
            newVO.getCompanyCodeSys01DOC16(),
            oldVO.getDescriptionSYS10(),
            newVO.getDescriptionSYS10(),
            newVO.getProgressiveSys10DOC16(),
            serverLanguageId,
            username,
            conn
        );
      }
View Full Code Here

Examples of org.jallinone.documents.java.DocumentTypeVO

    PreparedStatement pstmt = null;
    Connection conn = null;
    try {
      if (this.conn==null) conn = getConn(); else conn = this.conn;

      DocumentTypeVO vo = null;
      for(int i=0;i<list.size();i++) {
        // logically delete the record in DOC16...
        vo = (DocumentTypeVO)list.get(i);
        pstmt = conn.prepareStatement(
          "update DOC16_DOC_HIERARCHY set ENABLED='N',LAST_UPDATE_USER=?,LAST_UPDATE_DATE=?  where COMPANY_CODE_SYS01='"+vo.getCompanyCodeSys01DOC16()+"' and PROGRESSIVE_HIE02="+vo.getProgressiveHie02DOC16()
        );
        pstmt.setString(1,username);
        pstmt.setTimestamp(2,new java.sql.Timestamp(System.currentTimeMillis()));
        pstmt.execute();
        pstmt.close();
View Full Code Here

Examples of org.jallinone.documents.java.DocumentTypeVO

   */
  private void init() {
    Response res = ClientUtils.getData("loadDocumentTypes",new GridParams());
    Domain d = new Domain("DOCUMENT_TYPES");
    if (!res.isError()) {
      DocumentTypeVO vo = null;
      docTypeList = ((VOListResponse)res).getRows();
      for(int i=0;i<docTypeList.size();i++) {
        vo = (DocumentTypeVO)docTypeList.get(i);
        d.addDomainPair(vo.getProgressiveHie02DOC16(),vo.getDescriptionSYS10());
      }
    }
    comboBoxControl1.setDomain(d);
    comboBoxControl1.getComboBox().addItemListener(new ItemListener() {
      public void itemStateChanged(ItemEvent e) {
        if (e.getStateChange()==e.SELECTED) {
          DocumentTypeVO vo = (DocumentTypeVO)docTypeList.get(comboBoxControl1.getSelectedIndex());
          hierarTreePanel.setCompanyCode(vo.getCompanyCodeSys01DOC16());
          hierarTreePanel.setProgressiveHIE02((BigDecimal)comboBoxControl1.getValue());
          hierarTreePanel.reloadTree();
          grid.clearData();
          filterPanel.clearData();
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.