Use Cases » History » Version 7
Никита Давыдовский, 10/11/2013 09:47 PM
| 1 | 1 | Кирилл Кулаков | h1. Use Cases |
|---|---|---|---|
| 2 | |||
| 3 | 7 | Никита Давыдовский | {{toc}} |
| 4 | |||
| 5 | 3 | Кирилл Кулаков | category-channel = channel in geo2tag, corresponding category of GeTS |
| 6 | 1 | Кирилл Кулаков | |
| 7 | 2 | Кирилл Кулаков | h2. Points |
| 8 | |||
| 9 | 1 | Кирилл Кулаков | h3. Load points |
| 10 | |||
| 11 | 7 | Никита Давыдовский | * Send to GeTS (loadPoints) list of categories, coordinates of circle center and radius |
| 12 | * GeTS loads from geo2tag (filterCircle) list of category-channels with 2D filter (circle center and radius) |
||
| 13 | 2 | Кирилл Кулаков | * GeTS merges list of points from channels and remove duplicates. |
| 14 | * GeTS returns list of points. |
||
| 15 | 1 | Кирилл Кулаков | |
| 16 | 2 | Кирилл Кулаков | h3. Update point info (categories and data) |
| 17 | 1 | Кирилл Кулаков | |
| 18 | 7 | Никита Давыдовский | * Send to GeTS (updatePoint) point with list of categories and point data |
| 19 | 2 | Кирилл Кулаков | * GeTS search category-channels with old version of point |
| 20 | 1 | Кирилл Кулаков | * if point data is differ then exists, then GeTS removes point from category-channels, else GeTS removes point from old category-channels |
| 21 | 7 | Никита Давыдовский | * GeTS add point to geo2tag (writeTag) to new category-channels (or to all category-channels if poind data was changed) |
| 22 | 2 | Кирилл Кулаков | * GeTS returns OK answer |
| 23 | |||
| 24 | h3. Add point |
||
| 25 | |||
| 26 | 7 | Никита Давыдовский | * Send to GeTS (addPoint) point with list of categories and point data |
| 27 | * GeTS add point to geo2tag (writeTag) to all category-channels |
||
| 28 | * if requested category-channel doesn't exists then GeTS creates (addChannel) category-channel |
||
| 29 | 2 | Кирилл Кулаков | |
| 30 | h3. Remove point from category-channel(s) |
||
| 31 | |||
| 32 | *(We need function in geo2tag for removing points from channels)* |
||
| 33 | 4 | Кирилл Кулаков | *(We need function in geo2tag for removing channels)* |
| 34 | 1 | Кирилл Кулаков | |
| 35 | 7 | Никита Давыдовский | * Send to GeTS (removePoint) point with list of categories |
| 36 | 2 | Кирилл Кулаков | * For each category GeTS: |
| 37 | 7 | Никита Давыдовский | *# loads point from category-channel (filterChannel); |
| 38 | 2 | Кирилл Кулаков | *# remove deleted point from list; |
| 39 | 7 | Никита Давыдовский | *# delete old category-channel (*need a method*); |
| 40 | *# create new category-channel (addChannel) and add list of points (writeTag) |
||
| 41 | 6 | Никита Артемов | |
| 42 | 1 | Кирилл Кулаков | h2. Tracks |
| 43 | 6 | Никита Артемов | |
| 44 | h3. Load track |
||
| 45 | |||
| 46 | * Send to GeTS (loadTrack) name of track |
||
| 47 | 7 | Никита Давыдовский | * GeTS loads track from geo2tag (filterChannel), if one exists |
| 48 | 6 | Никита Артемов | * GeTS returns track. |
| 49 | |||
| 50 | 1 | Кирилл Кулаков | h3. Update track's info |
| 51 | |||
| 52 | 7 | Никита Давыдовский | * Send to GeTS (updateTrackInfo) with track's field to change: url, name or description |
| 53 | * GeTS makes update track info on geo2tag (alterChannel) |
||
| 54 | 1 | Кирилл Кулаков | * GeTS returns OK answer |
| 55 | |||
| 56 | 6 | Никита Артемов | h3. Remove track |
| 57 | |||
| 58 | * Send to GeTS (removeTrack) name of track |
||
| 59 | 7 | Никита Давыдовский | * GeTS removes track from geo2tag (*need a method*), if one exists |
| 60 | 6 | Никита Артемов | * GeTS returns OK answer |
| 61 | |||
| 62 | h3. Add track |
||
| 63 | |||
| 64 | * Send to GeTS (addTrack) with name, description, url, activeRadius |
||
| 65 | * GeTS add channel to geo2tag (addChannel), if there is no channel with given name in the system |
||
| 66 | * GeTS returns OK answer |
||
| 67 | |||
| 68 | 7 | Никита Давыдовский | h2. Users |
| 69 | |||
| 70 | h3. Registration |
||
| 71 | |||
| 72 | h3. Authorization |
||
| 73 | |||
| 74 | h3. Remove user |