Modifier and Type | Field and Description |
---|---|
static ModuleContext |
mc |
static String |
NAMESPACE |
static String |
OUTPUT_GETPROFILE |
static String |
OUTPUT_USER |
static String |
OUTPUT_USERS |
DefaultServiceCaller |
sc |
Constructor and Description |
---|
UIPreferencesSubprofilePrerequisitesHelper(ModuleContext mc) |
Modifier and Type | Method and Description |
---|---|
boolean |
addUserProfileToUser(User user,
UserProfile userProfile) |
boolean |
addUserSucceeded(User user) |
UserProfile |
getProfileForUser(User user) |
String |
getProfileForUserAsString(User user) |
boolean |
getProfileForUserSucceeded(User user) |
static Object |
getReturnValue(List outputs,
String expectedOutput) |
User |
getUser(Resource user) |
String |
getUserAsString(Resource user) |
User[] |
getUsers() |
boolean |
getUserSucceeded(Resource user) |
static void |
logUsers(User[] users) |
public static ModuleContext mc
public static final String NAMESPACE
public static final String OUTPUT_USERS
public static final String OUTPUT_USER
public static final String OUTPUT_GETPROFILE
public DefaultServiceCaller sc
public UIPreferencesSubprofilePrerequisitesHelper(ModuleContext mc)
public boolean getUserSucceeded(Resource user)
public boolean addUserSucceeded(User user)
public String getProfileForUserAsString(User user)
user
- User
UserProfile
for given User
as Stringpublic UserProfile getProfileForUser(User user)
user
- User
UserProfile
for given User
public boolean getProfileForUserSucceeded(User user)
user
- User
UserProfile
for given User
was obtained,
false otherwisepublic boolean addUserProfileToUser(User user, UserProfile userProfile)
user
- User
userProfile
- UserProfile
UserProfile
for given User
was added to
Profiling Server, false otherwisepublic static final Object getReturnValue(List outputs, String expectedOutput)
outputs
- expectedOutput
- public User[] getUsers()
public static void logUsers(User[] users)
Copyright © 2015 universAAL Consortium. All Rights Reserved.