Class_ItemSetDetail - GensokyoGears/itemsets GitHub Wiki
Class ItemSetDetail is used as managed bean of itemset_detail.xhtml page.
Properties (with setters and getters):
- JSONObject jsonObj - itemset object, created from keeped in database itemset JSON string.
- ItemSetDisplay is - itemset object, keeps itemset data from database alone.
- Champion champObj - created champion object of champion associated with given itemset.
- String jsonString - raw JSON string of itemset.
Methods:
- JSONObject getJsonObj() - returns JSON object of itemset. ID of itemset is equal to given URL id parameter.
- Item doGetItemObject(String inputID) - get item data from database and inserts those into Item object.
- void download() - handles download of item set file. Increases download counter.
- String doGetBlockHeader(String status, String jungleStatus) - sets block header (title) with additional comment if current block is visible when Smite is chosen.