Package com.axelor.meta
Class MetaStore
- java.lang.Object
-
- com.axelor.meta.MetaStore
-
public final class MetaStore extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
clear()
static Map<String,Object>
findFields(Class<?> modelClass, Collection<String> names)
static Map<String,Object>
findJsonFields(String jsonModel)
static Map<String,Object>
findJsonFields(String modelName, String fieldName)
static Action
getAction(String name)
static Map<String,Object>
getPermissions(Class<?> model)
static Selection.Option
getSelectionItem(String selection, String value)
static List<Selection.Option>
getSelectionList(Class<?> enumType)
static List<Selection.Option>
getSelectionList(Class<? extends Model> model, String orderBy, int limit)
static List<Selection.Option>
getSelectionList(String selection)
static void
invalidate(String name)
-
-
-
Method Detail
-
findFields
public static Map<String,Object> findFields(Class<?> modelClass, Collection<String> names)
-
findJsonFields
public static Map<String,Object> findJsonFields(String modelName, String fieldName)
-
getSelectionList
public static List<Selection.Option> getSelectionList(Class<?> enumType)
-
getSelectionList
public static List<Selection.Option> getSelectionList(Class<? extends Model> model, String orderBy, int limit)
-
getSelectionList
public static List<Selection.Option> getSelectionList(String selection)
-
getSelectionItem
public static Selection.Option getSelectionItem(String selection, String value)
-
clear
public static void clear()
-
invalidate
public static void invalidate(String name)
-
-