View Javadoc
1   package org.argeo.cms.ui;
2   
3   import javax.security.auth.login.LoginContext;
4   
5   /** Provides interaction with the CMS system. */
6   public interface CmsView {
7   	String KEY = "org.argeo.cms.ui.view";
8   
9   	UxContext getUxContext();
10  
11  	// NAVIGATION
12  	void navigateTo(String state);
13  
14  	// SECURITY
15  	void authChange(LoginContext loginContext);
16  
17  	void logout();
18  
19  	// void registerCallbackHandler(CallbackHandler callbackHandler);
20  
21  	// SERVICES
22  	void exception(Throwable e);
23  
24  	CmsImageManager getImageManager();
25  
26  	boolean isAnonymous();
27  }