Package org.javlo.component.core
Class ComponentContext
- java.lang.Object
-
- org.javlo.component.core.ComponentContext
-
public class ComponentContext extends Object
-
-
Constructor Summary
Constructors Constructor Description ComponentContext()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNewComponent(IContentVisualComponent comp)
void
clearComponents()
static void
clearPreparedComponent(javax.servlet.http.HttpSession session)
static ComponentContext
getInstance(javax.servlet.http.HttpServletRequest request)
List<IContentVisualComponent>
getNewComponents()
static IContentVisualComponent
getPreparedComponent(javax.servlet.http.HttpSession session)
boolean
isRenderLink()
static void
prepareComponentInsertion(javax.servlet.http.HttpSession session, IContentVisualComponent comp)
void
setRenderLink(boolean renderLink)
-
-
-
Method Detail
-
getInstance
public static ComponentContext getInstance(javax.servlet.http.HttpServletRequest request)
-
addNewComponent
public void addNewComponent(IContentVisualComponent comp)
-
clearComponents
public void clearComponents()
-
getNewComponents
public List<IContentVisualComponent> getNewComponents()
-
isRenderLink
public boolean isRenderLink()
-
setRenderLink
public void setRenderLink(boolean renderLink)
-
prepareComponentInsertion
public static void prepareComponentInsertion(javax.servlet.http.HttpSession session, IContentVisualComponent comp)
-
getPreparedComponent
public static IContentVisualComponent getPreparedComponent(javax.servlet.http.HttpSession session)
-
clearPreparedComponent
public static void clearPreparedComponent(javax.servlet.http.HttpSession session)
-
-