Package org.openbp.server.persistence

Examples of org.openbp.server.persistence.PersistenceContext.deleteObject()


    Object object = hc.getParam(PARAM_OBJECT);

    if (object != null)
    {
      PersistenceContext pc = hc.getEngine().getPersistenceContextProvider().obtainPersistenceContext();
      pc.deleteObject(object);
    }

    return true;
    // }}*Handler implementation*
  }
 
View Full Code Here


    TransactionGuard tg = new TransactionGuard(pc);
    try
    {
      DbModelItem dbModelItem = findDbModelItem(pc, item);

      pc.deleteObject(dbModelItem);
    }
    catch (PersistenceException e)
    {
      tg.doCatch();
      throw new ModelException("DatabaseOperation", "Error saving descriptor of component '" + item.getQualifier() + "' to the database: "
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.