|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 IModelIModel.CleanupTempData()public void CleanupAllData()
IModel
CleanupAllData in interface IModelIModel.CleanupAllData()public java.lang.Object Create()
IManagedObject
Create in interface IManagedObjectIManagedObject.Create()public byte[] GetBinaryBody()
GetBinaryBody in interface IGatewayModelROpublic java.lang.String GetContentType()
GetContentType in interface IGatewayModelROpublic java.lang.String GetHeaders()
GetHeaders in interface IGatewayModelROpublic java.lang.String GetName()
IMVCObject
GetName in interface IGatewayModelROGetName in interface IMVCObjectIMVCObject.GetName()public IPTSession GetSession()
GetSession in interface IGatewayModelROpublic int GetStatus()
GetStatus in interface IGatewayModelROpublic java.lang.Object[][] GetTextBody()
GetTextBody in interface IGatewayModelROpublic void Init(AActivitySpace parent)
IModel
Init in interface IModelparent - the parent Activity SpaceIModel.Init(AActivitySpace)public boolean IsErrorPage()
IsErrorPage in interface IGatewayModelROpublic boolean IsReturnPage()
IsReturnPage in interface IGatewayModelROpublic boolean IsText()
IsText in interface IGatewayModelRO
public void SetError(int iErrorCode,
java.lang.String strErrorMessage,
java.lang.String strErrorHTMLComment)
SetError in interface IGatewayModelpublic int GetErrorCode()
GetErrorCode in interface IGatewayModelROpublic java.lang.String GetErrorMessage()
GetErrorMessage in interface IGatewayModelROpublic java.lang.String GetErrorHTMLComment()
GetErrorHTMLComment in interface IGatewayModelROpublic void SetIPTContent(IPTContent ptContent)
SetIPTContent in interface IGatewayModel
public void SetReturnURIContent(int iStatusCode,
java.lang.String strHeaders,
java.lang.String strBody)
SetReturnURIContent in interface IGatewayModelpublic void SetUserURL(java.lang.String strUserURL)
SetUserURL in interface IGatewayModelpublic java.lang.String GetUserURL()
GetUserURL in interface IGatewayModelROpublic boolean WasControlCalled()
WasControlCalled in interface IGatewayModelROpublic void SetControlCalled()
SetControlCalled in interface IGatewayModelpublic void SetCommunityID(int iCommunityID)
SetCommunityID in interface IGatewayModelpublic int GetCommunityID()
GetCommunityID in interface IGatewayModelROpublic void SetUIMode(java.lang.String strUIMode)
SetUIMode in interface IGatewayModelpublic java.lang.String GetUIMode()
GetUIMode in interface IGatewayModelROpublic boolean IsDeviceUIMode()
IsDeviceUIMode in interface IGatewayModelROpublic int GetRefreshMode()
GetRefreshMode in interface IGatewayModelROpublic void SetRefreshMode(int iRefreshMode)
SetRefreshMode in interface IGatewayModelpublic void SetDisplayElement(HTMLElement elemDisplayString)
IGatewayModel
SetDisplayElement in interface IGatewayModelpublic HTMLElement GetDisplayElement()
GetDisplayElement in interface IGatewayModelROpublic boolean GetIsHostedMode()
public java.lang.String GetTitle()
GetTitle in interface IGatewayModelROpublic java.lang.String GetSubtitle()
GetSubtitle in interface IGatewayModelROpublic void SetIsHostedModePTTagPresent(boolean _bHostedMode)
public void SetDisplayMode(int iMode)
public void SetTitle(java.lang.String strTitle)
SetTitle in interface IGatewayModelpublic void SetSubtitle(java.lang.String strSubtitle)
SetSubtitle in interface IGatewayModelpublic 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 | ||||||||