Package org.apache.ofbiz.widget.model
Class GridFactory
java.lang.Object
org.apache.ofbiz.widget.model.GridFactory
Widget Library - Grid factory class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModelGrid
createModelGrid
(Document gridFileDoc, ModelReader entityModelReader, VisualTheme visualTheme, DispatchContext dispatchContext, String gridLocation, String gridName) static ModelGrid
createModelGrid
(Element gridElement, ModelReader entityModelReader, VisualTheme visualTheme, DispatchContext dispatchContext, String gridLocation, String gridName) static ModelGrid
getGridFromLocation
(String resourceName, String gridName, ModelReader entityModelReader, VisualTheme visualTheme, DispatchContext dispatchContext) static ModelGrid
getGridFromWebappContext
(String resourceName, String gridName, HttpServletRequest request) getGridsFromLocation
(String resourceName, ModelReader entityModelReader, VisualTheme visualTheme, DispatchContext dispatchContext) readGridDocument
(Document gridFileDoc, ModelReader entityModelReader, VisualTheme visualTheme, DispatchContext dispatchContext, String gridLocation)
-
Constructor Details
-
GridFactory
public GridFactory()
-
-
Method Details
-
getGridsFromLocation
public static Map<String,ModelGrid> getGridsFromLocation(String resourceName, ModelReader entityModelReader, VisualTheme visualTheme, DispatchContext dispatchContext) throws IOException, SAXException, ParserConfigurationException -
getGridFromLocation
public static ModelGrid getGridFromLocation(String resourceName, String gridName, ModelReader entityModelReader, VisualTheme visualTheme, DispatchContext dispatchContext) throws IOException, SAXException, ParserConfigurationException -
getGridFromWebappContext
public static ModelGrid getGridFromWebappContext(String resourceName, String gridName, HttpServletRequest request) throws IOException, SAXException, ParserConfigurationException -
readGridDocument
public static Map<String,ModelGrid> readGridDocument(Document gridFileDoc, ModelReader entityModelReader, VisualTheme visualTheme, DispatchContext dispatchContext, String gridLocation) -
createModelGrid
public static ModelGrid createModelGrid(Document gridFileDoc, ModelReader entityModelReader, VisualTheme visualTheme, DispatchContext dispatchContext, String gridLocation, String gridName) -
createModelGrid
public static ModelGrid createModelGrid(Element gridElement, ModelReader entityModelReader, VisualTheme visualTheme, DispatchContext dispatchContext, String gridLocation, String gridName)
-