org.sakaiproject.hybrid.tool
Class SitesServlet.PortalSiteNavUserPreferences

java.lang.Object
  extended by org.sakaiproject.hybrid.tool.SitesServlet.PortalSiteNavUserPreferences
Enclosing class:
SitesServlet

protected static class SitesServlet.PortalSiteNavUserPreferences
extends Object

Wraps Sakai2 portal functionality around number of sites to display. Immutable helper class.

Logic inspired by: CharonPortal.java@85021 Lines 2412-2442


Field Summary
static int DEFAULT_TABS
          The default number of sites that will be displayed
 
Constructor Summary
protected SitesServlet.PortalSiteNavUserPreferences(org.sakaiproject.user.api.Preferences preferences)
           
 
Method Summary
protected  Integer getPrefTabs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TABS

public static final int DEFAULT_TABS
The default number of sites that will be displayed

See Also:
Constant Field Values
Constructor Detail

SitesServlet.PortalSiteNavUserPreferences

protected SitesServlet.PortalSiteNavUserPreferences(org.sakaiproject.user.api.Preferences preferences)
Parameters:
preferences - Null values are supported and will return default behavior.
Method Detail

getPrefTabs

protected Integer getPrefTabs()
Returns:
the prefTabs


Copyright © 2009-2012 The Sakai Foundation. All Rights Reserved.