]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.api.cms/src/org/argeo/api/cms/CmsContext.java
Introduce CMS event bus and use it in UI.
[lgpl/argeo-commons.git] / org.argeo.api.cms / src / org / argeo / api / cms / CmsContext.java
index 05108beac3e2ad0bc5a18842d8419255ced8b308..6ad0f512cab9180d4dbd1947e584022c672c0edc 100644 (file)
@@ -2,6 +2,7 @@ package org.argeo.api.cms;
 
 import java.util.List;
 import java.util.Locale;
+import java.util.UUID;
 
 import javax.security.auth.Subject;
 
@@ -27,6 +28,10 @@ public interface CmsContext {
 
        /** Get the CMS session of this subject. */
        CmsSession getCmsSession(Subject subject);
-       
-       CmsState getCmsState();
+
+       CmsEventBus getCmsEventBus();
+
+       /** A new time based {@link UUID} (v1) using the current time */
+       UUID timeUUID();
+
 }