]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.cms.ui/src/org/argeo/cms/ui/CmsView.java
Move UI classes to cms.ui
[lgpl/argeo-commons.git] / org.argeo.cms.ui / src / org / argeo / cms / ui / CmsView.java
diff --git a/org.argeo.cms.ui/src/org/argeo/cms/ui/CmsView.java b/org.argeo.cms.ui/src/org/argeo/cms/ui/CmsView.java
new file mode 100644 (file)
index 0000000..8ef468a
--- /dev/null
@@ -0,0 +1,23 @@
+package org.argeo.cms.ui;
+
+import javax.security.auth.login.LoginContext;
+
+import org.argeo.node.NodeAuthenticated;
+
+/** Provides interaction with the CMS system. UNSTABLE API at this stage. */
+public interface CmsView extends NodeAuthenticated {
+       UxContext getUxContext();
+
+       // NAVIGATION
+       void navigateTo(String state);
+
+       // SECURITY
+       void authChange(LoginContext loginContext);
+
+       void logout();
+
+       // SERVICES
+       void exception(Throwable e);
+
+       CmsImageManager getImageManager();
+}