org.alfresco.web.bean.users
Class UserShortcutsBean

java.lang.Object
  extended by org.alfresco.web.bean.users.UserShortcutsBean
All Implemented Interfaces:
java.io.Serializable

public class UserShortcutsBean
extends java.lang.Object
implements java.io.Serializable

This bean manages the user defined list of Recent Spaces in the Shelf component.

See Also:
Serialized Form

Field Summary
protected  BrowseBean browseBean
          The BrowseBean reference
protected  org.alfresco.service.cmr.repository.NodeService nodeService
          The NodeService to be used by the bean
 
Constructor Summary
UserShortcutsBean()
           
 
Method Summary
 void click(javax.faces.event.ActionEvent event)
          Action handler bound to the user shortcuts Shelf component called when a node is clicked
 void createShortcut(javax.faces.event.ActionEvent event)
          Action handler called when a new shortcut is to be added to the list
protected  org.alfresco.service.cmr.repository.NodeService getNodeService()
           
protected  org.alfresco.service.cmr.security.PermissionService getPermissionService()
           
 java.util.List getShortcuts()
           
 void removeShortcut(javax.faces.event.ActionEvent event)
          Action handler bound to the user shortcuts Shelf component called when a node is removed
 void setBrowseBean(BrowseBean browseBean)
           
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
           
 void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
           
 void setShortcuts(java.util.List nodes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodeService

protected transient org.alfresco.service.cmr.repository.NodeService nodeService
The NodeService to be used by the bean


browseBean

protected BrowseBean browseBean
The BrowseBean reference

Constructor Detail

UserShortcutsBean

public UserShortcutsBean()
Method Detail

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Parameters:
nodeService - The NodeService to set.

getNodeService

protected org.alfresco.service.cmr.repository.NodeService getNodeService()

setBrowseBean

public void setBrowseBean(BrowseBean browseBean)
Parameters:
browseBean - The BrowseBean to set.

setPermissionService

public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
Parameters:
permissionService - The PermissionService to set.

getPermissionService

protected org.alfresco.service.cmr.security.PermissionService getPermissionService()

getShortcuts

public java.util.List getShortcuts()
Returns:
the List of shortcut Nodes

setShortcuts

public void setShortcuts(java.util.List nodes)
Parameters:
nodes - List of shortcuts Nodes

createShortcut

public void createShortcut(javax.faces.event.ActionEvent event)
Action handler called when a new shortcut is to be added to the list


removeShortcut

public void removeShortcut(javax.faces.event.ActionEvent event)
Action handler bound to the user shortcuts Shelf component called when a node is removed


click

public void click(javax.faces.event.ActionEvent event)
Action handler bound to the user shortcuts Shelf component called when a node is clicked



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