code: @GET
  	@Path("getEntities")
  	public List<EntityMetaData> getEntities(@QueryParam("path") String path) {
  		String absolutePath = StorageConstants.NEXT_SERVER_ROOT + path;
  		List<EntityMetaData> result = new ArrayList<EntityMetaData>();
  		Entity[] entities = new Entity[0];
  		try {
  			entities = storageService.getEntityChildren(absolutePath);
  		} catch (NotFoundException e) {
  			// TODO
  			e.printStackTrace();
  		}
  		
  		List<Entity> list = Arrays.asList(entities);
  		Collections.sort(list, new Comparator<Entity>() {
  			public int compare(Entity e1, Entity e2) {
  				if (e1 instanceof Folder) {
  					if (e2 instanceof Folder) {
  						return Collator.getInstance().compare(e1.getName(), e2.getName());
  					} else {
  						return -1;
  					}
  				} else {
  					if (e2 instanceof Folder) {
  						return 1;
  					} else {
  						return Collator.getInstance().compare(e1.getName(), e2.getName());
  					}
  				}
  			}
  		});
  		
  		for (Entity entity : list) {
  			result.add(createMetaData(entity));
  		}
  		
  		return  result;
  	}
docs: Path is relative to nextserver root ('/nextServer'). Ex: '/reports/test' <=> '/nextServer/reports/test'
  
  @param path path
  @return list of entities from path