Examples of depth()


Examples of com.avaje.ebeaninternal.api.SpiTransaction.depth()

        executeSqlUpdate(sqlDelete, t);
      }
    }

    // decrease the depth back to what it was
    t.depth(-1);
  }

  private int deleteAssocManyIntersection(EntityBean bean, BeanPropertyAssocMany<?> many, Transaction t) {

    // delete all intersection rows for this bean
View Full Code Here

Examples of com.avaje.ebeaninternal.api.SpiTransaction.depth()

   * </p>
   */
  private void deleteAssocMany(PersistRequestBean<?> request) {

    SpiTransaction t = request.getTransaction();
    t.depth(-1);

    BeanDescriptor<?> desc = request.getBeanDescriptor();
    EntityBean parentBean = request.getEntityBean();

    BeanPropertyAssocOne<?>[] expOnes = desc.propertiesOneExportedDelete();
View Full Code Here

Examples of com.avaje.ebeaninternal.api.SpiTransaction.depth()

        deleteManyDetails(t, desc, parentBean, manys[i], null);
      }
    }

    // restore the depth
    t.depth(+1);
  }

  /**
   * Delete the 'many' detail beans for a given parent bean.
   * <p>
 
View Full Code Here

Examples of com.avaje.ebeaninternal.api.SpiTransaction.depth()

          } else if (prop.isSaveRecurseSkippable(detailBean)) {
            // we can skip saving this bean

          } else {
            SpiTransaction t = request.getTransaction();
            t.depth(-1);
            saveRecurse(detailBean, t, null, insertMode);
            t.depth(+1);
          }
        }
      }
View Full Code Here

Examples of com.avaje.ebeaninternal.api.SpiTransaction.depth()

          } else {
            SpiTransaction t = request.getTransaction();
            t.depth(-1);
            saveRecurse(detailBean, t, null, insertMode);
            t.depth(+1);
          }
        }
      }
    }
  }
View Full Code Here

Examples of com.sun.jdi.request.StepRequest.depth()

            int lastLine = DefaultExecutionTracker.this.lineNumber;
            DefaultExecutionTracker.this.stateChanged(e.thread(), e.location());
            SearchResult stepOverResult;
            try {
                StepRequest r = (StepRequest) e.request();
                if (r.depth() == StepRequest.STEP_OVER) {
                    stepOverResult = DefaultExecutionTracker.this.stepOverEvents(e.thread().frameCount(), lastLine, e.location().lineNumber());
                    liveLine = e.location().lineNumber();
                    stepOverResult.live = true;
                    stepOverResult.liveStack = e.thread().frames();
                    runningLive = true;
View Full Code Here

Examples of com.tll.util.PropertyPath.depth()

   * @param path
   * @return the clientized path
   */
  protected static final <T> String clientizePropertyPath(ISchemaInfo schemaInfo, Class<T> entityClass, String path) {
    final PropertyPath p = new PropertyPath(path);
    if(p.depth() > 2) {
      final String ppp = p.trim(1);
      final ISchemaProperty sp = schemaInfo.getSchemaProperty(entityClass, ppp);
      if(sp.getPropertyType().isNested()) {
        path = ppp + '_' + p.last();
      }
View Full Code Here

Examples of de.anomic.crawler.CrawlProfile.depth()

                                String value = null;
                               
                                location: switch (option) {
                                    case URL:       value = (entry.url() == null) ? null : entry.url().toString(); break location;
                                    case ANCHOR:    value = entry.name(); break location;
                                    case DEPTH:     value = Integer.toString(entry.depth()); break location;
                                    case INITIATOR:
                                        value = (entry.initiator() == null || entry.initiator().length == 0) ? "proxy" : ASCII.String(entry.initiator());
                                        break location;
                                    case MODIFIED:  value = daydate(entry.appdate()); break location;
                                    default: value = null; break location;
View Full Code Here

Examples of de.anomic.crawler.retrieval.Request.depth()

                    profileHandle = urle.profileHandle();
                    profileEntry = profileHandle == null ? null : sb.crawler.getActive(profileHandle.getBytes());
                    prop.put("crawler-queue_list_"+showNum+"_dark", dark ? "1" : "0");
                    prop.putHTML("crawler-queue_list_"+showNum+"_initiator", ((initiator == null) ? "proxy" : initiator.getName()) );
                    prop.put("crawler-queue_list_"+showNum+"_profile", ((profileEntry == null) ? "unknown" : profileEntry.name()));
                    prop.put("crawler-queue_list_"+showNum+"_depth", urle.depth());
                    prop.put("crawler-queue_list_"+showNum+"_modified", daydate(urle.appdate()) );
                    prop.putHTML("crawler-queue_list_"+showNum+"_anchor", urle.name());
                    prop.putHTML("crawler-queue_list_"+showNum+"_url", urle.url().toNormalform(false, true));
                    prop.put("crawler-queue_list_"+showNum+"_hash", urle.url().hash());
                    dark = !dark;
View Full Code Here

Examples of de.anomic.crawler.retrieval.Request.depth()

                                String value = null;
                               
                                location: switch (option) {
                                    case URL:       value = (entry.url() == null) ? null : entry.url().toString(); break location;
                                    case ANCHOR:    value = entry.name(); break location;
                                    case DEPTH:     value = Integer.toString(entry.depth()); break location;
                                    case INITIATOR:
                                        value = (entry.initiator() == null || entry.initiator().length == 0) ? "proxy" : ASCII.String(entry.initiator());
                                        break location;
                                    case MODIFIED:  value = daydate(entry.appdate()); break location;
                                    default: value = null; break location;
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.