|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.spaces.RecentSpacesBean
public class RecentSpacesBean
This bean manages the real-time updated list of Recent Spaces in the Shelf component.
Registers itself as a UI Context Listener so it is informed as to when the current Node ID has changed in the NavigationBeans. This is used to keep the list of spaces up-to-date.
Field Summary | |
---|---|
protected BrowseBean |
browseBean
The BrowseBean reference |
protected NavigationBean |
navigator
The NavigationBean reference |
Constructor Summary | |
---|---|
RecentSpacesBean()
Default Constructor |
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. |
java.util.List |
getRecentSpaces()
|
void |
navigate(javax.faces.event.ActionEvent event)
Action handler bound to the recent spaces Shelf component called when a Space is clicked |
void |
setBrowseBean(BrowseBean browseBean)
|
void |
setNavigator(NavigationBean navigator)
|
void |
setRecentSpaces(java.util.List spaces)
|
void |
spaceChanged()
Method called by UIContextService.spaceChanged() to inform all registered beans that the current space has changed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected NavigationBean navigator
protected BrowseBean browseBean
Constructor Detail |
---|
public RecentSpacesBean()
Method Detail |
---|
public void setNavigator(NavigationBean navigator)
navigator
- The NavigationBean to set.public void setBrowseBean(BrowseBean browseBean)
browseBean
- The BrowseBean to set.public java.util.List getRecentSpaces()
public void setRecentSpaces(java.util.List spaces)
spaces
- List of Nodespublic void navigate(javax.faces.event.ActionEvent event)
public void contextUpdated()
IContextListener
contextUpdated
in interface IContextListener
IContextListener.contextUpdated()
public void areaChanged()
IContextListener
areaChanged
in interface IContextListener
IContextListener.areaChanged()
public void spaceChanged()
IContextListener
spaceChanged
in interface IContextListener
IContextListener.spaceChanged()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |