Package es.ipsa.atril.doc.user

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


    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("");
    oDoc.attribute("bitsDepth").set(0);
View Full Code Here


    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("");
    oDoc.attribute("bitsDepth").set(0);
    oDoc.save("");
View Full Code Here

    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("");
    oDoc.attribute("bitsDepth").set(0);
    oDoc.save("");
    oCpt.setDocument(oDoc);
View Full Code Here

    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("");
    oDoc.attribute("bitsDepth").set(0);
    oDoc.save("");
    oCpt.setDocument(oDoc);
    oDoc = oDms.newDocument(oDms.getDocumentType("Fields"), oCpt.getDocument());
View Full Code Here

    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("");
    oDoc.attribute("bitsDepth").set(0);
    oDoc.save("");
    oCpt.setDocument(oDoc);
    oDoc = oDms.newDocument(oDms.getDocumentType("Fields"), oCpt.getDocument());
    oDoc.save("");
View Full Code Here

    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("");
    oDoc.attribute("bitsDepth").set(0);
    oDoc.save("");
    oCpt.setDocument(oDoc);
    oDoc = oDms.newDocument(oDms.getDocumentType("Fields"), oCpt.getDocument());
    oDoc.save("");
    return oCpt;
View Full Code Here

      }
    }
    if (null==sId) {
      Dms oDms = oSes.getDms();
      Document oCredits = oDms.newDocument(oDms.getDocumentType("CustomerAccountCredits"), getDocument());
      oCredits.attribute("account_id").set(getString("account_id"));
      oCredits.attribute("credits_used").set(BigDecimal.ZERO);
      oCredits.attribute("credits_left").set(BigDecimal.ZERO);
      oCredits.save("");
      oAccCredits = new CustomerAccountCredits(oCredits);
      oSes.commit();
View Full Code Here

    }
    if (null==sId) {
      Dms oDms = oSes.getDms();
      Document oCredits = oDms.newDocument(oDms.getDocumentType("CustomerAccountCredits"), getDocument());
      oCredits.attribute("account_id").set(getString("account_id"));
      oCredits.attribute("credits_used").set(BigDecimal.ZERO);
      oCredits.attribute("credits_left").set(BigDecimal.ZERO);
      oCredits.save("");
      oAccCredits = new CustomerAccountCredits(oCredits);
      oSes.commit();
    } else {
View Full Code Here

    if (null==sId) {
      Dms oDms = oSes.getDms();
      Document oCredits = oDms.newDocument(oDms.getDocumentType("CustomerAccountCredits"), getDocument());
      oCredits.attribute("account_id").set(getString("account_id"));
      oCredits.attribute("credits_used").set(BigDecimal.ZERO);
      oCredits.attribute("credits_left").set(BigDecimal.ZERO);
      oCredits.save("");
      oAccCredits = new CustomerAccountCredits(oCredits);
      oSes.commit();
    } else {
      oAccCredits = new CustomerAccountCredits(oSes.getDms(), sId);     
View Full Code Here

    Document oPayers = oDms.newDocument(oDms.getDocumentType("TaxPayers"), oNew.getDocument());
    oPayers.save("");
    oIdx.indexDocument(oPayers);

    Document oCredits = oDms.newDocument(oDms.getDocumentType("CustomerAccountCredits"), oNew.getDocument());
    oCredits.attribute("account_id").set(oNew.getString("account_id"));
    oCredits.attribute("credits_used").set(0l);
    oCredits.attribute("credits_left").set(0l);
    oCredits.save("");
    oIdx.indexDocument(oCredits);
   
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.