wt.meeting
Class WebexOperationHelper

java.lang.Object
  extended bywt.meeting.WebexOperationHelper

public class WebexOperationHelper
extends Object


Nested Class Summary
private static class WebexOperationHelper.WebExAction
           
private static class WebexOperationHelper.WebexUserInfo
           
 
Field Summary
private static String encodingType
           
private static String RESOURCE
           
private static String session_key
           
private static boolean VERBOSE
           
 
Constructor Summary
WebexOperationHelper()
           
 
Method Summary
private static WebexOperationHelper.WebExAction constructCreateMeetingAction(MeetingCenterMeeting mcm, String backURL)
           
private static WebexOperationHelper.WebExAction constructHostMeetingAction(MeetingCenterMeeting meeting, String backURL)
           
private static WebexOperationHelper.WebExAction constructJoinMeetingAction(MeetingCenterMeeting meeting, String backURL, String meetingPasswd, WTUser user)
           
private static WebexOperationHelper.WebExAction constructLoginMeetingAction(WTUser user, MeetingCenterMeeting meeting, String backURL)
           
private static WebexOperationHelper.WebExAction constructSignUpAction(WTUser user, MeetingCenterMeeting meeting)
           
private static WebexOperationHelper.WebExAction constructSignUpAction(WTUser user, MeetingCenterMeeting meeting, String backURL)
           
private static void doUserSignUp(WTUser u, MeetingCenterMeeting meeting)
           
static void emailConflictError()
           
private static WebexOperationHelper.WebExAction getBackUrl(WebexOperationHelper.WebExAction action, String back)
           
static String getMeetingStatus(javax.servlet.http.HttpServletRequest req)
           
private static String getMeetingURL(MeetingCenterMeeting mcm)
           
private static WebexOperationHelper.WebexUserInfo getUserInfo(WTUser user)
           
static void host(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
static void host(String meetingOID, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
static void hostConnect(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
static void hostCreateHostMeeting(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
static void hostCreateMeeting(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
static void hostCreateUserAccount(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
static void hostImpl(String meetingOID, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
private static void javaScriptRedirect(javax.servlet.http.HttpServletResponse resp, String url)
           
private static void javaScriptRedirect(javax.servlet.http.HttpServletResponse resp, WebexOperationHelper.WebExAction action)
           
static void join(String meetingOID, String passwd, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
private static Document parseResponse(String resp)
           
static void partnerIDError(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
static void setMeetingComplete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
static void setMeetingKey(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
static void unknownError(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
static void webexIDConflictError()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

session_key

private static final String session_key
See Also:
Constant Field Values

encodingType

private static final String encodingType
See Also:
Constant Field Values

VERBOSE

private static final boolean VERBOSE
Constructor Detail

WebexOperationHelper

public WebexOperationHelper()
Method Detail

host

public static void host(String meetingOID,
                        javax.servlet.http.HttpServletRequest req,
                        javax.servlet.http.HttpServletResponse resp)
                 throws WTException
Throws:
WTException

host

public static void host(javax.servlet.http.HttpServletRequest req,
                        javax.servlet.http.HttpServletResponse resp)
                 throws WTException
Throws:
WTException

hostImpl

public static void hostImpl(String meetingOID,
                            javax.servlet.http.HttpServletRequest req,
                            javax.servlet.http.HttpServletResponse resp)
                     throws WTException
Throws:
WTException

hostConnect

public static void hostConnect(javax.servlet.http.HttpServletRequest req,
                               javax.servlet.http.HttpServletResponse resp)
                        throws WTException
Throws:
WTException

join

public static void join(String meetingOID,
                        String passwd,
                        javax.servlet.http.HttpServletRequest req,
                        javax.servlet.http.HttpServletResponse resp)
                 throws WTException
Throws:
WTException

hostCreateMeeting

public static void hostCreateMeeting(javax.servlet.http.HttpServletRequest req,
                                     javax.servlet.http.HttpServletResponse resp)
                              throws WTException
Throws:
WTException

hostCreateUserAccount

public static void hostCreateUserAccount(javax.servlet.http.HttpServletRequest req,
                                         javax.servlet.http.HttpServletResponse resp)
                                  throws WTException
Throws:
WTException

hostCreateHostMeeting

public static void hostCreateHostMeeting(javax.servlet.http.HttpServletRequest req,
                                         javax.servlet.http.HttpServletResponse resp)
                                  throws WTException
Throws:
WTException

setMeetingKey

public static void setMeetingKey(javax.servlet.http.HttpServletRequest req,
                                 javax.servlet.http.HttpServletResponse resp)
                          throws WTException
Throws:
WTException

setMeetingComplete

public static void setMeetingComplete(javax.servlet.http.HttpServletRequest req,
                                      javax.servlet.http.HttpServletResponse resp)
                               throws WTException
Throws:
WTException

doUserSignUp

private static void doUserSignUp(WTUser u,
                                 MeetingCenterMeeting meeting)
                          throws WTException
Throws:
WTException

emailConflictError

public static void emailConflictError()
                               throws WTException
Throws:
WTException

webexIDConflictError

public static void webexIDConflictError()
                                 throws WTException
Throws:
WTException

partnerIDError

public static void partnerIDError(javax.servlet.http.HttpServletRequest req,
                                  javax.servlet.http.HttpServletResponse resp)
                           throws WTException
Throws:
WTException

unknownError

public static void unknownError(javax.servlet.http.HttpServletRequest req,
                                javax.servlet.http.HttpServletResponse resp)
                         throws WTException
Throws:
WTException

getMeetingStatus

public static String getMeetingStatus(javax.servlet.http.HttpServletRequest req)
                               throws WTException
Throws:
WTException

constructLoginMeetingAction

private static WebexOperationHelper.WebExAction constructLoginMeetingAction(WTUser user,
                                                                            MeetingCenterMeeting meeting,
                                                                            String backURL)
                                                                     throws WTException
Throws:
WTException

constructSignUpAction

private static WebexOperationHelper.WebExAction constructSignUpAction(WTUser user,
                                                                      MeetingCenterMeeting meeting)
                                                               throws WTException
Throws:
WTException

constructSignUpAction

private static WebexOperationHelper.WebExAction constructSignUpAction(WTUser user,
                                                                      MeetingCenterMeeting meeting,
                                                                      String backURL)
                                                               throws WTException
Throws:
WTException

constructCreateMeetingAction

private static WebexOperationHelper.WebExAction constructCreateMeetingAction(MeetingCenterMeeting mcm,
                                                                             String backURL)
                                                                      throws WTException
Throws:
WTException

constructJoinMeetingAction

private static WebexOperationHelper.WebExAction constructJoinMeetingAction(MeetingCenterMeeting meeting,
                                                                           String backURL,
                                                                           String meetingPasswd,
                                                                           WTUser user)
                                                                    throws WTException
Throws:
WTException

constructHostMeetingAction

private static WebexOperationHelper.WebExAction constructHostMeetingAction(MeetingCenterMeeting meeting,
                                                                           String backURL)
                                                                    throws WTException
Throws:
WTException

parseResponse

private static Document parseResponse(String resp)
                               throws WTException
Throws:
WTException

getBackUrl

private static WebexOperationHelper.WebExAction getBackUrl(WebexOperationHelper.WebExAction action,
                                                           String back)

getUserInfo

private static WebexOperationHelper.WebexUserInfo getUserInfo(WTUser user)
                                                       throws WTException
Throws:
WTException

getMeetingURL

private static String getMeetingURL(MeetingCenterMeeting mcm)
                             throws WTException
Throws:
WTException

javaScriptRedirect

private static void javaScriptRedirect(javax.servlet.http.HttpServletResponse resp,
                                       String url)
                                throws IOException
Throws:
IOException

javaScriptRedirect

private static void javaScriptRedirect(javax.servlet.http.HttpServletResponse resp,
                                       WebexOperationHelper.WebExAction action)
                                throws IOException
Throws:
IOException