Package org.ametys.runtime.model
Class ViewHelper.ViewItemGetter
- java.lang.Object
-
- org.ametys.runtime.model.ViewHelper.ViewItemGetter
-
- Enclosing class:
- ViewHelper
private static class ViewHelper.ViewItemGetter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private ViewItemAccessor_viewItemAccessorprivate String_wholePath
-
Constructor Summary
Constructors Constructor Description ViewItemGetter(ViewItemAccessor viewItemAccessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private ModelViewItemGroup_getDirectModelViewItemGroup(ViewItemAccessor viewItemAccessor, String itemName)private <T> T_getDirectViewItem(ViewItemAccessor viewItemAccessor, String itemName, Class<T> resultClass)private <T> T_getModelViewItem(BiFunction<ViewItemAccessor,String,T> lastPartGetter)(package private) ViewElementgetModelViewItem(String wholePath)(package private) ModelViewItemgetViewItem(String wholePath)(package private) ModelViewItemGroupgetViewItemContainer(String wholePath)
-
-
-
Field Detail
-
_viewItemAccessor
private final ViewItemAccessor _viewItemAccessor
-
_wholePath
private String _wholePath
-
-
Constructor Detail
-
ViewItemGetter
ViewItemGetter(ViewItemAccessor viewItemAccessor)
-
-
Method Detail
-
getViewItem
ModelViewItem getViewItem(String wholePath) throws UndefinedItemPathException, BadItemTypeException
-
getModelViewItem
ViewElement getModelViewItem(String wholePath) throws UndefinedItemPathException, BadItemTypeException
-
getViewItemContainer
ModelViewItemGroup getViewItemContainer(String wholePath) throws UndefinedItemPathException, BadItemTypeException
-
_getModelViewItem
private <T> T _getModelViewItem(BiFunction<ViewItemAccessor,String,T> lastPartGetter) throws UndefinedItemPathException, BadItemTypeException
-
_getDirectModelViewItemGroup
private ModelViewItemGroup _getDirectModelViewItemGroup(ViewItemAccessor viewItemAccessor, String itemName) throws UndefinedItemPathException, BadItemTypeException
-
_getDirectViewItem
private <T> T _getDirectViewItem(ViewItemAccessor viewItemAccessor, String itemName, Class<T> resultClass) throws UndefinedItemPathException, BadItemTypeException
-
-