]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms/src/org/argeo/cms/CmsSession.java
Use Argeo TP v2.1.10
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / CmsSession.java
1 package org.argeo.cms;
2
3 import javax.security.auth.Subject;
4
5 import org.argeo.cms.i18n.Msg;
6
7 /** Provides interaction with the CMS system. UNSTABLE API at this stage. */
8 public interface CmsSession {
9 public final static String KEY = "org.argeo.connect.web.cmsSession";
10
11 final ThreadLocal<CmsSession> current = new ThreadLocal<CmsSession>();
12
13 // NAVIGATION
14 public void navigateTo(String state);
15
16 // SECURITY
17 public void authChange();
18
19 public Subject getSubject();
20
21 // SERVICES
22 public void exception(Throwable e);
23
24 public Object local(Msg msg);
25
26 public CmsImageManager getImageManager();
27 }