|
|||||||||
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.ptutilities.migrationutility.MigrationUtilityModel
public class MigrationUtilityModel
Field Summary | |
---|---|
protected XPArrayList |
m_alMWSIDs
Array of MWS IDs |
protected XPHashtable |
m_htPropBags
Hashtable of MWS property bags to send. |
protected PTMigrationTask |
m_objMigrationTask
migration thread |
protected IPTMigrationManager |
m_ptMigrationManager
IPTMigrationManager. |
protected IPTSession |
m_ptSession
IPTSession |
protected XPHashtable |
m_xphtAllObjects
MigrationElements of all objects (don't access this directly - use GetAllObjectsInPackage instead). |
static java.lang.String |
MWS_REMOTEDATA_DELIMITER
|
static java.lang.String |
MWS_REMOTEDATA_SCI_KEY
|
static java.lang.String |
MWS_REMOTEDATA_TYPE_ASSIGNMENT
|
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 | |
---|---|
MigrationUtilityModel()
|
Method Summary | |
---|---|
void |
CancelMigration()
Sets the status on the migration task to Cancel. |
boolean |
CheckEditorAccessAndStart(XPHashtable _htFormData)
Implements some actions to perform on start. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoLoadPackage(XPHashtable _htFormData)
Perform action for when user loads a package. |
void |
DoTaskBeforeStore()
That method contains the code that should be executed just before the object is stored in the DB. |
void |
Finish()
Implement some code to execute when the user clicks on "Finish". |
XPArrayList[] |
GetAllObjectsInPackage()
Gets an XPArrayList[] with all objects in the package, indexed by classID. |
XPArrayList |
GetAllObjectsInPackage(int nCLASSID)
Gets an XPArrayList of all objects in the package. |
IPTMigrationManager |
GetMigrationManager()
All classes in the AS should access the migration manager using this method, because the same IPTMigrationManager needs to be used for a given migration. |
int |
GetMigrationStatus()
Gets the status of the migration task. |
java.lang.String |
GetName()
Returns the Class name. |
protected XPArrayList |
GetXUIServices()
Returns XPArrayList of Migration Web Service object IDs. |
boolean |
HasObjectsForMigration()
|
void |
Init(AActivitySpace parent)
Inits member variables |
void |
ResetMigrationManager()
This should be called to clear any migration that has been initialized, such as when packages have been loaded. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
protected boolean |
StartXUIServices(java.lang.String _strXUIEditorType)
Retrieves all Migration XUI Services and initializes them. |
protected void |
StartXUIServicesSafely(java.lang.String sciEditorType)
|
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, CleanupTempData, DoTaskAfterStore, DoTaskOnChangePage, DoTaskOnComeBackFromSubEditor, DoTaskOnStartEditor, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly, GetRedirectAfterFinish, 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.uiinfrastructure.editor.IEditorModelRO |
---|
GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final java.lang.String MWS_REMOTEDATA_SCI_KEY
public static final java.lang.String MWS_REMOTEDATA_DELIMITER
public static final java.lang.String MWS_REMOTEDATA_TYPE_ASSIGNMENT
protected IPTMigrationManager m_ptMigrationManager
protected IPTSession m_ptSession
protected XPHashtable m_xphtAllObjects
protected PTMigrationTask m_objMigrationTask
protected XPArrayList m_alMWSIDs
protected XPHashtable m_htPropBags
Constructor Detail |
---|
public MigrationUtilityModel()
Method Detail |
---|
public void Init(AActivitySpace parent)
Init
in interface IModel
Init
in class EditorModel
parent
- public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
public java.lang.String GetName()
EditorModel
GetName
in interface IMVCObject
GetName
in class EditorModel
public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
EditorModel
CheckEditorAccessAndStart
in class EditorModel
public void Finish()
EditorModel
Finish
in interface IRepostModel
Finish
in class EditorModel
public void DoTaskBeforeStore()
EditorModel
DoTaskBeforeStore
in class EditorModel
public boolean HasObjectsForMigration()
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
EditorModel
SavePage
in interface IRepostModel
SavePage
in class EditorModel
public void ResetMigrationManager()
public IPTMigrationManager GetMigrationManager()
GetMigrationManager
in interface IMigrationUtilityModelRO
public XPArrayList[] GetAllObjectsInPackage()
GetAllObjectsInPackage
in interface IMigrationUtilityModelRO
public XPArrayList GetAllObjectsInPackage(int nCLASSID)
public void DoLoadPackage(XPHashtable _htFormData)
_htFormData
- public void CancelMigration()
public int GetMigrationStatus()
GetMigrationStatus
in interface IMigrationUtilityModelRO
protected XPArrayList GetXUIServices()
protected void StartXUIServicesSafely(java.lang.String sciEditorType)
protected boolean StartXUIServices(java.lang.String _strXUIEditorType)
_strXUIEditorType
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |