test_class.declarator: ALL_NAMESPACES = null
test_class.modifier: private static final
test_class.original_string: private static final String ALL_NAMESPACES = null;
test_class.type: String
test_class.var_name: ALL_NAMESPACES
test_class.declarator: KIND_NAME = "FakeEntity"
test_class.modifier: private static final
test_class.original_string: private static final String KIND_NAME = "FakeEntity";
test_class.type: String
test_class.var_name: KIND_NAME
test_class.declarator: PROPERTY_NAME = "property-name"
test_class.modifier: private static final
test_class.original_string: private static final String PROPERTY_NAME = "property-name";
test_class.type: String
test_class.var_name: PROPERTY_NAME
test_class.declarator: UNINDEXED_PROPERTY_NAME = "unindexed-property-name"
test_class.modifier: private static final
test_class.original_string: private static final String UNINDEXED_PROPERTY_NAME = "unindexed-property-name";
test_class.type: String
test_class.var_name: UNINDEXED_PROPERTY_NAME
test_class.declarator: A_NAME = "a-name"
test_class.modifier: private static final
test_class.original_string: private static final String A_NAME = "a-name";
test_class.type: String
test_class.var_name: A_NAME
test_class.declarator: ANOTHER_NAME = "another-name"
test_class.modifier: private static final
test_class.original_string: private static final String ANOTHER_NAME = "another-name";
test_class.type: String
test_class.var_name: ANOTHER_NAME
test_class.declarator: A_NAMESPACE = "a-namespace"
test_class.modifier: private static final
test_class.original_string: private static final String A_NAMESPACE = "a-namespace";
test_class.type: String
test_class.var_name: A_NAMESPACE
test_class.declarator: DEFAULT_NAMESPACE = ""
test_class.modifier: private static final
test_class.original_string: private static final String DEFAULT_NAMESPACE = "";
test_class.type: String
test_class.var_name: DEFAULT_NAMESPACE
test_class.declarator: entitiesService
test_class.modifier: @Inject
test_class.original_string: @Inject
      EntitiesService entitiesService;
test_class.type: EntitiesService
test_class.var_name: entitiesService
test_class.file: gae-studio/gae-studio-server/src/test/java/com/arcbees/gaestudio/server/service/visualizer/EntitiesServiceImplTest.java
test_class.identifier: EntitiesServiceImplTest
test_class.superclass: extends GaeTestBase
test_case.body: @Test
      public void getCount_twoEntitiesStored_shouldReturnTwoEntities() {
          // given
          createEntityInDatastore(KIND_NAME, PROPERTY_NAME, A_NAME);
          createEntityInDatastore(KIND_NAME, PROPERTY_NAME, ANOTHER_NAME);
  
          // when
          long entityCount = entitiesService.getCount(KIND_NAME, ALL_NAMESPACES);
  
          // then
          assertEquals(2L, entityCount);
      }
test_case.class_method_signature: EntitiesServiceImplTest.getCount_twoEntitiesStored_shouldReturnTwoEntities()
test_case.full_signature: @Test public void getCount_twoEntitiesStored_shouldReturnTwoEntities()
test_case.identifier: getCount_twoEntitiesStored_shouldReturnTwoEntities
test_case.invocations: createEntityInDatastore createEntityInDatastore getCount assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getCount_twoEntitiesStored_shouldReturnTwoEntities()
focal_class.declarator: datastoreHelper
focal_class.modifier: private final
focal_class.original_string: private final DatastoreHelper datastoreHelper;
focal_class.type: DatastoreHelper
focal_class.var_name: datastoreHelper
focal_class.declarator: defaultValueGenerator
focal_class.modifier: private final
focal_class.original_string: private final DefaultValueGenerator defaultValueGenerator;
focal_class.type: DefaultValueGenerator
focal_class.var_name: defaultValueGenerator
focal_class.declarator: countProvider
focal_class.modifier: private final
focal_class.original_string: private final DatastoreCountProvider countProvider;
focal_class.type: DatastoreCountProvider
focal_class.var_name: countProvider
focal_class.file: gae-studio/gae-studio-server/src/main/java/com/arcbees/gaestudio/server/service/visualizer/EntitiesServiceImpl.java
focal_class.identifier: EntitiesServiceImpl
focal_class.interfaces: implements EntitiesService
focal_class.class_method_signature: EntitiesServiceImpl.EntitiesServiceImpl(
              DatastoreHelper datastoreHelper,
              DefaultValueGenerator defaultValueGenerator,
              DatastoreCountProvider countProvider)
focal_class.full_signature: @Inject  EntitiesServiceImpl(
              DatastoreHelper datastoreHelper,
              DefaultValueGenerator defaultValueGenerator,
              DatastoreCountProvider countProvider)
focal_class.identifier: EntitiesServiceImpl
focal_class.modifiers: @Inject
focal_class.parameters: (
              DatastoreHelper datastoreHelper,
              DefaultValueGenerator defaultValueGenerator,
              DatastoreCountProvider countProvider)
focal_class.signature:  EntitiesServiceImpl(
              DatastoreHelper datastoreHelper,
              DefaultValueGenerator defaultValueGenerator,
              DatastoreCountProvider countProvider)
focal_class.class_method_signature: EntitiesServiceImpl.getEntities(String kind, String namespace, Integer offset, Integer limit)
focal_class.full_signature: @Override public Iterable<Entity> getEntities(String kind, String namespace, Integer offset, Integer limit)
focal_class.identifier: getEntities
focal_class.modifiers: @Override public
focal_class.parameters: (String kind, String namespace, Integer offset, Integer limit)
focal_class.return: Iterable<Entity>
focal_class.signature: Iterable<Entity> getEntities(String kind, String namespace, Integer offset, Integer limit)
focal_class.class_method_signature: EntitiesServiceImpl.getEntities(List<Key> keys)
focal_class.full_signature: @Override public Collection<Entity> getEntities(List<Key> keys)
focal_class.identifier: getEntities
focal_class.modifiers: @Override public
focal_class.parameters: (List<Key> keys)
focal_class.return: Collection<Entity>
focal_class.signature: Collection<Entity> getEntities(List<Key> keys)
focal_class.class_method_signature: EntitiesServiceImpl.createEmptyEntity(String kind)
focal_class.full_signature: @Override public Entity createEmptyEntity(String kind)
focal_class.identifier: createEmptyEntity
focal_class.modifiers: @Override public
focal_class.parameters: (String kind)
focal_class.return: Entity
focal_class.signature: Entity createEmptyEntity(String kind)
focal_class.class_method_signature: EntitiesServiceImpl.deleteEntities(String kind, String namespace, DeleteEntities deleteType, String encodedKeys)
focal_class.full_signature: @Override public void deleteEntities(String kind, String namespace, DeleteEntities deleteType, String encodedKeys)
focal_class.identifier: deleteEntities
focal_class.modifiers: @Override public
focal_class.parameters: (String kind, String namespace, DeleteEntities deleteType, String encodedKeys)
focal_class.return: void
focal_class.signature: void deleteEntities(String kind, String namespace, DeleteEntities deleteType, String encodedKeys)
focal_class.class_method_signature: EntitiesServiceImpl.getCount(String kind, String namespace)
focal_class.full_signature: @Override public long getCount(String kind, String namespace)
focal_class.identifier: getCount
focal_class.modifiers: @Override public
focal_class.parameters: (String kind, String namespace)
focal_class.return: long
focal_class.signature: long getCount(String kind, String namespace)
focal_class.class_method_signature: EntitiesServiceImpl.put(Iterable<Entity> entities)
focal_class.full_signature: @Override public List<Key> put(Iterable<Entity> entities)
focal_class.identifier: put
focal_class.modifiers: @Override public
focal_class.parameters: (Iterable<Entity> entities)
focal_class.return: List<Key>
focal_class.signature: List<Key> put(Iterable<Entity> entities)
focal_class.class_method_signature: EntitiesServiceImpl.putAsync(Iterable<Entity> entities)
focal_class.full_signature: @Override public Future<List<Key>> putAsync(Iterable<Entity> entities)
focal_class.identifier: putAsync
focal_class.modifiers: @Override public
focal_class.parameters: (Iterable<Entity> entities)
focal_class.return: Future<List<Key>>
focal_class.signature: Future<List<Key>> putAsync(Iterable<Entity> entities)
focal_class.class_method_signature: EntitiesServiceImpl.createEmptyEntityFromTemplate(Entity template)
focal_class.full_signature: private Entity createEmptyEntityFromTemplate(Entity template)
focal_class.identifier: createEmptyEntityFromTemplate
focal_class.modifiers: private
focal_class.parameters: (Entity template)
focal_class.return: Entity
focal_class.signature: Entity createEmptyEntityFromTemplate(Entity template)
focal_class.class_method_signature: EntitiesServiceImpl.emptyProperties(Entity entity)
focal_class.full_signature: private void emptyProperties(Entity entity)
focal_class.identifier: emptyProperties
focal_class.modifiers: private
focal_class.parameters: (Entity entity)
focal_class.return: void
focal_class.signature: void emptyProperties(Entity entity)
focal_class.class_method_signature: EntitiesServiceImpl.createEmptyKey(Key key)
focal_class.full_signature: private Object createEmptyKey(Key key)
focal_class.identifier: createEmptyKey
focal_class.modifiers: private
focal_class.parameters: (Key key)
focal_class.return: Object
focal_class.signature: Object createEmptyKey(Key key)
focal_class.class_method_signature: EntitiesServiceImpl.createEmptyPropertyObject(Object property)
focal_class.full_signature: private Object createEmptyPropertyObject(Object property)
focal_class.identifier: createEmptyPropertyObject
focal_class.modifiers: private
focal_class.parameters: (Object property)
focal_class.return: Object
focal_class.signature: Object createEmptyPropertyObject(Object property)
focal_class.class_method_signature: EntitiesServiceImpl.deleteSet(String encodedKeys)
focal_class.full_signature: private void deleteSet(String encodedKeys)
focal_class.identifier: deleteSet
focal_class.modifiers: private
focal_class.parameters: (String encodedKeys)
focal_class.return: void
focal_class.signature: void deleteSet(String encodedKeys)
focal_class.class_method_signature: EntitiesServiceImpl.deleteByNamespace(String namespace)
focal_class.full_signature: private void deleteByNamespace(String namespace)
focal_class.identifier: deleteByNamespace
focal_class.modifiers: private
focal_class.parameters: (String namespace)
focal_class.return: void
focal_class.signature: void deleteByNamespace(String namespace)
focal_class.class_method_signature: EntitiesServiceImpl.deleteByKindAndNamespace(String kind, String namespace)
focal_class.full_signature: private void deleteByKindAndNamespace(String kind, String namespace)
focal_class.identifier: deleteByKindAndNamespace
focal_class.modifiers: private
focal_class.parameters: (String kind, String namespace)
focal_class.return: void
focal_class.signature: void deleteByKindAndNamespace(String kind, String namespace)
focal_class.class_method_signature: EntitiesServiceImpl.deleteByKind(String kind)
focal_class.full_signature: private void deleteByKind(String kind)
focal_class.identifier: deleteByKind
focal_class.modifiers: private
focal_class.parameters: (String kind)
focal_class.return: void
focal_class.signature: void deleteByKind(String kind)
focal_class.class_method_signature: EntitiesServiceImpl.deleteAll()
focal_class.full_signature: private void deleteAll()
focal_class.identifier: deleteAll
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void deleteAll()
focal_class.class_method_signature: EntitiesServiceImpl.getAllEntitiesInCurrentNamespace()
focal_class.full_signature: private Iterable<Entity> getAllEntitiesInCurrentNamespace()
focal_class.identifier: getAllEntitiesInCurrentNamespace
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Iterable<Entity>
focal_class.signature: Iterable<Entity> getAllEntitiesInCurrentNamespace()
focal_class.class_method_signature: EntitiesServiceImpl.getAllEntitiesOfKind(String kind)
focal_class.full_signature: private Iterable<Entity> getAllEntitiesOfKind(String kind)
focal_class.identifier: getAllEntitiesOfKind
focal_class.modifiers: private
focal_class.parameters: (String kind)
focal_class.return: Iterable<Entity>
focal_class.signature: Iterable<Entity> getAllEntitiesOfKind(String kind)
focal_class.class_method_signature: EntitiesServiceImpl.deleteEntities(Iterable<Entity> entities)
focal_class.full_signature: private void deleteEntities(Iterable<Entity> entities)
focal_class.identifier: deleteEntities
focal_class.modifiers: private
focal_class.parameters: (Iterable<Entity> entities)
focal_class.return: void
focal_class.signature: void deleteEntities(Iterable<Entity> entities)
focal_class.class_method_signature: EntitiesServiceImpl.deleteKeys(List<Key> keys)
focal_class.full_signature: private void deleteKeys(List<Key> keys)
focal_class.identifier: deleteKeys
focal_class.modifiers: private
focal_class.parameters: (List<Key> keys)
focal_class.return: void
focal_class.signature: void deleteKeys(List<Key> keys)
focal_class.class_method_signature: EntitiesServiceImpl.getAllEntitiesOfAllNamespaces()
focal_class.full_signature: private Iterable<Entity> getAllEntitiesOfAllNamespaces()
focal_class.identifier: getAllEntitiesOfAllNamespaces
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Iterable<Entity>
focal_class.signature: Iterable<Entity> getAllEntitiesOfAllNamespaces()
focal_method.body: @Override
      public long getCount(String kind, String namespace) {
          AppEngineHelper.disableApiHooks();
  
          return countProvider.get(kind, namespace);
      }
focal_method.class_method_signature: EntitiesServiceImpl.getCount(String kind, String namespace)
focal_method.full_signature: @Override public long getCount(String kind, String namespace)
focal_method.identifier: getCount
focal_method.invocations: disableApiHooks get
focal_method.modifiers: @Override public
focal_method.parameters: (String kind, String namespace)
focal_method.return: long
focal_method.signature: long getCount(String kind, String namespace)