WorkspaceUserPropertiesHandlerExtension

From OpenKM Documentation
Revision as of 19:33, 9 October 2013 by Jllort (talk | contribs) (Created page with "Any extension that implements WorkspaceUserPropertiesHandlerExtension will send a signal when workspace user properties are loaded. == Method == === workspaceUserLoaded() ===...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Any extension that implements WorkspaceUserPropertiesHandlerExtension will send a signal when workspace user properties are loaded.

Method

workspaceUserLoaded()

Called first time workspace user properties are readed.

Example

public class HandlersTest implements WorkspaceUserPropertiesHandlerExtension {
	@Override
	public void workspaceUserLoaded {
		Window.alert("workspace user properties loaded can call GeneralCommunicator to read it");
                if (GeneralComunicator.getWorkspace()!=null) {
                        Window.alert("workspace loaded");
                }
	}
}