portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/docs EntityPreferences.txt
Date Thu, 11 Mar 2004 23:36:19 GMT
taylor      2004/03/11 15:36:19

  Added:       docs     EntityPreferences.txt
  Log:
  short doc outlining Entity and Preferences
  
  Revision  Changes    Path
  1.1                  jakarta-jetspeed-2/docs/EntityPreferences.txt
  
  Index: EntityPreferences.txt
  ===================================================================
  --------------------------------------
    Portlet Preference Lookup Algorithm
  --------------------------------------
  
  (a) Look for authenticated principal's PortletPreference for the given entity
  if Found 
      Return PortletPreference
  End if
  
  (b) Look for PortletPreference for this entity window, not associated to a principal
  if Found
      Return PortletPreference
  End
  
  (c) Look for default PortletPreference for the portlet
  if Found
      Return default PortletPreference
  End
  
  Return Not Found
  
  
  -----------------------------
    Model
  -----------------------------
  
  Page 1 has 
  
  Portlet-1, entity id = 51
  Portlet-2, entity id = 52
  Portlet-3, entity id = 53
  Portlet-1, entity id = 54
  
  Username = David
  
  RELATIONSHIPS
  
  (a) Stored in PREF_NODE table with NODE_NAME = 
     for entity 51:  /user/David/portletprefs/51
                52:  /user/David/portletprefs/52
                53:  /user/David/portletprefs/53
                54:  /user/David/portletprefs/54
  
  (b) Considering window 51, the pref doesn't exist for user David,
      Stored in PREF_NODE table with NODE_NAME = 
     for entity 51:  /entities/51
  
  (c) fallback to Portlet Registry
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message