|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wisc.trace.uch.UCH
public class UCH
Provide a central interface to communicate with any module as well as provides intercommunication among modules.
| Method Summary | |
|---|---|
void |
closeUserContext(HttpServletRequest request)
Get session from request and found user from it and close context with that user. |
void |
contextClosed(List<Map<String,IProfile>> contexts)
Call the same method on TDMListener and UIPMListener. |
void |
contextOpened(List<Map<String,IProfile>> contexts)
Call the same method on TDMListener and UIPMListener. |
String |
convertURI(String uri)
Convert the uri from docRootUri to baseUri and return it. |
String |
getCompatibleUIs()
Call the same method of this class with passing hostName and HttpServletRequest null. |
String |
getCompatibleUIs(String hostName)
Call the same method of this class with passing HttpServletRequest null. |
String |
getCompatibleUIs(String hostName,
HttpServletRequest request)
Get compatible UIs XML response for specified hostName and request user. |
List<Map<String,Object>> |
getDynRes(String sessionId,
List<Map<String,String>> resProps)
Call the same method on TAListener. |
List<List<Map<String,List<String>>>> |
getResources(List<Map<String,List<String>>> resProps)
Get Resources from Local Resources, Resource Server, Target Adapter or Resource Sheet as par the requested resource property resourceType. |
List<List<Map<String,List<String>>>> |
getResources(String sessionId,
List<Map<String,List<String>>> resProps)
Get Resources from Local Resources, Resource Server, Target Adapter or Resource Sheet as par the requested resource property resourceType. |
void |
handleCacheRequest(HttpServletRequest request,
HttpServletResponse response)
Handle The http://...cache?name=[resourceName]. |
void |
handleUpdateUserAction(HttpServletRequest request,
HttpServletResponse response)
Update the User Info to communicate with Resource Server. |
void |
handleUserNameRequest(HttpServletRequest request,
HttpServletResponse response)
Respond with Resource Server UserName. |
boolean |
isUriContainsResServerAppPath(String uri)
CHeck whether URI contains Resource Server App Path. |
void |
openUserContext(HttpServletRequest request,
String userName,
String password)
Open Context with specified User. |
void |
performConfigOperation(String keyValueStr)
Parse the keyValue String(key1=value1&...&keyN=valueN). |
void |
postRequest(HttpServletRequest request,
HttpServletResponse response)
It finds related context if session is associated with request. |
boolean |
validateContextUser(HttpServletRequest request,
String userName,
String password)
Check whether specified userName and password is valid or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean isUriContainsResServerAppPath(String uri)
uri - a String value of URI
public String convertURI(String uri)
uri - a String value of uri
public void postRequest(HttpServletRequest request,
HttpServletResponse response)
request - an Object of Requestresponse - an Object of ResponseHttpServletRequest,
HttpServletResponse
public void handleCacheRequest(HttpServletRequest request,
HttpServletResponse response)
request - an Object of HttpServletRequestresponse - an Object of HttpServletResponse
public void handleUserNameRequest(HttpServletRequest request,
HttpServletResponse response)
request - an Object of HttpServletRequestresponse - an Object of HttpServletResponse
public void handleUpdateUserAction(HttpServletRequest request,
HttpServletResponse response)
request - an Object of HttpServletRequestresponse - an Object of HttpServletResponsepublic void performConfigOperation(String keyValueStr)
keyValueStr - a Key Value Stringpublic String getCompatibleUIs()
public String getCompatibleUIs(String hostName)
hostName - a String value of HostName
public String getCompatibleUIs(String hostName,
HttpServletRequest request)
hostName - a String value of HostNamerequest - an Object of HttpServletRequest
public List<Map<String,Object>> getDynRes(String sessionId,
List<Map<String,String>> resProps)
sessionId - a String value of sessionIdresProps - a List<Map<String, String>> value of Resource Properties
public List<List<Map<String,List<String>>>> getResources(String sessionId,
List<Map<String,List<String>>> resProps)
sessionId - a String value of SessionIdresProps - an Object of List<Map<String, List<String>>>
public List<List<Map<String,List<String>>>> getResources(List<Map<String,List<String>>> resProps)
resProps - an Object of List<Map<String, List<String>>>
public void openUserContext(HttpServletRequest request,
String userName,
String password)
request - an Object of HttpServletRequestuserName - a String value of userNamepassword - a String value of passwordpublic void closeUserContext(HttpServletRequest request)
request - an Object of HttpServletRequest
public boolean validateContextUser(HttpServletRequest request,
String userName,
String password)
request - an Object of HttpServletRequestuserName - a String value of userNamepassword - a String value of password
public void contextOpened(List<Map<String,IProfile>> contexts)
contexts - an Object of List<Map<String, IProfile>>public void contextClosed(List<Map<String,IProfile>> contexts)
contexts - an Object of List<Map<String, IProfile>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||