Examples of FinderCrudService


Examples of com.dooapp.gaedo.finders.FinderCrudService

    try {
      for(Edge e : rootVertex.getOutEdges(GraphUtils.getEdgeNameFor(property))) {
        Vertex value = e.getInVertex();
        Object temporaryValue = GraphUtils.createInstance(classLoader, value);
        if(repository.containsKey(temporaryValue.getClass())) {
          FinderCrudService service = repository.get(temporaryValue.getClass());
          if (service instanceof BluePrintsBackedFinderService) {
            BluePrintsBackedFinderService blueprints= (BluePrintsBackedFinderService) service;
            collection.add(blueprints.loadObject(value, objectsBeingAccessed));
          }
        } else {
View Full Code Here

Examples of com.dooapp.gaedo.finders.FinderCrudService

      }
      return returned;
    }
    Class<? extends Object> valueClass = value.getClass();
    if(repository.containsKey(valueClass)) {
      FinderCrudService service = repository.get(valueClass);
      if(service instanceof BluePrintsBackedFinderService) {
        return ((BluePrintsBackedFinderService) service).getVertexFor(value, cascade, objectsBeingUpdated);
      } else {
        throw new IncompatibleServiceException(service, valueClass);
      }
View Full Code Here

Examples of com.dooapp.gaedo.finders.FinderCrudService

        if (containedClass.isInstance(value)) {
            return getVertexForInstanceOfDataType(value, cascade, objectsBeingUpdated, allowIdGeneration);
        }
        Class<? extends Object> valueClass = value.getClass();
        if (repository.containsKey(valueClass)) {
            FinderCrudService service = repository.get(valueClass);
            if (service instanceof AbstractBluePrintsBackedFinderService) {
                return ((AbstractBluePrintsBackedFinderService) service).getVertexFor(value, cascade, objectsBeingUpdated);
            } else {
                throw new IncompatibleServiceException(service, valueClass);
            }
View Full Code Here

Examples of com.dooapp.gaedo.finders.FinderCrudService

      for(Edge e : edges) {
        Vertex value = e.getVertex(Direction.IN);
        try {
          Object temporaryValue = GraphUtils.createInstance(driver, strategy, classLoader, value, property.getType(), repository, objectsBeingAccessed);
          if(repository.containsKey(temporaryValue.getClass())) {
            FinderCrudService service = repository.get(temporaryValue.getClass());
            if (service instanceof AbstractBluePrintsBackedFinderService) {
              AbstractBluePrintsBackedFinderService<?, ?, ?> blueprints= (AbstractBluePrintsBackedFinderService<?, ?, ?>) service;
              collection.add(blueprints.loadObject(value, objectsBeingAccessed));
            }
          } else {
View Full Code Here

Examples of com.dooapp.gaedo.finders.FinderCrudService

        if (containedClass.isInstance(value)) {
            return getVertexForInstanceOfDataType(value, cascade, objectsBeingUpdated, allowIdGeneration);
        }
        Class<? extends Object> valueClass = value.getClass();
        if (repository.containsKey(valueClass)) {
            FinderCrudService service = repository.get(valueClass);
            if (service instanceof AbstractBluePrintsBackedFinderService) {
                return ((AbstractBluePrintsBackedFinderService) service).getVertexFor(value, cascade, objectsBeingUpdated);
            } else {
                throw new IncompatibleServiceException(service, valueClass);
            }
View Full Code Here

Examples of com.dooapp.gaedo.finders.FinderCrudService

      }
      return returned;
    }
    Class<? extends Object> valueClass = value.getClass();
    if(repository.containsKey(valueClass)) {
      FinderCrudService service = repository.get(valueClass);
      if(service instanceof BluePrintsBackedFinderService) {
        return ((BluePrintsBackedFinderService) service).getVertexFor(value, cascade, objectsBeingUpdated);
      } else {
        throw new IncompatibleServiceException(service, valueClass);
      }
View Full Code Here

Examples of com.dooapp.gaedo.finders.FinderCrudService

  }

  protected Object loadValue(ObjectCache objectsBeingAccessed, Vertex value) {
    Object temporaryValue = GraphUtils.createInstance(driver, strategy, classLoader, value, property.getType(), repository, objectsBeingAccessed);
    if(repository.containsKey(temporaryValue.getClass())) {
      FinderCrudService service = repository.get(temporaryValue.getClass());
      if (service instanceof AbstractBluePrintsBackedFinderService) {
        AbstractBluePrintsBackedFinderService<?, ?, ?> blueprints= (AbstractBluePrintsBackedFinderService<?, ?, ?>) service;
        temporaryValue = blueprints.loadObject(value, objectsBeingAccessed);
      }
    } else {
View Full Code Here

Examples of com.dooapp.gaedo.finders.FinderCrudService

        if (containedClass.isInstance(value)) {
            return getVertexForInstanceOfDataType(value, cascade, objectsBeingUpdated, allowIdGeneration);
        }
        Class<? extends Object> valueClass = value.getClass();
        if (repository.containsKey(valueClass)) {
            FinderCrudService service = repository.get(valueClass);
            if (service instanceof AbstractBluePrintsBackedFinderService) {
                return ((AbstractBluePrintsBackedFinderService) service).getVertexFor(value, cascade, objectsBeingUpdated);
            } else {
                throw new IncompatibleServiceException(service, valueClass);
            }
View Full Code Here

Examples of com.dooapp.gaedo.finders.FinderCrudService

      }
      return returned;
    }
    Class<? extends Object> valueClass = value.getClass();
    if(repository.containsKey(valueClass)) {
      FinderCrudService service = repository.get(valueClass);
      if(service instanceof BluePrintsBackedFinderService) {
        return ((BluePrintsBackedFinderService) service).getVertexFor(value, cascade, objectsBeingUpdated);
      } else {
        throw new IncompatibleServiceException(service, valueClass);
      }
View Full Code Here

Examples of com.dooapp.gaedo.finders.FinderCrudService

      }
      return returned;
    }
    Class<? extends Object> valueClass = value.getClass();
    if(repository.containsKey(valueClass)) {
      FinderCrudService service = repository.get(valueClass);
      if(service instanceof BluePrintsBackedFinderService) {
        return ((BluePrintsBackedFinderService) service).getVertexFor(value, cascade);
      } else {
        throw new IncompatibleServiceException(service, valueClass);
      }
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.