|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectau.edu.anu.portal.portlets.sakaiconnector.logic.SakaiWebServiceLogic
public class SakaiWebServiceLogic
This class is a simple logic class that makes the required web service calls for the Basic LTI portlet to get its information. It users the WebServiceSupport class for the actual web service calls. A remote sessionid is stored in the cache, and checked however if any service calls fail, it is invalidated to force a new one. One point to remember here is that all sessions created are for the admin user, which then gets the data on behalf of the user. Sessions are cached.
| Constructor Summary | |
|---|---|
SakaiWebServiceLogic()
|
|
| Method Summary | |
|---|---|
List<Site> |
getAllSitesForUser(String eid)
Get the XML for a list of all sites for a user, transformed to a List of Sites |
String |
getRemoteUserIdForUser(String eid)
Get the userId for a user. |
List<Tool> |
getToolsForSite(String siteId,
String eid)
Get the list of tools in a site. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SakaiWebServiceLogic()
| Method Detail |
|---|
public String getRemoteUserIdForUser(String eid)
public List<Site> getAllSitesForUser(String eid)
public List<Tool> getToolsForSite(String siteId,
String eid)
siteId - siteId
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||