{
// create the request
GadgetUserPrefActionRequest request = new GadgetUserPrefActionRequest(moduleId);
// Create the actionContext
PrincipalActionContext ac = new ServiceActionContext(request, null);
// execute action and return results.
String userPrefs = (String) serviceActionController.execute((ServiceActionContext) ac,
getGadgetUserPrefsServiceAction);
logger.debug("Returning the userprefs: " + userPrefs);