Examples of preDelete()


Examples of com.avaje.ebean.event.BeanPersistController.preDelete()

    BeanManager<T> mgr = request.getBeanManager();
    BeanPersister persister = mgr.getBeanPersister();

    BeanPersistController controller = request.getBeanController();
    if (controller == null || controller.preDelete(request)) {
      persister.delete(request);
    }
  }

  /**
 
View Full Code Here

Examples of com.google.appengine.tck.temp.TempData.preDelete()

    protected static void deleteTempDataInTx(DatastoreService ds, Entity entity, Class<? extends TempData> type) {
        Transaction txn = ds.beginTransaction(TransactionOptions.Builder.withXG(true));
        try {
            TempData data = type.newInstance();
            data.fromProperties(entity.getProperties());
            data.preDelete(ds);
            ds.delete(txn, entity.getKey());
            data.postDelete(ds);
            txn.commit();
        } catch (Exception e) {
            throw new IllegalStateException(e);
View Full Code Here

Examples of oracle.toplink.essentials.descriptors.DescriptorQueryManager.preDelete()

            }
        }

        // check whether deep shallow modify is turned on
        if (writeQuery.shouldCascadeParts()) {
            queryManager.preDelete(writeQuery);
        }

        // In a unit of work/writeObjects the preDelete may cause a shallow update of this object,
        // in this case the following second write must do the real delete.
        if (!commitManager.isShallowCommitted(object) && !writeQuery.shouldCascadeParts()) {
View Full Code Here

Examples of org.exoplatform.services.organization.MembershipEventListener.preDelete()

   private void preDelete(Membership membership) throws Exception
   {
      for (int i = 0; i < listeners_.size(); i++)
      {
         MembershipEventListener listener = (MembershipEventListener)listeners_.get(i);
         listener.preDelete(membership);
      }
   }

   private void postDelete(Membership membership) throws Exception
   {
View Full Code Here

Examples of org.exoplatform.services.organization.MembershipEventListener.preDelete()

   private void preDelete(Membership membership) throws Exception
   {
      for (int i = 0; i < listeners_.size(); i++)
      {
         MembershipEventListener listener = (MembershipEventListener)listeners_.get(i);
         listener.preDelete(membership);
      }
   }

   private void postDelete(Membership membership) throws Exception
   {
View Full Code Here

Examples of org.exoplatform.services.organization.MembershipEventListener.preDelete()

    }

    private void preDelete(Membership membership) throws Exception {
        for (int i = 0; i < listeners_.size(); i++) {
            MembershipEventListener listener = (MembershipEventListener) listeners_.get(i);
            listener.preDelete(membership);
        }
    }

    private void postDelete(Membership membership) throws Exception {
        for (int i = 0; i < listeners_.size(); i++) {
View Full Code Here

Examples of org.exoplatform.services.organization.MembershipEventListener.preDelete()

    }

    private void preDelete(Membership membership) throws Exception {
        for (int i = 0; i < listeners_.size(); i++) {
            MembershipEventListener listener = (MembershipEventListener) listeners_.get(i);
            listener.preDelete(membership);
        }
    }

    private void postDelete(Membership membership) throws Exception {
        for (int i = 0; i < listeners_.size(); i++) {
View Full Code Here

Examples of org.exoplatform.services.organization.MembershipEventListener.preDelete()

    }

    private void preDelete(Membership membership) throws Exception {
        for (int i = 0; i < listeners_.size(); i++) {
            MembershipEventListener listener = (MembershipEventListener) listeners_.get(i);
            listener.preDelete(membership);
        }
    }

    private void postDelete(Membership membership) throws Exception {
        for (int i = 0; i < listeners_.size(); i++) {
View Full Code Here

Examples of org.exoplatform.services.organization.MembershipEventListener.preDelete()

   private void preDelete(Membership membership) throws Exception
   {
      for (int i = 0; i < listeners_.size(); i++)
      {
         MembershipEventListener listener = (MembershipEventListener)listeners_.get(i);
         listener.preDelete(membership);
      }
   }

   private void postDelete(Membership membership) throws Exception
   {
View Full Code Here

Examples of org.exoplatform.services.organization.MembershipEventListener.preDelete()

   private void preDelete(Membership membership) throws Exception
   {
      for (int i = 0; i < listeners_.size(); i++)
      {
         MembershipEventListener listener = listeners_.get(i);
         listener.preDelete(membership);
      }
   }

   private void postDelete(Membership membership) throws Exception
   {
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.