| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.editor.EditorModel
com.plumtree.portaluiinfrastructure.editor.ObjEditorModel
com.plumtree.portalpages.admin.editors.datasource.DSModel
com.plumtree.portalpages.ext.providers.www.datasource.DataSourceModel
public class DataSourceModel
This class contains the IPTDatasource server object, as well as the set and get methods on that object. This class is called by the DataSourceRepostControl class to perform the changes on the Object and by the View classes to display the latest values on the page.
| Field Summary | |
|---|---|
static int | 
COOKIELIST_NUMCOLUMNS
The number of columns in the cookie list multicolumn list control  | 
static int | 
LOGINFORMLIST_NUMCOLUMNS
The number of columns in the login form multicolumn list control  | 
static java.lang.String | 
STR_MVC_CLASS_NAME
The unique identifier for the activity space  | 
| Fields inherited from class com.plumtree.portalpages.admin.editors.datasource.DSModel | 
|---|
m_intURLType, m_intWebServiceID, PMODE_CREATE, PMODE_EDIT, PMODE_INVALID | 
| Fields inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel | 
|---|
EDITOR_CLASSID_UNKNOWN, EDITOR_FOLDERID_UNKNOWN, EDITOR_OBJECTID_UNKNOWN, EDITOR_QS_BOL_QS_FORCESAVEINFOLDER, EDITOR_QS_INT_CLASS_ID, EDITOR_QS_INT_QS_FOLDER_ID, EDITOR_QS_INT_QS_OBJECT_ID, m_bDisableDescription, m_bDisableSecurity, m_bForceSavedInSuppliedFolder, m_bIsSysAdmin, m_nClassID, m_nFolderID, m_nFolderType, m_nObjectID, m_ptObject, m_Session, m_sFolderName, OBJECT_NAME_TRUNCATE | 
| Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel | 
|---|
isReadAccessAvailable, m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bEnableCancelButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType | 
| Constructor Summary | |
|---|---|
DataSourceModel()
 | 
|
| Method Summary | |
|---|---|
 java.lang.Object | 
Create()
This method is used by the ASManager to return new instances of managed objects.  | 
 void | 
DoTaskAfterStore()
Code executed after the object is stored.  | 
 void | 
DoTaskBeforeStore()
Code executed before the object is stored.  | 
 void | 
DoTaskOnStartEditor(XPHashtable _htFormData)
Code executed when the Editor is starting.  | 
 int | 
GetBypassProxy()
Returns the bypass proxy setting for the data source, 0 for false, non- zero for true.  | 
 java.lang.String | 
GetCaptureLoginURL()
Returns the URL pointing to the login form that has been captured with this data source.  | 
 java.lang.String | 
GetCapturePostURL()
Returns the URL that a captured login form should post to in completing the login action.  | 
 java.lang.Object[][] | 
GetCookieInfo()
Returns a 2D array of cookie information.  | 
 java.lang.String | 
GetHeaders()
Returns any additional header information to be sent by the data source to the target site  | 
 java.lang.Object[][] | 
GetLoginFormInfo()
Returns an array of name value pairs captured from a login form.  | 
 java.lang.String | 
GetName()
Returns the Class name.  | 
 java.lang.String | 
GetProxyExceptions()
Returns a string of addresses for which the proxy is not to be used.  | 
 java.lang.String | 
GetProxyPass()
Returns the proxy password.  | 
 int | 
GetProxyPort()
Returns the port part of the proxy address.  | 
 java.lang.String | 
GetProxyURL()
Returns the URL part of the proxy address.  | 
 java.lang.String | 
GetProxyUser()
Returns the proxy user.  | 
 java.lang.String | 
GetTargetSitePass()
Returns the target site password.  | 
 java.lang.String | 
GetTargetSiteUser()
Returns the target site user.  | 
 int | 
GetURLType()
Returns the URL type for the data source.  | 
protected  void | 
InitPTObject(XPHashtable _htFormData)
Initializes the data source property bag.  | 
 boolean | 
IsWebServiceChangeable()
Returns whether the WebService is changeable from the DataSource Editor.  | 
 boolean | 
IsWebServiceRemovable()
Returns whether the WebService is removable from the DataSource Editor.  | 
 int | 
SaveMainPage(XPHashtable _htFormData)
Saves the data on the Main page.  | 
 int | 
SavePage(java.lang.String _sPageName,
         XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument.  | 
 void | 
SetBypassProxy(int bypassProxy)
Sets the bypass proxy setting for the data source, 0 for false, non- zero for true.  | 
 void | 
SetCaptureLoginURL(java.lang.String captureLoginURL)
Sets the URL pointing to the login form that has been captured with this data source.  | 
 void | 
SetCapturePostURL(java.lang.String capturePostURL)
Sets the URL that a captured login form should post to in completing the login action.  | 
 void | 
SetCookieInfo(java.lang.Object[][] cookieInfo)
Sets a 2D array of cookie information.  | 
 void | 
SetHeaders(java.lang.String headers)
Sets any additional header information to be sent by the data source to the target site  | 
 void | 
SetLoginFormInfo(java.lang.Object[][] loginFormInfo)
Sets an array of name value pairs captured from a login form.  | 
 void | 
SetProxyExceptions(java.lang.String noProxy)
Sets a string of addresses for which the proxy is not to be used.  | 
 void | 
SetProxyPass(java.lang.String proxyPass)
Sets the proxy password.  | 
 void | 
SetProxyPort(int proxyPort)
Sets the port part of the proxy address.  | 
 void | 
SetProxyURL(java.lang.String proxyURL)
Sets the URL part of the proxy address.  | 
 void | 
SetProxyUser(java.lang.String proxyUser)
Sets the proxy user.  | 
 void | 
SetTargetSitePass(java.lang.String targetSitePass)
Sets the target site password.  | 
 void | 
SetTargetSiteUser(java.lang.String targetSiteUser)
Sets the target site user.  | 
 void | 
StartMultiColumnList()
Helper method to start the multicolumn List.  | 
| Methods inherited from class com.plumtree.portalpages.admin.editors.datasource.DSModel | 
|---|
GetCreatorID, GetPMode, GetWebServiceID, SetMemberVariablesFromQS, SetURLType, SetWebServiceID | 
| Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel | 
|---|
CheckEditorAccess, CheckEditorAccessAndStart, CheckFolderType, DisableSecurity, DoTaskOnComeBackFromSubEditor, Finish, ForceSaveInFolder, GetClassID, GetFolderID, GetFolderName, GetIsSysAdmin, GetMigrationStatus, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession, Init, InitIsSysAdminFlag, IsDescriptionDisabled, IsMigrationApproved, SaveMigrationStatus, SetDisableDescription, SetEditorToReadOnly, SetMigrationStatus, StartKeywords, StartLocNamesList, StartMigrationHistory, StartObjectProp, StartSecurityList, StoreObject | 
| Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel | 
|---|
Cancel, CleanupAllData, CleanupTempData, DoTaskOnChangePage, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly, GetRedirectAfterFinish, GetUserHasAccessToEditor, SetCloseOnDone, SetDeleteOnCancel, SetEditorType, SetEnableApplyButton, SetHideLeftNav, SetPageStatus, SetUserHasAccessToEditor | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface com.plumtree.portaluiinfrastructure.editor.IObjEditorModelRO | 
|---|
GetClassID, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession | 
| Methods inherited from interface com.plumtree.uiinfrastructure.editor.IEditorModelRO | 
|---|
GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly | 
| Field Detail | 
|---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int LOGINFORMLIST_NUMCOLUMNS
public static final int COOKIELIST_NUMCOLUMNS
| Constructor Detail | 
|---|
public DataSourceModel()
| Method Detail | 
|---|
public java.lang.Object Create()
EditorModel
Create in interface IManagedObjectCreate in class EditorModelcom.plumtree.xpshared.infrastructure.activityspace.IManagedObject#Create()public void DoTaskAfterStore()
DoTaskAfterStore in class DSModelpublic void DoTaskBeforeStore()
DoTaskBeforeStore in class DSModelXPExceptionprotected void InitPTObject(XPHashtable _htFormData)
InitPTObject in class ObjEditorModel_htFormData - 
XPExceptionpublic void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor in class DSModel_htFormData - 
XPExceptionpublic int GetBypassProxy()
GetBypassProxy in interface IDataSourceModelROpublic java.lang.String GetCaptureLoginURL()
GetCaptureLoginURL in interface IDataSourceModelROpublic java.lang.String GetCapturePostURL()
GetCapturePostURL in interface IDataSourceModelROpublic java.lang.Object[][] GetCookieInfo()
GetCookieInfo in interface IDataSourceModelROpublic java.lang.String GetHeaders()
GetHeaders in interface IDataSourceModelROpublic java.lang.Object[][] GetLoginFormInfo()
GetLoginFormInfo in interface IDataSourceModelROpublic java.lang.String GetName()
GetName in interface IMVCObjectGetName in class EditorModelpublic java.lang.String GetProxyExceptions()
GetProxyExceptions in interface IDataSourceModelROpublic java.lang.String GetProxyPass()
GetProxyPass in interface IDataSourceModelROpublic int GetProxyPort()
GetProxyPort in interface IDataSourceModelROpublic java.lang.String GetProxyURL()
GetProxyURL in interface IDataSourceModelROpublic java.lang.String GetProxyUser()
GetProxyUser in interface IDataSourceModelROpublic java.lang.String GetTargetSitePass()
GetTargetSitePass in interface IDataSourceModelROpublic java.lang.String GetTargetSiteUser()
GetTargetSiteUser in interface IDataSourceModelROpublic int GetURLType()
GetURLType in interface IDSModelROGetURLType in class DSModelpublic int SaveMainPage(XPHashtable _htFormData)
SaveMainPage in class DSModel_htFormData - 
XPException
public int SavePage(java.lang.String _sPageName,
                    XPHashtable _htFormData)
SavePage in interface IRepostModelSavePage in class DSModel_sPageName - _htFormData - 
public void SetBypassProxy(int bypassProxy)
bypassProxy - The bypassProxy to setpublic void SetCaptureLoginURL(java.lang.String captureLoginURL)
captureLoginURL - The captureLoginURL to setpublic void SetCapturePostURL(java.lang.String capturePostURL)
capturePostURL - The capturePostURL to setpublic void SetCookieInfo(java.lang.Object[][] cookieInfo)
cookieInfo - The cookieInfo to setpublic void SetHeaders(java.lang.String headers)
headers - The headers to setpublic void SetLoginFormInfo(java.lang.Object[][] loginFormInfo)
loginFormInfo - The loginFormInfo to setpublic void SetProxyExceptions(java.lang.String noProxy)
noProxy - The string of addresses to setpublic void SetProxyPass(java.lang.String proxyPass)
proxyPass - The proxy password to setpublic void SetProxyPort(int proxyPort)
proxyPort - The proxyPort to setpublic void SetProxyURL(java.lang.String proxyURL)
proxyURL - The proxyURL to setpublic void SetProxyUser(java.lang.String proxyUser)
proxyUser - The proxy user to setpublic void SetTargetSitePass(java.lang.String targetSitePass)
targetSitePass - The targetSitePass to setpublic void SetTargetSiteUser(java.lang.String targetSiteUser)
targetSiteUser - The targetSiteUser to setpublic void StartMultiColumnList()
public boolean IsWebServiceChangeable()
DSModel
IsWebServiceChangeable in class DSModelpublic boolean IsWebServiceRemovable()
DSModel
IsWebServiceRemovable in class DSModel
  | 
 | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||