Template Addition Of Criterion H.O.P.E. Version 1.0 November 27, 2011 SE 6v81 .002 – Think For You (TFY) Caitlin Fowler Eric Blackburn Frank (Zhenzhou Sun) Frederico Araujo Owolabi Legunsen Sam Shaw Sean Wilson cmf067000@utdallas.edu ejb022000@utdallas.edu zxs101020@utdallas.edu fxs105020@utdallas.edu ool090020@utdallas.edu sas071100@utdallas.edu srw051000@utdallas.edu http://www.utdallas.edu/~sas071100/hope TFY Version 1.0 1. Database 1.1. Add data to be stored regarding criterion. 1.2. Add criterion name as a column to the following database tables: 1.2.1. AHP_Priority_Weights 1.2.1.1. Initialize the new criterion’s value to 100 for all rows. 1.2.2. AHP_bidirectional_weights 1.2.2.1. Initialize the new criterion’s value to 100 for all rows. 2. Contextualizer 1.1. Add call to the criterion’s update methods to the following methods in Contextualizer: 1.1.1. updateStatistics(String table, String icon) 1.1.2. and updateStatistics(String table, String subtable, String icon, String fromLocation, String toLocation) 1.2. Add an update method for: 1.2.1. single table(e.g. Fruit) 1.2.2. and bidirectional tables(e.g. verbs_things). 1.2.3. Update method needs to update the data regarding the click by the user for an option being registered. 1.3. Update the query string in the findAll(String table) method. 1.3.1. Goal is to access data in database related to the accessing of a list of options. 1.3.2. Update method extractIconInfos(Cursor mCursor) so that it sends the information gathered from the database to the IconInfo object created to store the information. 1.4. Add any necessary class variables. 3. Actions Contextualizer 1.1. Update query string in the findAllThingsBy(String action) method. 1.1.1. Goal is to access data in database related to the accessing of a list of options. 1.2. Update query string in the findAllCommentsBy(String thing) method. 1.2.1. Goal is to access data in database related to the accessing of a list of options. 4. Things Contextualizer 1.1. Update query string in the findAllActionsBy(String thing) method. 1.1.1. Goal is to access data in database related to the accessing of a list of options. 5. Icon Info 1.1. Add class variables related to criterion that will be retrieved from the database by any Contextualizer type class and sent to the IconInfo constructor method for initialization. 1.1.1. Add variables to the IconInfo constructor to initialize class variables. 1.1.2. Add setter and getter methods. 6. Criterion 1.1. Implement the abstract class as a base class. Page 2 of 3 TFY Version 1.0 1.1.1. Override abstract methods. 1.1.2. Set the name of the criterion to be the name added to the AHP database table. 7. AHP 1.1. Add creation of the Criterion base class to the class variable “criterionArray”. 8. Settings 1.1. Add reset logic to the SortingConfigurationSettings.java class inside the reset button onclick event in order to reset the criterion’s gathered data to default. Page 3 of 3