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