Package com.dooapp.gaedo.finders

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


        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

    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

      for(Edge e : edges) {
        Vertex value = e.getInVertex();
        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

  }

  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

TOP

Related Classes of com.dooapp.gaedo.finders.FinderCrudService

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.