Project

General

Profile

Use Cases » History » Version 2

Кирилл Кулаков, 09/30/2013 04:54 PM

1 1 Кирилл Кулаков
h1. Use Cases
2
3 2 Кирилл Кулаков
category-channel = channel, corresponding category
4 1 Кирилл Кулаков
5 2 Кирилл Кулаков
h2. Points
6
7
h3. Load points
8
9
* Send to GeTS (???) list of categories, coordinates of circle center and radius
10
* GeTS loads from geo2tag (???) list of category-channels with 2D filter (circle center and radius)
11
* GeTS merges list of points from channels and remove duplicates.
12 1 Кирилл Кулаков
* GeTS returns list of points.
13 2 Кирилл Кулаков
14
h3. Update point info (categories and data)
15
16
* Send to GeTS (???) point with list of categories and point data
17
* GeTS search category-channels with old version of point
18
* if point data is differ then exists, then GeTS removes point from category-channels, else GeTS removes point from old category-channels
19
* GeTS add point to geo2tag (???) to new category-channels (or to all category-channels if poind data was changed)
20
* GeTS returns OK answer
21
22
h3. Add point
23
24
* Send to GeTS (???) point with list of categories and point data
25
* GeTS add point to geo2tag (???) to all category-channels
26
27
h3. Remove point from category-channel(s)
28
29
*(We need function in geo2tag for removing points from channels)*
30
31
* Send to GeTS (???) point with list of categories
32
* For each category GeTS:
33
*# loads point from category-channel (???); 
34
*# remove deleted point from list;
35
*# delete old category-channel (???);
36
*# create new category-channel (???) and add list of points (???)