|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalpages.browsing.gateway.GatewayUtils
public class GatewayUtils
Constructor Summary | |
---|---|
GatewayUtils()
|
Method Summary | |
---|---|
static int |
AddHeadersToResponse(java.lang.String strRawHeaders,
IWebData webData)
|
static int |
AddHeadersToResponse(java.lang.String strRawHeaders,
IWebData webData,
boolean bStreaming)
|
static HTMLElement |
AddMarkupToElement(AActivitySpace _asOwner,
java.lang.Object[][] _objArrMarkup)
The "UI Transformer", see Transformers and Markup DSD in IWS This function converts a markup array as returned by the HTTP GP into HTML elements and converts PT XML tags into HTML -jas This method is designed to be used when there are multiple elements that need markup transformed. |
static void |
AddMarkupToElement(AActivitySpace _asOwner,
java.lang.Object[][] _objArrMarkup,
HTMLElement _result)
The "UI Transformer", see Transformers and Markup DSD in IWS This function converts a markup array as returned by the HTTP GP into HTML elements and converts PT XML tags into HTML -jas This method outputs the shared JavaScript in the resulting markup, and the GetSharedJavaScriptFromMarkup method should not be called when this method is used. |
static HTMLElement |
AddMarkupToSingleElement(AActivitySpace _asOwner,
java.lang.Object[][] _objArrMarkup)
The "UI Transformer", see Transformers and Markup DSD in IWS This function converts a markup array as returned by the HTTP GP into HTML elements and converts PT XML tags into HTML -jas This method returns the shared JavaScript in its output, and the GetSharedJavaScriptFromMarkup method should not be called when this method is used. |
static boolean |
ExceptionStackReceived(java.lang.Object[][] objArrMarkup)
|
static java.lang.String |
GetEffectivePortletTimeout(java.lang.Object[][] objArrMarkup)
|
static int |
GetErrorCode(java.lang.Object[][] objArrMarkup)
|
static java.lang.String |
GetErrorMessage(java.lang.Object[][] objArrMarkup)
|
static java.lang.String |
GetExcepionStackTrace(java.lang.Object[][] objArrMarkup)
|
static boolean |
GetPortletSupportsPersonalization(int nPortletID,
int nPersonalizationType,
IPTSession ptSession)
Check to see whether the given gadget has a particular kind of preferences. |
static java.lang.String |
GetPortletTimeout(java.lang.Object[][] objArrMarkup)
|
static java.lang.String |
GetResponseBody(java.lang.Object[][] objArrMarkup)
|
static java.lang.String |
GetResponseStatus(java.lang.Object[][] objArrMarkup)
|
static java.lang.String |
GetSavedPortletName()
|
static HTMLElement |
GetSharedJavaScriptFromMarkup(AActivitySpace _asOwner)
This method returns a single shared JavaScript collection for all of the transformed markup elements on a page. |
static java.lang.String |
GetShorterPortletTimeout(java.lang.String portletTimeout,
int pageTimeout)
|
static boolean |
GetWebServiceSupportsPersonalization(int nWebServiceID,
int nPersonalizationType,
IPTSession ptSession)
Check to see whether the given web service has a particular kind of preferences. |
static boolean |
IsErrorContentArray(java.lang.Object[][] objArrMarkup)
|
static boolean |
ResponseReceivedForErrors(java.lang.Object[][] objArrMarkup)
|
static boolean |
SetRedirectToLastHostedPage(AActivitySpace asOwner,
IGatewayModel gwModel)
|
static boolean |
TimeoutErrorReceived(java.lang.Object[][] objArrMarkup)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GatewayUtils()
Method Detail |
---|
public static int AddHeadersToResponse(java.lang.String strRawHeaders, IWebData webData)
public static int AddHeadersToResponse(java.lang.String strRawHeaders, IWebData webData, boolean bStreaming)
strRawHeaders
- webData
-
public static boolean SetRedirectToLastHostedPage(AActivitySpace asOwner, IGatewayModel gwModel)
public static void AddMarkupToElement(AActivitySpace _asOwner, java.lang.Object[][] _objArrMarkup, HTMLElement _result)
_asOwner
- Activity Space_objArrMarkup
- markup array in PT_MARKUP_ARRAY_COLS format_result
- markup is added to this elementpublic static HTMLElement AddMarkupToSingleElement(AActivitySpace _asOwner, java.lang.Object[][] _objArrMarkup)
_asOwner
- Activity Space_objArrMarkup
- markup array in PT_MARKUP_ARRAY_COLS format
public static HTMLElement AddMarkupToElement(AActivitySpace _asOwner, java.lang.Object[][] _objArrMarkup)
_asOwner
- Activity Space_objArrMarkup
- markup array in PT_MARKUP_ARRAY_COLS format
public static HTMLElement GetSharedJavaScriptFromMarkup(AActivitySpace _asOwner)
_asOwner
- Activity Space
public static boolean IsErrorContentArray(java.lang.Object[][] objArrMarkup)
public static boolean ResponseReceivedForErrors(java.lang.Object[][] objArrMarkup)
public static boolean TimeoutErrorReceived(java.lang.Object[][] objArrMarkup)
public static boolean ExceptionStackReceived(java.lang.Object[][] objArrMarkup)
public static int GetErrorCode(java.lang.Object[][] objArrMarkup)
public static java.lang.String GetErrorMessage(java.lang.Object[][] objArrMarkup)
public static java.lang.String GetResponseBody(java.lang.Object[][] objArrMarkup)
public static java.lang.String GetResponseStatus(java.lang.Object[][] objArrMarkup)
public static java.lang.String GetPortletTimeout(java.lang.Object[][] objArrMarkup)
public static java.lang.String GetEffectivePortletTimeout(java.lang.Object[][] objArrMarkup)
public static java.lang.String GetShorterPortletTimeout(java.lang.String portletTimeout, int pageTimeout)
public static java.lang.String GetExcepionStackTrace(java.lang.Object[][] objArrMarkup)
public static boolean GetPortletSupportsPersonalization(int nPortletID, int nPersonalizationType, IPTSession ptSession)
ID
- of PortletPersonalizationType
- IPTSession
-
public static java.lang.String GetSavedPortletName()
public static boolean GetWebServiceSupportsPersonalization(int nWebServiceID, int nPersonalizationType, IPTSession ptSession)
ID
- of WebServicePersonalizationType
- IPTSession
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |