Use Cases » History » Revision 7
Revision 6 (Никита Артемов, 10/09/2013 01:50 PM) → Revision 7/11 (Никита Давыдовский, 10/11/2013 09:47 PM)
h1. Use Cases {{toc}} category-channel = channel in geo2tag, corresponding category of GeTS h2. Points h3. Load points * Send to GeTS (loadPoints) (???) list of categories, coordinates of circle center and radius * GeTS loads from geo2tag (filterCircle) (???) list of category-channels with 2D filter (circle center and radius) * GeTS merges list of points from channels and remove duplicates. * GeTS returns list of points. h3. Update point info (categories and data) * Send to GeTS (updatePoint) (???) point with list of categories and point data * GeTS search category-channels with old version of point * if point data is differ then exists, then GeTS removes point from category-channels, else GeTS removes point from old category-channels * GeTS add point to geo2tag (writeTag) (???) to new category-channels (or to all category-channels if poind data was changed) * GeTS returns OK answer h3. Add point * Send to GeTS (addPoint) (???) point with list of categories and point data * GeTS add point to geo2tag (writeTag) (???) to all category-channels * if requested category-channel doesn't exists then GeTS creates (addChannel) (???) category-channel h3. Remove point from category-channel(s) *(We need function in geo2tag for removing points from channels)* *(We need function in geo2tag for removing channels)* * Send to GeTS (removePoint) (???) point with list of categories * For each category GeTS: *# loads point from category-channel (filterChannel); (???); *# remove deleted point from list; *# delete old category-channel (*need a method*); (???); *# create new category-channel (addChannel) (???) and add list of points (writeTag) (???) h2. Tracks h3. Load track * Send to GeTS (loadTrack) name of track * GeTS loads track from geo2tag (filterChannel), if one exists (filterChannel) * GeTS returns track. h3. Update track's info * Send to GeTS (updateTrackInfo) point with track's field to change: url, name or description list of categories and point data * GeTS makes update track info on search category-channels with old version of point * if point data is differ then exists, then GeTS removes point from category-channels, else GeTS removes point from old category-channels * GeTS add point to geo2tag (alterChannel) (???) to new category-channels (or to all category-channels if poind data was changed) * GeTS returns OK answer h3. Remove track * Send to GeTS (removeTrack) name of track * GeTS removes track from geo2tag (*need a method*), if one exists (???) * GeTS returns OK answer h3. Add track * Send to GeTS (addTrack) with name, description, url, activeRadius * GeTS add channel to geo2tag (addChannel), if there is no channel with given name in the system * GeTS returns OK answer h2. Users h3. Registration h3. Authorization h3. Remove user