Package es.ipsa.atril.doc.user

Examples of es.ipsa.atril.doc.user.Document.attribute()


      for (AccountingAccountDefault d : aDefs) {
        try {
          oAccountingAccounts.seek(oSes, d.getString("account_code"));
        } catch (ElementNotFoundException enfe) {
          Document a = oDms.newDocument(oDtp, p);
          a.attribute("account_code").set(d.getString("account_code"));
          a.attribute("account_desc").set(d.getString("account_desc"));
          a.attribute("account_uuid").set(Gadgets.generateUUID());
          a.attribute("is_active").set("1");
          a.save("");
          oIdx.indexDocument(a);         
View Full Code Here


        try {
          oAccountingAccounts.seek(oSes, d.getString("account_code"));
        } catch (ElementNotFoundException enfe) {
          Document a = oDms.newDocument(oDtp, p);
          a.attribute("account_code").set(d.getString("account_code"));
          a.attribute("account_desc").set(d.getString("account_desc"));
          a.attribute("account_uuid").set(Gadgets.generateUUID());
          a.attribute("is_active").set("1");
          a.save("");
          oIdx.indexDocument(a);         
        }
View Full Code Here

          oAccountingAccounts.seek(oSes, d.getString("account_code"));
        } catch (ElementNotFoundException enfe) {
          Document a = oDms.newDocument(oDtp, p);
          a.attribute("account_code").set(d.getString("account_code"));
          a.attribute("account_desc").set(d.getString("account_desc"));
          a.attribute("account_uuid").set(Gadgets.generateUUID());
          a.attribute("is_active").set("1");
          a.save("");
          oIdx.indexDocument(a);         
        }
      }   
View Full Code Here

        } catch (ElementNotFoundException enfe) {
          Document a = oDms.newDocument(oDtp, p);
          a.attribute("account_code").set(d.getString("account_code"));
          a.attribute("account_desc").set(d.getString("account_desc"));
          a.attribute("account_uuid").set(Gadgets.generateUUID());
          a.attribute("is_active").set("1");
          a.save("");
          oIdx.indexDocument(a);         
        }
      }   
View Full Code Here

      if (getString("thread_id").length()>0) {
        SortableList<Document> oThd = oDms.query("Message$thread_id='"+getString("thread_id")+"'");
        if (!oThd.isEmpty()) {
          for (Document m : oThd) {
            Document oMsg = oDms.getDocument(m.id());
            oMsg.attribute("is_archived").set("1");
            oMsg.save("archive");
          }         
        }
      }
    }
View Full Code Here

  public CaptureType create(AtrilSession oSes, String sMimeType, boolean bMultiPage, boolean bMultiSheet,
                boolean bSign, boolean bServerSign, String sName, String sDescripcion) {
    CaptureType oCpt = new CaptureType();
    Dms oDms = oSes.getDms();
    Document oDoc = oDms.newDocument(oDms.getDocumentType(oCpt.getTypeName()), getDocument());
    oDoc.attribute("name").set(sName);
    oDoc.attribute("description").set(sDescripcion);
    oDoc.attribute("MimeType").set(sMimeType);
    oDoc.attribute("MultiPageItem").set(bMultiPage ? 1 : 0);
    oDoc.attribute("MultiSheetDocument").set(bMultiSheet ? 1 : 0);
    oDoc.attribute("Sign").set(bSign ? 1 : 0);
View Full Code Here

                boolean bSign, boolean bServerSign, String sName, String sDescripcion) {
    CaptureType oCpt = new CaptureType();
    Dms oDms = oSes.getDms();
    Document oDoc = oDms.newDocument(oDms.getDocumentType(oCpt.getTypeName()), getDocument());
    oDoc.attribute("name").set(sName);
    oDoc.attribute("description").set(sDescripcion);
    oDoc.attribute("MimeType").set(sMimeType);
    oDoc.attribute("MultiPageItem").set(bMultiPage ? 1 : 0);
    oDoc.attribute("MultiSheetDocument").set(bMultiSheet ? 1 : 0);
    oDoc.attribute("Sign").set(bSign ? 1 : 0);
    oDoc.attribute("SignInClient").set(bSign ? 1 : 0);
View Full Code Here

    CaptureType oCpt = new CaptureType();
    Dms oDms = oSes.getDms();
    Document oDoc = oDms.newDocument(oDms.getDocumentType(oCpt.getTypeName()), getDocument());
    oDoc.attribute("name").set(sName);
    oDoc.attribute("description").set(sDescripcion);
    oDoc.attribute("MimeType").set(sMimeType);
    oDoc.attribute("MultiPageItem").set(bMultiPage ? 1 : 0);
    oDoc.attribute("MultiSheetDocument").set(bMultiSheet ? 1 : 0);
    oDoc.attribute("Sign").set(bSign ? 1 : 0);
    oDoc.attribute("SignInClient").set(bSign ? 1 : 0);
    oDoc.attribute("SignInServer").set(bServerSign ? 1 : 0);
View Full Code Here

    Dms oDms = oSes.getDms();
    Document oDoc = oDms.newDocument(oDms.getDocumentType(oCpt.getTypeName()), getDocument());
    oDoc.attribute("name").set(sName);
    oDoc.attribute("description").set(sDescripcion);
    oDoc.attribute("MimeType").set(sMimeType);
    oDoc.attribute("MultiPageItem").set(bMultiPage ? 1 : 0);
    oDoc.attribute("MultiSheetDocument").set(bMultiSheet ? 1 : 0);
    oDoc.attribute("Sign").set(bSign ? 1 : 0);
    oDoc.attribute("SignInClient").set(bSign ? 1 : 0);
    oDoc.attribute("SignInServer").set(bServerSign ? 1 : 0);
    oDoc.attribute("IsPDFA").set(0);
View Full Code Here

    Document oDoc = oDms.newDocument(oDms.getDocumentType(oCpt.getTypeName()), getDocument());
    oDoc.attribute("name").set(sName);
    oDoc.attribute("description").set(sDescripcion);
    oDoc.attribute("MimeType").set(sMimeType);
    oDoc.attribute("MultiPageItem").set(bMultiPage ? 1 : 0);
    oDoc.attribute("MultiSheetDocument").set(bMultiSheet ? 1 : 0);
    oDoc.attribute("Sign").set(bSign ? 1 : 0);
    oDoc.attribute("SignInClient").set(bSign ? 1 : 0);
    oDoc.attribute("SignInServer").set(bServerSign ? 1 : 0);
    oDoc.attribute("IsPDFA").set(0);
    oDoc.attribute("XMPMetadataStructure").set("");
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.