portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r345856 - /portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/prefs/PreferencesProvider.java
Date Mon, 21 Nov 2005 07:04:18 GMT
Author: taylor
Date: Sun Nov 20 23:04:17 2005
New Revision: 345856

URL: http://svn.apache.org/viewcvs?rev=345856&view=rev
Log:
http://issues.apache.org/jira/browse/JS2-412

lookupPreference(String nodeName, String propertyName, String propertyValue)
uses this to lookup email addresses out of user preferences in the forgotten password feature

Modified:
    portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/prefs/PreferencesProvider.java

Modified: portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/prefs/PreferencesProvider.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/prefs/PreferencesProvider.java?rev=345856&r1=345855&r2=345856&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/prefs/PreferencesProvider.java
(original)
+++ portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/prefs/PreferencesProvider.java
Sun Nov 20 23:04:17 2005
@@ -42,5 +42,16 @@
     
     void removeNode(Node node);
     
+    /**
+     * Lookup a preference node given the preference name, a property name and value.
+     * Options can be set to null if you dont want them included in the query.
+     * 
+     * @param nodeName the name of the node to lookup, such as 'userinfo'
+     * @param propertyName the name of the property, such as 'user.email'
+     * @param propertyValue the value of the property, such as 'taylor@apache.org'
+     * @return a collection of found matching elements of type <code>Node</code>
+     */
+    Collection lookupPreference(String nodeName, String propertyName, String propertyValue);
+
     void init() throws Exception;
 }



---------------------------------------------------------------------
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