|
|||||||||
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.browsing.editors.document.CardEditorModel
public class CardEditorModel
Field Summary | |
---|---|
protected IPTCardPropertyValues |
m_ptCardPropertyValues
|
IPTCardRefreshAgent |
m_ptCardRefreshAgent
|
protected XPSortedDictionary |
m_xpBasicProperties
|
protected XPSortedDictionary |
m_xpCardInformation
|
protected XPSortedDictionary |
m_xpCustomProperties
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
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 |
---|
m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
Constructor Summary | |
---|---|
CardEditorModel()
|
Method Summary | |
---|---|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskBeforeStore()
Initializes IPTProperty with the property type member variable just before we store the object in the DB. |
void |
DoTaskOnStartEditor(XPHashtable _htFormData)
Initializes the property type member variable with the one from IPTProperty in Edit mode and the default value in create mode. |
XPSortedDictionary |
GetBasicCardProperties()
|
XPSortedDictionary |
GetCardInformation()
|
int |
GetClassID()
Returns the Class ID corresponding to the object being created or edited. |
java.lang.String |
GetCrawlerTag()
|
java.lang.String |
GetCreated()
|
XPSortedDictionary |
GetCustomCardProperties()
|
int |
GetDocType()
|
java.lang.String |
GetLastModified()
|
java.lang.String |
GetName()
Returns the Class name. |
int |
GetObjectID()
Returns the ID of the IPTObject being created or edited. |
java.lang.String |
GetObjectUUID()
|
Redirect |
GetRedirectAfterFinish()
Returns the Redirect object (this is were we need to go at the end of the Editor). |
java.lang.String |
GetSpaceID()
Get the SpaceID of the parent Activity Space |
java.lang.String |
GetURL()
|
void |
LoadCardProperties()
|
protected void |
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. |
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
CheckEditorAccess, CheckEditorAccessAndStart, CheckFolderType, DisableSecurity, DoTaskOnComeBackFromSubEditor, Finish, ForceSaveInFolder, GetFolderID, GetFolderName, GetIsSysAdmin, GetMigrationStatus, GetObject, GetObjectDescription, GetObjectName, GetParentFolderPath, GetPTSession, Init, InitIsSysAdminFlag, InitPTObject, IsDescriptionDisabled, IsMigrationApproved, SaveMigrationStatus, SetDisableDescription, SetEditorToReadOnly, SetMemberVariablesFromQS, SetMigrationStatus, StartKeywords, StartLocNamesList, StartMigrationHistory, StartObjectProp, StartSecurityList, StoreObject |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, CleanupTempData, DoTaskAfterStore, DoTaskOnChangePage, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly, 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 |
---|
GetObject, GetObjectDescription, GetObjectName, GetParentFolderPath, GetPTSession |
Methods inherited from interface com.plumtree.uiinfrastructure.editor.IEditorModelRO |
---|
GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public IPTCardRefreshAgent m_ptCardRefreshAgent
protected IPTCardPropertyValues m_ptCardPropertyValues
protected XPSortedDictionary m_xpBasicProperties
protected XPSortedDictionary m_xpCardInformation
protected XPSortedDictionary m_xpCustomProperties
Constructor Detail |
---|
public CardEditorModel()
Method Detail |
---|
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void DoTaskBeforeStore()
DoTaskBeforeStore
in class EditorModel
public void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor
in class EditorModel
_htFormData
- public XPSortedDictionary GetBasicCardProperties()
GetBasicCardProperties
in interface ICardEditorModelRO
public XPSortedDictionary GetCardInformation()
GetCardInformation
in interface ICardEditorModelRO
public java.lang.String GetCreated()
GetCreated
in interface ICardEditorModelRO
public XPSortedDictionary GetCustomCardProperties()
GetCustomCardProperties
in interface ICardEditorModelRO
public int GetDocType()
GetDocType
in interface ICardEditorModelRO
public java.lang.String GetLastModified()
GetLastModified
in interface ICardEditorModelRO
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public java.lang.String GetSpaceID()
public java.lang.String GetURL()
GetURL
in interface ICardEditorModelRO
public void LoadCardProperties()
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class ObjEditorModel
_sPageName
- _htFormData
-
protected void SaveMainPage(XPHashtable _htFormData)
_htFormData
- public java.lang.String GetCrawlerTag()
GetCrawlerTag
in interface ICardEditorModelRO
public Redirect GetRedirectAfterFinish()
EditorModel
GetRedirectAfterFinish
in interface IRepostModel
GetRedirectAfterFinish
in class EditorModel
IRepostModel.GetRedirectAfterFinish()
public int GetObjectID()
ObjEditorModel
GetObjectID
in interface ICardEditorModelRO
GetObjectID
in interface IObjEditorModelRO
GetObjectID
in class ObjEditorModel
ObjEditorModel.GetObjectID()
public java.lang.String GetObjectUUID()
GetObjectUUID
in interface ICardEditorModelRO
public int GetClassID()
ObjEditorModel
GetClassID
in interface ICardEditorModelRO
GetClassID
in interface IObjEditorModelRO
GetClassID
in class ObjEditorModel
ILocNamesModelRO.GetClassID()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |