|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorModel com.plumtree.portaluiinfrastructure.editor.ObjEditorModel com.plumtree.portalpages.admin.editors.datasource.DSModel
public abstract class DSModel
This class contains the common model elements for datasources.
Field Summary | |
---|---|
protected int |
m_intURLType
|
protected int |
m_intWebServiceID
|
static int |
PMODE_CREATE
|
static int |
PMODE_EDIT
|
static int |
PMODE_INVALID
The following static members define the possible modes this editor can be in. |
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 | |
---|---|
DSModel()
|
Method Summary | |
---|---|
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 |
GetCreatorID()
Returns the creatorID. |
int |
GetPMode()
Returns the nPMode. |
int |
GetURLType()
Returns the URL type for the data source. |
int |
GetWebServiceID()
Returns the Web Service ID for the data source. |
abstract boolean |
IsWebServiceChangeable()
Returns whether the WebService is changeable from the DataSource Editor. |
abstract 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 |
SetMemberVariablesFromQS(XPHashtable _htFormData)
Helper method for the StartEditor method. |
void |
SetURLType(int uRLType)
Sets the URL type for the data source. |
void |
SetWebServiceID(int webServiceID)
Sets the Web Service ID for the data source. |
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, InitPTObject, IsDescriptionDisabled, IsMigrationApproved, SaveMigrationStatus, SetDisableDescription, SetEditorToReadOnly, SetMigrationStatus, StartKeywords, StartLocNamesList, StartMigrationHistory, StartObjectProp, StartSecurityList, StoreObject |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, CleanupTempData, Create, DoTaskOnChangePage, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly, GetName, 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 |
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IMVCObject |
---|
GetName |
Field Detail |
---|
protected int m_intURLType
protected int m_intWebServiceID
public static final int PMODE_INVALID
public static final int PMODE_CREATE
public static final int PMODE_EDIT
Constructor Detail |
---|
public DSModel()
Method Detail |
---|
public void DoTaskAfterStore()
DoTaskAfterStore
in class EditorModel
public void DoTaskBeforeStore()
DoTaskBeforeStore
in class EditorModel
public void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor
in class EditorModel
_htFormData
- public int GetURLType()
GetURLType
in interface IDSModelRO
public void SetURLType(int uRLType)
uRLType
- The uRLType to setpublic int GetWebServiceID()
GetWebServiceID
in interface IDSModelRO
public void SetWebServiceID(int webServiceID)
webServiceID
- The webServiceID to setpublic int SaveMainPage(XPHashtable _htFormData)
_htFormData
-
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class ObjEditorModel
_sPageName
- _htFormData
-
public void SetMemberVariablesFromQS(XPHashtable _htFormData)
ObjEditorModel
SetMemberVariablesFromQS
in class ObjEditorModel
ObjEditorModel.SetMemberVariablesFromQS(XPHashtable)
public int GetPMode()
public int GetCreatorID()
public abstract boolean IsWebServiceChangeable()
public abstract boolean IsWebServiceRemovable()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |