|
|||||||||
| 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.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 IModelCleanupTempData in class EditorModelIModel.CleanupTempData()public java.lang.Object Create()
EditorModel
Create in interface IManagedObjectCreate in class EditorModelIManagedObject.Create()public void Finish()
Finish in interface IRepostModelFinish in class EditorModelpublic int GetCurrentMigrationStatus()
IMigrationHistoryModel
GetCurrentMigrationStatus in interface IMigrationHistoryModelGetCurrentMigrationStatus in interface IMigrationHistoryModelROpublic MigrationHistoryItem GetHistoryItem(int _nIndex)
IMigrationHistoryModel
GetHistoryItem in interface IMigrationHistoryModelGetHistoryItem in interface IMigrationHistoryModelRO_nIndex -
public java.lang.String GetName()
EditorModel
GetName in interface IMVCObjectGetName in class EditorModelcom.plumtree.portaluiinfrastructure.activityspace.IModelRO#GetName()public int GetNumHistoryItems()
IMigrationHistoryModel
GetNumHistoryItems in interface IMigrationHistoryModelGetNumHistoryItems in interface IMigrationHistoryModelROpublic boolean IsStandalone()
IsStandalone in interface IMigrationHistoryModelIsStandalone in interface IMigrationHistoryModelROpublic boolean ShouldDisplayApproval()
ShouldDisplayApproval in interface IMigrationHistoryModelShouldDisplayApproval in interface IMigrationHistoryModelROpublic void SetApprovedForMigration(boolean bApproved)
SetApprovedForMigration in interface IMigrationHistoryModelpublic 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 IRepostModelSavePage 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 | ||||||||