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 '[EMAIL 
PROTECTED]'
+     * @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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to