]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms/src/org/argeo/cms/CmsView.java
Switch to Java 1.8
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / CmsView.java
1 package org.argeo.cms;
2
3 import javax.security.auth.Subject;
4 import javax.security.auth.login.LoginContext;
5
6 import org.argeo.cms.ui.UxContext;
7
8 /** Provides interaction with the CMS system. UNSTABLE API at this stage. */
9 public interface CmsView {
10 public final static String KEY = "org.argeo.cms.view";
11
12 UxContext getUxContext();
13
14 // NAVIGATION
15 public void navigateTo(String state);
16
17 // SECURITY
18 public void authChange(LoginContext loginContext);
19
20 public Subject getSubject();
21
22 public void logout();
23
24 // SERVICES
25 public void exception(Throwable e);
26
27 public CmsImageManager getImageManager();
28 }