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 - Exceptionpublic static final void updateComponentsLogLevel(javax.servlet.ServletContext application,
Level level)
throws Exception
Exceptionpublic static List<DynamicComponent> getAllDynamicComponents(ContentContext ctx) throws Exception
Exceptionpublic 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
Exceptionpublic static AbstractVisualComponent CreateComponent(ContentContext ctx, ComponentBean bean, MenuElement inPage, IContentVisualComponent previous, IContentVisualComponent next) throws Exception
Exceptionpublic static List<ComponentBean> getContentByType(ContentContext ctx, String type) throws Exception
Exceptionpublic static IContentVisualComponent createUnlinkedComponentFromMap(ContentContext ctx, Map<String,Object> data) throws Exception
data - Exceptionpublic static List<IContentVisualComponent> getAllComponentsFromContext(ContentContext ctx) throws Exception
Exceptionpublic 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
Exceptionpublic static void main(String[] args)
Copyright © 2012-2018. All Rights Reserved.