LMS

Welcome to the Lobeo Module Server project. Please feel free to submit bugs related to it.
Tasklist

FS#252 - Manage user profile on the LMS

Attached to Project: LMS
Opened by Ferdinand (PaGaisu) - Monday, 28 November 2011, 14:05 GMT
Last edited by Ferdinand (PaGaisu) - Tuesday, 06 December 2011, 09:43 GMT
Task Type Feature Request
Category
Status Closed
Assigned To Ferdinand (PaGaisu)
Operating System All
Severity Low
Priority High
Reported Version alpha2
Due in Version alpha3
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Manage user profile on the LMS

Add the following methods to the UserService into the UserHandler module

/**
* Get the profile of the user
* @param userName the name of the user (cannot be null)
* @return the profile which is a mapping key/value
*/
public Properties getProfile(String userName);

/**
* Add a property to the profile of the specified user
* @param userName the name of the user (cannot be null)
* @param key the key of the property (cannot be null)
* @param value the value of the property (cannot be null)
* @return true if successful
*/
public boolean addToProfile(String userName, String key, String value);

/**
* Remove a property from the profile of the specified user
* @param userName the name of the user (cannot be null)
* @param key the key of the property (cannot be null)
* @param value the value of the property (cannot be null)
* @return true if successful
*/
public boolean removeFromProfile(String userName, String key);
This task depends upon

Closed by  Ferdinand (PaGaisu)
Tuesday, 06 December 2011, 09:43 GMT
Reason for closing:  Implemented

Loading...