| java.lang.Object org.romaframework.module.admin.InfoHelper
InfoHelper | public class InfoHelper (Code) | | Helper class to manage Info objects. Caches InfoCategory and Info istances.
author: Luca Garulli (luca.garulli@assetdata.it) |
Method Summary | |
public Info | getInfo(String iCategoryName, String iText) | public Info | getInfo(InfoCategory iType, String iText) | public Info | getInfo(String iCategoryName, Integer iValue) | public Info | getInfo(InfoCategory iType, Integer iValue) | public Info[] | getInfoArray(String iCategoryName) | public Info[] | getInfoArray(InfoCategory iType) | public InfoCategory | getInfoCategory(String iName) | public InfoCategory[] | getInfoCategoryArray() | public List<InfoCategory> | getInfoCategoryList() | public List<Info> | getInfoList(String iCategoryName) | public List<Info> | getInfoList(InfoCategory iType) Return all Info objects for a type. | public static InfoHelper | getInstance() | public void | invalidateCache() | public Info | setInfo(String iCategoryName, String iText) | public Info | setInfo(String iCategoryName, String iText, Integer iValue) | public Info | setInfo(InfoCategory iType, String iText) | public Info | setInfo(InfoCategory iType, String iText, Integer iValue) | public InfoCategory | setInfoCategory(String iName) |
InfoHelper | protected InfoHelper()(Code) | | |
getInfoArray | public Info[] getInfoArray(InfoCategory iType)(Code) | | Return all Info objects for a category
Parameters: iType - Specifies the category Info[] array |
getInfoList | public List<Info> getInfoList(InfoCategory iType)(Code) | | Return all Info objects for a type. Uses a cache to achieve best performances.
Parameters: iType - Specifies the category List containing all Info instances for that category |
invalidateCache | public void invalidateCache()(Code) | | |
|
|