|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorHelperModel com.plumtree.portaluiinfrastructure.editor.commonpages.migrationhistory.MigrationHistoryPluginModel
public class MigrationHistoryPluginModel
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.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
MigrationHistoryPluginModel()
|
Method Summary | |
---|---|
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. |
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 |
InitializeHistory(int nClassID,
int nObjectID)
Implements some actions to perform on start. |
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. |
int |
SaveSection(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.EditorHelperModel |
---|
CleanupAllData, Init |
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 MigrationHistoryPluginModel()
Method Detail |
---|
public void CleanupTempData()
IModel
CleanupTempData
in interface IModel
CleanupTempData
in class EditorHelperModel
IModel.CleanupTempData()
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class EditorHelperModel
IManagedObject.Create()
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()
EditorHelperModel
GetName
in interface IMVCObject
GetName
in class EditorHelperModel
com.plumtree.portaluiinfrastructure.activityspace.IModelRO#GetName()
public int GetNumHistoryItems()
IMigrationHistoryModel
GetNumHistoryItems
in interface IMigrationHistoryModel
GetNumHistoryItems
in interface IMigrationHistoryModelRO
public boolean InitializeHistory(int nClassID, int nObjectID)
_htFormData
-
public boolean IsStandalone()
IsStandalone
in interface IMigrationHistoryModel
IsStandalone
in interface IMigrationHistoryModelRO
public boolean ShouldDisplayApproval()
ShouldDisplayApproval
in interface IMigrationHistoryModel
ShouldDisplayApproval
in interface IMigrationHistoryModelRO
public void StoreMigrationStatus(int nClassID, int nObjectID)
StoreMigrationStatus
in interface IMigrationHistoryModel
public void SetApprovedForMigration(boolean bApproved)
SetApprovedForMigration
in interface IMigrationHistoryModel
public boolean IsMigrationCheckboxChecked()
IsMigrationCheckboxChecked
in interface IMigrationHistoryModelRO
public int SaveSection(XPHashtable _htFormData)
SaveSection
in class EditorHelperModel
_htFormData
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |