org.alfresco.web.app.context
Interface IContextListener

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AVMBrowseBean, BrowseBean, CategoriesDialog, ChangeMyPasswordDialog, ChangePasswordDialog, ContentUsersBean, EmailSpaceUsersDialog, ForumsBean, GroupsDialog, ManagePermissionsDialog, NavigatorPluginBean, RecentSpacesBean, RulesDialog, SpaceUsersBean, TrashcanDeleteAllItemsDialog, TrashcanDeleteItemDialog, TrashcanDeleteListedItemsDialog, TrashcanDialog, TrashcanItemDetailsDialog, TrashcanRecoverItemDialog, TrashcanRecoverListedItemsDialog, TrashcanRecoveryReportDialog, UserMembersBean, UsersDialog

public interface IContextListener
extends java.io.Serializable

Interface used to allow Beans to register themselves as interested in UI context events.

Beans supporting this interface should be register against the UIContextService. Then Beans which wish to indicate that the UI should refresh itself i.e. dump all cached data and settings, call the UIContextService.notifyBeans() to inform all registered instances of the change.

Registered beans will also be informed of changes in location, for example when the current space changes or when the user has changed area i.e. from company home to my home.


Method Summary
 void areaChanged()
          Method called by UIContextService.areaChanged() to inform all registered beans that the user has changed area i.e.
 void contextUpdated()
          Method called by UIContextService.notifyBeans() to inform all registered beans that all UI Beans should refresh dump all cached data and settings.
 void spaceChanged()
          Method called by UIContextService.spaceChanged() to inform all registered beans that the current space has changed.
 

Method Detail

contextUpdated

void contextUpdated()
Method called by UIContextService.notifyBeans() to inform all registered beans that all UI Beans should refresh dump all cached data and settings.


spaceChanged

void spaceChanged()
Method called by UIContextService.spaceChanged() to inform all registered beans that the current space has changed.


areaChanged

void areaChanged()
Method called by UIContextService.areaChanged() to inform all registered beans that the user has changed area i.e. from company home to my home.



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.