|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.telscenter.sail.webapp.presentation.web.controllers.run.RunUtil
public class RunUtil
| Constructor Summary | |
|---|---|
RunUtil()
|
|
| Method Summary | |
|---|---|
static JSONArray |
getClassmateUserInfos(Run run,
WorkgroupService workgroupService,
RunService runService)
Get the classmate user info in a JSONArray |
static String |
getFirstNameLastNameLogin(User user)
Obtain the first name, last name, and login for the user |
static String |
getLoginsFromWorkgroup(Workgroup workgroup)
Get the student logins as a string delimited by ':" |
static JSONObject |
getMyUserInfo(Run run,
WorkgroupService workgroupService)
Get the signed in user info in a JSONObject |
static JSONObject |
getRunInfo(Run run)
Get the run info for the run and put it into a JSON object |
static JSONArray |
getSharedTeacherUserInfos(Run run,
WorkgroupService workgroupService)
Get an array of shared teacher user infos in a JSONArray |
static JSONObject |
getTeacherUserInfo(Run run,
WorkgroupService workgroupService)
Get the teacher user info in a JSONObject |
static String |
getUserNamesFromWorkgroup(Workgroup workgroup)
Obtain the user names for this workgroup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RunUtil()
| Method Detail |
|---|
public static JSONObject getMyUserInfo(Run run,
WorkgroupService workgroupService)
run - workgroupService -
public static JSONArray getClassmateUserInfos(Run run,
WorkgroupService workgroupService,
RunService runService)
run - workgroupService -
public static JSONObject getTeacherUserInfo(Run run,
WorkgroupService workgroupService)
run - the run objectworkgroupService -
public static JSONArray getSharedTeacherUserInfos(Run run,
WorkgroupService workgroupService)
run - the run objectworkgroupService -
public static JSONObject getRunInfo(Run run)
run - the run to obtain info for
public static String getFirstNameLastNameLogin(User user)
user - the User we want to obtain the first, last, login for
public static String getUserNamesFromWorkgroup(Workgroup workgroup)
workgroup - a Workgroup that we want the names from
public static String getLoginsFromWorkgroup(Workgroup workgroup)
workgroup - the workgroup id to obtain logins for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||