|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalpages.browsing.gateway.GatewayModel
public class GatewayModel
Field Summary | |
---|---|
static java.lang.String |
STR_MVC_CLASS_NAME
|
static java.lang.String |
strModelName
Deprecated. Use STR_MVC_CLASS_NAME instead |
Constructor Summary | |
---|---|
GatewayModel()
|
Method Summary | |
---|---|
void |
CleanupAllData()
This method is called when an ActivitySpace is removed from the cache. |
void |
CleanupTempData()
This method is called at the end of every HTTP request by the Interpreter. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
byte[] |
GetBinaryBody()
This method returns the body of the response from the remote server as an array of bytes. |
int |
GetCommunityID()
|
java.lang.String |
GetContentType()
This method returns the value of the content-type header from the HTTP response that came from the remote server |
HTMLElement |
GetDisplayElement()
|
int |
GetErrorCode()
|
java.lang.String |
GetErrorHTMLComment()
|
java.lang.String |
GetErrorMessage()
|
java.lang.String |
GetHeaders()
|
boolean |
GetIsHostedMode()
|
java.lang.String |
GetName()
Return the name of the MVC object. |
int |
GetRefreshMode()
|
IPTSession |
GetSession()
|
int |
GetStatus()
|
java.lang.String |
GetSubtitle()
|
java.lang.Object[][] |
GetTextBody()
This method returns the body of the response from the remote server as string. |
java.lang.String |
GetTitle()
|
java.lang.String |
GetUIMode()
|
java.lang.String |
GetUserURL()
|
void |
Init(AActivitySpace parent)
This method initializes the model. |
boolean |
IsDeviceUIMode()
|
boolean |
IsErrorPage()
|
boolean |
IsReturnPage()
|
boolean |
IsText()
|
void |
SetCommunityID(int iCommunityID)
|
void |
SetControlCalled()
|
void |
SetDisplayElement(HTMLElement elemDisplayString)
Set the HTMLElement tree to be displayed. |
void |
SetDisplayMode(int iMode)
|
void |
SetError(int iErrorCode,
java.lang.String strErrorMessage,
java.lang.String strErrorHTMLComment)
|
void |
SetFileName(java.lang.String strFileName)
DCA - for documents in the knowledge directory |
void |
SetIPTContent(IPTContent ptContent)
This method is used to set gateway content on the model. |
void |
SetIsHostedModePTTagPresent(boolean _bHostedMode)
|
void |
SetRefreshMode(int iRefreshMode)
|
void |
SetReturnURIContent(int iStatusCode,
java.lang.String strHeaders,
java.lang.String strBody)
|
void |
SetSubtitle(java.lang.String strSubtitle)
|
void |
SetTitle(java.lang.String strTitle)
|
void |
SetUIMode(java.lang.String strUIMode)
|
void |
SetUserURL(java.lang.String strUserURL)
|
boolean |
WasControlCalled()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final java.lang.String strModelName
Constructor Detail |
---|
public GatewayModel()
Method Detail |
---|
public void CleanupTempData()
IModel
CleanupTempData
in interface IModel
IModel.CleanupTempData()
public void CleanupAllData()
IModel
CleanupAllData
in interface IModel
IModel.CleanupAllData()
public java.lang.Object Create()
IManagedObject
Create
in interface IManagedObject
IManagedObject.Create()
public byte[] GetBinaryBody()
GetBinaryBody
in interface IGatewayModelRO
public java.lang.String GetContentType()
GetContentType
in interface IGatewayModelRO
public java.lang.String GetHeaders()
GetHeaders
in interface IGatewayModelRO
public java.lang.String GetName()
IMVCObject
GetName
in interface IGatewayModelRO
GetName
in interface IMVCObject
IMVCObject.GetName()
public IPTSession GetSession()
GetSession
in interface IGatewayModelRO
public int GetStatus()
GetStatus
in interface IGatewayModelRO
public java.lang.Object[][] GetTextBody()
GetTextBody
in interface IGatewayModelRO
public void Init(AActivitySpace parent)
IModel
Init
in interface IModel
parent
- the parent Activity SpaceIModel.Init(AActivitySpace)
public boolean IsErrorPage()
IsErrorPage
in interface IGatewayModelRO
public boolean IsReturnPage()
IsReturnPage
in interface IGatewayModelRO
public boolean IsText()
IsText
in interface IGatewayModelRO
public void SetError(int iErrorCode, java.lang.String strErrorMessage, java.lang.String strErrorHTMLComment)
SetError
in interface IGatewayModel
public int GetErrorCode()
GetErrorCode
in interface IGatewayModelRO
public java.lang.String GetErrorMessage()
GetErrorMessage
in interface IGatewayModelRO
public java.lang.String GetErrorHTMLComment()
GetErrorHTMLComment
in interface IGatewayModelRO
public void SetIPTContent(IPTContent ptContent)
SetIPTContent
in interface IGatewayModel
public void SetReturnURIContent(int iStatusCode, java.lang.String strHeaders, java.lang.String strBody)
SetReturnURIContent
in interface IGatewayModel
public void SetUserURL(java.lang.String strUserURL)
SetUserURL
in interface IGatewayModel
public java.lang.String GetUserURL()
GetUserURL
in interface IGatewayModelRO
public boolean WasControlCalled()
WasControlCalled
in interface IGatewayModelRO
public void SetControlCalled()
SetControlCalled
in interface IGatewayModel
public void SetCommunityID(int iCommunityID)
SetCommunityID
in interface IGatewayModel
public int GetCommunityID()
GetCommunityID
in interface IGatewayModelRO
public void SetUIMode(java.lang.String strUIMode)
SetUIMode
in interface IGatewayModel
public java.lang.String GetUIMode()
GetUIMode
in interface IGatewayModelRO
public boolean IsDeviceUIMode()
IsDeviceUIMode
in interface IGatewayModelRO
public int GetRefreshMode()
GetRefreshMode
in interface IGatewayModelRO
public void SetRefreshMode(int iRefreshMode)
SetRefreshMode
in interface IGatewayModel
public void SetDisplayElement(HTMLElement elemDisplayString)
IGatewayModel
SetDisplayElement
in interface IGatewayModel
public HTMLElement GetDisplayElement()
GetDisplayElement
in interface IGatewayModelRO
public boolean GetIsHostedMode()
public java.lang.String GetTitle()
GetTitle
in interface IGatewayModelRO
public java.lang.String GetSubtitle()
GetSubtitle
in interface IGatewayModelRO
public void SetIsHostedModePTTagPresent(boolean _bHostedMode)
public void SetDisplayMode(int iMode)
public void SetTitle(java.lang.String strTitle)
SetTitle
in interface IGatewayModel
public void SetSubtitle(java.lang.String strSubtitle)
SetSubtitle
in interface IGatewayModel
public void SetFileName(java.lang.String strFileName)
IGatewayModel
SetFileName
in interface IGatewayModel
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |