Package com.dooapp.gaedo.blueprints

Examples of com.dooapp.gaedo.blueprints.AbstractBluePrintsBackedFinderService


  protected abstract boolean doCompare(ComparableType effective);

  @Override
  protected boolean callMatchManaged(Vertex currentVertex, Property finalProperty) {
    AbstractBluePrintsBackedFinderService service = getService();
    Object value = service.loadObject(currentVertex, objectsBeingAccessed);
    return doCompare((ComparableType) value);
  }
View Full Code Here


  protected abstract boolean doCompare(ComparableType effective);

  @Override
  protected boolean callMatchManaged(Vertex currentVertex, Property finalProperty) {
    AbstractBluePrintsBackedFinderService service = getService();
    Object value = service.loadObject(currentVertex, new TreeMap<String, Object>());
    return doCompare((ComparableType) value);
  }
View Full Code Here

    // some first-level check to see if someone else than this transformer has any knowledge of value (because, well, this id will be longer than hell)
    Class<? extends Serializable> valueClass = value.getClass();
    if(repository.containsKey(valueClass)) {
      FinderCrudService dedicated = repository.get(valueClass);
      if (dedicated instanceof AbstractBluePrintsBackedFinderService) {
        AbstractBluePrintsBackedFinderService blueprints= (AbstractBluePrintsBackedFinderService) dedicated;
        blueprints.deleteOutEdgeVertex(objectVertex, valueVertex, value, objectsBeingUpdated);
        return;
      }
    }
    GraphUtils.removeSafely(service.getDatabase(), valueVertex);
  }
View Full Code Here

  protected abstract boolean doCompare(ComparableType effective);

  @Override
  protected boolean callMatchManaged(Vertex currentVertex, Property finalProperty) {
    AbstractBluePrintsBackedFinderService service = getService();
    Object value = service.loadObject(currentVertex, objectsBeingAccessed);
    return doCompare((ComparableType) value);
  }
View Full Code Here

        if(id==null) {
          // we'll try to generate it : that missing id can only refer to managed object
          // (as literals and tuples can't be in that case)
          if(cascade.equals(CascadeType.PERSIST)||cascade.equals(CascadeType.MERGE)) {
            // try to create an id by directly asking the service to do so
            AbstractBluePrintsBackedFinderService service = (AbstractBluePrintsBackedFinderService) repository.get(propertyValue);
            service.getVertexFor(propertyValue, cascade, cache);
            id = GraphUtils.getIdOf(repository, propertyValue);
          }
          if(id==null)
            propertiesWithoutIds.put(p, propertyValue);
        }
View Full Code Here

        if(id==null) {
          // we'll try to generate it : that missing id can only refer to managed object
          // (as literals and tuples can't be in that case)
          if(cascade.equals(CascadeType.PERSIST)||cascade.equals(CascadeType.MERGE)) {
            // try to create an id by directly asking the service to do so
            AbstractBluePrintsBackedFinderService service = (AbstractBluePrintsBackedFinderService) repository.get(propertyValue);
            service.getVertexFor(propertyValue, cascade, cache);
            id = GraphUtils.getIdOf(repository, propertyValue);
          }
          if(id==null)
            propertiesWithoutIds.put(p, propertyValue);
        }
View Full Code Here

  protected abstract boolean doCompare(ComparableType effective);

  @Override
  protected boolean callMatchManaged(Vertex currentVertex, Property finalProperty) {
    AbstractBluePrintsBackedFinderService service = getService();
    Object value = service.loadObject(currentVertex, objectsBeingAccessed);
    return doCompare((ComparableType) value);
  }
View Full Code Here

  protected abstract boolean doCompare(ComparableType effective);

  @Override
  protected boolean callMatchManaged(Vertex currentVertex, Property finalProperty) {
    AbstractBluePrintsBackedFinderService service = getService();
    Object value = service.loadObject(currentVertex, new TreeMap<String, Object>());
    return doCompare((ComparableType) value);
  }
View Full Code Here

  protected abstract boolean doCompare(ComparableType effective);

  @Override
  protected boolean callMatchManaged(Vertex currentVertex, Property finalProperty) {
    AbstractBluePrintsBackedFinderService service = getService();
    Object value = service.loadObject(currentVertex, objectsBeingAccessed);
    return doCompare((ComparableType) value);
  }
View Full Code Here

  protected abstract boolean doCompare(ComparableType effective);

  @Override
  protected boolean callMatchManaged(Vertex currentVertex, Property finalProperty) {
    AbstractBluePrintsBackedFinderService service = getService();
    Object value = service.loadObject(currentVertex, new TreeMap<String, Object>());
    return doCompare((ComparableType) value);
  }
View Full Code Here

TOP

Related Classes of com.dooapp.gaedo.blueprints.AbstractBluePrintsBackedFinderService

Copyright © 2018 www.massapicom. 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.