Package es.ipsa.atril.sec.authentication

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


  // --------------------------------------------------------------------------

  public static void log(Class oCls, String sCategory, AtrilEvent.Level eLevel, String sDetails) throws AuthenticationException, SecuritySystemException,PersistenceManagerException {
    AtrilSession oSes = getAdminSession("log");
    oSes.getEventLogger().registerEvent(new AtrilEvent.Builder(oCls.getName(), sCategory, eLevel).setDetails(sDetails).build());
    oSes.commit();
    oSes.disconnect();
    oSes.close();
  }
 
  // --------------------------------------------------------------------------
View Full Code Here


      if (c.type().name().equals("Zesped")) {
        reindexDocument(oSess, c);
        break;
      }
    }
    oSess.commit();
    oSess.disconnect();
    oSess.close();   
  }
 
}
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.