|
|||||||||
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.portalpages.admin.migrationhistory.MigrationHistoryModel
public class MigrationHistoryModel
Model for the migration history of a single PTObject.
Field Summary | |
---|---|
static java.lang.String |
STR_MVC_CLASS_NAME
|
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 | |
---|---|
MigrationHistoryModel()
|
Method Summary | |
---|---|
void |
ActionOnRepost()
Modifies the object name on repost. |
boolean |
CheckEditorAccessAndStart(XPHashtable _htFormData)
Implements some actions to perform on start. |
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. |
void |
Finish()
Implement some code to execute when the user clicks on "Finish". |
int |
GetCurrentMigrationStatus()
Retrieves the current migration status of the underlying PTObject. |
MigrationHistoryItem |
GetHistoryItem(int _nIndex)
Retrieves the history item at the index specified by _nIndex |
java.lang.String |
GetName()
Returns the Class name. |
int |
GetNumHistoryItems()
Returns the number of items in the history for the underlying PTObject. |
boolean |
IsMigrationCheckboxChecked()
Retrieves the flag indicating whether the checkbox has been checked in this editor session. |
boolean |
IsStandalone()
Retrieves the flag indicating whether or not we are being hosted by another activity space, or our own. |
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. |
void |
SetApprovedForMigration(boolean bApproved)
Sets the flag indicating this object has been approved for migration |
boolean |
ShouldDisplayApproval()
Retrieves the flag indicating whether or not to display the approval checkbox (currently only for full sysadmins) |
void |
StoreMigrationStatus(int nClassID,
int nObjectID)
Helper method to Store the migration status on the object. |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, DoTaskAfterStore, DoTaskBeforeStore, DoTaskOnChangePage, DoTaskOnComeBackFromSubEditor, DoTaskOnStartEditor, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly, GetRedirectAfterFinish, GetUserHasAccessToEditor, Init, 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.uiinfrastructure.activityspace.IModel |
---|
CleanupAllData, Init |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
Constructor Detail |
---|
public MigrationHistoryModel()
Method Detail |
---|
public void ActionOnRepost()
public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
CheckEditorAccessAndStart
in class EditorModel
_htFormData
-
public void CleanupTempData()
IModel
CleanupTempData
in interface IModel
CleanupTempData
in class EditorModel
IModel.CleanupTempData()
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void Finish()
Finish
in interface IRepostModel
Finish
in class EditorModel
public int GetCurrentMigrationStatus()
IMigrationHistoryModel
GetCurrentMigrationStatus
in interface IMigrationHistoryModel
GetCurrentMigrationStatus
in interface IMigrationHistoryModelRO
public MigrationHistoryItem GetHistoryItem(int _nIndex)
IMigrationHistoryModel
GetHistoryItem
in interface IMigrationHistoryModel
GetHistoryItem
in interface IMigrationHistoryModelRO
_nIndex
-
public java.lang.String GetName()
EditorModel
GetName
in interface IMVCObject
GetName
in class EditorModel
com.plumtree.portaluiinfrastructure.activityspace.IModelRO#GetName()
public int GetNumHistoryItems()
IMigrationHistoryModel
GetNumHistoryItems
in interface IMigrationHistoryModel
GetNumHistoryItems
in interface IMigrationHistoryModelRO
public boolean IsStandalone()
IsStandalone
in interface IMigrationHistoryModel
IsStandalone
in interface IMigrationHistoryModelRO
public boolean ShouldDisplayApproval()
ShouldDisplayApproval
in interface IMigrationHistoryModel
ShouldDisplayApproval
in interface IMigrationHistoryModelRO
public void SetApprovedForMigration(boolean bApproved)
SetApprovedForMigration
in interface IMigrationHistoryModel
public boolean IsMigrationCheckboxChecked()
IsMigrationCheckboxChecked
in interface IMigrationHistoryModelRO
public void StoreMigrationStatus(int nClassID, int nObjectID)
StoreMigrationStatus
in interface IMigrationHistoryModel
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class EditorModel
_sPageName
- _htFormData
-
protected void SaveMainPage(XPHashtable _htFormData)
_htFormData
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |