com.plumtree.portaluiinfrastructure.editor.commonpages.migrationhistory
Interface IMigrationHistoryModel

All Superinterfaces:
IManagedObject, IModel, IModelRO, IMVCObject
All Known Implementing Classes:
MigrationHistoryModel, MigrationHistoryPluginModel

public interface IMigrationHistoryModel
extends IModel

Interface used to set and retrieve migration status of an object in an editor.

Version:
$Revision$
Author:
ArvindS

Method Summary
 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
 int GetNumHistoryItems()
          Returns the number of items in the history for the underlying PTObject.
 boolean IsStandalone()
          Retrieves the flag indicating whether or not we are being hosted by another activity space, or our own.
 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 Save the migration status on the object.
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IModel
CleanupAllData, CleanupTempData, Init
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IMVCObject
GetName
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IManagedObject
Create
 

Method Detail

GetCurrentMigrationStatus

int GetCurrentMigrationStatus()
Retrieves the current migration status of the underlying PTObject.


GetHistoryItem

MigrationHistoryItem GetHistoryItem(int _nIndex)
Retrieves the history item at the index specified by _nIndex


GetNumHistoryItems

int GetNumHistoryItems()
Returns the number of items in the history for the underlying PTObject.


IsStandalone

boolean IsStandalone()
Retrieves the flag indicating whether or not we are being hosted by another activity space, or our own.


ShouldDisplayApproval

boolean ShouldDisplayApproval()
Retrieves the flag indicating whether or not to display the approval checkbox (currently only for full sysadmins)


SetApprovedForMigration

void SetApprovedForMigration(boolean bApproved)
Sets the flag indicating this object has been approved for migration


StoreMigrationStatus

void StoreMigrationStatus(int nClassID,
                          int nObjectID)
Helper method to Save the migration status on the object.




Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.