|
|||||||||
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 com.plumtree.portalpages.admin.ptutilities.migrationutility.exp.MigrationUtilityExportModel
public class MigrationUtilityExportModel
Field Summary | |
---|---|
static java.lang.String |
AYS_SESSION_KEY
The name of the session key into which we will be storing confirmation messages that the AreYouSure popup can access and display. |
static java.lang.String |
EXPORT_FILE_SESSION_KEY
The name of the session key into which we will be storing the filename to our export package. |
static java.lang.String |
STR_MVC_CLASS_NAME
|
Fields inherited from class com.plumtree.portalpages.admin.ptutilities.migrationutility.MigrationUtilityModel |
---|
m_alMWSIDs, m_htPropBags, m_objMigrationTask, m_ptMigrationManager, m_ptSession, m_xphtAllObjects, MWS_REMOTEDATA_DELIMITER, MWS_REMOTEDATA_SCI_KEY, MWS_REMOTEDATA_TYPE_ASSIGNMENT |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
Constructor Summary | |
---|---|
MigrationUtilityExportModel()
|
Method Summary | |
---|---|
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 when user Adds Exisiting Package (load resources into list) |
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 |
GetAYSMessages()
Get list of confirmation messages to display in the AreYouSure popup |
XPArrayList |
GetMWSMessages()
|
java.lang.String |
GetName()
Returns the Class name. |
java.lang.String |
GetPackageDescription()
Returns package description |
java.lang.String |
GetPackageName()
Returns package name |
java.lang.String |
GetPublisher()
Returns package publisher name |
void |
Init(AActivitySpace parent)
Inits member variables |
boolean |
IsExportParentFoldersEnabled()
When exporting dependencies, should the parent folders and their dependencies also be exported? |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
void |
StartExport()
Creates a new PTMigrationTask and spawns the new thread. |
Methods inherited from class com.plumtree.portalpages.admin.ptutilities.migrationutility.MigrationUtilityModel |
---|
CancelMigration, GetAllObjectsInPackage, GetAllObjectsInPackage, GetMigrationManager, GetMigrationStatus, GetXUIServices, HasObjectsForMigration, ResetMigrationManager, StartXUIServices, StartXUIServicesSafely |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, CleanupTempData, DoTaskAfterStore, DoTaskOnChangePage, DoTaskOnComeBackFromSubEditor, DoTaskOnStartEditor, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, 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.portalpages.admin.ptutilities.migrationutility.IMigrationUtilityModelRO |
---|
GetAllObjectsInPackage, GetMigrationManager, GetMigrationStatus |
Methods inherited from interface com.plumtree.uiinfrastructure.editor.IEditorModelRO |
---|
GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final java.lang.String EXPORT_FILE_SESSION_KEY
public static final java.lang.String AYS_SESSION_KEY
Constructor Detail |
---|
public MigrationUtilityExportModel()
Method Detail |
---|
public void Init(AActivitySpace parent)
Init
in interface IModel
Init
in class MigrationUtilityModel
parent
- public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
CheckEditorAccessAndStart
in class MigrationUtilityModel
_htFormData
-
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class MigrationUtilityModel
IManagedObject.Create()
public void DoTaskBeforeStore()
EditorModel
DoTaskBeforeStore
in class MigrationUtilityModel
EditorModel.DoTaskBeforeStore()
public void Finish()
Finish
in interface IRepostModel
Finish
in class MigrationUtilityModel
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class MigrationUtilityModel
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class MigrationUtilityModel
_sPageName
- _htFormData
-
public void StartExport()
public void DoLoadPackage(XPHashtable _htFormData)
DoLoadPackage
in class MigrationUtilityModel
public java.lang.String GetPackageName()
GetPackageName
in interface IMigrationUtilityExportModelRO
public java.lang.String GetPackageDescription()
GetPackageDescription
in interface IMigrationUtilityExportModelRO
public java.lang.String GetPublisher()
GetPublisher
in interface IMigrationUtilityExportModelRO
public boolean IsExportParentFoldersEnabled()
IsExportParentFoldersEnabled
in interface IMigrationUtilityExportModelRO
public XPArrayList GetAYSMessages()
public XPArrayList GetMWSMessages()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |