portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r1681670 - in /portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed: administration/PortalConfigurationConstants.java components/portletpreferences/PortletPreferencesProvider.java
Date Tue, 26 May 2015 01:20:56 GMT
Author: taylor
Date: Tue May 26 01:20:55 2015
New Revision: 1681670

URL: http://svn.apache.org/r1681670
Log:
JS2-1325: initial implementation (read, write) of preferences caching performance improvements

Modified:
    portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/administration/PortalConfigurationConstants.java
    portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/components/portletpreferences/PortletPreferencesProvider.java

Modified: portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/administration/PortalConfigurationConstants.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/administration/PortalConfigurationConstants.java?rev=1681670&r1=1681669&r2=1681670&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/administration/PortalConfigurationConstants.java
(original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/administration/PortalConfigurationConstants.java
Tue May 26 01:20:55 2015
@@ -98,4 +98,7 @@ public interface PortalConfigurationCons
     /** Portlet Modes, Window States: return string arrays **/
     static final String SUPPORTED_WINDOW_STATES = "supported.windowstate";
     static final String SUPPORTED_PORTLET_MODES = "supported.portletmode";
+
+    /** Preferences Performance **/
+    static final String ENABLED_PREFERENCES_SESSION_CACHE = "preferences.session.cache.enabled";
 }

Modified: portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/components/portletpreferences/PortletPreferencesProvider.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/components/portletpreferences/PortletPreferencesProvider.java?rev=1681670&r1=1681669&r2=1681670&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/components/portletpreferences/PortletPreferencesProvider.java
(original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/components/portletpreferences/PortletPreferencesProvider.java
Tue May 26 01:20:55 2015
@@ -136,26 +136,26 @@ public interface PortletPreferencesProvi
         throws PreferencesException;
     
     /**
-     * Retrieve entity ids (window) given portlet definitaion
+     * Retrieve entity ids (window) given portlet definition
      * 
      * @param portletdefinition
      */
     public Set<String> getPortletWindowIds(PortletDefinition portletdefinition);
 
     /**
-     * Retrieve user names for given entity(window) id and portlet definitaion
+     * Retrieve user names for given entity(window) id and portlet definition
      * @param portletdefinition
      * @param windowId
      */    
-    public Set<String> getUserNames(PortletDefinition portletdefinition,String windowId);
+    public Set<String> getUserNames(PortletDefinition portletdefinition, String windowId);
     
     
     /**
-     * Retrieve entity preference names for given entity(window) id ,portlet definitaion
and user name 
+     * Retrieve entity preference names for given entity(window) id ,portlet definition and
user name
      * @param portletdefinition
      * @param windowId
      */
-    public Map<String,PortletPreference>getUserPreferences(PortletDefinition portletdefinition,String
windowId,String userName);
+    public Map<String,PortletPreference> getUserPreferences(PortletDefinition portletdefinition,
String windowId, String userName);
     
     /**
      * Store portlet definition entity preferences contained in the map parameter



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


Mime
View raw message