]> git.argeo.org Git - lgpl/argeo-commons.git/blob - CmsSession.java
0f4e5410900761a21546c518adadc04da852dd42
[lgpl/argeo-commons.git] / CmsSession.java
1 package org.argeo.cms;
2
3 /** Provides interaction with the CMS system. UNSTABLE API at this stage. */
4 public interface CmsSession {
5 public final static String KEY = "org.argeo.connect.web.cmsSession";
6
7 final ThreadLocal<CmsSession> current = new ThreadLocal<CmsSession>();
8
9 public void navigateTo(String state);
10
11 public void authChange();
12
13 public void exception(Throwable e);
14
15 public Object local(Msg msg);
16
17 public String getState();
18
19 public CmsImageManager getImageManager();
20 }