Package org.javlo.module.template
Class TemplateContext
- java.lang.Object
-
- org.javlo.module.template.TemplateContext
-
public class TemplateContext extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static ParentLink
ALL_TEMPLATES_LINK
static ParentLink
HIERARCHY_LINK
static ParentLink
MY_TEMPLATES_LINK
static String
NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkEditMode(ContentContext ctx)
String
getCurrentLink()
static TemplateContext
getInstance(javax.servlet.http.HttpSession session, GlobalContext globalContext, Module module)
List<ParentLink>
getLocalNavigation()
void
setCurrentLink(String currentLink)
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
MY_TEMPLATES_LINK
public static ParentLink MY_TEMPLATES_LINK
-
ALL_TEMPLATES_LINK
public static ParentLink ALL_TEMPLATES_LINK
-
HIERARCHY_LINK
public static ParentLink HIERARCHY_LINK
-
-
Method Detail
-
getInstance
public static final TemplateContext getInstance(javax.servlet.http.HttpSession session, GlobalContext globalContext, Module module) throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
getLocalNavigation
public List<ParentLink> getLocalNavigation()
-
checkEditMode
public void checkEditMode(ContentContext ctx)
-
getCurrentLink
public String getCurrentLink()
-
setCurrentLink
public void setCurrentLink(String currentLink)
-
-