Package es.ipsa.atril.sec.authentication

Examples of es.ipsa.atril.sec.authentication.AtrilSession.commit()


      try {
        oCnf = Configurations.top(oSess);
      } catch (ElementNotFoundException enfe) {
        Document oDnf = oDms.newDocument(oDms.getDocumentType("Configurations"), oDms.getRootDocument());
        oDnf.save("");
        oSess.commit();
        oCnf = new Configurations(oDnf);
        oUsrsGrp.grantReadOnly(oDnf);
        oOpersGrp.grantReadOnly(oDnf);
      }
      Document oEns = oDms.newDocument(oDms.getDocumentType("Endorsements"), oCnf.getDocument());
View Full Code Here


        oUsrsGrp.grantReadOnly(oDnf);
        oOpersGrp.grantReadOnly(oDnf);
      }
      Document oEns = oDms.newDocument(oDms.getDocumentType("Endorsements"), oCnf.getDocument());
      oEns.save("");
      oSess.commit();
      Document oEnd = oDms.newDocument(oDms.getDocumentType("Endorsement"), oEns);
      oEnd.attribute("endorsement_id").set("01");
      oEnd.attribute("endorsement_mask").set("JJJUUUSSS%03d");
      oEnd.attribute("endorsement_text").set("Ipsa [date_dd/MM/yyyy] [Endorsement.endorsement_mask]");
      oEnd.save("");
View Full Code Here

      Document oEnd = oDms.newDocument(oDms.getDocumentType("Endorsement"), oEns);
      oEnd.attribute("endorsement_id").set("01");
      oEnd.attribute("endorsement_mask").set("JJJUUUSSS%03d");
      oEnd.attribute("endorsement_text").set("Ipsa [date_dd/MM/yyyy] [Endorsement.endorsement_mask]");
      oEnd.save("");
      oSess.commit();
    }
   
    try {
      oZespedDoc = Zesped.top(oSess).getDocument();
    } catch (ElementNotFoundException enfe) {
View Full Code Here

    } catch (ElementNotFoundException enfe) {
      Document oVatPcts = createDocumentOfType(oIdx, oDms, "VatPercents", oZespedDoc);
      oUsrsGrp.grantReadOnly(oVatPcts);
    }
     
      oSess.commit();
      oSess.disconnect();
      oSess.close();
  }
 
  // ---------------------------------------------------------------------------
View Full Code Here

    oCon.close("ModelManager");

  AtrilSession oSes = DAO.getAdminSession("ModelManager");

  createDeposits(oSes)
  oSes.commit();
 
  createCaptureTypes(oSes);
  oSes.commit();
 
  oMan.writeServiceFlavors(oSes);
View Full Code Here

  createDeposits(oSes)
  oSes.commit();
 
  createCaptureTypes(oSes);
  oSes.commit();
 
  oMan.writeServiceFlavors(oSes);
  oSes.commit();

  oMan.writeProducts(oSes);
View Full Code Here

 
  createCaptureTypes(oSes);
  oSes.commit();
 
  oMan.writeServiceFlavors(oSes);
  oSes.commit();

  oMan.writeProducts(oSes);
  oSes.commit();
 
  oMan.writeVatPercents(oSes);
View Full Code Here

 
  oMan.writeServiceFlavors(oSes);
  oSes.commit();

  oMan.writeProducts(oSes);
  oSes.commit();
 
  oMan.writeVatPercents(oSes);
  oSes.commit();
 
  oMan.writeAccountingAccounts(oSes);
View Full Code Here

  oMan.writeProducts(oSes);
  oSes.commit();
 
  oMan.writeVatPercents(oSes);
  oSes.commit();
 
  oMan.writeAccountingAccounts(oSes);
  oSes.commit();

  oMan.writeCountries(oSes);
View Full Code Here

 
  oMan.writeVatPercents(oSes);
  oSes.commit();
 
  oMan.writeAccountingAccounts(oSes);
  oSes.commit();

  oMan.writeCountries(oSes);
  oSes.commit();

  oMan.writeStates(oSes, "es");
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.