Use Cases » History » Version 11
Никита Давыдовский, 06/26/2014 11:49 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 | 11 | Никита Давыдовский | h2. Audio Guide |
| 8 | |||
| 9 | h3. Scenarios in GeTS Web Client |
||
| 10 | |||
| 11 | h4. Create track |
||
| 12 | |||
| 13 | * User logs into GeTS Web Client using his Google Account |
||
| 14 | * Then User goes to the "Tracks" page |
||
| 15 | * At this page User hits button "Create track" and as the result creation menu will appear |
||
| 16 | * In this menu User can enter some name, some description and some other information which belongs to the track |
||
| 17 | * After that User can add some points to the track by pressing "Add point" button and then pressing some space on the map |
||
| 18 | * All points will be displayed as a list, where user can enter the name and add some information about a point, including Audio Track |
||
| 19 | * Also every point in a list will have edit and delete buttons |
||
| 20 | |||
| 21 | h2. Points |
||
| 22 | 2 | Кирилл Кулаков | |
| 23 | 1 | Кирилл Кулаков | h3. Load points |
| 24 | |||
| 25 | 7 | Никита Давыдовский | * Send to GeTS (loadPoints) list of categories, coordinates of circle center and radius |
| 26 | * GeTS loads from geo2tag (filterCircle) list of category-channels with 2D filter (circle center and radius) |
||
| 27 | 2 | Кирилл Кулаков | * GeTS merges list of points from channels and remove duplicates. |
| 28 | * GeTS returns list of points. |
||
| 29 | 1 | Кирилл Кулаков | |
| 30 | 2 | Кирилл Кулаков | h3. Update point info (categories and data) |
| 31 | 1 | Кирилл Кулаков | |
| 32 | 7 | Никита Давыдовский | * Send to GeTS (updatePoint) point with list of categories and point data |
| 33 | 2 | Кирилл Кулаков | * GeTS search category-channels with old version of point |
| 34 | 1 | Кирилл Кулаков | * if point data is differ then exists, then GeTS removes point from category-channels, else GeTS removes point from old category-channels |
| 35 | 7 | Никита Давыдовский | * GeTS add point to geo2tag (writeTag) to new category-channels (or to all category-channels if poind data was changed) |
| 36 | 2 | Кирилл Кулаков | * GeTS returns OK answer |
| 37 | |||
| 38 | h3. Add point |
||
| 39 | |||
| 40 | 7 | Никита Давыдовский | * Send to GeTS (addPoint) point with list of categories and point data |
| 41 | * GeTS add point to geo2tag (writeTag) to all category-channels |
||
| 42 | * if requested category-channel doesn't exists then GeTS creates (addChannel) category-channel |
||
| 43 | 2 | Кирилл Кулаков | |
| 44 | h3. Remove point from category-channel(s) |
||
| 45 | |||
| 46 | *(We need function in geo2tag for removing points from channels)* |
||
| 47 | 4 | Кирилл Кулаков | *(We need function in geo2tag for removing channels)* |
| 48 | 1 | Кирилл Кулаков | |
| 49 | 7 | Никита Давыдовский | * Send to GeTS (removePoint) point with list of categories |
| 50 | 2 | Кирилл Кулаков | * For each category GeTS: |
| 51 | 7 | Никита Давыдовский | *# loads point from category-channel (filterChannel); |
| 52 | 8 | Никита Давыдовский | *# removes deleted point from list; |
| 53 | *# deletes old category-channel (*need a method*); |
||
| 54 | *# creates new category-channel (addChannel) and addes list of points (writeTag) |
||
| 55 | 6 | Никита Артемов | |
| 56 | 1 | Кирилл Кулаков | h2. Tracks |
| 57 | 6 | Никита Артемов | |
| 58 | h3. Load track |
||
| 59 | |||
| 60 | * Send to GeTS (loadTrack) name of track |
||
| 61 | 7 | Никита Давыдовский | * GeTS loads track from geo2tag (filterChannel), if one exists |
| 62 | 6 | Никита Артемов | * GeTS returns track. |
| 63 | |||
| 64 | 1 | Кирилл Кулаков | h3. Update track's info |
| 65 | |||
| 66 | 7 | Никита Давыдовский | * Send to GeTS (updateTrackInfo) with track's field to change: url, name or description |
| 67 | * GeTS makes update track info on geo2tag (alterChannel) |
||
| 68 | 1 | Кирилл Кулаков | * GeTS returns OK answer |
| 69 | |||
| 70 | 6 | Никита Артемов | h3. Remove track |
| 71 | |||
| 72 | * Send to GeTS (removeTrack) name of track |
||
| 73 | 7 | Никита Давыдовский | * GeTS removes track from geo2tag (*need a method*), if one exists |
| 74 | 6 | Никита Артемов | * GeTS returns OK answer |
| 75 | |||
| 76 | h3. Add track |
||
| 77 | |||
| 78 | * Send to GeTS (addTrack) with name, description, url, activeRadius |
||
| 79 | 8 | Никита Давыдовский | * GeTS addes channel to geo2tag (addChannel), if there is no channel with given name in the system |
| 80 | 6 | Никита Артемов | * GeTS returns OK answer |
| 81 | |||
| 82 | 9 | Никита Давыдовский | h2. Categories |
| 83 | |||
| 84 | h3. Add category |
||
| 85 | |||
| 86 | * Send to GeTS (addCategory) with name, description, url |
||
| 87 | * GeTS addes channel to geo2tag (addChannel) like category, if there is no channel with given name in the system |
||
| 88 | * GeTS returns OK answer |
||
| 89 | |||
| 90 | 10 | Никита Давыдовский | h3. Get category |
| 91 | 9 | Никита Давыдовский | |
| 92 | * Send to GeTS (getCategory) with the name of the desirable category |
||
| 93 | * GeTS loads category from geo2tag (filterChannel), if this category exists |
||
| 94 | * GeTS returns category with all points that it contains. |
||
| 95 | |||
| 96 | 7 | Никита Давыдовский | h2. Users |
| 97 | |||
| 98 | 1 | Кирилл Кулаков | h3. Registration |
| 99 | |||
| 100 | h3. Authorization |
||
| 101 | |||
| 102 | 8 | Никита Давыдовский | h3. Quit session |
| 103 | |||
| 104 | * Send to GeTS auth-token (quitSession) |
||
| 105 | * GeTS calls quit session in geo2tag (quit) |
||
| 106 | * GeTS returns OK answer |
||
| 107 | |||
| 108 | h3. Remove user |
||
| 109 | |||
| 110 | * Send to GeTS (removeUser) with name and password |
||
| 111 | * GeTS calls delete user in geo2tag (deleteUser) |
||
| 112 | * GeTS returns OK answer |