public class ComponentFactory extends Object
Modifier and Type | Field and Description |
---|---|
protected static Logger |
logger
create a static logger.
|
protected static Logger logger
public static final void cleanComponentList(javax.servlet.ServletContext application, GlobalContext globalContext)
public static List<IContentVisualComponent> getComponents(ContentContext ctx, MenuElement page) throws Exception
request
- Exception
public static final void updateComponentsLogLevel(javax.servlet.ServletContext application, Level level) throws Exception
Exception
public static List<DynamicComponent> getAllDynamicComponents(ContentContext ctx) throws Exception
Exception
public static Map<String,IContentVisualComponent> getComponents(javax.servlet.ServletContext application) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException
public static IContentVisualComponent[] getComponents(ContentContext ctx) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException
public static IContentVisualComponent[] getComponents(ContentContext ctx, GlobalContext globalContext) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException
public static IContentVisualComponent[] getDefaultComponents(javax.servlet.ServletContext application) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException
public static IContentVisualComponent getComponentWithType(ContentContext ctx, MenuElement page, String type)
public static IContentVisualComponent getComponentWithType(ContentContext ctx, String type)
public static IContentVisualComponent createComponent(ContentContext ctx, ComponentBean bean, MenuElement inPage, IContentVisualComponent previous, IContentVisualComponent next) throws Exception
Exception
public static AbstractVisualComponent CreateComponent(ContentContext ctx, ComponentBean bean, MenuElement inPage, IContentVisualComponent previous, IContentVisualComponent next) throws Exception
Exception
public static List<ComponentBean> getContentByType(ContentContext ctx, String type) throws Exception
Exception
public static IContentVisualComponent createUnlinkedComponentFromMap(ContentContext ctx, Map<String,Object> data) throws Exception
data
- Exception
public static List<IContentVisualComponent> getAllComponentsFromContext(ContentContext ctx) throws Exception
Exception
public static List<IContentVisualComponent> getGlobalContextComponent(ContentContext ctx, int complexityLevel) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException
public static List<IContentVisualComponent> getGlobalContextComponent(ContentContext ctx, int complexityLevel, Template template) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException
public static List<Edit.ComponentWrapper> getComponentForDisplay(ContentContext ctx) throws Exception
Exception
public static void main(String[] args)
Copyright © 2012-2018. All Rights Reserved.